/* =====================================================
   Pair sign LP - Style
   color theme: pink (#E89BC1) → purple (#B7A5D6) → blue (#7FC4E8)
   ===================================================== */

:root {
  --pink: #E89BC1;
  --pink-soft: #FBE7F0;
  --purple: #B7A5D6;
  --blue: #7FC4E8;
  --blue-soft: #E6F2FB;
  --text: #2E2E3A;
  --text-soft: #6B6B7B;
  --bg: #FFFFFF;
  --bg-alt: #F8F5FB;
  --line: #E8E4F0;
  --grad: linear-gradient(135deg, #E89BC1 0%, #B7A5D6 50%, #7FC4E8 100%);
  --grad-soft: linear-gradient(135deg, #FBE7F0 0%, #EEE6F8 50%, #E6F2FB 100%);
  --shadow: 0 8px 30px rgba(150, 130, 180, 0.10);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.85;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }
ul, ol { list-style: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 720px; }

.section {
  padding: 88px 0;
}
.section + .section { border-top: none; }

.eyebrow {
  font-family: "Cormorant Garamond", serif;
  color: var(--purple);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 18px;
}

.section-title {
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 32px;
}
.section-title strong {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.section-title.quote {
  font-size: 24px;
  font-family: "Cormorant Garamond", "Noto Sans JP", serif;
}
.section-sub {
  text-align: center;
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 48px;
  line-height: 1.9;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 155, 193, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 12px 28px rgba(232, 155, 193, 0.55); }
.btn-large { padding: 18px 56px; font-size: 16px; }
.btn-ghost {
  display: inline-block;
  background: #fff;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.btn-ghost:hover { background: var(--grad); color: #fff; border-color: transparent; opacity: 1; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img { height: 64px; width: auto; }
.global-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}
.global-nav .nav-cta {
  background: var(--grad);
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

/* 背景画像：セクション全体を覆う */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.1);
  display: block;
}

/* 極薄のオーバーレイのみ（グラデーション廃止）*/
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.04) 0%,
    transparent 45%
  );
}

/* テキストは右寄り・フロストグラスカード */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 620px;
  padding: 0 6% 0 0;
}

.hero-copy {
  max-width: 440px;
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 4px 32px rgba(150, 130, 180, 0.12);
}

