/* 元モックに寄せる外観。既存の文言・機能とは独立して管理する。 */
:root {
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --container: 1440px;
  --gutter: clamp(20px, 2.7vw, 40px);
  --section-y: clamp(32px, 3.2vw, 48px);
  --ink: #031130;
  --ink-body: #132d49;
  --ink-mute: #51647a;
  --bg-tint: #eff5f9;
  --hero-overlay: linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.74) 42%, rgba(255,255,255,0.4) 62%, rgba(255,255,255,0) 78%, rgba(255,255,255,0) 100%);
  --hero-veil: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0));
  --hero-mobile-overlay: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8));
  --cta-overlay: linear-gradient(rgba(255,255,255,0.76), rgba(255,255,255,0.76));
}

html { scroll-padding-top: 88px; }
body { font-size: 16px; }
.site-header { background: rgba(246,251,254,.96); }
.header-inner { height: 72px; gap: 20px; }
.brand-name { font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .06em; }
.brand-tagline { font-family: var(--font-sans); font-size: 10px; letter-spacing: .22em; color: var(--navy-900); }
.site-nav { gap: clamp(10px, 1.25vw, 20px); font-size: 12px; font-weight: 700; }
.site-nav a { white-space: nowrap; }
.section-title { font-family: var(--font-serif); font-size: clamp(27px, 3vw, 38px); letter-spacing: .035em; }
.eyebrow { font-size: 11px; margin-bottom: 9px; }
.section-lead { font-size: 14px; }
.btn { height: 48px; font-size: 14px; padding-inline: 30px; }
.btn-primary { background: var(--sea-600); }
.btn-sm { height: 44px; padding-inline: 24px; }

/* 左に濃紺の明朝コピー、右に人物。写真を暗くするレイヤーは使わない。 */
.hero { min-height: 460px; padding-block: 34px; color: var(--navy-900); }
.hero-bg { background: #d5ebf5; }
.hero-bg img { object-position: 50% 45%; }
.hero-inner { grid-template-columns: minmax(0,.62fr) minmax(0,.38fr); gap: 16px; }
.hero .eyebrow { color: var(--sea-600); }
.hero h1 { color: var(--navy-900); font-family: var(--font-serif); font-size: clamp(32px, 3.65vw, 54px); line-height: 1.43; letter-spacing: .025em; }
.hero-lead { color: var(--navy-900); margin-top: 16px; font-size: clamp(15px, 1.55vw, 20px); max-width: 30em; line-height: 1.75; }
.hero-price { color: var(--navy-900); background: rgba(255,255,255,.82); padding: 9px 12px; margin-top: 16px; border: 1px solid rgba(5,92,157,.14); border-radius: 4px; }
.hero-price b { font-size: 25px; }
.hero-price .tax { opacity: 1; }
.hero-price .monitor { margin: 0; padding: 3px 8px; border: 0; background: #e8f1f8; font-size: 11px; border-radius: 3px; }
.hero-actions { margin-top: 20px; }
.hero-actions .btn { min-width: 210px; }
.hero-actions .btn-outline { background: white; color: var(--navy-900); border-color: white; }
.hero-actions .btn-outline:hover { background: var(--sea-050); border-color: var(--sea-050); }
.hero-points { color: var(--ink-body); margin-top: 16px; font-size: 12px; gap: 6px 18px; }
.hero-points li::before { border-color: var(--sea-600); }
.hero-figure .script-lg { font-size: clamp(24px, 2.8vw, 40px); transform: translate(-35%, -20px) rotate(-8deg); text-shadow: 0 1px 2px rgba(3,17,48,.3), 0 2px 12px rgba(3,17,48,.55); white-space: nowrap; }

/* モックと同じ、白い目地を挟んだ横並びの映像帯。 */
.hero + .section { padding-block: 9px !important; }
.hero + .section .container { max-width: 1480px; padding-inline: clamp(16px, 2.5vw, 36px); }
.thumbs { gap: 8px; }
.thumb a { border-radius: 0; aspect-ratio: 1.55; }
.thumb .script-sm { font-size: clamp(14px, 1.35vw, 19px); font-family: var(--font-serif); font-weight: 700; left: 18px; right: 18px; }
.thumb-cap { left: 0; right: 0; bottom: 0; padding: 5px 18px; background: rgba(3,17,48,.62); font-size: 12px; }
.thumb a::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 62%; width: 44px; height: 44px; border-radius: 50%; background: rgba(3,35,57,.68); transform: translate(-50%,-50%); }
.thumb a::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 62%; border-left: 14px solid white; border-top: 9px solid transparent; border-bottom: 9px solid transparent; transform: translate(-35%,-50%); }

