@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

/* =======================================
変数
======================================== */
:root {
  /* ブランドカラー */
  --main-color: #00b98f;
  --bg-color: #f0fcf6;
  --light-color: #00c851;
  --gray-color: #ccc;
}

/* =======================================
共通
======================================== */
html {
  scroll-behavior: auto !important;
}
html {
  font-size: 20px;
  /* デフォルト16px → 20pxに変更 */
}

/* jQueryでスクロールするページではoffにしておく */
html {
  scroll-behavior: auto;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 2;
  color: #333;
  background-color: #fff;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-style: normal;
}

img {
  width: 100%;
}

.container {
  max-width: 1320px;
  /* 中身が1290pxになる */
}

.wrapper {
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  background-image: url("../images/common/fixed_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
}

.ml-50 {
  margin-left: min(calc(25px + (50 - 25) * ((100vw - 992px) / (1500 - 992))),
      50px);
}

.blcok-1200 {
  display: none;
}

a {
  transition: 0.7s;
  cursor: pointer;
}

br.sp-none {
  display: block;
}

br.w-1500-none {
  display: block;
}

@media screen and (max-width: 1500px) {
  br.w-1500-none {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  br.sp-none {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .blcok-1200 {
    display: block;
  }
}

/* =======================================
ヘッダー
======================================== */
#header {
  width: 100%;
  background-color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
}

#header .container-fluid {
  padding-left: min(2vw, 40px);
  padding-right: min(2vw, 40px);
}

.logo-box a {
  transition: 0.7s;
}

.logo-box a:hover {
  opacity: 0.6;
}

.logo-flex {
  display: flex;
  gap: 0 min(calc(10px + (16 - 10) * (100vw - 992px) / (2000 - 992)), 16px);
  align-items: center;
}

.logo-flex p {
  max-width: 100%;
  width: 53px;
}

.logo-flex h1 {
  font-size: min(calc(22px + 12 * (100vw - 992px) / 1008),
      34px);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  color: #000000;
  font-weight: 700;
}

#header .row-head {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.list-gnav {
  font-size: min(calc(12px + 6 * (100vw - 992px) / 608), 18px);
  list-style: none;
  padding: 0;
  margin: 0 -0.75em;
  display: flex;
}

.list-gnav>li {
  padding: 0 1.25vw;
}

.list-gnav li.active a {
  color: #00b98f;
  transition: 0.7s;
  position: relative;
}

.list-gnav li a:hover {
  color: #00b98f;
  position: relative;
}

.list-gnav li a {
  position: relative;
  /* 擬似要素を絶対配置するため */
}

.list-gnav li a::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -10px;
  border-radius: 50%;
  transform: translateX(-50%);
  display: block;
  width: 5px;
  height: 5px;
  background-color: #00b98f;
  opacity: 0;
  transition: opacity 0.4s ease;
  /* ← ふわっと */
}

.list-gnav li.active a::after,
.list-gnav li a:hover::after {
  opacity: 1;
}


.head_contents {
  align-items: center;
  display: flex;
}

.entry-btn {
  cursor: pointer;
  color: #fff;
  border-radius: 30px;
  line-height: 1;
  text-align: center;
  width: 100%;
  transition: 0.7s;
  background: linear-gradient(90deg, #00b98f 0%, #00c851 100%);
}

.entry-btn a {
  padding:
    min(calc(14px + (22 - 14) * (100vw - 992px) / (2000 - 992)), 22px) 0;
  transition: 0.7s;
  letter-spacing: 0.1em;
  display: block;
}

.entry-btn {
  position: relative;
  cursor: pointer;
  max-width: min(calc(170px + (240 - 170) * (100vw - 992px) / (2000 - 992)),
      240px);
  color: #fff;
  border-radius: 30px;
  line-height: 1;
  text-align: center;
  font-size: min(calc(14px + (18 - 14) * (100vw - 992px) / (2000 - 992)),
      18px);
  /* 992px→16px, 2000px→18px */
  width: 100%;
  overflow: hidden;
}

.entry-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s;
  background: linear-gradient(90deg, #00c851 0%, #00b98f 100%);
}

.entry-btn:hover::before {
  opacity: 1;
}

.entry-btn a {
  color: #fff !important;
  position: relative;
  z-index: 1;
  transition: 0.7s;
  letter-spacing: 0.1em;
  display: block;
}


/* 親で左右に配置 */
.row-head {
  display: flex;
  align-items: center;
  width: 100%;
}

.logo-box {
  flex: 0 0 auto;
}

.head_contents {
  display: flex;
  align-items: center;
  gap: 2.5vw;
  flex: 1 1 auto;
  min-width: 0;
}

#gNavi {
  flex: 1 1 auto;
}

