/* ========================
  RESET / BASE
======================== */

/* 全要素のボックスサイズをborder-boxに */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ブラウザの余白をリセット */
body {
  margin: 0;
  padding: 0;
  line-height: 1.8;
  font-family: var(--font-zen);
  color: #333;
  background-color: #fff;
  font-size: var(--font-sm);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 見出しのデフォルトマージン除去・フォントサイズ調整は別途 */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

/* 段落とリストのマージン除去 */
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}

/* リストのスタイル初期化 */
ul,
ol {
  list-style: none;
}

/* リンクの初期化 */
a {
  color: inherit;
  text-decoration: none;
}

/* ボタンの初期化 */
button {
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* 画像のはみ出し防止 */
img,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================
  検索機能スタイル
======================== */

.search-results-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
}

.search-result-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  font-size: var(--font-sm);
  line-height: 1.4;
}

.search-result-item:hover,
.search-result-item.selected {
  background-color: #f8f9fa;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item mark {
  background-color: var(--color-accent);
  color: var(--color-text);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}

.result-count {
  font-size: var(--font-xs);
  color: #666;
  padding: 8px 16px;
  border-top: 1px solid #f0f0f0;
  background-color: #f8f9fa;
}

.no-results {
  padding: 16px;
  text-align: center;
  color: #666;
  font-style: italic;
}

/* 検索入力フィールドのスタイル */
#company-query {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: var(--font-sm);
  transition: border-color 0.2s ease;
}

#company-query:focus {
  outline: none;
  border-color: var(--color-main);
  box-shadow: 0 0 0 2px rgba(47, 80, 159, 0.1);
}

/* 検索ボタンのスタイル */
#power_supplier_type_others_search_btn {
  background-color: var(--color-main);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#power_supplier_type_others_search_btn:hover {
  background-color: var(--color-sub);
}

/* スクロールバーのスタイル */
.search-results-list::-webkit-scrollbar {
  width: 6px;
}

.search-results-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.search-results-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.search-results-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

:root {
  /* Font Families */
  --font-zen: "Zen Maru Gothic", sans-serif;
  --font-noto: "Noto Sans JP", sans-serif;

  /* Font Sizes (clamp: SP最小 → PC最大) */
  --font-xs: clamp(13px, 2.5vw, 15px); /* 注釈・補足 */
  --font-sm: clamp(15px, 3vw, 18px); /* 本文・ボタン */
  --font-md: clamp(17px, 3.6vw, 21px); /* リード文など */
  --font-lg: clamp(19px, 4.2vw, 24px); /* 小見出し */
  --font-xl: clamp(21px, 4.8vw, 27px); /* 見出し（中） */
  --font-xxl: clamp(23px, 5.2vw, 30px); /* 見出し（大） */
  --font-3xl: clamp(24px, 5.5vw, 32px); /* 最大見出し・FV */

  /* Main Colors */
  --color-main: #2f509f;
  --color-sub: #5683c7;

  /* Accent */
  --color-accent: #ffe928;

  /* Text / Base */
  --color-text: #333333;
  --color-bg-white: #ffffff;
  --color-bg-lightblue: #dbe8ef;
  --color-bg-cream: #fbf7ed;

  /* Spacing (PC default) */
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-60: 60px;
  --space-64: 64px;
  --space-72: 72px;
  --space-80: 80px;
  --space-88: 88px;
  --space-96: 96px;
  --space-104: 104px;
  --space-120: 120px;
}

.inner {
  max-width: 1120px;
  width: 90%;
  margin-inline: auto;
}

.sp-only {
  display: none;
}

.sp-hide {
  display: inline;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .sp-hide {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  :root {
    /* Spacing (SP override) */
    --space-4: 4px;
    --space-8: 8px;
    --space-16: 12px;
    --space-24: 16px;
    --space-32: 24px;
    --space-40: 32px;
    --space-48: 36px;
    --space-56: 40px;
    --space-60: 40px;
    --space-64: 44px;
    --space-72: 48px;
    --space-80: 48px;
    --space-88: 52px;
    --space-96: 56px;
    --space-104: 60px;
    --space-120: 64px;
  }
}

.js-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-fadein.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 115px;
  height: 115px;
  background: radial-gradient(circle at center, #ffe928, #ffd100);
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--color-main);
  text-align: center;
  text-decoration: none;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.floating-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-btn:hover {
  transform: scale(1.05);
}

.floating-btn__icon {
  background-color: #2f509f;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -16px;
}

.floating-btn__icon::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #2f509f;
}

