body {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  /* font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
  "Hiragino Sans", "Noto Sans", Meiryo, sans-serif; */
  /* color: #333333; */
  color: #2f2f2f;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h2,
h3 {
  font-size: 1.8rem;
  letter-spacing: 0.12em;
}

.button {
  background: #ff701e;
  border: 2px solid #ff701e;
  border-radius: 60px;
  color: #fff;
  display: block;
  font-weight: bold;
  max-width: 200px;
  padding: 15px 40px;
  text-align: center;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  text-decoration: none;
  margin: 30px auto;
}

.button:hover {
  background: #fff;
  color: #ff701e;
}

/* .button {
  background: #eee;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 30px auto;
  max-width: 240px;
  padding: 18px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: bolder;
  font-size: 1em;
  z-index:0;
  border-left: solid 5px orange;
  
}

.button:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: block;
  background: orange;
  transition: .3s;
  left:0;
}

.button:hover {
  color: #fff;
}

.button:hover:before {
  width: 100%;
  z-index: -1;
} */

p {
  font-size: 16px;
  line-height: 1.8;
  /* font-weight: bolder; */
}

.wrapper {
  overflow: hidden;
}

/****************************        下部メニュー         **********************************/
#sp-fixed-menu {
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  /* opacity: 0.9; */
  z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#sp-fixed-menu li {
  justify-content: center;
  align-items: center;
  /* width: 50%; */
  width: 100%;
  padding: 0;
  margin: 0;
  /* font-size: 20px; */
}

/*左側メニューを緑色に*/
/* #sp-fixed-menu li:first-child{
  background: #38b435;
} */

/*左側メニューをオレンジ色に*/
/* #sp-fixed-menu li:last-child{
  background: #f3a324;
} */

/*ボタンを調整*/
#sp-fixed-menu li a {
  color: #fff;
  text-align: center;
  display: block;
  width: 100%;

  /* padding:20px 0; */
  padding: 0;
}

#sp-fixed-menu img {
  width: 100%;
  object-fit: contain;

}

#sp-fixed-menu li a img {
  width: 100%;
  object-fit: contain;
}

.title-frame {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: auto;
  margin-top: -40px;
}

.fadein {
  /* 最初は非表示 */
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s, opacity 1s, visibility 1s;
}

/* フェードイン時に入るクラス */
.is-fadein {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* SHUTTER ANIMATION */
.shutter {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  z-index: 99;
  -webkit-animation: byeShutter 3.5s forwards;
  animation: byeShutter 3.5s forwards;
}

.shutter-logo {
  width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: logo 0.8s forwards;
  animation: logo 0.8s forwards;
  animation-delay: 0.2s;
}

@keyframes byeShutter {
  50% {
    opacity: 1;
  }

  100% {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes logo {
  0% {
    opacity: 1;
  }

  50% {
    transform: rotate(10deg);
  }

  100% {
    transform: scale(0.8);
  }
}

/* END SHUTTER ANIMATION */

/* HAMBURGER */
#hamburger {
  display: none;
}

#toggle {
  position: fixed;
  top: 30px;
  right: 30px;
}

#toggle-box {
  position: relative;
  width: 50px;
  height: 40px;
  cursor: pointer;
}

#toggle-box>span {
  width: 100%;
  height: 2px;
  left: 0;
  display: block;
  background: #000;
  position: absolute;
  transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle-box>span:nth-child(1) {
  top: 0;
}

#toggle-box>span:nth-child(2) {
  top: 50%;
  transform: translatey(-50%);
}

#toggle-box>span:nth-child(3) {
  bottom: 0;
}

#toggle {
  z-index: 1000;
}

#nav-content {
  z-index: 900;
  overflow-x: hidden;
  width: 50%;
  height: 100%;
  /* color: #00256A; */
  /* background: rgb(240, 233, 106); */
  background: #EAF3F8;
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  text-align: center;

}


#nav-content ul {
  list-style: none;
  display: block;
  position: absolute;
  /* top: 10%; */
  top: 8%;
  left: 8%;
  padding-left: 10px;
  width: 80%;
  line-height: 2.5em;
}

#nav-content ul li {
  width: 100%;
  border-bottom: 1px solid #08549b;
  padding: 10px 0;
}

