/* 全体のベース */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 全体のベース */
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222222;
  /* background: #ffe8d2; */
  background: #fffbf4;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e0e4f0;
  background: #ffffff;
  backdrop-filter: none;
}

/* CTAボタンはそのままでもOK。少しトーン変更したければ */
.header-nav .nav-primary-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: #3558ff;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.85rem;
  text-decoration: none;
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: 0;
}

.logo-img {
  display: block;
  width: 150px;
  height: auto;
}

.header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}

.header-nav a {
  color: #222;
  text-decoration: none;
}

.header-nav .nav-primary-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: #3558ff;
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
}

.header-nav .nav-login {
  color: #222;
  font-weight: 900;
}

.header-nav .nav-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #222222;
}

.header-nav .underline-anim {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.header-nav .underline-anim::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;              /* 文字のすぐ下に線 */
  width: 100%;
  height: 1px;
  background-color: #222222; /* ナビは黒い線 */
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease-out;
}

/* ホバー時に中央から左右に伸びる */
.header-nav .underline-anim:hover::after {
  transform: scaleX(1);
}

/* 青ボタンなどCTA用：白線 */
.underline-anim-white {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.underline-anim-white::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: #ffffff;   /* 白 */
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease-out;
}

.nav-primary-cta:hover .underline-anim-white::after,
.hero-btn-primary:hover .underline-anim-white::after {
  transform: scaleX(1);
}


/* セクションをバーで分ける */
section {
  padding: 72px 0;
  border-top: 2px solid rgba(0, 0, 0, 0.06); /* ごく薄い線 */
}
section:first-of-type {
  border-top: none;
}


/* Hero セクション */
.hero {
  padding: 55px 20px 55px 20px;
}

.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.hero-text {
  margin-top: 0px;   
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-top: 0px;
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 8px;
  background: #eef4ff;
  color: #2643a5;
}

.hero-title {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-weight: 500;
  font-size: 39px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 60px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.hero-btn-primary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: #3558ff;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  max-width: 250px;
  width: 100%;
  margin: 0px auto 0px auto;
}

.hero-note {
  font-size: 14px;
  margin: 0;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}



.benefits {
  padding: 50px 20px 55px 20px;
  background: #fffbf4;
}

.benefits-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.benefits-title {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 40px;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.benefit-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 0px auto;
  display: inline-block;
  padding: 4px 20px;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  width: auto;
}

.benefit-label--primary { /* 難聴様向け */
  background: #eef4ff;
  color: #2643a5;
}

.benefit-label--family {  /* ご家族様向け */
  background: #e9f7f0;
  color: #16634a;
}

.benefit-label--common {  /* 皆様共通の利点 */
  background: #fff4e5;
  color: #9a4b00;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefit-image {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  margin-inline: auto;
}

.benefit-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  display: block;
}

.benefit-heading {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.benefit-text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}



.pb-section {
  padding: 72px 20px;
  background: #fffbf4;
}

.pb-section-both {
  padding-bottom: 55px;
}

.pb-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: flex-start;
}

.pb-text {
  max-width: 560px;
  padding-top: 0;
}

.pb-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 0;
  display: inline-block;
  padding: 4px 20px;
  border-radius: 8px;
}

.pb-label--primary { /* 難聴様向け */
  background: #eef4ff;
  color: #2643a5;
}

.pb-label--family {  /* ご家族様向け */
  background: #e9f7f0;
  color: #16634a;
}

.pb-label--common {  /* 皆様共通の利点 */
  background: #fff4e5;
  color: #9a4b00;
}

.pb-title {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.5;
  color: #2b2520;
  margin: 0 0 16px;
}

.pb-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #4b463f;
  margin: 0 0 20px;
}

.pb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: 14px;
  line-height: 1.8;
}

.pb-list li strong {
  display: block;
  margin-bottom: 2px;
}

.pb-visual {
  display: flex;
  justify-content: center;
}

.pb-image {
  width: 100%;
  max-width: 1500px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pb-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-position: center;
  border-radius: 12px;
}

.pb-image-user img,
.pb-image-family img {
  object-fit: contain;  /* 枠の中に全部入れる。余白が出てもOK */
}


.pb-image-both img {
  aspect-ratio: 16 / 18;
  object-fit: cover;    /* 枠いっぱいに埋める。はみ出た四隅は切れる */
}



