/* =========================================================
   ニコライフ  お片づけサポート
   共通スタイルシート
   カラー：あたたかいクリーム × テラコッタ × セージ
========================================================= */

/* ---------- カラー変数 ---------- */
:root {
  --bg:        #FBF7F1;   /* 背景：やわらかいクリーム */
  --surface:   #FFFFFF;   /* カード面 */
  --surface-2: #FDF8F2;   /* 少し温かい面 */
  --ink:       #5A4E45;   /* 本文：あたたかいブラウングレー */
  --ink-soft:  #8A7C70;   /* サブテキスト */
  --line:      #ECE2D6;   /* 罫線 */
  --primary:   #D79A78;   /* テラコッタ（アクセント） */
  --primary-d: #C4835F;   /* 濃いめ */
  --primary-l: #F3E1D6;   /* 淡いテラコッタ */
  --sage:      #A7B79A;   /* セージグリーン */
  --sage-l:    #E7EDE1;   /* 淡いセージ */
  --pink:      #F0DDD4;   /* ほんのりピンク */
  --shadow:    0 14px 40px rgba(150, 120, 95, .12);
  --shadow-sm: 0 6px 18px rgba(150, 120, 95, .10);
  --radius:    22px;
  --radius-sm: 14px;
  --maxw:      1080px;
}

/* ---------- フォント ---------- */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&family=Shippori+Mincho:wght@500;600&display=swap');

/* ---------- リセット ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN",
               "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
  /* 日本語の文節・読点で自然に改行し、行の長さを均等に */
  word-break: auto-phrase;
  line-break: strict;
}

/* 見出しは行の長さを揃えてバランスよく */
h1, h2, h3, .section-title, .plan-name, .hero-photo h1, .hero h1 { text-wrap: balance; }
/* 本文は行末の“ひとりぼっち”を防ぐ */
p, li, .plan-desc, .section-lead { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.5; font-weight: 500; margin: 0; }

.mincho {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

/* ---------- レイアウト ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--primary-d);
  margin-bottom: 14px;
}
.section-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--ink);
  margin-bottom: 16px;
}
.section-lead {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
  font-size: 15px;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; }
.brand-name {
  font-family: "Shippori Mincho", serif;
  font-size: 20px; letter-spacing: .08em; color: var(--ink);
}
.brand-logo { height: 34px; width: auto; }
@media (max-width: 860px){ .brand-logo { height: 30px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14.5px; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--primary-d); }
.nav .btn { color: #fff; }

/* ハンバーガー（スマホ） */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer;
  font-size: 24px; color: var(--ink); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 13px 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, background .2s;
  border: 0; cursor: pointer;
}
.btn:hover { background: var(--primary-d); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--primary-d);
  border: 1.5px solid var(--primary); box-shadow: none;
}
.btn-outline:hover { background: var(--primary-l); color: var(--primary-d); }
.btn-ghost { background: var(--sage); }
.btn-ghost:hover { background: #93a586; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
  padding: 76px 0 88px;
}
.hero h1 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.55; color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--primary-d); }
.hero p { color: var(--ink-soft); font-size: 16px; margin-bottom: 30px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 20px 40px rgba(150,120,95,.15)); }
.blob {
  position: absolute; inset: -8% -10% auto auto; z-index: -1;
  width: 78%; aspect-ratio: 1; border-radius: 45% 55% 52% 48%;
  background: radial-gradient(circle at 30% 30%, var(--pink), var(--sage-l));
  filter: blur(2px); opacity: .7;
}

/* ---------- ヒーロー（写真版） ---------- */
.hero-photo { position: relative; overflow: hidden; }
.hero-photo-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 38%;
}
.hero-photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(251,247,241,.94) 0%,
    rgba(251,247,241,.80) 38%,
    rgba(251,247,241,.35) 66%,
    rgba(251,247,241,.10) 100%);
}
.hero-photo-inner { position: relative; z-index: 1; padding: 118px 0 128px; }
.hero-photo-inner .hero-copy { max-width: 560px; }
.hero-photo h1 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.55; color: var(--ink); margin-bottom: 22px;
  text-shadow: 0 2px 14px rgba(255,255,255,.7);
}
.hero-photo h1 .accent { color: var(--primary-d); }
.hero-photo p { color: var(--ink); font-size: 16px; margin-bottom: 30px; max-width: 460px; }
@media (max-width: 860px) {
  .hero-photo-bg { background-position: center 30%; }
  .hero-photo-bg::after {
    background: linear-gradient(180deg,
      rgba(251,247,241,.80) 0%,
      rgba(251,247,241,.88) 55%,
      rgba(251,247,241,.96) 100%);
  }
  .hero-photo-inner { padding: 72px 0 68px; }
}