#gNavi ul {
  justify-content: flex-end;
}

.openbtn {
  display: none;
}

.overlay-menu {
  display: none;
}
@media (max-width: 1500px) {
  .logo-flex {
    display: flex;
    gap: 0 min(calc(10px + (16 - 10) * (100vw - 992px) / (2000 - 992)), 16px);
    align-items: center;
  }

  .logo-flex p {
    max-width: 100%;
    width: min(calc(40px + (53 - 40) * (100vw - 992px) / (1500 - 992)),
      53px);
  }


  .logo-flex h1 {
    font-size: min(calc(20px + 12 * (100vw - 992px) / 1008),
        32px);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    color: #000000;
    font-weight: 700;
  }
}
@media screen and (max-width: 991px) {
  #header .row-head {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
  }

  #gNavi,
  .entry-btn {
    display: none;
  }

  .logo-flex .logo-mark {
    max-width: min(calc(32px + (40 - 32) * (100vw - 320px) / (991 - 320)),
        40px);
    width: 100%;
    flex: auto;
    font-size: 0;
  }

  .logo-flex h1 {
    font-size: min(calc(23px + 10 * (100vw - 992px) / 1008),
        33px);
  }

  .openbtn {
    background: linear-gradient(90deg, #00B98F 0%, #00C851 100%);
    display: flex;
    position: fixed;
    cursor: pointer;
    width: 43px;
    top: 10px;
    margin-left: 0;
  }

  .openbtn {
    right: min(2vw, 40px);
    padding: 10px;
    width: 50px;
    height: 50px;
    z-index: 1001;
  }

  .openbtn.active {
    width: 50px;
    background: none;
    height: 50px;
  }

  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 1.4rem;
    height: 2px;
    background: #fff;
  }

  .openbtn span:nth-of-type(1) {
    top: 16px;
    left: 6px;
    width: 38px;
  }

  .openbtn span:nth-of-type(2) {
    top: 24px;
    left: 6px;
    width: 38px;
  }


  .openbtn.active span:nth-of-type(1) {
    top: 10px;
    width: 38px;
    background: #fff;
    left: 6px;
    transform: translateY(5px) rotate(-160deg);
  }

  .openbtn.active span:nth-of-type(2) {
    top: 20px;
    background: #fff;
    left: 6px;
    width: 38px;
    transform: translateY(-5px) rotate(160deg);
  }

  .openbtn p {
    padding-left: 1px;
    color: #fff;
    font-weight: 700;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    line-height: 1;
  }

  .overlay-menu {
    display: block;
    opacity: 0;
    left: 0;
    top: 0;
    transition: 0.7s;
    position: fixed;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1001;
    pointer-events: none;
    z-index: 1000;
  }

  .overlay-menu.active {
    opacity: 1;
    background: linear-gradient(90deg, #00B98F 0%, #00C851 100%);
    pointer-events: all;
  }

  .overlay-menu-inner {
    position: relative;
    height: 100%;
    padding: 100px 28px 20px;
  }

  .spNav-top-01 ul li {
    border-bottom: 1px solid #fff;
  }

  .spNav-top-01 ul li a {
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    font-weight: 500;
    line-height: 1;
  }

  .spNav-top-01 ul {
    max-width: 250px;
    width: 100%;
  }

  .spNav-top-01 ul li:nth-child(n+2) {
    margin-top: 32px;
  }

  .sp-nav-copy {
    margin-top: 80px;
    color: #fff;
    font-size: 12px;
  }
}