.floating-btn__icon img {
  width: 50%;
}

.floating-btn__label {
  font-size: var(--font-sm);
  line-height: 1.4;
  font-weight: 700;
}

.floating-btn__arrow {
  font-size: 16px;
  line-height: normal;
}

.opacity {
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .floating-btn {
    bottom: 10px;
    right: 10px;
    width: 85px;
    height: 85px;
  }

  .floating-btn__icon {
    width: 32px;
    height: 32px;
  }

  .floating-btn__label {
    font-size: var(--font-xs);
  }
}

/* ========================
  First View (fv)
======================== */
.fv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("../images/fv-bg.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  width: 100%;
  aspect-ratio: 168 / 100;
  max-height: 100vh;
  min-height: 520px;
  text-align: center;
}

.fv__light {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100px); /* ← 初期状態：上にずらす */
  transition: all 0.8s ease-out;
  width: clamp(80px, 8vw, 120px);
  z-index: 1;
}

.fv__light.is-active {
  opacity: 1;
  transform: translate(-50%, 0); /* ← 元の位置にスライドダウン */
}

.light {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.light.is-active {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .fv {
    aspect-ratio: 60 / 100;
    background-image: url("../images/fv-bg-sp.jpg");
    min-height: auto;
  }
}

.fv__logo {
  position: absolute;
  top: clamp(16px, 4vw, 32px);
  left: clamp(16px, 4vw, 32px);
  width: clamp(100px, 12vw, 160px);
  z-index: 2;
}

.fv__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(80px, 25vh, 170px);
}


.fv__title img {
  width: clamp(280px, 55vw, 831px);
  display: block;
  margin-inline: auto;
}

.fv__subtitle img {
  width: clamp(240px, 37vw, 556px);
  display: block;
  margin-inline: auto;
}

.fv__badge {
  position: absolute;
  top: clamp(16px, 4vw, 32px);
  right: clamp(16px, 4vw, 32px);
  width: clamp(100px, 12vw, 160px);
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .fv__title img {
    width: clamp(200px, 79vw, 306px);
  }
  .fv__subtitle img {
    width: clamp(200px, 84vw, 328px);
  }
  .fv__badge {
    width: clamp(100px, 28vw, 140px);
  }
}

/* ========================
  Comparison Section
======================== */
.compare {
  background-color: var(--color-bg-white);
  padding-block: var(--space-80);
}

.compare__heading {
  font-size: var(--font-xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-40);
  font-family: var(--font-zen);
  color: var(--color-main);
}

.compare__tab-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  margin-bottom: var(--space-40);
  flex-wrap: wrap;
}

.compare__line {
  flex-grow: 1;
  border-top: 2px dashed var(--color-main);
  height: 0;
  min-width: 20px;
}

.compare__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.compare__tab {
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  padding: 4px 40px 8px;
  background-color: #fff;
  border-radius: 9999px;
  border: 2px solid var(--color-main);
  color: var(--color-main);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.compare__tab.is-active {
  background-color: var(--color-main);
  color: #fff;
}

.compare__arrow {
  width: 10px;
  height: 5px;
}

.compare__contents {
  display: flex;
  justify-content: center;
  align-items: center;
}

.compare__content {
  display: none;
  width: 100%;
}

.compare__content.is-active {
  display: block;
}

.compare__note {
  margin-top: var(--space-24);
  font-size: var(--font-xs);
  font-family: var(--font-noto);
  line-height: 1.6;
  color: var(--color-text);
  text-align: left;
}

.compare__button-wrap {
  text-align: center;
  margin-top: var(--space-40);
}

.compare__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px;
  max-width: 434px;
  width: 100%;
  background-color: var(--color-main);
  color: #fff;
  font-family: var(--font-noto);
  font-size: var(--font-md);
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.compare__button-icon {
  width: 22px;
  height: 22px;
}

/* モーダル */
.compare__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(218, 232, 239, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-clip: padding-box;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-24);
}