/* ---------- 特徴 3つ ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.feature .ic {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--sage-l); border-radius: 20px;
}
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ---------- 想い（About） ---------- */
.about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.about-grid img { border-radius: var(--radius); }
.about h2 { font-family: "Shippori Mincho", serif; font-size: clamp(24px,3.5vw,32px); margin-bottom: 20px; line-height: 1.6; }
.about p { color: var(--ink-soft); margin-bottom: 16px; }
.quote {
  border-left: 3px solid var(--primary); padding-left: 18px;
  font-family: "Shippori Mincho", serif; color: var(--primary-d);
  font-size: 18px; margin: 24px 0;
}

/* ---------- プランカード ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-photo { aspect-ratio: 16/10; background: var(--sage-l); overflow: hidden; }
.plan-photo img { width: 100%; height: 100%; object-fit: cover; }
.plan-top { padding: 26px 28px 22px; text-align: center; }
.plan-ic { width: 84px; height: 84px; margin: 0 auto 16px; }
.plan-name { font-family: "Shippori Mincho", serif; font-size: 19px; margin-bottom: 6px; }
.plan-tag { font-size: 12.5px; color: var(--primary-d); letter-spacing: .12em; }
.plan-body { padding: 0 28px 28px; flex: 1; display: flex; flex-direction: column; }
.plan-meta { display: flex; justify-content: center; gap: 18px; color: var(--ink-soft); font-size: 13.5px; margin: 6px 0 18px; }
.plan-price { text-align: center; margin: 4px 0 20px; }
.plan-price .yen { font-family: "Shippori Mincho", serif; font-size: 34px; color: var(--ink); }
.plan-price .tax { font-size: 12px; color: var(--ink-soft); }
.plan-desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; flex: 1; }
.plan .btn { align-self: center; }
.plan.featured { border-color: var(--primary); position: relative; }
.plan.featured::before {
  content: "人気"; position: absolute; top: 16px; right: 16px;
  background: var(--primary); color: #fff; font-size: 11px;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .1em;
}

/* ---------- 流れ（ステップ） ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.step { text-align: center; position: relative; }
.step .num {
  width: 52px; height: 52px; margin: 0 auto 14px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--primary-l); color: var(--primary-d);
  font-family: "Shippori Mincho", serif; font-size: 20px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- コラム ---------- */
.columns-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: 26px; margin-top: 48px; }
.col-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s;
}
.col-card:hover { transform: translateY(-4px); }
.col-thumb { aspect-ratio: 16/10; background: var(--sage-l); }
.col-thumb img { width: 100%; height: 100%; object-fit: cover; }
.col-body { padding: 20px 22px 24px; }
.col-cat { font-size: 12px; color: var(--primary-d); letter-spacing: .1em; }
.col-card h3 { font-size: 16.5px; margin: 8px 0 10px; line-height: 1.6; }
.col-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.col-date { font-size: 12px; color: var(--ink-soft); margin-top: 14px; display: block; }

/* ---------- CTA 帯 ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary-l), var(--sage-l));
  border-radius: var(--radius); padding: 56px 40px; text-align: center;
  margin: 0 auto;
}
.cta h2 { font-family: "Shippori Mincho", serif; font-size: clamp(24px,3.5vw,32px); margin-bottom: 14px; }
.cta p { color: var(--ink-soft); margin-bottom: 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- ページヘッダー（下層） ---------- */
.page-head { background: var(--surface-2); text-align: center; padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: "Shippori Mincho", serif; font-size: clamp(28px,4.5vw,40px); margin-bottom: 12px; }
.page-head p { color: var(--ink-soft); margin: 0; }
.breadcrumb { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 20px; }

