
/* 横幅 */
/* ++++++++++++++++++++++++++++++++++++++++++++++ */
body {
  font-family: "Roboto", "YakuHanJP Noto", sans-serif;
  font-feature-settings: "palt" 1, "kern" 1;
  font-kerning: normal;
  color: #292929;
  padding: 0;
  margin: 0;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: 'palt';
  text-justify: inter-ideograph;
  -ms-text-justify: inter-ideograph;
}
body.fixed {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: hidden;
}

/* フォント */
/* ++++++++++++++++++++++++++++++++++++++++++++++ */

h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

p {
  font-size: 1.2rem;
}

.sec_ttl p{
  color: #438d13;
  font-size: 1.6rem;
}

.sec_ttl h2 {
  font-size: 2.6rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  h3 {
    font-size: 1.4rem;
  }
  
  p {
    font-size: 0.8rem;
  }
  
  .sec_ttl p{
    color: #438d13;
    font-size: 1.4rem;
  }
  
  .sec_ttl h2 {
    font-size: 2.2rem;
    font-weight: bold;
  }
}





/* ***************************** Header */

.l-header {
  font-size: 1.3rem;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: all .5s;
  /* border-radius: 10px; */
  font-weight: bold;
  background-color: #fff;
  opacity: 0.8;
}

.l-header.change-color {
  background: rgba(255, 255, 255, 0.6);
}

.l-header__inner {
  display: flex;
  max-width: 1400px;
  justify-content: space-between;
  height: fit-content;
  align-items: center;
  padding: 0 20px;
  margin: 0 auto;
  height: 70px;
}

.l-header__inner--nav ul {
  display: flex;
  align-items: center;
}

.navi-hoveropacity {
  transition: color 0.3s, color 0.3s;
  margin-right: 40px;
}


.navi-hoveropacity img {
  max-width: 180px;
}

.navi-hoveropacity:hover {
  color: rgba(36, 36, 36, 0.3);
}


.l-header__inner--logo {
  display: flex;
  height: 40px;
}

.contact_navi {
  display: flex;
  background-color: #39A4DB;
  border-radius: 13px;
  height: 50px;
  line-height: 50px;
  padding: 0px 25px;
  text-align: center;
  color: #ffff!important;
  margin-right: 0px!important;
  align-items: center;
  transition: background-color 0.3s, color 0.3s;
}

.contact_navi:hover {
  background-color: transparent;
  color: #39A4DB!important; 
}

.l-info {
  font-family: "YuGothic-Bold";
  text-align: center;
  color: #fff;
}

.e-h1 {
 font-size: 2rem;
 font-family: "YuGothic-Bold";
 line-height: 3rem;
}

.l-info p {
  font-size: 1.3rem;
  line-height: 54px;
  padding-top: 85px;
}

.l-info {
  background-image: url(../img/home/intro-bk-01-pc.webp), url(../img/home/intro-bk-02-pc.webp), url(../img/home/intro-bk-03-pc.webp);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: top,center,bottom;
  padding: 410px 0 0 0;
  margin-top: -260px;
  position: relative;
  height: 1169px;
  overflow: hidden;
  width: 100%;
}

picture.fv-wrapper {
  margin-top: 70px;
  display: block;
}

@media screen and (max-width: 768px) {
  .e-h1 {
    font-size: 1.8rem;
  }

  section.c-namepage {
    margin-bottom: 20px;
  }

  .l-info p {
    font-size: 1.2rem;
    line-height: 40px;
    padding: 50px 15px;
}

}




  /* header navi
-------------------- */

.gnavi__list {
  position: relative;
}




  /* header navi-sp
-------------------- */
/* 既存の表示制御は保持 */
.pc-only { display: block; }
.sp-only { display: none; }