.modal__content {
  background-color: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 980px;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal__close {
  position: absolute;
  top: 0;
  left: 100%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: #5683c7;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 24px;
  background-color: #fff;
}

.modal__close::before {
  transform: rotate(45deg);
}

.modal__close::after {
  transform: rotate(-45deg);
}

.compare__tables {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: var(--space-24);
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  flex: 1;
}

.compare__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--font-sm);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid gray;
  padding: var(--space-24);
}

.compare__table th,
.compare__table td {
  border: 1px solid #ddd;
  padding: 12px 8px;
  vertical-align: middle;
  text-align: center;
  word-break: break-word;
}

.compare__cell--lightblue {
  background: var(--color-bg-lightblue);
}

.compare__head--lightblue {
  background-color: #5683c7;
  color: #fff;
  font-weight: 700;
}

.compare__head--gray {
  background-color: #7d7d7d;
  color: #fff;
  font-weight: 700;
}

.compare__head--blue {
  background-color: #2f509f;
  color: #fff;
  font-weight: 700;
}

.compare__head--yellow {
  background-color: #ffe928;
  color: #333;
  font-weight: 700;
}

.compare__label {
  background-color: #f2f2f2;
  font-weight: normal;
  line-height: 1.6;
}

.compare__unit {
  display: block;
  font-size: var(--font-xs);
  color: #666;
  font-weight: normal;
  margin-top: 4px;
}

.compare__sublabel {
  background-color: #f2f2f2;
  text-align: left;
  font-weight: normal;
  line-height: 1.4;
}

.compare__discount {
  color: red;
  font-weight: bold;
  white-space: nowrap;
  background: var(--color-bg-cream);
}

.compare__note--modal {
  width: 100%;
  max-width: 980px;
  font-size: var(--font-xs);
  color: #666;
  line-height: 1.8;
  font-family: var(--font-noto);
  margin-top: 0;
  text-align: left;
}

.compare__note--modal p {
  margin-bottom: 4px;
}

.compare__catchcopy {
  text-align: center;
  margin-bottom: var(--space-32);
  font-family: var(--font-zen);
}

.compare__catchcopy-line {
  display: block;
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.compare__catchcopy-line--highlight {
  font-size: var(--font-xl);
  margin-bottom: 0;
}

.compare__catchcopy-line span {
  background-image: linear-gradient(#fff16e, #fff16e);
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 90%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.compare__table-wrap {
  width: 100%;
  display: block;
  margin-bottom: var(--space-24);
}

@media screen and (max-width: 768px) {
  .compare__tab-wrapper {
    padding-inline: var(--space-16);
  }

  .modal__close {
    left: 97%;
  }

  .compare__tabs {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .compare__tab {
    flex: 1;
    padding: 6px 0 10px;
    font-size: var(--font-xs);
  }

  .compare__line {
    display: none;
  }

  .compare__table-wrap {
    border-radius: 10px;
  }

  .compare__table {
    font-size: var(--font-xs);
  }

  .compare__catchcopy {
    text-align: center;
  }

  .compare__catchcopy-line {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
  }

  .compare__catchcopy-line--highlight {
    display: block;
    font-size: var(--font-lg);
  }

  .compare__note--modal {
    font-size: 10px;
  }

  .compare__note--modal p {
    margin-bottom: 8px;
  }
}

/* ========================
   Benefits Section （お得な理由セクション）
======================== */
.benefits {
  position: relative;
  padding: var(--space-80) var(--space-24);
  background-color: var(--color-bg-lightblue);
  background-image: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.3) 15%,
      transparent 15%
    ),
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 15%, transparent 15%);
  background-position: 0 0, 25px 25px;
  background-size: 50px 50px;
}

.benefits__heading-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.benefits__lead {
  display: inline-block;
  position: relative;
  padding: 8px 24px;
  background: #fff;
  color: var(--color-main);
  font-family: var(--font-noto);
  font-size: var(--font-sm);
  border-radius: 9999px;
  line-height: 1.4;
  margin-bottom: var(--space-16);
}

.benefits__lead::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
}