/* 悩みと解決策を一続きの淡い青の帯にする。 */
.section:has(> .issues-wrap) { padding-top: 32px; padding-bottom: 12px; }
.issues-wrap > .eyebrow { display: none; }
.issues { margin-top: 24px; gap: 0; }
.issues li { position: relative; padding-inline: 12px; gap: 8px; }
.issues li + li { border-left: 1px solid #e0eaf1; }
.issue-icon { width: 42px; height: 42px; background: transparent; border-radius: 0; }
.issue-icon img { width: 36px; height: 36px; }
.issue-text { font-size: 14px; color: var(--navy-900); }
.issues-arrow { margin: 18px 0 8px; }
.issues-answer { font-family: var(--font-serif); color: var(--navy-900); font-size: clamp(24px, 3.15vw, 42px); }
.issues-answer span { border-color: #4db0de; border-width: 4px; padding-bottom: 1px; }
#merits { background: var(--bg-tint); padding-top: 12px; padding-bottom: 30px; }
#merits .eyebrow { display: none; }
#merits .section-title { font-family: var(--font-sans); font-size: 17px; text-align: center; font-weight: 500; }
.merits { gap: 20px; margin-top: 24px; }
.merits li { padding: 0; border: 0; background: transparent; border-radius: 0; }
.merits h3 { font-size: 16px; gap: 8px; margin-bottom: 5px; }
.merits h3 img { width: 30px; height: 30px; }
.merits p { font-size: 12px; line-height: 1.65; color: var(--ink-body); }

/* 元モックにない追加セクションにも同じ余白と線を適用する。 */
#compare { border-bottom: 1px solid var(--line-soft); }
.cmp-details, .cmp-wrap, .cmp tr, .work, .contact-form { border-radius: 5px; box-shadow: none; }
.cases-head { align-items: center; }
.cases-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 24px; }
.cases-head .eyebrow { display: none; }
.cases-head .section-lead { margin: 0; }
.cases { gap: 14px; margin-top: 20px; }
.case-media, .case img { border-radius: 0; }
.case-media { aspect-ratio: 1.78; }
.case h3 { font-size: 14px; }
.case p { font-size: 13px; }
.works { gap: 18px; }
.work { border-color: #dce7ef; }
.work-body { padding: 14px; }
.work-body p { color: var(--ink-body); }
.filters { gap: 8px; }
.filter { border-radius: 4px; }
#price { background: white; }
.plans { max-width: none; gap: 14px; margin-top: 25px; }
.plan { padding: 23px 24px 20px; border: 1px solid transparent; background: var(--bg-tint); border-radius: 5px; box-shadow: none; }
.plan.is-main { border: 1px solid var(--sea-600); box-shadow: none; }
.plan h3, .plan-sub, .plan-price { text-align: center; }
.plan h3 { font-size: 22px; }
.plan-sub { color: var(--ink-body); min-height: 3.4em; }
.plan-price { border-bottom: 0; padding-bottom: 4px; margin: 12px 0 18px; }
.plan-price b { color: var(--navy-900); font-size: clamp(30px, 3.2vw, 42px); }
.plan ul { gap: 6px; }
.plan .btn { border-radius: 7px; height: 44px; padding-inline: 12px; }
.plan-badge { font-size: 12px; border-radius: 4px; }
.monitor { border-radius: 5px; box-shadow: none; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea, .form-done { border-radius: 5px; }
.flow { gap: 14px; }
.flow li { border-radius: 5px; box-shadow: none; }
.faq { max-width: 1040px; }
.faq details { border-radius: 0; }

/* 下部の海岸写真も明るくし、紺文字と青いCTAで統一。 */
.final { min-height: 280px; padding-block: 40px; color: var(--navy-900); background: #d9eaf3; }
.final h2 { color: var(--navy-900); font-size: clamp(22px, 2.3vw, 30px); }
.final p { color: var(--ink-body); font-size: 14px; }
.final .script { color: var(--sea-600); }
.final .script-md { font-size: clamp(22px, 2.2vw, 28px); }
.final .script-sm { font-size: 18px; }
.final h2, .final-inner > p:not(.script) { max-width: 620px; margin-inline: auto; }
.final .btn-primary { background: var(--sea-600); color: white; }
.final .btn-primary:hover { background: var(--sea-700); }
.final .btn-outline { background: white; border-color: white; color: var(--navy-900); }
.final .btn-outline:hover { background: var(--sea-050); border-color: var(--sea-050); }
.final-actions { margin-top: 20px; }
.site-footer { background: white; }

@media (min-width: 1200px) {
  .works { grid-template-columns: repeat(4, minmax(0,1fr)); }
  /* 2026-09-06 修正。left:0 / right:0 だと回転したぶんが container の外へ出て、
     左端の「湘」と右端の英文が画面で切れていた。**gutter のぶん内側に置く。**
     また max-width で折り返させると「挑／戦」のように語の途中で切れる。
     行の切り方は HTML の <span> で決め、ここでは折り返させない。 */
  .final .script-md { position: absolute; left: clamp(20px, 4vw, 40px); top: 0;
                      max-width: none; text-align: left; transform: rotate(-9deg);
                      transform-origin: left top; }
  .final .script-sm { position: absolute; right: clamp(20px, 4vw, 40px); bottom: -12px;
                      max-width: none; text-align: right; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .site-nav { gap: 10px; font-size: 11px; }
  .header-inner { gap: 14px; }
  .header-inner .btn { padding-inline: 18px; }
  .hero-actions .btn { min-width: 180px; }
  .merits { gap: 14px; }
  .merits h3 { font-size: 14px; }
}
@media (max-width: 899px) {
  .hero { padding-block: 32px; min-height: 440px; }
  .hero-inner { grid-template-columns: minmax(0,1fr); }
  .hero-bg img { object-position: 70% 30%; }
  .hero h1 { font-size: clamp(32px, 5.6vw, 48px); }
  .hero-points { max-width: 560px; }
  .issues { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 24px; }
  .issues li:nth-child(4) { border-left: 0; }
  .merits { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .plans { max-width: 600px; gap: 25px; }
  .plan-sub { min-height: 0; }
  .plan-price b { font-size: 38px; }
  .cases { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 599px) {
  .header-inner { height: 66px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 19px; letter-spacing: .02em; }
  .brand img { width: 28px; height: 28px; }
  .header-inner .btn-sm { padding-inline: 13px; font-size: 12px; margin-left: auto; }
  .hero { padding-block: 28px; }
  .hero h1 { font-size: clamp(27px, 7.4vw, 38px); }
  .hero-lead { font-size: 15px; }
  .hero-price { gap: 7px; font-size: 12px; }
  .hero-price .monitor { white-space: normal; font-size: 11px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-width: 0; }
  .hero-points { font-size: 11px; gap: 8px 12px; }
  .thumbs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .thumb a { aspect-ratio: 1.15; }
  .thumb .script-sm { left: 10px; right: 10px; top: 10px; font-size: 12px; }
  .thumb-cap { font-size: 10px; padding: 5px 8px; }
  .thumb a::before { width: 34px; height: 34px; top: 65%; }
  .thumb a::after { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; top: 65%; }
  .section-title { font-size: 26px; }
  .issues, .merits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .issues li { border: 0 !important; padding-inline: 6px; }
  .issue-text { font-size: 13px; }
  .issues-answer { font-size: 25px; }
  .merits { gap: 22px 16px; }
  .merits h3 { font-size: 14px; align-items: flex-start; }
  .merits h3 img { width: 25px; height: 25px; }
  .cases { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
  .case h3, .case p { font-size: 12px; }
  .plan { padding: 24px 22px; }
  .final { padding-block: 32px; }
}

.case-cat { margin-top: 8px; color: var(--navy-900); font-size: 13px; }
.case-title { font-size: 14px; }
@media (max-width: 599px) { .case-cat, .case-title { font-size: 12px; } }