#nav-content ul li a {
  display: block;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  color: #08549b;
}

#nav-content a:hover {
  opacity: 0.6;
}

.is-open {
  overflow: hidden;
}

.is-open #toggle-box>span {
  background: #fff;
}

.is-open #toggle-box>span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg) translatey(-50%);
}

.is-open #toggle-box>span:nth-child(2) {
  width: 0;
}

.is-open #toggle-box>span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg) translatey(-50%);
}

.is-open #nav-content {
  z-index: 999;
  transform: translateX(0);
  width: 100%;
}


/* SM */
@media(max-width:519px) {
  #hamburger {
    display: block;
  }

  .header-top .gnav {
    display: none;
  }
}

/*PCの場合にはメニューを表示させない*/
@media (min-width: 768px) {
  .for-sp {
    display: none;
  }
}

@media(max-width:300px) {
  #toggle-box {
    width: 35px;
    height: 25px;
  }

  #nav-content ul li {
    padding: 15px 0;

  }

}


/* END HAMBURGER */



/* HEADER */
header {
  /* display: flex;
  align-items: center;  */
  position: fixed;
  z-index: 999;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  height: 180px;
}

.header-top {
  width: 100%;
}

.header-top .logo {
  /* width: 10%; */
  height: 70px;
  object-fit: contain;
  margin: 0 20px;
}

.header-top2 {
  display: flex;
  justify-content: space-between;
}

.top-button {
  display: flex;
  width: 900px;
}

.top-button a {
  margin: 30px auto 10px;
}

.top-button a img {
  width: 200px;
}


/*********************************** ナビメニュー用CSS  ***********************************/
.gnav {
  /* margin-left: auto; */
  width: 100%;
  /* height: 70px; */
  display: flex;
  justify-content: space-between;
  padding: 20px 0 10px;
}

.gnav img {
  width: 20%;
  object-fit: contain;
  margin: 10px 0;
}

