@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
   
}

body {
  background-color: #202020;
  color: #ffffff;
}

@font-face {
    font-family: Spectral;
    src: url(../font/Spectral/Spectral-Medium.ttf);
}

@font-face {
    font-family: Noto_Sans_JP;
    src: url(../font/Noto_Sans_JP/static/);
}

header .top-bar {
    position: fixed;
    width: 100%;
    height: 6vw;
    background-color: #202020;
    z-index: 100;    
  }

header .top-box {
    display: flex;
    height: 4vw;
    margin-left: 3%;
    margin-right: 3%;
    margin-top: 2%;
    animation: slideinTop 3s;    
}
  
@keyframes slideinTop {
    0% {
      transform: translateY(-50px);
    }
    100% {
      transform: translateY(0);
    }
}


header h1 img {
    width: 100%;
    height: 3vw;
}


header nav {
    width: fit-content;
    margin-left: auto; 
}

header nav ul {
    display: flex;
}

header nav ul li {
    width: fit-content;
    margin-right: 2em;
    line-height: 2;
    list-style-type: none;
}

header nav ul li:nth-of-type(5){
    margin-right: 0em;
}


header nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-family: Spectral;
    font-size: 1.2vw;
    transition: 0.5s
}

header nav ul li a:hover {
  color: #818180;
  transition: 0.5s 
}




/* トップ画像 */
.topvisual {
    width: 65%;
    height: 37vw;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 8vw;  
    overflow: hidden;
  }
  
  .topvisual .image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    background-size: cover;
    background-position: center center;
    
    animation: image-switch-animation 18s infinite;
  }
  
  .src1 {
    background-image: url(../images/top1.jpeg);
  }
  .src2 {
    background-image: url(../images/top2.jpeg);
  }
  .src3 {
    background-image: url(../images/top3.jpeg);
  }
  .src4 {
    background-image: url(../images/top4.jpeg);
  }

  .image:nth-of-type(1) {
    animation-delay: 0s;
  }
  .image:nth-of-type(2) {
    animation-delay: 4.5s;
  }
  .image:nth-of-type(3) {
    animation-delay: 9s;
  }
  .image:nth-of-type(4) {
    animation-delay: 13.5s;
  }

  @keyframes image-switch-animation {
    0% { 
      opacity: 0;
    }
    8% {
      opacity: 1; 
    }
    17% {
      opacity: 1; 
    }
    25% {
      opacity: 1; 
    }    
    60% {
      opacity: 0; 
      transform: scale(1.05) ;
    }
    100%  {
      opacity: 0; 
    }    
  }


/* スライドライン */

.bbs{
  align-items: center;
  color: #fff;
  display: flex;
  height: 10vw;
  line-height: 2;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  margin-top: 15%;
  z-index: 1;
}
.bbs ul {
  animation: flowing 60s linear infinite;
  font-size: 1.5vw;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
.bbs ul li{
  display: inline-block;
  padding-right: 3%;
  font-family: Spectral;
  letter-spacing: 0.07em;
  filter: opacity(40%);
}
@keyframes flowing {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}



/* セクション */

section:nth-of-type(1) {
  margin-top: 8%;
}


section {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 13%;
}

section h2 {
    font-family: Noto_Sans_JP;
    font-weight: 200;
    font-size: 1.6vw;
    letter-spacing: 0.2em;
    margin-bottom: 5%;
}

section p {
    font-family: Noto_Sans_JP;
    font-weight: 100;
    font-size: 1.1vw;
    line-height: 2em;
    text-align: justify;
}

section .more {
    width: fit-content;
    height: 2vw;
    text-align: center;
    margin-left: auto;
}

section .more a {
    text-decoration: none;
    font-weight: 100;
    font-size: 1.3vw;
    letter-spacing: 0.2em;
    color: #ffffff;
    transition: 0.5s
}

section .more a:hover {
    font-weight: 200;
    font-size: 1.4vw;
    text-align: center;
    transition: 0.5s
}


.concept-13box {
    display: flex;
}

.concept-24box {
    display: flex;
}

section .concept-13box img {
    width: 40%;  
    margin-left: auto;
}

section .concept-24box img {
    width: 40%;    
}

section .concept-24box .concept-textbox {
    margin-left: auto;
}

section .concept-textbox {
    width: 50%;
    animation: slideinbottom 2.5s;
}
  
@keyframes slideinbottom {
    0% {
      transform: translateY(20px);
    }
    100% {
      transform: translateY(0);
    }
}

/* お知らせ */

.topics {
  width: 65%;
  margin-left: auto;
  margin-right: auto;
  padding: 5%;
  background-color: #5c5c5c;
}

.topics h3 {
  font-family: Spectral;
  font-size: 1.6vw;
  font-weight: 200;
  letter-spacing: 0.1em;  
  margin-bottom: 5%;
  margin-left: 2%;
}

.topics ul {
  list-style-type: none;
  margin: 0;
  padding-left: 18%;
}

.topics ul li {
  font-family: Spectral;
  font-size: 1.1vw;
  font-weight: 100;
  line-height: 3;
  border-bottom: 1.5px dotted #ffffff;
  text-indent: -9.3em;
}

.topics ul li time {
	display: inline-block;
	width: 9.3em;
  font-size: 1.2vw;
  font-weight: 200;
	text-indent: 0;
}

/* フッター */
footer {
  padding: 6% 12.5%;
  background-color: rgb(43, 44, 44)
}

footer img {
  width: 27%;
  margin-bottom: 4%;
}

.logoline {
    display: flex;
}

.line {
    width: 65%;
    margin-left: 11%;
    margin-right: auto;
    margin-bottom: 5%;
    border-bottom: 0.5px solid #ffffff;
}


.footer-flexbox {
    display: flex;
}

footer .addressbox {
  width: 38%;
}


footer .addressbox address {
    font-weight: 200;
    font-size: 1.1vw;   
    font-style: normal;
    line-height: 2;
    font-family: Noto_Sans_JP;
    letter-spacing: 0.07em;
    color: #fff;  
}

.textbox {
    display: flex;
    width: 70%;
    margin-left: 5%;
}

.footer-middlebox {
  width: 20%;
}

.footer-rightbox {
    width: 20%;
    margin-left: 10%;
}


footer .footer-middlebox a, .footer-rightbox a {
    line-height: 2;
    font-weight: 200;
    font-size: 1.1vw; 
    text-decoration: none;  
    color: #fff;
    transition: 0.5s;
  }

  footer .footer-middlebox a:hover {
    font-weight: 400;
    transition: 0.5s;
  }
  
  footer .footer-rightbox a:hover {
    font-weight: 400;
    transition: 0.5s;
  }

footer .sns-icon {
    width: 13%;
    margin-left: 15%;
    height: fit-content;
    font-size: 1.5vw;
  }

footer .sns-icon .fa-brands {
    color: #fff;
  }

footer .sns-icon .fa-instagram {
  margin-left: 17%;
  }
  
footer .textbox p {    
    letter-spacing: 0.07em;
    font-size: 0.9vw;
    color: #fff;
}