/* =======================================
フッター
======================================== */
#footer {
  padding-top: 150px;
  padding-bottom: 150px;
}

#footer .logo-flex {
  display: flex;
  gap: 0 15px;
  align-items: center;
}

#footer .logo-flex p {
  max-width: 45px;
  width: 100%;
}

#footer .logo-flex h2 {
  font-size: 24px;
  color: #000000;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}

#footer .logo-box {
  margin-bottom: 42px;
}

#footer .address {
  font-size: min(calc(14px + (16 - 14) * (100vw - 992px) / (1500 - 992)),
      16px);
}

.footer_content__right {
  padding-top: 120px;
}

.f_navi ul {
  display: flex;
  gap: 0 30px;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  list-style: none;
}

.f_navi ul li a {
  font-size: min(calc(14px + (16 - 14) * (100vw - 992px) / (1500 - 992)),
      16px);
}

.f_navi ul li a:hover {
  color: #00b98f;
  position: relative;
}

.f_navi ul li a {
  position: relative;
  /* 擬似要素を絶対配置するため */
}

.f_navi ul li a::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -10px;
  border-radius: 50%;
  transform: translateX(-50%);
  display: block;
  width: 5px;
  height: 5px;
  background-color: #00b98f;
  opacity: 0;
  transition: opacity 0.4s ease;
  /* ← ふわっと */
}

.f_navi ul li a:hover::after {
  opacity: 1;
}

.copyright {
  margin-top: 40px;
  text-align: right;
  font-size: 14px;
}

#pagetop {
  right: 10px;
  bottom: 10px;
  position: fixed;
  max-width: 50px;
  cursor: pointer;
  width: 100%;
  z-index: 1000;
  transition: 0.7s;
}

#pagetop:hover {
  opacity: 0.6;
}

@media (max-width: 1500px) {

  #footer .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}

@media screen and (max-width: 1200px) {
  #footer {
    padding-top: min(calc(60px + (150 - 60) * (100vw - 320px) / (991 - 320)),
        150px);
    padding-bottom: min(calc(60px + (150 - 60) * (100vw - 320px) / (991 - 320)),
        150px);
  }

  #footer .logo-flex {
    justify-content: center
  }

  #footer .address {
    font-size: min(calc(12px + (14 - 12) * (100vw - 320px) / (991 - 320)),
        14px);
    letter-spacing: 0.05em;
    text-align: center;
  }

  .f_navi ul {
    flex-wrap: wrap;
    justify-content: center
  }

  .copyright {
    text-align: center;
    font-size: min(calc(12px + (14 - 12) * (100vw - 320px) / (991 - 320)),
        14px);
  }

  .footer_content__right {
    padding-top: min(calc(50px + (120 - 50) * (100vw - 320px) / (991 - 320)),
        120px);
  }
}

@media screen and (max-width: 991px) {
  #header .row-head {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
  }

  #gNavi,
  .entry-btn {
    display: none;
  }

  #footer .logo-flex p {
    max-width: 33px;
    width: 100%;
    flex: auto;
  }

  #footer .logo-flex h2 {
    font-size: 18px;
    color: #000000;
    font-weight: 700;
  }

  #pagetop {
    max-width: min(calc(40px + (50 - 40) * (100vw - 320px) / (991 - 320)),
        50px);
  }
}

@media screen and (max-width: 660px) {
  .footer_content__right {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }

}

/* =======================================
下層ページ　カーテンエフェクト
======================================== */

/* もとの .main_ttl h2 の white を上書きして透明に */
.main_ttl h2.reveal {
  background-color: transparent;
  /* ←ここ重要 */
  position: relative;
  display: inline-block;
  overflow: hidden;
}

/* カーテン */
.reveal .curtain {
  position: absolute;
  inset: 0;
  background: var(--main-color);
  transform-origin: left center;
  will-change: transform;
  z-index: 1;
}

/* テキスト初期状態 */
.reveal .txt,
.reveal .fs-en {
  display: block;
  opacity: 0;
  transform: translateY(0.6em);
  position: relative;
  z-index: 2;
}