.social-proof-section {
  padding: 50px 50px;
}

.social-proof-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;

  background: #ffffff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.08); /* ふわっとした影 */
}

.social-proof-title {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 30px;
  text-align: center;
}

.social-proof-eyebrow {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a6b5a;
  margin: 0 0 8px;

}

.social-proof-subtitle {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: #2b2520;
  margin: 0 0 16px;
}

.social-proof-text {
  margin: 0 0 12px;
  line-height: 1.9;
}

.social-proof-meta {
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.9;
  text-align: right;
}


.pricing-section {
  scroll-margin-top: 58px;
  padding: 50px 50px;
  background: #fffbf4;
}

.pricing-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.pricing-title {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 12px;
}

.pricing-subtitle {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 25px;
  color: #4b463f;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 24px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  text-align: left;
  position: relative;

  display: flex;
  flex-direction: column;
}

.pricing-card--recommended {
  border: 2px solid #c1cbff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.pricing-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #3558ff;
  color: #fff;
}

.pricing-plan-label {
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 4px;
}

.pricing-plan-desc {
  font-size: 15px;
  color: #666;
  margin: 0 0 12px;
}

.pricing-price {
  margin: 0 0 12px;
}

.pricing-price-main {
  font-size: 24px;
  font-weight: 700;
}

.pricing-price-sub {
  font-size: 15px;
  margin-left: 4px;
  color: #666;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.pricing-features li::before {
  content: "・";
  margin-right: 2px;
}

.pricing-btn {
  margin-top: auto;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #3558ff;
  color: #ffffff;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

.pricing-toggle-note {
  font-size: 15px;
  color: #4b463f;
  margin: 32px auto 10px;
}

.pricing-note {
  margin: 0;
  font-size: 15px;
  color: #4b463f;
}



/* アニメーション付き下線用の共通クラス */
.underline-anim {
  position: relative;
  display: inline-block;   /* テキスト幅だけに線を合わせる */
  text-decoration: none;   /* デフォルトの下線は消す */
}

/* 下線の見た目（初期状態は0倍で非表示） */
.underline-anim::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;            /* 文字より少し下に線を配置（好みで調整） */
  width: 100%;
  height: 1px;             /* 線の太さ */
  background-color: #ffffff;   /* 線の色（ボタン上なら白など） */
  transform: scaleX(0);        /* 幅0で隠す */
  transform-origin: center;    /* 中央を起点に伸び縮み */
  transition: transform 0.25s ease-out;
}

/* ホバーしたときに、中央から左右に伸びる */
.underline-anim:hover::after {
  transform: scaleX(1);
}


.cta-inline {
  text-align: center;
}
.cta-inline-benefits {
  margin-top: 40px;
}

.cta-note {
  margin: 8px;
  font-size: 14px;
}
.cta-inline-pb {
  margin-bottom: 55px;
}