.benefits__heading {
  font-family: var(--font-zen);
  font-size: var(--font-xxl);
  color: var(--color-main);
  line-height: 1.2;
  margin: 0 auto var(--space-60);
  max-width: 600px;
}

.benefits__heading q {
  font-size: var(--font-3xl);
  quotes: none;
}

.benefits__list {
  display: flex;
  gap: var(--space-60);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-80);
}

.benefits__item {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  width: calc(33.333% - var(--space-21));
  min-width: 280px;
}

.benefits__item--reverse {
  flex-direction: row;
}

.benefits__image,
.benefits__content {
  padding: var(--space-24);
}

.benefits__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefits__image picture,
.benefits__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.benefits__title {
  position: relative;
  font-family: var(--font-zen);
  padding-left: var(--space-40);
  font-size: var(--font-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.benefits__title::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-sub);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: var(--font-lg);
  font-weight: 700;
  line-height: 120%;
}

.benefits__text {
  font-size: var(--font-md);
}

.highlight {
  background-image: linear-gradient(#fff16e, #fff16e);
  background-repeat: no-repeat;
  background-size: 100% 0.6em;
  background-position: 0 100%;
}

.benefits__note,
.benefits__note--small {
  font-size: var(--font-xs);
  color: #666;
  line-height: 1.4;
}

.benefits__cards img {
  max-width: 100%;
  height: auto;
  display: block;
}

.benefits__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefits__gain {
  position: absolute;
  top: -20%;
  background: #fff;
  color: var(--color-main);
  font-size: var(--font-sm);
  font-family: var(--font-zen);
  padding: 4px 16px;
  border-radius: 9999px;
  z-index: 2;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-weight: 700;
  letter-spacing: 1px;
}

.benefits__gain span {
  font-size: var(--font-lg);
  font-weight: 700;
  background-image: linear-gradient(#ffd600, #ffd600);
  background-repeat: no-repeat;
  background-size: 100% 0.6em;
  background-position: 0 80%;
  position: relative;
}

.benefits__gain span::after {
  content: "※";
  font-size: 0.5em;
  vertical-align: super;
  position: absolute;
  top: -5%;
  right: -20%;
}

.benefits__button {
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 35px 32px 25px;
  margin-bottom: 8px;
  max-width: 434px;
  width: 100%;
  background: linear-gradient(to bottom, #ffe928, #ffd100);
  border: solid 4px #ffd600;
  box-shadow: 0px 8px 0px #ffd600;
  color: var(--color-main);
  font-family: var(--font-zen);
  font-size: var(--font-xxl);
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefits__button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  60% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.benefits__button:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.15);
  filter: brightness(1.05);
}

.benefits__button img {
  width: 30px;
  height: 30px;
}

.benefits__title-wrap {
  display: none;
}

@media screen and (max-width: 768px) {
  .benefits {
    padding: var(--space-80) 0;
  }

  .benefits__list {
    flex-direction: column;
    gap: var(--space-40);
  }

  .benefits__item {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .benefits__item--reverse {
    flex-direction: column;
  }

  .benefits__title::before {
    width: 28px;
    height: 28px;
  }

  .benefits__image {
    padding-bottom: 0;
  }

  .benefits__title-wrap {
    display: block;
    padding: var(--space-32) var(--space-24) 0;
  }

  .benefits__content .benefits__title {
    display: none;
  }

  .benefits__button {
    padding: 25px 32px 20px;
    box-shadow: 0px 4px 0px #ffd600;
  }
}

/* ========================
   Happy Section
======================== */
.happy {
  background-color: var(--color-bg-cream);
  padding: var(--space-80) var(--space-24);
  text-align: center;
  position: relative;
}

.happy__heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
}

.happy__icon {
  width: clamp(40px, 5vw, 64px);
  margin-bottom: var(--space-16);
}

.happy__icon-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: flex-start;
}

.happy__title-wrap {
  position: relative;
  display: flex;
  margin-bottom: var(--space-40);
  justify-content: space-between;
  width: 100%;
}

.happy__title {
  color: var(--color-main);
  font-size: var(--font-xl);
  font-family: var(--font-zen);
  font-weight: 700;
  line-height: 1.4;
  width: 100%;
}

.happy__flag {
  width: clamp(80px, 15vw, 160px);
}

.happy__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-21);
  margin-bottom: var(--space-60);
}