/* ---------- フォーム ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm);
  max-width: 640px; margin: 0 auto;
}
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; margin-bottom: 8px; }
.field .req { color: var(--primary-d); font-size: 12px; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-soft); background: var(--sage-l);
  padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 26px; }

.contact-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.contact-methods a {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s;
}
.contact-methods a:hover { transform: translateY(-3px); }
.contact-methods .m-ic { font-size: 26px; margin-bottom: 8px; }
.contact-methods h3 { font-size: 15px; margin-bottom: 4px; }
.contact-methods p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 6px 22px; margin-bottom: 14px;
}
.faq summary { cursor: pointer; padding: 14px 0; font-size: 15.5px; list-style: none; position: relative; }
.faq summary::after { content: "＋"; position: absolute; right: 0; color: var(--primary-d); }
.faq details[open] summary::after { content: "－"; }
.faq p { color: var(--ink-soft); font-size: 14px; padding: 0 0 16px; margin: 0; }

/* ---------- Before/After ---------- */
.cases { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; margin-top: 48px; text-align: left;
  max-width: 900px; margin-left: auto; margin-right: auto; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); }
.case-tag { display: inline-block; background: var(--primary); color: #fff; font-size: 12px;
  letter-spacing: .08em; padding: 5px 14px; border-radius: 999px; margin: 20px 0 0 24px; }
.case-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 16px; }
.case-photos img { width: 100%; height: auto; display: block; }
.case-photos.case-photos-single {
  grid-template-columns: 1fr; aspect-ratio: 3/2; background: var(--sage-l);
  display: flex; align-items: center; justify-content: center;
}
.case-photos.case-photos-single img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.case-body { padding: 18px 24px 26px; }
.case-body h3 { font-family: "Shippori Mincho", serif; font-size: 16.5px; margin: 0 0 8px; line-height: 1.5; }
.case-body p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- 記事本文 ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article .hero-img { border-radius: var(--radius); margin-bottom: 36px; width: 100%; }
.article .meta { display: flex; gap: 14px; align-items: center; justify-content: center; margin-bottom: 10px; }
.article .meta .cat { background: var(--primary-l); color: var(--primary-d); font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.article .meta .date { font-size: 12.5px; color: var(--ink-soft); }
.article h1 { font-family: "Shippori Mincho", serif; font-size: clamp(24px, 4vw, 34px); text-align: center; line-height: 1.6; margin-bottom: 40px; }
.article h2 { font-family: "Shippori Mincho", serif; font-size: 22px; color: var(--ink); margin: 44px 0 16px; padding-left: 14px; border-left: 4px solid var(--primary); }
.article p { color: var(--ink); margin: 0 0 20px; }
.article .lead { font-size: 17px; color: var(--ink); background: var(--surface-2); border-radius: var(--radius-sm); padding: 22px 24px; }
.article .pull { font-family: "Shippori Mincho", serif; font-size: 20px; color: var(--primary-d); text-align: center; margin: 36px 0; line-height: 1.7; }
.article .signature { text-align: right; color: var(--ink-soft); margin-top: 36px; font-size: 14px; }
.article-author { display: flex; align-items: center; gap: 18px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; margin-top: 48px; }
.article-author img { width: 76px; height: 76px; flex: 0 0 76px; }
.article-author h4 { margin: 0 0 4px; font-size: 15px; }
.article-author p { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* ---------- フッター ---------- */
.footer { background: #F3EBE0; border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand-name { font-size: 22px; }
.footer p { color: var(--ink-soft); font-size: 13.5px; }
.footer h4 { font-size: 14px; margin: 0 0 14px; color: var(--ink); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--ink-soft); font-size: 13.5px; }
.footer ul a:hover { color: var(--primary-d); }
.footer-bottom { text-align: center; color: var(--ink-soft); font-size: 12.5px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .hero-inner, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .features, .plans, .columns-grid, .cases, .contact-methods { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: var(--bg); padding: 20px 24px;
    border-bottom: 1px solid var(--line); gap: 18px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .section { padding: 60px 0; }
  .form-card { padding: 28px 22px; }
}