@media screen and (max-width: 767px) {
  .pc-only { display: none; }
  .sp-only { display: block; }

  /* ハンバーガーメニュースタイル */
  .l-header__inner--toggle {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
  }

  .l-header__inner--toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }

  .l-header__inner--toggle span:nth-child(1) {
    top: 0;
  }

  .l-header__inner--toggle span:nth-child(2) {
    top: 10px;
  }

  .l-header__inner--toggle span:nth-child(3) {
    top: 20px;
  }

  /* ハンバーガー→×アニメーション */
  .l-header__inner--toggle.is-active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }

  .l-header__inner--toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .l-header__inner--toggle.is-active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }

  /* 全画面ナビゲーション */
  .l-header__inner--nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 900;
    transform: translateX(-100%);
    padding-top: 80px;
    text-align: center;
    transition: transform 0.4s ease;
  }

  .l-header__inner--nav.is-active {
    transform: translateX(0);
  }

  .gnavi__lists {
    flex-direction: column;
    height: 70%;
    justify-content: center;
  }

  .gnavi__list {
    margin: 20px 0;
    font-size: 1.5rem;
  }

  /* オーバーレイ */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 800;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
}


/* ***************************** Home */
/* Common
-------------------- */

.pc-only{ display: block; }
.sp-only{ display: none; }

@media screen and (max-width:767px) {
  .pc-only{ display: none; }
  .sp-only{ display: block; }
}

.wrap-1100 { max-width: 1100px; margin: 100px auto 0 auto; }

.modaal-video-wrap { margin: auto 0 !important; }

.btn-reserve { position: fixed; right: 50px; bottom: 110px; z-index: 100; }

.flex { display: flex; }

@media screen and (max-width: 844px) { .btn-reserve { width: 90px; right: 14px; bottom: 20px; } }

@media screen and (max-width: 844px) { .l-footer { position: relative; } }

@media screen and (max-width: 844px) { .only-pc { display: none !important; } }

@media screen and (min-width: 768px) { .only-sp { display: none !important; } }


/* Contents
-------------------- */

.sec_topbox {
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  position: relative;
  min-height: 400px;
}

.sec_topbox > div:first-child {
  flex: 1 1 45%;
}

.sec_topbox > div:last-child {
  flex: 1 1 50%;
  position: relative;
}

.sec_ttl {
  margin-bottom: 30px;
}

.point_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 0;
  margin: 4rem 0 2rem 0;
}

.point {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  padding: 1rem;
  flex: 1 1 calc((100% - 60px) / 4);
  padding: 2.7rem;
}

.point img {
  height: 100px;
}

.point_wrap li:nth-child(1) {
  background-image: url('../img/point01.webp');
}
.point_wrap li:nth-child(2) {
  background-image: url('../img/point02.webp');
}
.point_wrap li:nth-child(3) {
  background-image: url('../img/point03.webp');
}
.point_wrap li:nth-child(4) {
  background-image: url('../img/point04.webp');
}

.yajirushi {
  width: 80px;
  margin: 0 auto;
}

.sec_fot h2 {
  font-size: 2.6rem;
  font-weight: bold;
}

.sec_fot {
  text-align: center;
  margin-top: 50px;
}

#about .sec_topbox {
  position: relative;
  display: flex;
  min-height: 400px; /* 適宜調整 */
}

/* 画像を画面の左端から大きく広げる */
#about .img_position {
  position: absolute;
  top: 0;
  left: -150px;
  width: 60vw;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#about .img_position {
  position: absolute;
  top: 0;
  left: -500px;
  width: 64vw;
  height: 100%;
  min-width: 980px;
  max-width: 1100px;
  z-index: 1;
  overflow: hidden;
}

/* テキスト側だけ右に寄せる */
#about .sec_topbox > div:not(.img_position) {
  margin-left: 34vw;
  width: 60vw;
  min-width: 500px;
  padding: 40px;
  z-index: 2;
  box-sizing: border-box;
  background-color: white;
}

