@charset "UTF-8";

/* ノーマライズ使用のため下記追記 */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  padding-inline-start: 0;
  padding-left: 0;
  list-style: none;
}
body {
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 2.2rem;
  font-family: 'M PLUS 2', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ▼ PC用のスタイル (ベース) ▼ */
div.wrapper {
  max-width: 1600px;
  min-width: 1200px;
}
div.container {
  width: 100%;
}

/* ▼ ヘッダーのスタイル (ベース) ▼ */
div.header-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 30px;
}
header img {
  width: 63px;
  height: 68px;
}
header h1 {
  font-size: 2.3rem;
  font-weight: normal;
  line-height: 2.1rem;
  margin-left: 8px;
}
header p {
  font-size: 0.9rem;
  line-height: normal;
  margin-left: 30px;
}

/* ▼ キービジュアルのスタイル (ベース) ▼ */
div.key-visual {
  display: flex;
  /* height: 100vh; */
  margin-bottom: 40px;
}
div.key-text-box {
  width: 55%;
  position: relative;
}
header {
  position: absolute;
  top: 0;
  left: 0;
}
div.key-text-box div.under-inner {
  padding: 0 50px 0 80px;
}
div.key-text-box h2 {
  font-size: 2.8rem;
  font-weight: normal;
  line-height: normal;
  font-family: 'Zen Antique', serif;
  letter-spacing: 0.1rem;
  /* margin: 280px 0 100px 0; */
  white-space: nowrap;
  position: absolute;
  top: 180px;
  left: 80px;
  z-index: 10;
  animation-delay: 0.5s;
}
div.key-text-box h2 span {
  letter-spacing: normal;
}
div.key-text-box div.under-inner p {
  font-size: 1rem;
  line-height: 2rem;
  margin: 0 0 8px 0;
}
div.under-inner p:first-of-type {
  padding-top: 380px;
  animation-delay: 1.0s;
}
div.under-inner p:nth-of-type(2) {
  animation-delay: 1.5s;
}
div.under-inner p:nth-of-type(3) {
  animation-delay: 2.0s;
}
div.key-img-box {
  width: 45%;
  z-index: 1;
}
div.slider-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
div.slider-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /*contain*/
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; /* 最初は透明 */
  transform: scale(1.0); /* 最初は縮小 */
  transition: opacity 3s ease;
}
div.slider-wrapper img.is-active {
  opacity: 1;
  z-index: 1;
  animation: zoomIn 5s forwards;
}
@keyframes zoomIn {
  0% { transform: scale(1.2); }
  100% { transform: scale(1.0); }
}

/* ▼ セクションタイトルのスタイル (ベース) ▼ */
div.section-title {
  padding: 100px 0 100px 130px;
  background: url('../img/sectiontitle/sectiontitle-1.png') 50px center no-repeat;
  background-size: 130px;
}
div.section-title:hover {
  background: url('../img/sectiontitle/sectiontitle-2.png') 50px center no-repeat;
  background-size: 130px;
}
div.section-title h2 {
  font-size: 3rem;
  line-height: 2.8rem;
  font-weight: normal;
}





/* ▼ セクション１のスタイル (ベース) ▼ */
section {
  margin-bottom: 210px;
}
div.section-inner {
  width: 90%;
  display: flex;
  justify-content: flex-start;
}
div.section-img-box {
  width: 50%;
  /* background: #aaa; */
}
div.section-img-box img {
  animation-delay: 0.5s;
  /* transition-delay: 0.5s; */
}
div.section-text-box {
  width: 50%;
  padding: 100px 0 0 50px;
}
div.section-text-box-over {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
div.section-text-box div.section-text-box-over img {
  width: 230px;
  animation-delay: 1.0s;
  /* transition-delay: 1.0s; */
}
div.section-text-box div.section-text-box-over h3 {
  font-size: 1.5rem;
  line-height: 3rem;
  font-weight: normal;
  animation-delay: 1.5s;
  /* transition-delay: 1.5s; */
}
div.section-text-box div.section-text-box-over h3 span {
  font-size: 1.1rem;
  line-height: 1rem;
}
div.section-text-box p {
  animation-delay: 2.0s;
  /* transition-delay: 2.0s; */
}
div.section-text-box div.toggle-btn {
  color: #fff;
  font-size: 0.8rem;
  line-height: 1rem;
  font-weight: normal;
  width: 120px;
  border: solid 1px #333;
  border-radius: 999px;
  padding: 12px 0 10px 20px;
  margin: 50px 0 0 auto;
  background: url('../img/section/section-4.png') 90% center no-repeat;
  animation-delay: 2.5s;
}
div.section-text-box div.toggle-btn:hover {
  background: #333 url('../img/section/section-5.png') 90% center no-repeat;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in.is-visible {
  opacity: 0;
  animation-name: fadeInUp;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  /* animation: fadeInUp 2s ease-out forwards; */
}


/* ▼ アコーディオン１のスタイル (ベース) ▼ */
div.accordion-inner {
  position: relative;
  display: none;
}
div.accordion-text {
  padding: 120px 220px;
  background: linear-gradient(to right, #eee 60%, #fff 70%);
}
div.accordion-text h4 {
  font-size: 2rem;
  line-height: 1rem;
  font-weight: normal;
}
div.accordion-text p {
  font-size: 1.2rem;
  line-height: 2rem;
  font-weight: normal;
  letter-spacing: 0.1rem;
  margin-bottom: 6px;
}
div.accordion-inner div.toggle-btn {
  position: absolute;
  top: 120px;
  right: 50px;
  font-size: 1.2rem;
  line-height: 1rem;
  font-weight: normal;
  text-align: center;
  width: 20px;
  border: solid 1px #d9d9d9;
  border-radius: 999px;
  padding: 15px 23px;
  background: #d9d9d9;
}
div.accordion-inner div.toggle-btn:hover {
  width: 90px;
  padding: 15px 0;
  background: yellow;
  border: solid 1px yellow;
}
div.accordion-inner img {
  width: 240px;
  position: absolute;
  bottom: 90px;
  right: 0px;
}

/* ▼ セクション２のスタイル (ベース) ▼ */
section#section-2 div.section-inner {
  margin: 0 0 0 auto;
}
section#section-2 div.section-text-box {
  padding: 100px 50px 0 0;
}
section#section-2 div.section-text-box div.toggle-btn {
  width: 210px;
  background: url('../img/section/section-4.png') 95% center no-repeat;
}
section#section-2 div.section-text-box div.toggle-btn:hover {
  background: #333 url('../img/section/section-5.png') 95% center no-repeat;
}