.gnav ul {
  display: flex;
  /* li要素を横並びにする */
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.gnav li {
  /* list-style-type: none; */
  text-align: center;
  width: calc(100%/10);
  list-style: none;
  border-right: 1px solid #333;
  height: 30px;
}

.gnav li:nth-child(10) {
  border-right: none;
}

.gnav a {
  color: #333333;
  text-decoration: none;
  font-size: .9em;
  font-weight: bold;
}

/* .gnav li:nth-child(6) {
  background: #f1e767;
  background: -webkit-gradient(linear, left top, left bottom, from(#f1e767), to(#feb645));
  background: -webkit-linear-gradient(top, #f1e767 0%, #feb645 100%);
  background: linear-gradient(to bottom, #f1e767 0%, #feb645 100%);
}

.gnav li:nth-child(6):hover {
  background: -webkit-gradient(linear, left bottom, left top, from(#f1e767), to(#feb645));
  background: -webkit-linear-gradient(bottom, #f1e767 0%, #feb645 100%);
  background: linear-gradient(to top, #f1e767 0%, #feb645 100%);
}

.gnav li:nth-child(6) a {
  font-size: 1em;
  color: #fff;
} */

/*********************************** ナビメニュー用CSS  ***********************************/

/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  left: 50%;
  bottom: 100px;
  /*全体の高さ*/
  height: 50px;
  font-weight: bolder;
  z-index: 222;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  /* color: #eee; */
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* .scrolldown1 span img {
  width: 100%;
  margin-top: -30px;
  margin-bottom: 5px;
} */

/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  /* background: #eee; */
  background: #fff;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/****************************レスポンシブ CSS（header/nav） ***********************************/
@media(max-width:1024px) {


  .header-top .logo {
    width: 100%;
    height: 70px;
    max-width: 200px;
    object-fit: contain;
  }

  .gnav ul {
    padding: 0;
    width: 100%;
  }

  .top-button {
    width: 700px;
  }

  .top-button a img {
    width: 150px;
  }

  .gnav a {
    font-size: .8em;
  }

}

@media(max-width:834px) {

  .gnav a {
    font-size: .7em;
  }

  .gnav ul {
    width: 100%;
  }

  .top-button {
    width: 550px;
  }

  .top-button a img {
    width: 120px;
  }

}

@media(max-width:820px) {}

@media(max-width:768px) {
  .gnav a {
    font-size: .6em;
  }

}

@media(max-width:519px) {

  header {
    height: 90px;
  }

  .header-top .logo {
    margin-right: auto;
  }

  .top-button {
    display: none;
  }

}

@media(max-width:300px) {
  header {
    height: 70px;
  }

  .header-top .logo {
    max-width: 130px;
  }

}


/* END HEADER */

/* TOP-TEXT */

.top-contents {
  width: 100%;
  margin-top: 180px;
}

.top-container {
  display: flex;
  height: 70vh;
}

.top-container-contents {
  width: 50%;
  padding-left: 30px;
  background-color: #e7f0f5;
}

.top-container-contents h1 {
  font-size: 2rem;
}

.top-container-contents h1 span {
  font-size: 3.5rem;
  color: #0a69ac;
}

.top-container-contents p {
  font-size: 1.1rem;
}

.top-container-contents2 {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: bgSlide 15s infinite;
}

@keyframes bgSlide {
  0% {
    background-image: url(https://yakushinkan.com/wp-content/uploads/2025/06/top-img.png);
  }

  33% {
    background-image: url(https://yakushinkan.com/wp-content/uploads/2025/06/top-img2.png);
  }

  66% {
    background-image: url(https://yakushinkan.com/wp-content/uploads/2025/06/top-img3.png);
  }

  100% {
    background-image: url(https://yakushinkan.com/wp-content/uploads/2025/06/top-img4.png);
  }
}

.feature-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 32px 0 16px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.feature-item span {
  font-size: 24px;
  color: #ea5514;
  border-bottom: 3px dashed #ea5514;
}

.feature-icon {
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}



/****************************レスポンシブ CSS（top-text） ***********************************/

@media(max-width:1024px) {
  .top-container {
  height: 60vh;
}
}


@media(max-width:834px) {
  .top-container-contents h1 {
  font-size: 1.5rem;
}

.top-container-contents h1 span {
  font-size: 2.5rem;
}

.feature-title {
  font-size: 1rem;
}

.feature-item {
  font-size: 14px;
}
}

@media(max-width:768px) {
  .top-container-contents p {
  font-size: .8rem;
}

.feature-title {
  font-size: .9rem;
}
}

@media(max-width:519px) {
  .top-contents {
    margin: 90px 0;
  }
  .top-container {
    display: block;
    height: 100vh;
    justify-content: center;
  }

    .top-container-contents h1 {
  font-size: 1.5rem;
}

.top-container-contents h1 span {
  font-size: 2.8rem;
}

  .top-container-contents {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .top-container-contents2 {
    width: 100%;
    position: static;
    height: 40vh;
  }

  .top-container-contents h1 {
    text-align: left;
    display: inline-block;
  }

  .top-container-contents p {
    text-align: left;
    display: inline-block;
    font-size: 1rem;
  }

  /* ★ここが重要 */
  .feature-list {
    width: fit-content;   /* 中身幅にする */
    margin: 0 auto;       /* ulを中央へ */
  }

  .feature-item {
    justify-content: flex-start; /* liの中身は左詰め */
  }

  .feature-title {
  font-size: 1.5rem;
}

  .feature-title span {
    display: block;
  }
}

@media(max-width:300px) {}

/* END TOP-TEXT */

/* CONTENTS1 */
.contents1 h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0a69ac;
}

.contents1-container {
  display: flex;
  gap: 40px;
}

.contents1-text {
  width: 50%;
}

.contents1-text p,
.contents1-text h2 {
  width: 90%;
  margin: 0 auto 1.5rem;
  line-height: 2.2rem;
}

.contents1-text ul {
  width: 85%;
  margin: 0 auto 1.5rem;
  line-height: 2rem;
  background-color: ghostwhite;
  padding: 10px 30px;
}

.contents1-text h3 {
  text-align: center;
}

.contents1-text strong {
  font-weight: 600;
  color: #0a69ac;
}

.contents1-img {
  width: 50%;
  text-align: center;
}

.contents1-img img {
  width: 80%;
  display: block;
  margin: auto;
}

.teacher-name {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

@media(max-width:1024px) {
  .contents1-container  {
    display: block;
  }

  .contents1-text {
  width: 100%;
}

.contents1-img {
  width: 100%;
}

.contents1-img img {
  width: 50%;
}
}

@media(max-width:834px) {
  .contents1 h2 {
    font-size: 2rem;
  }

}

@media(max-width:519px) {
  .contents1 {
    padding: 50px 0;
  }

    .contents1 h2 {
    font-size: 1.8rem;
  }

  .contents1 h2 span {
    display: block;
  }
  
  .contents1-text p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

    .contents1-text h3 {
      font-size: 1.5rem;
    }

  .contents1-text h3 span {
    display: block;
  }

  .contents1-img img {
  width: 80%;
}

}

/* END CONTENTS1 */

/* CONTENTS2 */
/* =========================
   CONTENTS2｜選ばれる理由
========================= */

.souka-contents2 {
  background-color: #e7f0f5!important;
  padding: 60px 0;
  counter-reset: reason;
}

/* 見出し */
.souka-contents2>h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0a69ac;
  margin-bottom: 60px;
}

/* 各ブロック */
.souka-contents2-box {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

/* 偶数反転 */
.souka-contents2-box:nth-of-type(even) {
  flex-direction: row-reverse;
}

/* 画像 */
.souka-contents2-box img {
  width: 40%;
  border-radius: 8px;
}

/* テキスト */
.souka-contents2-boxtext {
  width: 60%;
}

/* Reason番号 */
.souka-contents2-box h3::before {
  counter-increment: reason;
  content: "Reason " counter(reason);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a69ac;
  margin-bottom: 6px;
}

/* h3 */
.souka-contents2-box h3 {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 14px;
}

.souka-contents2-box h3 span {
  display: block;
}

/* p */
.souka-contents2-box p {
  line-height: 1.9;
  margin-bottom: 14px;
}

/* 箇条書き */
.souka-contents2-list {
  margin: 0 0 14px 1.2em;
  padding: 0;
}

.souka-contents2-list li {
  line-height: 1.8;
  list-style: disc;
}

/* =========================
   SP対応
========================= */
@media screen and (max-width: 768px) {
  .souka-contents2-box {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .souka-contents2-box:nth-of-type(even) {
    flex-direction: column;
  }

  .souka-contents2-box img,
  .souka-contents2-boxtext {
    width: 100%;
  }

  .souka-contents2>h2 {
    font-size: 2rem;
  }

  .souka-contents2-box h3 {
    font-size: 1.4rem;
  }
}

@media(max-width:519px) {
    .souka-contents2 {
      padding: 20px 0;
    }

  .souka-contents2>h2 span {
    display: block;
  }

  .souka-contents2-box h3::before {
    font-size: 1.1rem;
  }
}


/* END CONTENTS2 */



/* CONTENTS3 */

/* =========================
   CONTENTS3｜特徴・強み
========================= */

.contents3 {
  background-color: #e7f0f5;
  padding: 60px 0;
}

/* 見出し */
.contents3>h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0a69ac;
  margin-bottom: 20px;
}

.contents3>p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  line-height: 1.9;
}

/* =========================
   ボックスレイアウト
========================= */

/* 4列グリッド */
.box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 95%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  justify-content: space-around;
}

/* 各ボックス */
.box-container li {
  background-color: #fff;
  border: 2px solid #4780c5;
  box-shadow: #4780c5 6px 6px;
  text-align: center;
  width: 22%;
}


/* =========================
   画像
========================= */

.box-img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   テキスト
========================= */

.box-text {
  padding: 20px;
  position: relative;
}

.box-text::before {
  content: '';
  width: 1px;
  height: 30px;
  background: #4780c5;
  position: absolute;
  left: 50%;
  top: -15px;
}

/* タイトル */
.box-title {
  margin-bottom: 16px;
}

.box-title .en {
  color: #FF902B;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.box-title h3 {
  font-size: 1.3rem;
  margin: 8px 0 0;
  border-bottom: 2px solid #FF902B;
  display: inline-block;
}

.box-title h3 span {
  display: block;
}

/* 本文 */
.box-read p {
  text-align: left;
  line-height: 1.9;
  margin-top: 16px;
}

/* =========================
   レスポンシブ
========================= */

/* タブレット：2列 */
@media (max-width: 1024px) {
  .box-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .box-container li {
    width: 44%;
  }
}

/* スマホ：1列 */
@media (max-width: 600px) {
  .box-container {
    grid-template-columns: 1fr;
  }

  .contents3>h2 {
    font-size: 2rem;
  }

  .box-title h3 span {
    display: block;
  }
}

@media(max-width:519px) {
  .contents3 {
    padding: 20px 0;
  }

  .contents3>p {
  width: 90%;
}

.box-container {
  display: block;
}

  .box-container li {
    width: 90%;
    margin: 50px auto;
  }

}


/* END CONTENTS3 */

/* CONTENTS4 */
.contents4 {
  padding: 60px 0;
}

/* 見出し */
.contents4>h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0a69ac;
  margin-bottom: 20px;
}

.contents4-container {
  display: flex;
}

.contents4-box {
  width: 50%;
  margin: auto;
}

.contents4-container .map {
  width: 50%;
}

.contents4-box img {
  width: 70%;
  display: block;
  margin: auto;
}

.contents4-box .text {
  width: 60%;
  margin: auto;
}

.contents4-box .text p {
  font-weight: normal;
  line-height: 2.2rem;
  padding-left: 30px;
}


.address {
  background: url(img/address.png);
  background-size: 15px;
  letter-spacing: 0.07em;
  background-position: left center;
  background-repeat: no-repeat;
}

.tell {
  background: url(img/tell3.png);
  background-size: 18px;
  letter-spacing: 0.07em;
  background-position: left center;
  background-repeat: no-repeat;
}

.time {
  background: url(img/time.png);
  background-size: 18px;
  letter-spacing: 0.07em;
  background-position: left center;
  background-repeat: no-repeat;
}

@media(max-width:519px) {
  .contents4-container {
  display: block;
}

.contents4-box {
  width: 90%;
  margin: auto;
}

.contents4-container .map {
  width: 100%;
  height: 400px;
}

.contents4-box img {
  width: 90%;
}

.contents4-box .text {
  width: 90%;
}

.contents4-box .text h3 {
  text-align: center;
}

}

/* END CONTENTS4 */

/* CONTENTS8 */
.contents8 {
  background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)), url(img/classimg.jpg) center bottom / cover no-repeat;
  text-align: center;
  padding: 30px 20px 100px;
  position: relative;
}

/* .contents8::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10,30,0,0.5);
} */

.contents8-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.contents8-title {
  text-align: center;
  letter-spacing: 1px;
  position: relative;
}

.contents8-title .en {
  font-size: 2rem;
  letter-spacing: 2px;
  color: #F1E96A;
  font-family: 'Lato', sans-serif;
  margin: 0;
}

.contents8-title h2 {
  font-size: 3.2rem;
  font-weight: bold;
  color: #333333;
}

.contents8-title .read {
  margin: 0;
  font-size: 1.5rem;
  color: #333333;
  line-height: 3rem;

}

.contents8-area {
  display: flex;
  justify-content: space-between;
  margin-top: 100px;

}

.contents8-box a img {
  width: 90%;
  transition: all 0.6s ease 0s;
}

.contents8-box a img:hover {
  opacity: .5;
  transform: translateY(-5px);
}


@media(max-width:1024px) {}

@media(max-width:834px) {

  .contents8-title h2 {
    font-size: 2.5rem;
  }

  .contents8-title .read {
    font-size: 1rem;
  }

  .contents8-area {
    display: block;
    margin: 0;
  }

  .contents8-box a img {
    width: 70%;
    margin: 30px auto;
  }

  .contents8-title .read {
    font-size: 1.3rem;
  }


}

@media(max-width:768px) {}

@media(max-width:519px) {
  .contents8-title h2 {
    font-size: 2rem;
  }

  .contents8-title h2 span {
    display: block;
  }

  .contents8-title img {
    width: 55%;
  }

  .contents8-title a {
    font-size: 2.5rem;
  }

  .contents8-title a img {
    width: 10%;
  }

  .contents8-title a span {
    font-size: 1rem;
  }

  .contents8-box a img {
    width: 80%;
    margin: 30px auto;
  }

}

@media(max-width: 300px) {}

/* END CONTENTS8 */


/* FOOTER */

.footer-container {
  display: flex;

}

.footer-map {
  width: 50%;
}

.footer-table {
  width: 50%;
  /* background: rgba(204, 204, 204, 0.8); */
  padding-bottom: 20px;
  color: #333;
}

.footer-table a {
  text-decoration: none;
  color: #333333;
  font-size: 1em;
  font-weight: lighter;
}

.footer-table p span {
  /* margin-left: 20px; */
  display: block;
}

.footer-table td span {
  display: block;
}

table {
  width: 85%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 100%;
  margin: 30px auto;
}

tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}

tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
  border-bottom: 2px solid gray;
}

th {
  display: table-cell;
  vertical-align: inherit;
  font-weight: bold;
  text-align: -internal-center;
  padding: 30px 0;
  white-space: nowrap;
  font-family: 'Prata', serif;
}

td {
  display: table-cell;
  vertical-align: inherit;
  padding-left: 50px;
}

.footer-bottom {
  padding: 60px 40px 0;
  display: flex;
  justify-content: space-between;
}

.footer-bottom_container {
  width: 90%;
  margin: auto;
}

.footer-bottom_container img {
  width: 20%;
  display: block;
  margin: 20px auto;
}

.footer-bottom_container ul {
  display: flex;
  justify-content: space-around;
  padding: 0;
}

.footer-bottom_container ul li {
  list-style: none;
  border-left: 2px solid #333333;
  margin: 30px 0;
  width: calc(100%/10);
  text-align: center;
  height: 30px;
}

.footer-bottom_container ul li:last-child {
  border-right: 2px solid #fff;

}

.footer-bottom_container ul li a {
  text-decoration: none;
  font-size: .8em;
  font-weight: bold;
  color: #333;
}

.footer-bottom_container ul li a:hover {
  color: #fff;
}

footer .copy {
  font-size: 15px;
  line-height: 30px;
  letter-spacing: .06em;
  text-align: center;
  background-color: #0267F4;
  margin: 0;
  padding: 10px 0;
  color: #fff;
}

