@charset "UTF-8";

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

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

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

共通css

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

:root {
  --color-main-text: #333333;
  --color-bold-text: #4a4a4a;
  --color-bold-text-white: #ffffff;
  --color-main: #1c99d7;
  --color-complementary: #406f87;
  --color-border: #d9d9d9;
  --color-bg: #def2fd;
  --color-pc-bg: #f1f5f9;
  --gradient-button: linear-gradient(to right, #61b6e2 0%, #1c99d7 100%);
  --gradient-button-discount: linear-gradient(
    to right,
    #fcab47 0%,
    #db8158 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-pc-bg);
}

.main-contents {
  max-width: 640px;
  margin-inline: auto;
  background-color: var(--color-bold-text-white);
}

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;
  background: var(--gradient-button);
  color: var(--color-bold-text-white);
  border-radius: 5rem;
  box-shadow: 4px 4px 9px 2px rgba(0, 0, 0, 0.12);
  transition-duration: 0.4s;
  border: 1px solid var(--color-bold-text-white);
}

.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(-5px);
  }
}

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

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

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

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

.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-color: var(--color-complementary);
  padding: 4rem 2rem 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;
}

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

下層ページタイトル

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

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

.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-button);
  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-catchcopy {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
  text-align: center;
}

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

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

.cta-products-title-ja span {
  font-size: 1.8rem;
}

.cta-product-img-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.cta-product-img.hydrogen-bath {
  width: 11rem;
  height: auto;
}

.cta-product-img.hydrogen-gas-generator {
  width: 13.3rem;
  height: auto;
}

.cta-product-img.hydrogen-water-apparatus {
  width: 13.5rem;
  height: auto;
}

.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-complementary);
}

.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-item .blue-blur {
  display: inline-block;
  position: absolute;
}

.cta-section-item .blue-blur img {
  width: 40rem;
  height: 40rem;
}

.cta-section-item .blue-blur:nth-of-type(1) {
  top: -16rem;
  right: -15rem;
}

.cta-section-item .blue-blur:nth-of-type(2) {
  top: -4rem;
  left: -16rem;
}

/* 矢印ボタン*/
.cta-section .splide__arrows {
  position: absolute;
  top: 28rem;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

.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);
}

.cta-section .splide__arrow--prev {
  left: 2rem;
}

.cta-section .splide__arrow--next {
  right: 2rem;
}

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

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

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

.splide__arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  /* padding: 0 2rem; */
  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 / 375 * 10);
  }

  body {
    overflow-x: hidden; /* 横スクロールを無効にして、100vwの隙間を防ぐ */
  }

  .container {
    position: relative;
  }

  .pc-left-contents {
    display: block;
    width: calc(
      (100vw - clamp(375px, calc(375px + (100vw - 1024px) * 65 / 600), 440px)) *
        4 / 6
    );

    height: 100vh;
    position: fixed;
  }

  .pc-left-contents-catchcopy {
    font-size: 1.5625vw;
    letter-spacing: 0.2em;
    position: absolute;
    top: 12vh;
    left: 10vw;
  }

  .pc-left-contents-inner,
  .pc-left-contents-list,
  .pc-left-contents-item {
    width: 100%;
    height: inherit;
  }

  .pc-left-contents-item img {
    position: absolute;
    bottom: 0;
    width: 100vh;
    height: 85vh;
    object-fit: cover;
    transform-origin: bottom center;
  }

  .header {
    width: 100vw;
    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: 90%;
    opacity: 0;
    position: absolute;
    top: 10rem;
    right: 0;
    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(3, 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);
  }

  .sp-container {
    position: absolute;
  }

  .menu-button {
    display: none;
  }

  .main-contents,
  .footer {
    width: clamp(375px, calc(375px + (100vw - 1024px) * 65 / 600), 440px);
    margin-inline: initial;
    margin-left: calc(
      (100vw - clamp(375px, calc(375px + (100vw - 1024px) * 65 / 600), 440px)) *
        4 / 6
    );
  }

  .pc-right-contents {
    display: block;
    width: calc(
      (100vw - clamp(375px, calc(375px + (100vw - 1024px) * 65 / 600), 440px)) *
        2 / 6
    );

    height: 100vh;
    position: fixed;
    right: 0;
  }

  .pc-right-contents-item {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
  }

  .pc-right-contents-item img {
    width: auto;
    height: 20vw;
    object-fit: cover;
    margin-top: 10.4rem;
  }

  .pc-right-contents-item.hydrogen-bath img {
    height: 18vw;
  }
}

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

PCサイズ（1624px以上）

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

/* 1624px以上で可変サイズに */
@media (min-width: 1624px) {
  html {
    font-size: calc((375px + (100vw - 1024px) * 65 / 600) / 375 * 10);
  }

  .pc-left-contents {
    width: calc((100vw - calc(375px + (100vw - 1024px) * 65 / 600)) * 4 / 6);
  }

  .main-contents,
  .footer {
    width: calc(375px + (100vw - 1024px) * 65 / 600);
    max-width: initial;
    margin-left: calc(
      (100vw - calc(375px + (100vw - 1024px) * 65 / 600)) * 4 / 6
    );
  }

  .pc-right-contents {
    width: calc((100vw - calc(375px + (100vw - 1024px) * 65 / 600)) * 2 / 6);
  }
}
