@charset "UTF-8";

/* メモ 
スマホ特化でコーディング

各ブレイクポイント：
～1024px：LPのコンテンツ幅の最小値375px（未満はリキッドレイアウトで可変）、最大値640px
1024px以上：LPのコンテンツ幅は375pxから拡大していく


/*-------------------------------------------------------------------------

共通css

-------------------------------------------------------------------------*/

:root {
  --color-main-text: #333333;
  --color-bold-text: #4a4a4a;
  --color-bold-text-white: #ffffff;
  --color-main: #2F5D50;
  --color-sub: #6E8F7A;
  --color-hydrogen-bath: #6495ED;
  --color-hydrogen-gas-generator: #5E903D;
  --color-border: #d9d9d9;
  --color-bg: #F4FBF5;
  --color-bg02: #F7F8F6;
  --gradient-button-hydrogen-bath: linear-gradient(to right, #94BAFF 40%, #6495ED 100%);
  --gradient-button-hydrogen-gas-generator: linear-gradient(to right, #88C55F 40%, #5E903D 100%);
  --gradient-button-discount: linear-gradient(
    to right,
    #fcab47 0%,
    #db8158 100%
  );
  --gradient-green: linear-gradient(to right, #6E8F7A 0%, #2F5D50 100%);
  --gradient-pc-left-bg: linear-gradient(to bottom, #95BBFF 0%, #455676 100%);
  --gradient-pc-right-bg: linear-gradient(to bottom, #88C660 0%, #435537 100%);
}

html {
  font-size: min(calc(100vw / 375 * 10), calc(640px / 375 * 10));
}

body {
  font-family: "Noto Sans JP", sans-serif;
  min-height: 100vh;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--color-main-text);
  background-color: var(--color-bold-text-white);
}

.main-contents {
  max-width: 640px;
  margin-inline: auto;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

a {
  cursor: pointer;
}

button {
  all: unset;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font: inherit;
  color: inherit;
  outline: none;
}

.pc-left-contents {
  display: none;
}

.pc-header-nav {
  display: none;
}

.pc-right-contents {
  display: none;
}

/*-------------------------------------------------------------------------

CTAボタン

-------------------------------------------------------------------------*/

.cta-button {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 33.5rem;
  padding: 2.4rem 0;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-bold-text-white);
  border-radius: 5rem;
  border: 1px solid var(--color-bold-text-white);
  box-shadow: 4px 4px 9px 2px rgba(0, 0, 0, 0.12);
  transition-duration: 0.4s;
}

.cta-button.hydrogen-bath {
  background: var(--gradient-button-hydrogen-bath);
}

.cta-button.hydrogen-gas-generator {
  background: var(--gradient-button-hydrogen-gas-generator);
}

.cta-button.discount {
  background: var(--gradient-button-discount);
}

.cta-button::before {
  content: "";
  display: inline-block;
  background-image: url(../img/cta_icon.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.8rem;
  height: 1.8rem;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (hover: hover) {
  .cta-button:hover {
    transform: translateY(-0.5rem);
  }
}

/*-------------------------------------------------------------------------

CTAボタン（ファーストビュー）

-------------------------------------------------------------------------*/

.cta-button.fv {
  width: 100%;
  max-width: 16rem;
  padding: 1.6rem 0;
  font-size: 1.6rem;
}

.cta-button.fv.hydrogen-bath {
  background: var(--gradient-button-hydrogen-bath);
}

.cta-button.fv.hydrogen-gas-generator {
  background: var(--gradient-button-hydrogen-gas-generator);
}

.cta-button.fv.discount {
  padding: 0.7rem 0;
}

.cta-text-wrapper span {
  display: block;
  text-align: center;
}

.cta-text-wrapper span:last-child {
  font-size: 1.4rem;
}

.cta-button.fv::before {
  content: "";
  display: inline-block;
  background-image: url(../img/cta_icon.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.8rem;
  height: 1.8rem;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/*-------------------------------------------------------------------------

ヘッダー

-------------------------------------------------------------------------*/

.header-wrap {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2rem;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.12);
}

.header-logo a img {
  width: 4.8rem;
  height: auto;
}

.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  width: 8rem;
  height: 8rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.menu-button::after {
  content: "メニュー";
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-bold-text);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.37, 0, 0.63, 1),
    opacity 0.4s cubic-bezier(0.37, 0, 0.63, 1);
}

.menu-button.animate-text::after {
  animation: slideUpFadeIn 0.4s cubic-bezier(0.37, 0, 0.63, 1);
}

.menu-hamburger {
  position: relative;
  width: 3rem;
  height: 1.8rem;
  margin-top: 0.6rem;
}

.menu-hamburger span {
  display: inline-block;
  width: inherit;
  height: 0.2rem;
  background-color: var(--color-bold-text);
  transition: all 0.3s ease-in-out;
}

.menu-hamburger span:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
}

.menu-hamburger span:nth-child(2) {
  position: absolute;
  top: 0.8rem;
  left: 0;
}

.menu-hamburger span:nth-child(3) {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ボタンクリック時 */
.menu-button.open span:nth-of-type(1) {
  -webkit-transform: translateY(2rem) rotate(-45deg);
  transform: translateY(0.8rem) rotate(-45deg);
}

.menu-button.open span:nth-of-type(2) {
  opacity: 0;
}

.menu-button.open span:nth-of-type(3) {
  -webkit-transform: translateY(-2rem) rotate(45deg);
  transform: translateY(-0.8rem) rotate(45deg);
}

.menu-button.open::after {
  content: "閉じる";
  transform: translateY(0);
  opacity: 1;
}

.menu-button.open.animate-text::after {
  animation: slideUpFadeIn 0.4s cubic-bezier(0.37, 0, 0.63, 1);
}

@keyframes slideUpFadeIn {
  from {
    transform: translateY(1rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*-------------------------------------------------------------------------

ドロワーメニュー

-------------------------------------------------------------------------*/

.drawer-menu {
  width: 100%;
  height: calc(100svh - 8rem);
  position: fixed;
  top: 8rem;
  background-color: var(--color-bold-text-white);
  transform: translateY(-120%);
  padding: 4rem 2rem;
  transition: all 0.5s ease-in-out;
  z-index: 998;
  overflow-y: auto;
}

.drawer-menu.open {
  transform: translateY(0);
}

.drawer-menu-item {
  font-weight: 500;
  color: var(--color-bold-text);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.6rem;
}

.drawer-menu-item a {
  width: 100%;
  display: block;
  padding-bottom: 1.6rem;
}

.drawer-menu-item:nth-child(2) {
  padding-bottom: 0;
}

.drawer-menu-item:last-child {
  margin-bottom: 0;
}

.drawer-menu-item-label {
  display: inline-block;
  margin-bottom: 1rem;
}

.drawer-menu-sub-item {
  margin-left: 1.6rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.drawer-menu-sub-item a {
  width: 100%;
  padding-bottom: 1rem;
}

.drawer-menu-sub-item a::before {
  content: "";
  display: inline-block;
  background-image: url(../img/arrow_icon.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.2rem;
  height: 1.3rem;
  margin-right: 0.6rem;
  -webkit-transform: translateZ(0) rotate(90deg);
  transform: translateZ(0) rotate(90deg);
}

.drawer-menu-sub-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 0;
}

/*-------------------------------------------------------------------------

フッター

-------------------------------------------------------------------------*/

.footer {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  background: url(../img/footer_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 4rem 5% 2rem;
}

.footer-nav {
  margin-bottom: 4rem;
}

.footer-nav-item {
  font-weight: 500;
  color: var(--color-bold-text-white);

  border-bottom: 1px solid var(--color-bold-text-white);
  margin-bottom: 1.6rem;
}

.footer-nav-item a {
  padding-bottom: 1.6rem;
}

.footer-nav-item:nth-child(2) {
  padding-bottom: 0;
}

.footer-nav-item:last-child {
  margin-bottom: 0;
}

.footer-nav-item-label {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-nav-sub-item {
  margin-left: 1.6rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.footer-nav-item a {
  display: block;
  width: 100%;
  padding-bottom: 1rem;
  transition: opacity 0.2s ease-in-out;
}

.footer-nav-sub-item a::before {
  content: "";
  display: inline-block;
  background-image: url(../img/arrow_icon.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1.2rem;
  height: 1.3rem;
  margin-right: 0.6rem;
  filter: brightness(0) invert(1);
  -webkit-transform: translateZ(0) rotate(90deg);
  transform: translateZ(0) rotate(90deg);
}

@media (hover: hover) {
  .footer-nav-item a:hover,
  .footer-nav-sub-item a:hover {
    opacity: 0.7;
  }
}

.footer-nav-sub-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 0;
}

.footer-logo {
  text-align: center;
  margin-bottom: 4rem;
}

.footer-logo img {
  width: 4.8rem;
  height: auto;
  filter: brightness(0) invert(1);
}

.copyright {
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--color-bold-text-white);
  text-align: center;
}

/*-------------------------------------------------------------------------

セクションタイトル

-------------------------------------------------------------------------*/

.lp-title{
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-bold-text);
  margin-bottom: 3rem;
  text-align: center;
}

.lp-title::before{
  display: block;
  font-size: 1.6rem;
  color: var(--color-main);
  margin-bottom: 0.6rem;
}

.lp-title.reason-title::before{
  content: "Reason";
}

.lp-title.recommend-title::before{
  content: "Recommend";
}

.lp-title.feature-title::before{
  content: "Feature";
}

.lp-title.voice-title::before{
  content: "Voice";
  color: var(--color-bold-text-white);
}

.lp-title.faq-title::before{
  content: "FAQ";
}

/*-------------------------------------------------------------------------

下層ページタイトル

-------------------------------------------------------------------------*/

.subpage-title-bg {
  width: 100%;
  height: 19rem;
  background: url(../img/leaf_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center -4rem;
  display: grid;
  align-items: center;
  padding: 0 5%;
}

.subpage-title {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-bold-text-white);
}

/*-------------------------------------------------------------------------

ご契約内容の詳細ページの各タイトル

-------------------------------------------------------------------------*/

.contract-page-title-h2 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: var(--gradient-green);
  color: var(--color-bold-text-white);
  padding: 2.8rem 2.4rem;
}

.contract-page-title-h3 {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-bold-text);
  padding: 0.8rem 2rem;
  border-left: 0.4rem solid var(--color-main);
}

/*-------------------------------------------------------------------------

CTAセクション

-------------------------------------------------------------------------*/

.cta-section {
  position: relative;
}

.cta-section-item {
  background: url(../img/cta_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-products-title-en {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
}

.cta-products-title-en.hydrogen-bath {
  color: var(--color-hydrogen-bath);
}

.cta-products-title-en.hydrogen-gas-generator {
  color: var(--color-hydrogen-gas-generator);
}

.cta-products-title-ja {
  font-size: 2.4rem;
  color: var(--color-bold-text);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 3rem;
}

.cta-products-img-wrap {
  position: relative;
  width: 35.5rem;
  height: 29rem;
  margin: 0 auto 2rem;
}

.cta-products-img {
  position: absolute;
  width: 21.5rem;
  height: auto;
}
.cta-catchcopy {
  position: absolute;
  right: 4rem;
}

.cta-catchcopy-list {
  display: flex;
  flex-direction: row-reverse;
  gap: 1.6rem;
}

.cta-catchcopy-item {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.6rem;
  color: var(--color-bold-text);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.cta-price-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 3rem;
}

.cta-price-item {
  width: 100%;
  max-width: 33.5rem;
}

.cta-price-name {
  background-color: var(--color-main);
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--color-bold-text-white);
  padding: 0.6rem 0;
  text-align: center;
}

.cta-price-name.monthly {
  background-color: var(--color-sub);
}

.cta-price {
  background-color: var(--color-bold-text-white);
  font-size: 2.4rem;
  line-height: 1.2;
  padding: 1.6rem 0;
  text-align: center;
}

.cta-price span {
  font-size: 1.6rem;
}

.cta-button-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 3rem;
}

.cta-button-item {
  text-align: center;
}

.cta-button-item {
  display: flex;
  justify-content: center;
}

.contract-link {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-bold-text);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.contract-link span {
  position: relative;
}

.contract-link span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-bold-text);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .contract-link:hover span::after {
    transform: scaleX(0);
  }
}

.contract-link::before {
  content: "";
  display: inline-block;
  background: url(../img/contract_icon.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 2.4rem;
  height: 2.4rem;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* 矢印ボタン*/
.cta-section .splide__arrows {
  position: absolute;
  top: 37.5rem;
  right: 2rem;
}

.cta-section .splide__arrow {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--color-bold-text-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/*-------------------------------------------------------------------------

矢印ボタン（スライド用ボタン）

-------------------------------------------------------------------------*/

.splide__arrows {
  display: flex;
  gap: 1rem;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.splide__arrow {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--color-bold-text-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
}

.splide__arrow svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--color-bold-text);
}

.splide__arrow--prev svg {
  transform: rotate(180deg);
}

/*-------------------------------------------------------------------------

PCサイズ（1024px以上）

-------------------------------------------------------------------------*/

@media (min-width: 1024px) {
  html {
    font-size: calc((375px + (100vw - 1024px) * 0.2) / 375 * 10);
  }

  body {
    overflow-x: hidden;
  }

  .container {
    position: relative;
  }

  .sp-container {
    position: absolute;
    z-index: 999;
  }

  .menu-button {
    display: none;
  }
  .main-contents{
    background-color: var(--color-bold-text-white);
  }

  .main-contents,
  .footer {
    max-width: 37.5rem; 
  }

  .pc-left-contents{
    display: block;
    width: calc((100dvw - 37.5rem) / 2);
    height: 100vh;
    position: fixed;
    background: var(--gradient-pc-left-bg);
    left: 0;
    overflow: hidden;
  }

  .pc-right-contents {
    display: block;
    width: calc((100dvw - 37.5rem) / 2);
    height: 100vh;
    position: fixed;
    background: var(--gradient-pc-right-bg);
    right: 0;
    overflow: hidden;
  }

  .pc-left-contents::before,
  .pc-right-contents::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .pc-left-text,
  .pc-right-text {
    font-size: 1.8rem;
    color: var(--color-bold-text-white);
    letter-spacing: 0.1em;
    position: absolute;
    top: 24vh;
    left: 6rem;
  }

  .pc-autoslide {
    position: absolute;
    top: 58vh;
    z-index: -1;
    overflow: hidden;
    display: flex;
    width: inherit;
    height: 8.4rem;
  }

  .pc-autoslide-text {
    font-size: 6.4rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.2em;
    flex-shrink: 0;
    white-space: nowrap;
    &:nth-child(odd) {
    animation: MoveLeft 100s -50s infinite linear;
  }
    &:nth-child(even) {
      animation: MoveLeft2 100s infinite linear;
    }
  }

  .pc-autoslide-text.hydrogen-bath {
    color: var(--color-hydrogen-bath);
    opacity: 0.5;
  }

  .pc-autoslide-text.hydrogen-gas-generator {
    color: var(--color-hydrogen-gas-generator);
    opacity: 0.5;
  }

  @keyframes MoveLeft {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(-100%);
    }
  }

  @keyframes MoveLeft2 {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-200%);
    }
  }

  .pc-left-hydrogen-bath-img,
  .pc-right-hydrogen-gas-generator-img {
    position: absolute;
    top: 60vh;
    left: 50%;
    transform: translateX(-50%);
  }

  .pc-left-hydrogen-bath-img{
    width: 80%;
    height: auto;
  }

  .pc-right-hydrogen-gas-generator-img{
    width: 87%;
    height: auto;
  }

  .header {
    width: 100dvw;
    height: 10rem;
    padding: 0 8rem;
  }

  .header-logo a img {
    width: 6.6rem;
    height: auto;
  }

  .pc-header-nav {
    display: block;
  }

  .pc-header-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }

  .pc-header-nav-item {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-bold-text);
  }

  .pc-header-nav-item a,
  .dropdown-menu-trigger {
    transition: opacity 0.2s ease-in-out;
  }

  @media (hover: hover) {
    .pc-header-nav-item a:hover,
    .dropdown-menu-trigger:hover {
      opacity: 0.7;
    }
  }

  .dropdown-menu {
    width: 60%;
    opacity: 0;
    position: absolute;
    top: 10rem;
    right: 0;
    z-index: 999;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    pointer-events: none;
    visibility: hidden;
    box-shadow: -4px 4px 4px 0 rgba(0, 0, 0, 0.12);
  }

  .dropdown-menu.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .dropdown-menu-list {
    background-color: var(--color-bold-text-white);
    padding: 5rem 6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .dropdown-menu-item {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.6rem;
  }

  .dropdown-menu-trigger {
    cursor: pointer;
  }

  .dropdown-menu-trigger::after {
    content: "";
    display: inline-block;
    background-image: url(../img/arrow_icon.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 1.5rem;
    height: 1.3rem;
    -webkit-transform: translateZ(0) rotate(180deg);
    transform: translateZ(0) rotate(180deg);
    margin-left: 1.2rem;
  }

  .dropdown-products-img {
    overflow: hidden;
    margin-bottom: 2.4rem;
  }

  .dropdown-products-img img {
    transition: scale 0.4s ease-in-out;
  }

  @media (hover: hover) {
    .dropdown-menu-item:hover .dropdown-products-img img {
      scale: 1.05;
    }
  }

  .dropdown-products-name {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-bold-text);
  }

  .dropdown-products-name::before {
    content: "";
    display: inline-block;
    background-image: url(../img/arrow_icon.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 1.2rem;
    height: 1.3rem;
    margin-right: 0.6rem;
    -webkit-transform: translateZ(0) rotate(90deg);
    transform: translateZ(0) rotate(90deg);
  }
}