.happy__card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.happy__card img {
  width: 100%;
  display: block;
}

.happy__note {
  font-size: var(--font-md);
  font-family: var(--font-zen);
  color: var(--color-text);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

.happy__note .em {
  color: var(--color-sub);
  font-weight: 500;
}

.happy__note .em-blue {
  color: var(--color-main);
  font-weight: 700;
}

.happy__note .em-yellow {
  color: var(--color-accent);
  font-weight: 700;
}

.happy__illust {
  position: absolute;
  bottom: -2.5%;
  height: clamp(180px, 20vw, 300px);
  width: auto;
}

.happy__illust--women {
  left: 5%;
}

.happy__illust--men {
  right: 5%;
}

/* マーカー強調 */
.highlight {
  background-image: linear-gradient(#fff16e, #fff16e);
  background-repeat: no-repeat;
  background-size: 100% 0.6em;
  background-position: 0 100%;
}

@media screen and (max-width: 768px) {
  .happy {
    padding-bottom: 180px;
  }

  .happy__icon-wrap {
    justify-content: space-between;
  }

  .happy__cards {
    grid-template-columns: 1fr;
    margin-bottom: var(--space-32);
  }

  .happy__note {
    text-align: left;
    font-size: var(--font-sm);
  }

  .happy__illust--women {
    left: 10%;
  }

  .happy__illust--men {
    right: 10%;
  }
}

/* ========================
   Support Section
======================== */
.support {
  background-color: var(--color-bg-lightblue);
  padding: var(--space-80) var(--space-24);
}

.support__heading {
  display: flex;
  font-family: var(--font-zen);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
  color: var(--color-main);
  margin-bottom: var(--space-60);
}

.support__title {
  font-size: var(--font-xl);
  font-weight: 700;
  line-height: 1.4;
}

.support__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-32);
}

.support__card {
  text-align: center;
}

.support__card-title {
  font-family: var(--font-zen);
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-16);
  position: relative;
  padding-left: 30px;
  text-align: left;
}

.support__card-title::before {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  font-size: var(--font-sm);
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support__card-image {
  margin-bottom: var(--space-16);
}

.support__card-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.support__card-text {
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  color: var(--color-text);
  line-height: 1.6;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .support__cards {
    grid-template-columns: 1fr;
  }

  .support__card-title {
    font-size: var(--font-md);
  }

  .support__card-text {
    font-size: var(--font-xs);
  }
}

/* ========================
   Price Info Section
======================== */
.price {
  background-color: var(--color-bg-lightblue);
  padding: 0 0 var(--space-80);
  text-align: center;
}

.price__heading {
  margin-bottom: var(--space-40);
}

.price__title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--color-main);
  font-family: var(--font-zen);
}

.price__desc {
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  color: var(--color-text);
}

.price__diagram img {
  width: 100%;
  height: auto;
  display: block;
}

.price__content {
  background-color: var(--color-bg-cream);
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
  margin-bottom: var(--space-80);
}

.price__divider {
  border: dashed 1px var(--color-sub);
  width: 100%;
}

.price__compare {
  display: flex;
  gap: var(--space-24);
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.price__item {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: var(--space-16);
  border-radius: 12px;
  padding: var(--space-24);
  text-align: left;
}

.price__item--merit {
  background-color: var(--color-main);
  color: #fff;
}

.price__item--demerit {
  background-color: var(--color-bg-white);
  color: var(--color-text);
}

.price__icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.price__item-title {
  font-size: var(--font-md);
  font-weight: 700;
  font-family: var(--font-zen);
}

.price__item-text {
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  line-height: 1.6;
}

.price__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-24);
}