@media(max-width:1024px) {
  .footer-bottom_container {
    width: 100%;
  }
}

@media(max-width:834px) {

  .footer-table {
    width: 100%;
  }

  .footer-container {
    display: block;
  }

  .footer-map {
    width: 100%;
    height: 500px;
  }

  table {
    width: 65%;
  }

  .footer-bottom_container {
    width: 95%;
  }

  .footer-bottom_container ul li a {
    font-size: .6em;
  }

  .footer-bottom {
    padding: 60px 0 0;
    display: flex;
    justify-content: space-between;
  }

}

@media(max-width:519px) {

  footer {
    margin-bottom: 80px;
  }

  .footer-bottom {
    padding: 10px;
    margin-bottom: 0;
  }


  .footer-bottom_container ul {
    display: block;
    margin: 0;
    line-height: 2em;
  }


  .footer-bottom_container ul li {
    border-left: none;
    border-bottom: 1px solid #333;
    width: 50%;
    margin: auto;
    padding: 10px 30px;
  }

  .footer-bottom_container ul li a {
    font-size: .8em;
  }

  .footer-bottom_container p {
    color: #fff;
    font-size: 10px;
    line-height: 30px;
    font-family: none;
  }

  .footer-bottom_container ul li:last-child {
    border-right: none;
  }

  .footer-table p span {
    display: block;
    margin: 0;
  }

  table {
    width: 90%;
  }

  .footer-bottom_container img {
    width: 70%;
    display: block;
    margin: 20px auto;
  }

}

@media(max-width:300px) {
  .footer-bottom {
    margin-bottom: 140px;
  }

  table {
    font-size: .7em;
  }

  td {
    padding-left: 30px;
  }

  .footer-bottom_container img {
    width: 70%;
    display: block;
    margin: 20px auto;
  }

  .footer-bottom_container .insta {
    width: 90%;
  }

}

/* END FOOTER */