.gaiyo {
  margin-top: 80px!important;
  justify-content: space-around;
}

table {
  line-height: 2rem;
}

tr {
  border-bottom: 1px solid #d9d9d9;
  padding: 15px;
  display: block;
}

th {
  width: 150px;
}


.contact_box {
  border: 10px solid #d9d9d9;
  padding: 30px;
  align-items: center;
  justify-content: space-around;
}

.section-wrapper03 .sec_ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  padding: 40px 60px 40px 40px;
  margin-bottom: 0;
}

.section-wrapper03 .sec_ttl::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: #ccc;
}


.contact_text {
  flex: 1;
  margin-left: 30px;
  align-items: center;
}

.contact_text p {
  font-size: 20px;
  line-height: 1.6;
}

.contact_text img {
  max-width: 300px;
  height: auto;
  margin-left: 30px;
}

footer {
  width: 100%;
  background-color: #292929;
  color: #fff;
  padding-bottom: 20px;
}

.fot_wrap {
  justify-content: space-between;
  padding: 50px 0 30px 0;;
}

.fot_wrap img {
  width: 150px;
}

.copy {
  text-align: center;
  font-size: 10px;
}

@media screen and (max-width: 768px) {
    .point {
      height: 300px;
    }
}



@media screen and (max-width: 768px) {

  .sec_fot h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .point {
    flex: 1 1 calc((100% - 20px) / 2);
    padding: 0;
    height: 200px;
  }

  .point img {
    height: 70px;
  }

  #about .sec_topbox {
    flex-direction: column;
  }

  #about .img_position {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
    max-width: 100%;
    min-width: 100%;
  }

  #about .img_position img {
    height: auto;
  }

  #about .sec_topbox > div:not(.img_position) {
    margin-left: 0;
    width: 100%;
    min-width: 100%;
    padding: 0;
  }

  .contact_box {
    justify-content: space-around;
    flex-direction: column;
  }

  .wrap-1100 {
    max-width: 92%;
  }

  .section-wrapper03 .sec_ttl::after {
    top: 150px;
    right: 0;
    width: 100%;
    height: 2px;
}

  .contact_text {
    margin-top: 30px;
    margin-left: 0;
    flex-direction: column;
  }

  .contact_text img {
    max-width: 100%;
    margin-left: 0;
    width: 100%;
    margin-top: 20px;
  }

  .gaiyo {
    flex-direction: column;
  }

  tr {
    display: flex;
    flex-wrap: wrap;
  }

  th {
    width: 100%;
  }

  .fot_wrap {
    flex-direction: row;
    align-items: center;
    padding: 40px 0 30px 0;
  }

}


/* Privacy Policy
-------------------- */

main.l-main {
  margin-top: 90px;
}

.p-privacy h3 {
  font-size: 1.6rem;
  font-weight: bold;
}

.p-list {
  margin: 10px 0;
}

.p-privacy {
  line-height: 1.3;
}




/*============

文字のフェードイン

==============*/


/* フェードインの初期状態 */
.fade-in-text {
  opacity: 0; /* 最初は透明 */
  transform: translateY(40px); /* 下にずらす */
  transition: opacity 2s ease-out, transform 2s ease-out; /* アニメーション設定 */
  text-align: center;
  border-radius: 10px;
  margin: 0 auto;
}

/* フェードイン時のスタイル */
.fade-in-text.visible {
  opacity: 1; /* 不透明にする */
  transform: translateY(0); /* 元の位置に戻す */
}


/* フェードインの初期状態 */
.fade-in-body {
  opacity: 0; /* 最初は透明 */
  transform: translateY(20px); /* 下にずらす */
  transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* アニメーション設定 */
  border-radius: 10px;
  margin: 0 auto;
}

/* フェードイン時のスタイル */
.fade-in-body.visible {
  opacity: 1; /* 不透明にする */
  transform: translateY(0); /* 元の位置に戻す */
}