.price__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  color: var(--color-main);
  border: 2px solid var(--color-main);
  border-radius: 9999px;
  padding: 12px 24px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.price__button:hover {
  background-color: var(--color-bg-white);
}

.price__icon-external {
  width: 16px;
  height: 16px;
}

@media screen and (max-width: 768px) {
  .price__compare {
    flex-direction: column;
  }

  .price__item {
    flex-direction: column;
  }

  .price__button {
    width: 100%;
    justify-content: center;
  }
}

/* メリット・デメリット比較 */
.price-compare {
  display: flex;
  gap: var(--space-24);
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.price-info-section-ct {
  background-color: var(--color-bg-cream);
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
  margin-bottom: var(--space-80);
}

.border-lightblue {
  border: dashed 1px var(--color-sub);
  width: 100%;
}

.price-compare__item {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: var(--space-16);
  border-radius: 12px;
  padding: var(--space-24);
  text-align: left;
}

.price-merit {
  background-color: var(--color-main);
  color: #fff;
}

.price-demerit {
  background-color: var(--color-bg-white);
  color: var(--color-text);
}

.price-compare__icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.price-compare__title {
  font-size: var(--font-md);
  font-weight: 700;
  font-family: var(--font-zen);
  margin-bottom: var(--space-8);
}

.price-compare__text {
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  line-height: 1.6;
}

/* 外部リンクボタン */
.price-info-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-24);
}

.price-info-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  color: var(--color-main);
  border: 2px solid var(--color-main);
  border-radius: 9999px;
  padding: 12px 24px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.price-info-button:hover {
  background-color: var(--color-bg-white);
}

.icon-external {
  width: 16px;
  height: 16px;
}

@media screen and (max-width: 768px) {
  .price-compare__item {
    flex-direction: column;
  }
  .price-compare {
    flex-direction: column;
  }

  .price-info-button {
    width: 100%;
    justify-content: center;
  }
}

/* セクション全体 */
/* ========================
   FAQ Section
======================== */
.faq {
  background-color: #fff;
  padding: var(--space-80) var(--space-24);
}

.faq__heading {
  text-align: center;
  margin-bottom: var(--space-40);
}

.faq__en {
  font-size: var(--font-3xl);
  font-family: var(--font-zen);
  color: var(--color-sub);
  letter-spacing: 0.1em;
}

.faq__ja {
  font-size: var(--font-xl);
  font-weight: 700;
  font-family: var(--font-zen);
  color: var(--color-main);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.faq__item {
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-sub);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-16) var(--space-24);
  background-color: var(--color-sub);
  color: #fff;
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  border: none;
}

.faq__icon {
  color: var(--color-bg-white);
  font-family: var(--font-zen);
  font-size: var(--font-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq__question-text {
  flex: 1;
}

.faq__toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
}

.faq__answer {
  display: none;
  padding: var(--space-16) var(--space-24);
  background-color: #e8f2fb;
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  color: var(--color-text);
  line-height: 1.6;
}

.faq__item.is-open .faq__answer {
  display: block;
}

.faq__item.is-open .faq__toggle {
  content: "−";
}

.faq__confirm {
  background-color: var(--color-bg-cream);
  padding: var(--space-80) 0;
  margin-top: var(--space-60);
}

.faq__confirm-title {
  font-size: var(--font-md);
  font-weight: 700;
  font-family: var(--font-zen);
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-40);
}

.faq__documents {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
  margin: 0 auto var(--space-40);
}

.faq__document {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  font-weight: 500;
  background-color: #fff;
  color: var(--color-text);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-decoration: none;
  transition: background-color 0.2s;
}

.faq__document:hover {
  background-color: #f8f8f8;
}

.faq__label {
  font-size: var(--font-xs);
  font-weight: 700;
  font-family: var(--font-noto);
  padding: 0 10px;
  border-radius: 9999px;
  color: #fff;
  white-space: nowrap;
}

