@charset "UTF-8";

/* 全体の設定 */

* {
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.75;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f0f0f0;
  background-position: 0 0, 40px 40px;
  background-size: 80px 80px;
}

/* ヘッダーの設定 */

#header {
  background: linear-gradient(90deg, #fff, #6e6edd);
  display: flex;
  align-items: center;
  height: 80px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}

#header .site_title a {
  color: #3d3dd8;
  font-size: 32px;
  font-weight: bolder;
  margin-left: 150px;
}

#header .site_title a:hover {
  text-shadow: 0 0 10px #fff, 0 0 15px #fff;
  opacity: 0.9;
}

/* #header_nav ul {
  display: flex;
}

#header_nav li {
  display: flex;
  width: 80px;
  text-align: center;
  justify-content: center;
}

#header_nav li a:hover {
  color: #fff;
  transform: translateY(3px);
} */

/* ヘッダーの設定ここまで */

/* フッターの設定 */

#footer {
  background: linear-gradient(90deg, #6e6edd, #fff);
  margin: 40px 0 0;
}

#footer .footer_container {
  display: flex;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  justify-content: space-around;
  align-items: center;
}

#footer .sns li {
  background-color: #fff;
  border-radius: 10px;
  margin: 10px 0;
  width: 300px;
}

#footer .sns li a {
  display: flex;
  align-items: center;
}

#footer .sns li a:hover {
  color: #00f;
}

/* #footer .footer_menu {
  margin: 50px 0;
  padding: 0 0 0 30px;
  width: 200px;
}

#footer .footer_menu li {
  margin: 10px 0 10px 20px;
  display: flex;
}

#footer .footer_menu li a:hover {
  transform: translateY(3px);
  color: #fff;
} */

#footer .copyright {
  text-align: center;
  font-size: 16px;
}

#footer .pagetop {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 25px;
  bottom: 120px;
  opacity: 0;
  transition: 0.5s;
}

#footer .pagetop.show{
  opacity: 1;
}

#footer .pagetop a {
  display: block;
  width: 50px;
  height: 50px;
  padding-top: 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 15px;
  color: #000;
}

#footer .pagetop a:hover {
  opacity: 0.6;
}

#footer .pagetop a::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(-45deg);
}

/* フッターの設定ここまで */

/* index.htmlの設定 */

/* メイン領域の設定 */

#main {
  max-width: 960px;
  margin: 120px auto 0;
}

#container {
  margin-top: -120px;
  padding-top: 80px;
}

/* スライドショーの設定 */

#image {
  background-color: #000;
  margin: 40px 0;
  padding: 10px 0;
}

#image .list_container {
  display: flex;
  overflow: hidden;
}

#image .list_container .scroll_list {
  display: flex;
  list-style: none;
  padding: 0;
  height: 120px;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

#image .list_container .scroll-left {
  animation: infinity-scroll-left 80s infinite linear;
}

#image .scroll_img {
  width: 200px;
  margin: 0 10px;
}

#image .scroll_img > img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

/* スライドショーの設定ここまで */

/* 自己紹介の設定 */
#introduction {
  margin: 40px 0;
}

#introduction div {
  margin: 20px 0 0 20px;
}

/* 自己紹介の設定ここまで */

/* 最新情報の設定 */

#news,
#news_main .news_contents {
  margin: 40px 0;
}

.s_title {
  font-size: 40px;
  font-weight: bolder;
  text-align: center;
}

.s_title::before {
  content: "\21AC";
}

.s_title::after {
  content: "\21AB";
}

#news li,
#news_main .news_contents li {
  height: 45px;
  display: flex;
  align-items: center;
}

#news .news_head,
#news_main .news_contents .news_head {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#news .news_list {
  background-color: #fff;
  border-radius: 10px;
  margin-top: 20px;
}

#news .news_head time,
#news_main .news_contents .news_head time {
  font-size: 14px;
}

#news li a,
#news_main .news_contents li a {
  margin-left: 10px;
}

#news li a:hover,
#news_main .news_contents li a:hover {
  color: #00f;
}

#news .more,
#site .more {
  /* width: 150px;
  height: 40px;
  background-color: #b3b3b3;
  border: 3px solid #fff;
  border-radius: 10px;
  margin: 0 auto; */
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#news .more a,
#site .more a {
  padding: 5px 32px;
}

#news .more a:hover,
#site .more a:hover {
  color: #00f;
  opacity: 0.8;
}

/* 最新情報の設定ここまで */

#site {
  text-align: center;
}

#site .all_site {
  margin: 20px 0;
  display: flex;
  justify-content: space-around;
}

#site .all_site li {
  width: 35%;
  height: 250px;
  margin: 20px 0;
  background-color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#site .all_site li .site_img {
  width: 80%;
  margin: 40px 0 20px;
}

/* メイン領域の設定ここまで */
/* index.htmlの設定ここまで */

/* news.htmlの設定 */
#news_main {
  max-width: 960px;
  margin: 120px auto 0;
}

#news_main .news_title {
  text-align: center;
  font-size: 35px;
  font-weight: bolder;
  color: #b3b3b3;
  -webkit-text-stroke: #000 1px;
}

#news_main .news_pagelist {
  width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
/* news.htmlの設定ここまで */

/* 768px以上のメディアクエリ*/
@media screen and (max-width: 768px) {

  #header {
    justify-content: center;
  }

  #header .site_title a {
    margin: 0 auto;
    font-size: 28px;
  }

  #introduction div p {
    font-size: 15px;
  }

  #news .news_head {
    width: 120px;
  }

  #news .news_head time {
    font-size: 13px;
  }

  #news li a {
    font-size: 14px;
    margin: 0;
  }

  #site .all_site li {
    width: 40%;
    justify-content: center;
  }

  #footer .pagetop {
    bottom: 150px;
  }
}

/* 425px以上のメディアクエリ*/
/* @media screen and (max-width: 425px) {} */

@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.eot?h5egnd');
  src: url('fonts/icomoon.eot?h5egnd#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?h5egnd') format('truetype'),
    url('fonts/icomoon.woff?h5egnd') format('woff'),
    url('fonts/icomoon.svg?h5egnd#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-instagram:before {
  content: "\e902";
}

.icon-x:before {
  content: "\e901";
}

.icon-youtube:before {
  content: "\e904";
}

.icon-instagram:before,
.icon-x:before,
.icon-youtube:before {
  color: #fff;
  background-color: #000;
  border-radius: 10px 0 0 10px;
  padding: 7px;
  margin-right: 10px;
  font-size: 40px;
}
/* 全体の設定ここまで */
