/* マモレコ LP — 安心・やわらか（ティール〜グリーン）／脱・テンプレLP版 */
:root {
  --teal:        #1E9E86;
  --teal-deep:   #0E5F50;
  --teal-bright: #37BFA1;
  --mint:        #EAF6F2;
  --mint-2:      #F5FBF9;
  --coral:       #EF8A76;
  --ink:         #17282B;
  --muted:       #5D7278;
  --line:        #DCEBE6;
  --white:       #FFFFFF;
  --radius:      18px;
  --shadow:      0 18px 44px rgba(14, 95, 80, 0.10);
  --shadow-sm:   0 6px 20px rgba(14, 95, 80, 0.07);
  --maxw:        1240px;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white);
  line-height: 1.85; font-size: 16px; -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word; word-break: normal; line-break: strict;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

/* 手描き風アンダーライン（ロゴの下線モチーフを反復） */
.u { position: relative; white-space: nowrap; }
.u::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .34em;
  background: var(--teal-bright); opacity: .28; border-radius: 3px; z-index: -1;
}

/* ボタン */
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700;
  cursor: pointer; border-radius: 12px; padding: 13px 26px; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px rgba(30,158,134,.26); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-text { color: var(--teal-deep); padding: 13px 6px; }
.btn-text .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .12s ease; }
.btn-text:hover .ico { transform: translateX(4px); }
.btn-sm { padding: 9px 18px; border-radius: 10px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand img { height: 48px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a { color: var(--ink); font-weight: 500; font-size: 14.5px; }
.header-nav a:hover { color: var(--teal); }
.header-nav .btn:hover { color: #fff; }

/* ヒーロー（写真背景＋白オーバーレイで可読性を確保） */
.hero { position: relative; overflow: hidden;
  /* 高さは固定寄りにし、上余白がブラウザ高さで縮まないようにする */
  min-height: 660px; display: flex; align-items: flex-start;
  padding: 88px 0 80px;
  background-color: var(--white);
  background-image:
    linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 30%, rgba(255,255,255,.6) 50%, rgba(255,255,255,.12) 70%, rgba(255,255,255,0) 84%),
    url("assets/hero.png");
  /* 縦位置をやや上寄せ（22%）にして、切り抜き時も人物の顔が残るようにする */
  background-size: cover; background-position: right 22%; background-repeat: no-repeat; }
.hero-inner { display: block; width: 100%; }
.hero-copy { max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  font-size: 13px; font-weight: 700; color: var(--teal-deep); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(55,191,161,.22); }
.hero h1 { font-size: clamp(24px, 4.6vw, 46px); line-height: 1.42; margin: 0 0 22px; font-weight: 900; letter-spacing: .005em; }
.triad { margin: 0 0 20px; font-size: 18px; font-weight: 700; color: var(--teal-deep); letter-spacing: .02em; }
.hero .lead { font-size: 17px; color: var(--muted); margin: 0 0 30px; line-height: 1.9; }
.hero .lead b { color: var(--ink); font-weight: 700; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 36px; margin: 0 0 34px; padding: 0; }
.hero-points li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-point-ico { width: 70px; height: 70px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; }
.hero-point-ico svg { width: 42px; height: 42px; fill: none; stroke: var(--teal-deep);
  stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.hero-point-ico--shield svg { width: 48px; height: 48px; }
.hero-point-label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

/* ヒーローの製品モック */
.hero-art { display: flex; justify-content: center; }
.mock { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow); overflow: hidden;
  transform: rotate(-1.4deg); }
.mock-bar { display: flex; gap: 7px; padding: 14px 16px; background: var(--mint-2); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfe2dc; }
.mock-bar span:first-child { background: var(--coral); opacity: .7; }
.mock-body { padding: 20px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mock-id { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .03em; }
.mock-chip { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 999px; padding: 3px 11px; }
.mock-title { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.mock-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 3px; margin-bottom: 18px; }
.mock-flow span { font-size: 11px; color: #9db3ad; font-weight: 500; }
.mock-flow span.on { color: var(--teal-deep); }
.mock-flow span.now { color: #fff; background: var(--teal); border-radius: 999px; padding: 2px 9px; font-weight: 700; }
.mock-flow i { width: 8px; height: 1.5px; background: #d3e4de; display: inline-block; }
.mock-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.mock-meta .k { display: block; font-size: 10.5px; color: var(--muted); }
.mock-meta .v { display: block; font-size: 13.5px; font-weight: 700; }

/* セクション共通 */
.section { padding: 92px 0; }
.section-soft { background: var(--mint-2); }
.secnum { display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-size: 15px; font-weight: 700; color: var(--teal-deep); letter-spacing: .02em; }
.secnum span { font-family: var(--sans); font-size: 13px; font-weight: 900; color: #fff;
  background: var(--teal); width: 30px; height: 30px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }
.secnum.light { color: #d6f2ea; }
.secnum.light span { background: rgba(255,255,255,.22); }
.section h2 { font-size: clamp(23px, 3.1vw, 33px); line-height: 1.5; margin: 0 0 18px; font-weight: 900; letter-spacing: .01em; }
.u-head { position: relative; }
.section-lead { font-size: 16.5px; color: var(--muted); margin: 0 0 44px; max-width: 720px; }
.section-lead b { color: var(--ink); }

/* Problem: 横並びリスト（カード均一を避ける） */
.problem-list { display: grid; gap: 4px; max-width: 900px; }
.prow { display: flex; gap: 20px; align-items: flex-start; padding: 24px 4px;
  border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: none; }
.prow-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--mint);
  display: flex; align-items: center; justify-content: center; }
.prow-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.prow h3 { margin: 2px 0 6px; font-size: 19px; font-weight: 700; }
.prow p { margin: 0; color: var(--muted); font-size: 15px; }

/* Affinity */
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 34px; }
.voices blockquote { margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 22px 20px 44px; font-size: 15.5px; position: relative; box-shadow: var(--shadow-sm); }
.voices blockquote::before { content: "“"; position: absolute; left: 16px; top: 6px;
  font-size: 34px; color: var(--teal-bright); font-family: Georgia, serif; line-height: 1; }
.affinity-turn { font-size: 17.5px; margin: 0; max-width: 780px; }
.affinity-turn b { color: var(--teal-deep); }

/* Solution: アイコン横並びの2カラム */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 44px; margin-bottom: 34px; }
.fitem { display: flex; gap: 18px; align-items: flex-start; }
.fitem-ico { flex: none; width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(145deg, var(--mint), #fff); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; }
.fitem-ico svg { width: 25px; height: 25px; fill: none; stroke: var(--teal); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.fitem h3 { margin: 3px 0 6px; font-size: 18px; font-weight: 700; }
.fitem p { margin: 0; color: var(--muted); font-size: 14.5px; }
.principles { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 30px; border-top: 1px dashed var(--line); }
.principles span { color: var(--teal-deep); font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.principles span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); }

/* Solution ハイライト（2分で簡単報告…） */
.solution-hl { display: inline-flex; align-items: center; gap: 10px; margin: -24px 0 38px;
  background: var(--mint); color: var(--teal-deep); font-weight: 700; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; }
.solution-hl::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; }

/* Offer */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ocard { position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.ocard.highlight { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-6px); }
.ocard-tag { position: absolute; top: -13px; left: 26px; background: var(--coral); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.ocard h3 { margin: 0 0 12px; font-size: 20px; color: var(--teal-deep); font-weight: 900; }
.ocard p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.ph { color: var(--coral); font-size: 12.5px; }
.ph-note { margin: 26px 0 0; font-size: 12.5px; color: var(--muted); }
.ph-note.light { color: #cdeee5; }

/* 料金テーブル */
.ptable-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ptable { width: 100%; min-width: 460px; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ptable th { background: var(--teal-deep); color: #fff; text-align: left; font-size: 13.5px;
  font-weight: 700; padding: 15px 20px; }
.ptable td { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; color: var(--muted); }
.ptable tbody tr:last-child td { border-bottom: none; }
.ptable td:first-child { font-weight: 700; color: var(--ink); font-size: 16px; white-space: nowrap; }
.ptable .price { font-weight: 900; font-size: 19px; color: var(--teal-deep); white-space: nowrap; }
.ptable tr.feat td { background: var(--mint); }
.pill-pop { display: inline-block; margin-left: 8px; vertical-align: middle; font-size: 11px;
  font-weight: 700; color: #fff; background: var(--coral); border-radius: 999px; padding: 2px 9px; }

/* FAQ（アコーディオン） */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 15.5px; font-weight: 700;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--teal); line-height: 1; flex: none; }
details[open] .faq-q::after { content: "\2212"; }
.faq-q:hover { color: var(--teal-deep); }
.faq-a { padding: 0 24px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.faq-a a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; }

/* Narrowing Down */
.narrowing { background: linear-gradient(140deg, var(--teal-deep), var(--teal)); color: #fff; }
.narrowing h2 { color: #fff; }
.narrowing-lead { font-size: 17px; color: #e4f5ef; margin: 0 0 34px; max-width: 760px; }
.narrowing-lead b { color: #fff; }
.countbox { display: block; width: fit-content; margin: 0 auto; background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.26); border-radius: var(--radius); padding: 24px 40px; text-align: center; }
.countbox-label { font-size: 13px; letter-spacing: .16em; color: #cdeee5; }
.countbox-date { font-size: clamp(36px, 8vw, 52px); font-weight: 900; line-height: 1.15; letter-spacing: .02em; }
.countbox-date .dot { color: var(--teal-bright); margin: 0 2px; }
.countbox-sub { font-size: 13.5px; color: #e4f5ef; margin-top: 6px; }

/* Action / フォーム */
.contact-wrap { max-width: 780px; }
.closing-line { font-size: 18px; font-weight: 700; color: var(--teal-deep); margin: 0 0 14px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--mint-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); margin-top: 8px; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.field .req { color: var(--coral); font-size: 11.5px; margin-left: 4px; }
.field input, .field textarea { font: inherit; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(30,158,134,.15); }
.form-actions { align-items: flex-start; gap: 12px; }
.form-hint { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 13px 15px; border-radius: 11px; font-size: 14px; }
.form-status.ok { background: var(--mint); border: 1px solid var(--teal); color: var(--teal-deep); }
.form-status.error { background: #fdeeec; border: 1px solid var(--coral); color: #9a3b2b; }

/* フッター */
.site-footer { background: var(--ink); color: #c9ddd7; padding: 56px 0 30px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 320px; }
.footer-logo { height: 52px; width: auto; background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.foot-brand p { margin: 0; font-size: 13px; color: #a9c2bc; line-height: 1.9; }
.foot-links { display: flex; gap: 28px 52px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col h4 { margin: 0 0 3px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #7f9a94; }
.foot-col a { color: #cfe0dc; font-size: 13px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: #8aa5a0; }
@media (max-width: 640px) { .foot-links { gap: 24px 40px; } }

.sp-br { display: none; }

/* レスポンシブ */
/* 2000px超では背景写真をそれ以上引き伸ばさず、右寄せで固定（左側は背景色＋オーバーレイで補完） */
@media (min-width: 2000px) {
  .hero {
    background-size: auto, 2000px auto;
    background-position: center, center 22%;
  }
}
@media (max-width: 980px) {
  .hero { background-position: 82% center; }
  .hero-copy { max-width: 100%; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .offers { grid-template-columns: 1fr; }
  .ocard.highlight { transform: none; }
  .header-nav a:not(.btn) { display: none; }
}
@media (max-width: 720px) {
  /* テキスト量の多い下部ほど白の下地を濃くして可読性を確保（写真は上部に淡く残す） */
  .hero { min-height: 0; padding: 56px 0 64px; background-position: 68% center;
    background-image:
      linear-gradient(to bottom, rgba(255,255,255,.84) 0%, rgba(255,255,255,.9) 40%, rgba(255,255,255,.95) 100%),
      url("assets/hero.png"); }
  .hero-copy { max-width: 100%; }
  .hero .lead { color: #33474a; font-size: 16px; }
  .triad { font-size: 16.5px; }
  /* 段落内の PC 用改行はモバイルでは無効化し、自然に折り返す（不自然な短い行を防ぐ） */
  .hero .lead br, .section-lead br, .narrowing-lead br { display: none; }
  .section { padding: 58px 0; }
  .section-lead { margin-bottom: 34px; }
  .voices { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .sp-br { display: inline; }
}
@media (max-width: 480px) {
  .hero-points { gap: 14px 20px; }
  .hero-point-ico { width: 58px; height: 58px; }
  .hero-point-ico svg { width: 34px; height: 34px; }
  .hero-point-ico--shield svg { width: 40px; height: 40px; }
  .prow { gap: 14px; padding: 20px 0; }
  .prow-ico { width: 44px; height: 44px; }
  .prow-ico svg { width: 22px; height: 22px; }
  .countbox { padding: 20px 22px; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-text { justify-content: center; }
}