.faq__label--pdf {
  background-color: #00c48d;
}

.faq__label--web {
  background-color: #3a8dde;
}

.faq__note {
  font-size: var(--font-xs);
  font-family: var(--font-noto);
  color: var(--color-text);
  line-height: 1.8;
  text-align: left;
  margin: 0 auto;
}

.faq__note p {
  margin-bottom: var(--space-16);
}

@media screen and (max-width: 768px) {
  .faq__documents {
    grid-template-columns: 1fr;
  }
}

/* FAQ 電話セクション */
.faq__tel {
  background-image: url("../images/tel-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: var(--space-48);
  margin-top: var(--space-48);
  text-align: center;
  color: #fff;
  border: 8px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq__tel-lead {
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  margin-bottom: var(--space-8);
}

.faq__tel-title {
  font-size: var(--font-xl);
  font-family: var(--font-zen);
  font-weight: 700;
  margin-bottom: var(--space-24);
}

.faq__tel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  background: linear-gradient(to bottom, #ffe928, #ffd100);
  color: var(--color-main);
  padding: 16px 48px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0px 4px 0px #f0c000;
  transition: all 0.3s ease;
}

.faq__tel-button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}

.faq__tel-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(87%) saturate(734%) hue-rotate(191deg) brightness(92%) contrast(96%);
}

.faq__tel-number {
  font-size: clamp(24px, 5vw, 36px);
  font-family: var(--font-zen);
  font-weight: 700;
}

.faq__tel-hours {
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  margin-top: var(--space-16);
}

@media screen and (max-width: 768px) {
  .faq__tel {
    padding: var(--space-32) var(--space-16);
  }

  .faq__tel-button {
    width: 100%;
    padding: 12px 24px;
  }
}

/* ========================
   CTA Section
======================== */
.cta {
  background-color: var(--color-bg-lightblue);
  padding: var(--space-80) var(--space-24);
  text-align: center;
}

.cta__heading {
  margin-bottom: var(--space-60);
}

.cta__en {
  font-size: var(--font-3xl);
  font-family: var(--font-zen);
  color: var(--color-sub);
  letter-spacing: 0.1em;
  font-weight: bold;
}

.cta__ja {
  font-size: var(--font-xl);
  font-family: var(--font-zen);
  font-weight: 700;
  color: var(--color-main);
}

.cta__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-32);
  margin-bottom: var(--space-80);
}

.cta__step {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: var(--space-24);
  padding-top: 60px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: center;
  position: relative;
}