.final-cta {
  position: relative;
  display: flex;                 
  align-items: stretch;          /* 子要素をセクションの高さまで伸ばす */
  justify-content: center;       /* 横方向中央 */
  padding: 0;            
  min-height: 65vh;             
  background-image: url("../images/covers/Tenma_Bridge.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  text-align: center;
}

.final-cta-overlay {
  flex: 1;                      /* 横方向いっぱい */
  margin: 0px;
  background: rgba(0, 0, 0, 0.45);
  padding: 10px 10px 10px;       /* 内側の余白を増やす */
  color: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;      /* 上から下に積む */
  align-items: center;         /* 横方向の中央揃え（テキストとボタンを中央に） */
  justify-content: center;     /* 縦方向の中央揃え */
  text-align: center;
}

.final-cta-title {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-size: 38px;
  margin: 0 0 16px;
}

.final-cta .hero-btn-primary {
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
}



.site-footer {
  background: #12100f;      /* 真っ黒より少しだけ柔らかい黒 */
  color: #ffffff;
  padding: 16px 20px;
  font-size: 13px;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 16px;
}

.footer-links a:last-child {
  margin-right: 0px;
}

.footer-links a:hover {
  text-decoration: underline;
}






/* タブレット縦持ち用レスポンシブデザイン */
@media (min-width: 768px) and (max-width: 1023px) {

  .logo-link {
    margin-left: 14px;   /* ここを 0 → 14px に */
  }

  .header-nav .nav-primary-cta {
    margin-right: 14px;   /* これを追加 */
  }

  .hero {
    padding: 35px 20px 45px 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr;   /* 2カラム → 1カラム */
    row-gap: 30px;
  }

  .hero-title {
    font-weight: 500;
    font-size: 48px;
    line-height: 1.4;
    letter-spacing: 0.06em;
    margin: 0 0 24px;
  }

  .hero-text {
    text-align: left;             /* そのままでOK。変えたければここで */
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-desc {
    margin-bottom: 25px
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-image {
    max-width: 720px;             /* 画像を大きめに表示 */
    width: 100%;
  }

  .pb-section {
    padding: 50px 20px;
  }

  .pb-section .pb-inner {
    grid-template-columns: 1fr;    /* 2カラム → 1カラム */
    row-gap: 32px;
  }

  .pb-label {
    margin-bottom: 8px;
  }

  .pb-section .pb-text {
    max-width: 680px;              /* ヒーローと同じくらいの横幅 */
    margin: 0 auto;
  }

  .pb-section .pb-visual {
    justify-content: center;
  }

  .pb-section .pb-image {
    max-width: 640px;              /* ヒーロー画像と同程度に大きく */
    width: 100%;
  }

  .pricing-badge {
    top: 6px;
    right: 8px;
  }

  .final-cta-title {
    font-size: 34px;  /* お好みで 32〜36px の範囲で調整 */
  }

}




/* スマホ縦持ち用レスポンシブデザイン */
@media (max-width: 767px) {

  .logo-link {
    margin-left: 2px;  
    margin-right: 20px; 
  }

  .header-nav .nav-primary-cta {
    margin-right: 2px;   
  }

  .header-inner {
    max-width: 100%;
    padding: 4px 0px;        /* 左右に少し余白 */
  }

  .logo-img {
    width: 130px;             /* 150px → 少しだけ縮める（お好み） */
  }

  .header-nav {
    gap: 10px;                /* ナビの間隔を少し詰める */
    font-size: 12px;
  }

  .header-nav .nav-primary-cta {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 10px 10px 10px 10px;
  }

  .hero-eyebrow {
    margin-bottom: 8px;
  }

  .hero-inner {
    grid-template-columns: 1fr;   /* 2カラム → 1カラム */
    row-gap: 24px;
  }

  .hero-text {
    text-align: left;
    max-width: 100%;
  }

  .hero-title {
    font-weight: 900;
    font-size: 26px;              /* モバイル用に少し小さく */
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-btn-primary {
    max-width: 280px;
  }

  .benefits {
    padding: 20px 20px 20px 20px; 
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefits-title {
    font-size: 24px;
    margin-bottom: 20px;
  }


  .pb-section {
    padding: 20px 20px 20px 20px;
  }

  .pb-section .pb-inner {
    grid-template-columns: 1fr;    /* 2カラム → 1カラム */
    row-gap: 10px;
  }

  .cta-inline-benefits {
    margin-top: 20px;
  }

  .pb-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .pb-label {
    margin-bottom: 4px;
  }

  .pb-lead {
    margin-bottom: 8px;
  }

  .pb-list {
    gap: 8px;
  }

  .cta-inline-pb {
    margin-bottom: 40px;
  }

  .social-proof-section {
    padding: 20px 20px;
  }

  .social-proof-title {
    margin-bottom: 20px;
  }

  .social-proof-inner {
    padding: 20px;
  }

  .social-proof-text {
    margin-bottom: 8px;
  }

  .social-proof-meta {
    margin-top: 4px;
  }

  .pricing-grid{
    grid-template-columns: 1fr;
    gap:10px;
  }

  .pricing-section {
    padding: 20px 20px;
  }

  .pricing-subtitle {
    margin-bottom: 8px;
  }
  .pricing-card .pricing-btn {
    display: block;
    width: 240px;          /* 固定幅 or max-width と組み合わせ */
    max-width: 100%;
    margin: 0px auto 0px auto;
    text-align: center;
  }

  .pricing-section .pricing-toggle-note {
    margin-top: 8px;
  }

  .final-cta-title {
    font-size: 16px;  /* お好みで 32〜36px の範囲で調整 */
  }


}