/* ▼ アコーディオン２のスタイル (ベース) ▼ */



/* ▼ セクション３のスタイル (ベース) ▼ */
section#section-3 div.section-text-box div.toggle-btn {
  width: 145px;
  background: url('../img/section/section-4.png') 95% center no-repeat;
}
section#section-3 div.section-text-box div.toggle-btn:hover {
  background: #333 url('../img/section/section-5.png') 95% center no-repeat;
}







/* ▼ セクション９のスタイル (ベース) ▼ */
section#section-9 div.section-inner {
  width: 100%;
  display: block;
  justify-content: normal;
}
section#section-9 dl {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}
section#section-9 dl dt {
  width: 100px;
  font-size: 1rem;
  line-height: normal;
  font-weight: normal;
}
section#section-9 dl dd {
  margin-left: 0;
  font-size: 1rem;
  line-height: normal;
  font-weight: normal;
}




/* ▼ フッターナビゲーションのスタイル (ベース) ▼ */
nav.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
nav.footer-nav.hide {
  transform: translateY(100%); /* 自分の高さ分だけ下に隠す */
}
ul.nav-inner {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 0 40px 0 20px;
  /* background: #aaa; */
}
ul.nav-inner li {
  position: relative;
  font-size: 0.9rem;
  line-height: normal;
  font-weight: normal;
  font-family: 'M PLUS 1p', sans-serif;
  white-space: nowrap;
  margin-left: 20px;
  cursor: default;
  width: 40px;
  height: 40px;
  background-color: #e0e0e0;
  border-radius: 50%;
  transition: all 0.3s ease;
  padding: 9px 0 0 20px;
}
ul.nav-inner li a {
  color: #333;
  text-decoration: none;
}
ul.nav-inner li:first-child {
  margin-right: auto;
  margin-left: 0;
  opacity: 0;
  visibility: hidden; /* クリックもできないようにする */
}
ul.nav-inner li:first-child.is-active {
  opacity: 1;
  visibility: visible;
}
ul.nav-inner li:hover {
  width: 80px;
  text-align: center;
  padding: 9px 0 0 0;
  background-color: #ffeb3b;
  border-radius: 50px;
}



/* ▼ サイドナビゲーションのスタイル (ベース) ▼ */
nav.side-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  display: none;
}
div.side-nav-inner {
  position: relative;
  width: 800px;
  height: 800px;
  background: url('../img/sidenav/sidenav.png') no-repeat;
  background-size: contain;
}
ul.side-nav-list {
  position: absolute;
  top: 60px;
  left: 180px;
}
ul.side-nav-list li {
  font-size: 1.8rem;
  line-height: normal;
  font-weight: normal;
  letter-spacing: 0.5rem;
  margin-bottom: 30px;
  cursor: pointer;
}
ul.side-nav-list li a {
  color: #333;
  text-decoration: none;
}
ul.side-nav-list li ul.side-nav-list-menu {
  display: flex;
  justify-content: flex-start;
}
ul.side-nav-list li ul.side-nav-list-menu li {
  font-size: 1.3rem;
  line-height: normal;
  font-weight: normal;
  letter-spacing: 0.2rem;
  margin: 0 40px 30px 0;
}

/* ▼ フッターのスタイル (ベース) ▼ */
div.footer-inner {
  background: #ddd;
  padding: 10px 20px;
}
ul.copyright li {
  list-style: none;
  font-size: 1rem;
  font-weight: bold;
  line-height: normal;
  font-weight: normal;
}
ul.copyright li:first-child {
  font-size: 1.2rem;
  font-weight: normal;
  margin-bottom: 10px;
}



/* ▼ ノートPC用 ▼ */
@media screen and (max-width: 1439px) {
  /* ▼ キービジュアルのスタイル (ベース) ▼ */
  div.key-text-box h2 {
    top: 180px;
    left: 80px;
  }
  div.key-text-box div.under-inner p:first-of-type {
    padding-top: 380px;
  }
}

/* ▼ タブレット用 ▼ */
@media screen and (max-width: 1023px) {
    .container {
        width: 90%;
    }

}

/* ▼ スマホ用 ▼ */
@media screen and (max-width: 767px) {
    .container {
        width: 95%;
    }

}