.cta__step-icon {
  width: clamp(64px, 15vw, 100px);
  height: auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta__step-title {
  font-size: var(--font-lg);
  font-weight: 700;
  font-family: var(--font-zen);
  color: var(--color-sub);
}

.cta__step-text {
  font-size: var(--font-sm);
  font-family: var(--font-noto);
  color: var(--color-text);
  line-height: 1.7;
}

.cta__step-note {
  display: block;
  font-size: var(--font-xs);
  margin-top: var(--space-8);
  font-weight: 500;
  color: var(--color-text);
}

.cta__box {
  background-image: url(../images/pattern-bg.png);
  background-size: cover;
  background-color: var(--color-sub);
  border-radius: 16px;
  padding: var(--space-60);
  color: #fff;
  text-align: center;
  border: 4px solid var(--color-bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-32);
}

.cta__box-title {
  font-size: var(--font-lg);
  font-weight: 700;
  font-family: var(--font-zen);
}

.cta__divider {
  border: dashed 1px var(--color-bg-white);
  width: 100%;
}

.cta__phone-box {
  justify-content: center;
  align-items: center;
  display: inline-flex;
  background: linear-gradient(to bottom, #ffe928, #ffd100);
  border-radius: 10px;
  padding: 10px 32px;
  gap: var(--space-16);
  box-shadow: 0px 4px 0px #f0c000;
  border: 1px solid #f0c000;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta__phone-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  60% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.cta__phone-box:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.15);
  filter: brightness(1.05);
}

.cta__phone-icon {
  border-radius: 50%;
  padding: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__phone-icon img {
  width: 100%;
  filter: brightness(0) saturate(100%) invert(20%) sepia(87%) saturate(734%)
    hue-rotate(191deg) brightness(92%) contrast(96%);
}

.cta__phone-number {
  font-size: clamp(28px, 5.8vw, 40px);
  font-weight: 700;
  font-family: var(--font-zen);
  color: var(--color-main);
  background: none;
  padding: 0;
}

.cta__box-hours {
  font-size: var(--font-xs);
  font-family: var(--font-noto);
  margin-top: var(--space-8);
}

.cta__note {
  font-size: var(--font-xs);
  font-family: var(--font-noto);
  color: #fff;
  line-height: 1.7;
  text-align: center;
  margin: 0 auto;
}

.cta_note_link {
  text-decoration: underline;
}

.cta__note p {
  margin-bottom: var(--space-16);
}

@media screen and (max-width: 768px) {
  .cta__box {
    width: 100%;
    padding: var(--space-40) var(--space-24);
  }

  .cta__phone {
    width: 100%;
  }

  .cta__phone-icon {
    width: 32px;
    padding: 0;
  }

  .cta__phone-box {
    width: 100%;
    padding: 4px 16px;
  }

  .cta__steps {
    gap: var(--space-60);
    grid-template-columns: 1fr;
  }

  .cta__step {
    padding-top: 32px;
  }

  .cta__note {
    text-align: left;
    font-size: var(--font-xs);
  }
}

.footer {
  background-color: #292e37; /* 背景：ダークグレー */
  color: #fff;
  padding: var(--space-80) 0 var(--space-60);
  font-family: var(--font-noto);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
  text-align: center;
}

.footer__link {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer_border {
  border: solid 1px #3d424c;
  width: 100%;
}

.footer__logo img {
  height: 42px; /* お好みで調整 */
  width: auto;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  justify-content: center;
  font-size: var(--font-sm);
  color: #fff;
}

.footer__nav li {
  position: relative;
  list-style: none;
}

.footer__nav li::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: #555;
}

.footer__nav li:last-child::after {
  display: none;
}

.footer__nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__nav a:hover {
  opacity: 0.7;
}

.footer__copyright {
  font-size: var(--font-xs);
  color: #888;
}

@media screen and (max-width: 768px) {
  .footer__inner {
    align-items: center;
  }

  .footer__nav {
    flex-direction: column;
  }

  .footer__link {
    flex-direction: column;
    gap: var(--space-24);
  }

  .footer__nav li::after {
    content: none;
  }
}

/* ========================
   Sticky CTA Bar
======================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(47, 80, 159, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-zen);
  transition: transform 0.2s ease;
  flex: 1;
  max-width: 420px;
}

.sticky-cta__btn:hover {
  transform: translateY(-2px);
}

.sticky-cta__btn--phone {
  background-color: #fff;
  color: #2f509f;
  box-shadow: 0 8px 0 #5683c7;
}

.sticky-cta__btn--web {
  background-color: #ffe300;
  color: #2f509f;
  box-shadow: 0 8px 0 #ffd600;
}

.sticky-cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.sticky-cta__label {
  font-size: 12px;
  font-weight: 500;
}

.sticky-cta__title {
  font-size: 18px;
  font-weight: 700;
}

.sticky-cta__note {
  font-size: 14px;
  font-weight: 700;
}

.sticky-cta__arrow {
  font-size: 18px;
  color: inherit;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .sticky-cta {
    padding: 10px 12px;
  }

  .sticky-cta__inner {
    gap: 8px;
  }

  .sticky-cta__btn {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 4px 0 #5683c7;
  }

  .sticky-cta__btn--web {
    box-shadow: 0 4px 0 #ffd600;
  }

  .sticky-cta__text {
    align-items: center;
  }

  .sticky-cta__label {
    font-size: 10px;
  }

  .sticky-cta__title {
    font-size: 14px;
    line-height: 110%;
  }

  .sticky-cta__note {
    font-size: 12px;
  }

  .sticky-cta__arrow {
    display: none;
  }
}