.hero-lead {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 14px;
  line-height: 1.8;
}
.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-points li {
  background: rgba(248, 245, 251, 0.7);
  padding: 10px 16px 10px 38px;
  border-radius: 8px;
  font-size: 14px;
  position: relative;
}
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--pink);
  font-weight: 700;
}
.hero-attr {
  margin-top: 20px;
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* ===== Message ===== */
.message { background: #fff; }
.message-body {
  margin-top: 32px;
  font-size: 15px;
}
.message-body p { margin-bottom: 20px; }

/* ===== Protect ===== */
.protect { background: var(--bg-alt); }
.protect-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.protect-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 16px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.protect-card:hover { transform: translateY(-4px); }
.protect-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.protect-card h3 { font-size: 14px; margin-bottom: 8px; font-weight: 700; }
.protect-card p { font-size: 12px; color: var(--text-soft); line-height: 1.7; }

.protect-band {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  font-size: 17px;
  font-weight: 500;
  box-shadow: var(--shadow);
  line-height: 1.8;
}
.protect-band strong {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.protect-band-sub {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 400;
  line-height: 1.9;
}

/* ===== Stats ===== */
.stats { background: var(--bg-alt); }
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto 32px;
}
.stats-photo {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stats-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stats-figure {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Donut chart */
.donut-wrap {
  position: relative;
  flex-shrink: 0;
  width: 160px;
  height: 160px;
}
.donut-svg {
  width: 160px;
  height: 160px;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats-number {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 42px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stats-label-wrap {
  flex: 1;
}
.stats-label-main {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.stats-label-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 4px;
}
.stats-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.stats-message {
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.7;
}
.stats-message strong {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ===== Worries ===== */
.worries { background: #fff; }
.worries-lead {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 1.9;
}
.worries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.worries-grid li {
  background: var(--bg-alt);
  padding: 28px 16px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.worries-q {
  font-size: 28px;
  margin-bottom: 12px;
}
.worries-grid h3 {
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.5;
}
.worries-grid p {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.7;
}
.worries-band {
  background: var(--grad-soft);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
  font-size: 15px;
  line-height: 2;
}
.worries-band p { margin-bottom: 8px; }
.worries-band-box {
  margin-top: 24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 28px;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 500;
  box-shadow: var(--shadow);
}

/* ===== Decide / WHY PRENUPTIAL ===== */
.decide { background: #fff; }
.decide-callout {
  background: var(--grad-soft);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.callout-q {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.callout-a {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.9;
}
.decide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.decide-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--pink);
}
.decide-card:nth-child(2) { border-left-color: var(--purple); }
.decide-card:nth-child(3) { border-left-color: var(--blue); }
.decide-card:nth-child(4) { border-left-color: var(--pink); }
.decide-tag {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.decide-card h3 {
  font-size: 14px;
  color: var(--purple);
  margin: 16px 0 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.decide-card h3:first-of-type { margin-top: 0; }
.decide-card ul { margin-bottom: 12px; }
.decide-card ul li {
  font-size: 14px;
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.7;
}
.decide-card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--pink);
}
.decide-card .risk {
  font-size: 13px;
  color: var(--text-soft);
  background: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.8;
}
.decide-foot {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.9;
}
.decide-foot strong {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ===== Service ===== */
.service { background: var(--bg-alt); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.service-card--sub {
  background: var(--grad);
  color: #fff;
}
.service-tag {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.service-card--sub .service-tag {
  background: rgba(255,255,255,.25);
  color: #fff;
}
.service-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 700;
}
.service-price-desc {
  font-size: 13px;
  margin-bottom: 12px;
  opacity: 0.8;
}
.service-price {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 44px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.service-card--sub .service-price {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #fff;
  background-clip: unset;
  color: #fff;
}
.service-price small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  margin-left: 4px;
}
.service-card--main .service-price small {
  -webkit-text-fill-color: var(--text-soft);
  color: var(--text-soft);
}
.service-card--sub .service-price small {
  color: rgba(255,255,255,.85);
}
.service-note {
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.service-card--sub .service-note {
  color: rgba(255,255,255,.7);
}
.service-list li {
  font-size: 14px;
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.service-card--sub .service-list li {
  border-bottom-color: rgba(255,255,255,.2);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}
.service-card--sub .service-list li::before {
  color: rgba(255,255,255,.9);
}
.sl-title { font-weight: 500; margin-right: 4px; }
.sl-desc { font-size: 12px; color: var(--text-soft); display: block; margin-top: 2px; padding-left: 0; }
.service-card--sub .sl-desc { color: rgba(255,255,255,.75); }

/* Contract sample */
.contract-sample {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.cs-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
}
.cs-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.cs-image img {
  width: 100%;
  height: auto;
  display: block;
}
.cs-sample-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.cs-icon-row {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.cs-text p { font-size: 13px; color: var(--text-soft); margin-bottom: 16px; line-height: 1.9; }

/* ===== Flow ===== */
.flow { background: #fff; }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  margin-bottom: 48px;
}
.flow-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--grad);
  z-index: 0;
}
.flow-grid li {
  background: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.flow-grid h3 { font-size: 15px; margin-bottom: 6px; font-weight: 700; }
.flow-grid p { font-size: 12px; color: var(--text-soft); line-height: 1.7; }
.flow-cta {
  text-align: center;
}

/* ===== Voice ===== */
.voice {
  background: var(--grad-soft);
}
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.voice-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  gap: 0 16px;
}
.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 2px solid var(--line);
  grid-row: 1 / 3;
}
.voice-info {
  padding-top: 2px;
}
.voice-meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.voice-location {
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
.voice-body {
  grid-column: 1 / 3;
  font-size: 14px;
  line-height: 1.9;
  margin-top: 14px;
}
.voice-em {
  color: var(--pink);
  font-weight: 500;
}

/* ===== Learn more ===== */
.learn { background: #fff; }
.learn-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.learn-grid li a {
  display: inline-block;
  padding: 12px 24px;
  background: var(--bg-alt);
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--line);
  transition: all .2s;
}
.learn-grid li:nth-child(2) a { border-color: var(--pink); }
.learn-grid li:nth-child(3) a { border-color: var(--blue); }
.learn-grid li a:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  opacity: 1;
}

/* ===== Contact Form Section ===== */
.contact-section {
  background: var(--bg-alt);
  text-align: center;
}
.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
  color: var(--text);
}
.cta-title em {
  font-style: normal;
  font-family: "Cormorant Garamond", serif;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-text {
  font-size: 15px;
  margin-bottom: 40px;
  line-height: 1.9;
  color: var(--text-soft);
}

/* フォーム本体 */
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow);
  text-align: left;
}
.form-group {
  margin-bottom: 24px;
}
/* ラベル：テキスト+必須バッジ行 → 折り返しでinputを次行に */
.form-group label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0;
  cursor: default;
}
/* CF7が生成する wpcf7-form-control-wrap を全幅・次行に */
.form-group .wpcf7-form-control-wrap {
  flex: 0 0 100%;
  display: block;
  width: 100%;
  margin-top: 8px;
}
.form-required {
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.form-group input,
.form-group textarea,
.form-group select,
.form-group .wpcf7-form-control-wrap input,
.form-group .wpcf7-form-control-wrap textarea,
.form-group .wpcf7-form-control-wrap select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
  margin-top: 8px; /* プレーンHTMLのinput用余白 */
}
/* CF7内のinputはwrap側でmargin管理するのでリセット */
.form-group .wpcf7-form-control-wrap input,
.form-group .wpcf7-form-control-wrap textarea,
.form-group .wpcf7-form-control-wrap select {
  margin-top: 0;
}
/* selectの矢印を復活 */
.form-group select,
.form-group .wpcf7-form-control-wrap select {
  appearance: auto;
  -webkit-appearance: auto;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B7A5D6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-group .wpcf7-form-control-wrap input:focus,
.form-group .wpcf7-form-control-wrap textarea:focus,
.form-group .wpcf7-form-control-wrap select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(183,165,214,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group .wpcf7-form-control-wrap input::placeholder,
.form-group .wpcf7-form-control-wrap textarea::placeholder {
  color: #c4c0cc;
}
.form-group textarea,
.form-group .wpcf7-form-control-wrap textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.75;
}
/* CF7 バリデーションエラー文字 */
.form-group .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e05c6e;
  margin-top: 4px;
  display: block;
}
/* CF7 送信後メッセージ */
.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}
.btn-submit {
  width: 100%;
  margin-top: 8px;
}
.form-note {
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
  margin-top: 16px;
}

/* ===== Footer ===== */
.site-footer {
  background: #2E2E3A;
  padding: 48px 0 32px;
  text-align: center;
}
.footer-logo {
  height: 48px;
  margin: 0 auto 20px;
  width: auto;
}
.footer-attr {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.footer-address {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: 0.08em;
}

/* ===== PDF Modal ===== */
.pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pdf-modal.is-open {
  display: flex;
}
.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 30, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pdf-modal-inner {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  /* 明示的に高さを指定してiframeがflexで伸びるようにする */
  height: 94vh;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.pdf-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  flex-shrink: 0;
  min-height: 52px;
}
.pdf-modal-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.pdf-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-soft);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s;
  flex-shrink: 0;
}
.pdf-modal-close:hover {
  background: var(--line);
}
.pdf-modal-frame {
  flex: 1;
  width: 100%;
  min-height: 0; /* flex縮小を許可 */
  border: none;
  display: block;
}
.pdf-modal-fallback {
  display: none;
}

/* 契約書サムネイルのホバー演出 */
.cs-image--clickable {
  cursor: pointer;
  position: relative;
}
.cs-hover-label {
  position: absolute;
  inset: 0;
  background: rgba(46, 46, 58, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .2s;
}
.cs-image--clickable:hover .cs-hover-label {
  opacity: 1;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 20px;
}

/* スマホ専用改行はPCでは非表示 */
.sp-br { display: none; }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 880px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 22px; }
  .section-title.quote { font-size: 19px; }
  /* Hero: モバイルは「画像上・カード下」スタック型 */
  .hero {
    min-height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  /* 背景画像を上部固定高さとして表示 */
  .hero-bg {
    position: relative;
    inset: auto;
    height: 260px;
    flex-shrink: 0;
    overflow: hidden;
  }
  .hero-bg img {
    object-position: center center;
    transform: none;
  }
  /* スマホ専用改行 */
  .sp-br { display: block; }
  /* 半透明オーバーレイは不要 */
  .hero-overlay { display: none; }
  /* カードを画像直下に配置 */
  .hero-content {
    position: relative;
    min-height: auto;
    display: block;
    padding: 0;
    margin-top: -20px; /* 画像と少しオーバーラップ */
  }
  .hero-copy {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 28px 20px 36px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
    box-shadow: 0 -6px 24px rgba(150, 130, 180, 0.15);
  }
  .hero-copy { text-align: center; }
  .hero-title { font-size: 26px; }
  .hero-points { text-align: left; }
  .protect-grid { grid-template-columns: repeat(3, 1fr); }
  .decide-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 32px; }
  .stats-figure { justify-content: center; }
  .worries-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .cs-inner { grid-template-columns: 100px 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flow-grid::before { display: none; }
  .voice-grid { grid-template-columns: 1fr; }
  .global-nav { display: none; }
  .site-logo img { height: 60px; }
  .cta-title { font-size: 24px; }
  .contact-form { padding: 32px 24px; }
  /* スマホ: 全画面表示 */
  .pdf-modal { padding: 0; }
  .pdf-modal-inner {
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    max-width: 100%;
  }
  .pdf-modal-head {
    padding: 10px 16px;
    min-height: 56px; /* タップしやすい高さ確保 */
  }
  .pdf-modal-close {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
  .pdf-modal-frame { display: block; } /* スマホでもiframe表示 */
}

@media (max-width: 600px) {
  .protect-grid { grid-template-columns: repeat(2, 1fr); }
  .protect-grid li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-bg { height: 240px; } /* 小さい画面はやや低め */
  .hero-title { font-size: 22px; }
  .hero-copy { padding: 24px 16px 32px; }
  .stats-figure { flex-direction: column; align-items: center; gap: 12px; }
  .worries-band { padding: 28px 20px; }
  .cs-inner { grid-template-columns: 1fr; }
  .cs-image { max-width: 160px; margin: 0 auto; }
  .contact-form { padding: 24px 16px; }
  .site-logo img { height: 54px; }
}
