/* =========================================================
   田野井 健 HP — 共通スタイル
   - C案カラー（ベージュ／紺／オレンジ）
   - 見出し：しっぽり明朝、本文：Noto Sans JP
   ========================================================= */

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

:root{
  --bg:    #F5EFE6;
  --white: #FFFFFF;
  --navy:  #2C3E50;
  --terra: #E07A5F;
  --muted: #B4A591;
  --line:  #E6DCCB;
  --text:  #2C3E50;

  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans:  'Noto Sans JP', system-ui, -apple-system, sans-serif;

  --max:    1100px;
  --gutter: 24px;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(44,62,80,.06), 0 8px 24px rgba(44,62,80,.04);
}

html { scroll-behavior: smooth; }
body{
  font-family: var(--sans);
  background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ display:block; max-width:100%; }
a{ color: var(--navy); text-decoration: none; }
a:hover{ color: var(--terra); }
button{ font-family: inherit; cursor: pointer; }

section[id]{ scroll-margin-top: 76px; }

/* ---------- ヘッダー ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,239,230,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand{
  font-family: var(--serif);
  font-size: 16px; color: var(--navy);
  font-weight: 700; letter-spacing: .08em;
  line-height: 1.1;
  display: flex; flex-direction: column;
}
.brand small{
  font-family: var(--sans); font-size: 10px;
  color: var(--muted); letter-spacing: .2em;
  margin-top: 4px; font-weight: 400;
}

.nav-d{ display: none; align-items: center; gap: 26px; }
.nav-d a{
  font-size: 13px; color: var(--navy); font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-d a:hover{ color: var(--terra); border-bottom-color: var(--terra); }
.nav-d a.is-current{ color: var(--terra); border-bottom-color: var(--terra); }
.nav-d .cta{
  background: var(--terra); color: #fff;
  padding: 10px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: 13px;
  border-bottom: none;
}
.nav-d .cta:hover{ background: #c95f44; color: #fff; border-bottom: none; }
.nav-d .cta.is-current{ background: #c95f44; color: #fff; border-bottom: none; }

.menu-btn{
  background: none; border: 1px solid var(--navy);
  width: 38px; height: 38px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center;
  transition: background .15s;
}
.menu-btn span{
  width: 18px; height: 1.5px; background: var(--navy);
  transition: transform .25s, opacity .25s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1){ transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3){ transform: translateY(-5.5px) rotate(-45deg); }

.nav-m{
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.nav-m.open{ display: block; }
.nav-m ul{ list-style: none; padding: 8px var(--gutter); }
.nav-m li{ border-bottom: 1px solid var(--line); }
.nav-m li:last-child{ border-bottom: none; }
.nav-m a{
  display: block; padding: 14px 4px;
  font-size: 15px; color: var(--navy); font-weight: 500;
}
.nav-m a.is-current{ color: var(--terra); }
.nav-m a.cta{
  background: var(--terra); color: #fff;
  text-align: center; border-radius: var(--radius);
  margin: 8px 0; font-weight: 700;
}

@media (min-width: 1024px){
  .nav-d{ display: flex; }
  .menu-btn{ display: none; }
  .nav-m{ display: none !important; }
}

/* ---------- 汎用パーツ ---------- */
.container{ max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.ph{
  background: linear-gradient(135deg, #DCD3C5 0%, #C8BEAB 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; letter-spacing: .14em; font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.04);
}
.ph::before{
  content:""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.18) 14px 15px);
}
.ph span{ position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
/* 画像が入ったプレースホルダーは装飾（斜線・地色）を消す */
.ph:has(img){ background: none; border-color: var(--line); }
.ph:has(img)::before{ display: none; }
.ph.ph-light{ background: linear-gradient(135deg, #EBE2D2, #D6CAB4); }
.ph.ph-square{ aspect-ratio: 1/1; }
.ph.ph-4x3{ aspect-ratio: 4/3; }
.ph.ph-16x9{ aspect-ratio: 16/9; }
.ph.ph-3x4{ aspect-ratio: 3/4; }
.ph.ph-circle{ border-radius: 50%; aspect-ratio: 1/1; }

.kicker{
  display: inline-block;
  font-size: 11px; letter-spacing: .28em;
  color: var(--terra); font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.kicker::before{
  content:""; display:inline-block; width: 26px; height: 1px;
  background: var(--terra); vertical-align: middle; margin-right: 10px;
}
.kicker.center{ display:block; text-align:center; margin-bottom: 16px; }
.kicker.center::before{ display:none; }
.kicker.center::after{
  content:""; display:block; width: 28px; height: 1px;
  background: var(--terra); margin: 8px auto 0;
}

.section-title{
  font-family: var(--serif);
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 700; color: var(--navy);
  line-height: 1.55; letter-spacing: .06em;
  text-wrap: pretty;
}

.section-lead{
  font-size: 15px; color: #4a5a68; line-height: 2;
  max-width: 620px;
}

.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px; letter-spacing: .12em;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary{ background: var(--terra); color: #fff; }
.btn-primary:hover{ background: #c95f44; color: #fff; }
.btn-ghost{ background: transparent; color: var(--navy); border-color: var(--navy);}
.btn-ghost:hover{ background: var(--navy); color: #fff;}
.btn-link{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 14px; color: var(--terra); font-weight: 700;
  letter-spacing: .04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.btn-link:hover{ border-bottom-color: var(--terra); color: var(--terra); }
.btn-link::after{ content: "→"; transition: transform .2s; }
.btn-link:hover::after{ transform: translateX(3px); }

/* ---------- ページヘッダー（下層ページ共通） ---------- */
.page-hero{
  padding: 80px var(--gutter) 64px;
  text-align: center;
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(224,122,95,.10), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero .kicker{ margin-bottom: 16px;}
.page-hero h1{
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 40px);
  color: var(--navy); font-weight: 700;
  line-height: 1.5; letter-spacing: .06em;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.page-hero p.lead{
  font-size: 15px; color: #4a5a68; line-height: 2.05;
  max-width: 600px; margin: 0 auto;
  letter-spacing: .03em;
}

.breadcrumb{
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter) 0;
  font-size: 11px; color: var(--muted);
  letter-spacing: .08em;
}
.breadcrumb a{ color: var(--muted); }
.breadcrumb a:hover{ color: var(--terra); }
.breadcrumb .sep{ margin: 0 8px; }

/* ---------- フッター ---------- */
.site-footer{
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 56px var(--gutter) 32px;
  margin-top: 0;
}
.footer-inner{
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
.footer-brand .name{
  font-family: var(--serif); color: #fff;
  font-size: 18px; letter-spacing: .14em;
  margin-bottom: 8px; font-weight: 700;
}
.footer-brand .role{
  color: rgba(255,255,255,.5); font-size: 11px;
  letter-spacing: .18em; margin-bottom: 16px;
}
.footer-brand .addr{
  font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.55);
}
.footer-nav h5{
  font-family: var(--serif); font-size: 12px; color: #fff;
  letter-spacing: .14em; font-weight: 700; margin-bottom: 14px;
}
.footer-nav ul{ list-style: none; }
.footer-nav li{ margin-bottom: 8px; }
.footer-nav a{ color: rgba(255,255,255,.6); font-size: 13px; }
.footer-nav a:hover{ color: #F2B79A; }
.footer-nav .note{
  color: rgba(255,255,255,.4); font-size: 11px; line-height: 1.7;
}
.footer-bottom{
  max-width: var(--max); margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .04em;
}
.footer-bottom a{ color: rgba(255,255,255,.55); }
.footer-bottom a:hover{ color: #F2B79A; }
@media (min-width: 768px){
  .footer-inner{ grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- 最終CTA（全ページ共通） ---------- */
.final-cta{
  padding: 100px var(--gutter);
  background: var(--bg);
}
.final-cta .card{
  max-width: 720px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 56px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.final-cta .free{
  display: inline-block;
  background: var(--terra); color: #fff;
  font-family: var(--serif);
  padding: 4px 14px; font-size: 12px;
  letter-spacing: .14em; border-radius: 4px;
  margin-bottom: 18px;
}
.final-cta h2{
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--navy); font-weight: 700;
  line-height: 1.6; letter-spacing: .06em;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.final-cta p{
  font-size: 14px; color: #5a6772;
  line-height: 1.95; margin-bottom: 32px;
}

/* =========================================================
   サービス詳細ページ共通（service-*.html）
   ========================================================= */
.sd-section{ padding: 96px var(--gutter); }
.sd-section.beige{ background: var(--bg); }
.sd-section.white{ background: var(--white); border-top: 1px solid var(--line); }
.sd-in{ max-width: var(--max); margin: 0 auto; }
.sd-head{ text-align: center; margin-bottom: 56px; }
.sd-head h2{
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 30px);
  color: var(--navy); font-weight: 700;
  letter-spacing: .06em; line-height: 1.5; margin-top: 10px;
  text-wrap: pretty;
}

/* 概要（画像＋文章） */
.sd-overview{
  display: grid; gap: 40px;
  grid-template-columns: 1fr; align-items: center;
}
.sd-overview .ph{ aspect-ratio: 4/3; }
.sd-overview .num{
  font-family: var(--serif); color: var(--terra);
  font-size: 12px; letter-spacing: .2em; font-weight: 700; margin-bottom: 12px;
}
.sd-overview h2{
  font-family: var(--serif); font-size: clamp(24px, 3.4vw, 32px);
  color: var(--navy); font-weight: 700; letter-spacing: .06em;
  line-height: 1.5; margin-bottom: 20px; text-wrap: pretty;
}
.sd-overview p{
  font-size: 15px; color: #4a5a68; line-height: 2.1;
  letter-spacing: .03em; margin-bottom: 16px;
}
@media (min-width: 768px){
  .sd-overview{ grid-template-columns: 1fr 1fr; gap: 56px; }
  .sd-overview.flip .sd-ov-text{ order: 2; }
}

/* お悩みチップ */
.sd-worries{
  display: grid; gap: 12px; grid-template-columns: 1fr;
  max-width: 880px; margin: 0 auto;
}
.sd-worry{
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 22px;
  font-family: var(--serif); font-size: 14px;
  color: var(--navy); line-height: 1.85; letter-spacing: .04em;
}
.sd-section.white .sd-worry{ background: var(--bg); }
.sd-worry::before{ content:"「"; color: var(--terra); }
.sd-worry::after{ content:"」"; color: var(--terra); }
@media (min-width: 768px){ .sd-worries{ grid-template-columns: 1fr 1fr; } }

/* 含む内容（カードグリッド） */
.sd-includes{
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
.sd-inc{
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
}
.sd-section.beige .sd-inc{ background: var(--white); }
.sd-inc .ic{
  font-family: var(--serif); color: var(--terra);
  font-size: 13px; letter-spacing: .14em; font-weight: 700;
  margin-bottom: 12px;
}
.sd-inc h4{
  font-family: var(--serif); font-size: 16px; color: var(--navy);
  font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; line-height: 1.5;
}
.sd-inc p{ font-size: 13px; color: #5a6772; line-height: 1.95; }
@media (min-width: 768px){ .sd-includes{ grid-template-columns: 1fr 1fr; } }

/* 進め方ステップ */
.sd-steps{ display: grid; gap: 8px; max-width: 880px; margin: 0 auto; }
.sd-step{
  display: grid; gap: 18px; grid-template-columns: 64px 1fr; align-items: start;
  background: var(--white); border: 1px solid var(--line);
  padding: 24px; border-radius: var(--radius);
}
.sd-section.beige .sd-step{ background: var(--white); }
.sd-step .n{
  font-family: var(--serif); color: var(--terra); font-size: 24px;
  font-weight: 700; border-right: 1px solid var(--line);
  padding-right: 16px; line-height: 1; padding-top: 4px;
}
.sd-step h5{
  font-family: var(--serif); font-size: 15px; color: var(--navy);
  font-weight: 700; letter-spacing: .04em; margin-bottom: 6px;
}
.sd-step p{ font-size: 13px; color: #5a6772; line-height: 1.9; }

/* 料金プラン */
.sd-plans{ display: grid; gap: 20px; grid-template-columns: 1fr; }
.sd-plan{
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column;
}
.sd-section.beige .sd-plan{ background: var(--white); }
.sd-plan .pname{
  font-family: var(--serif); font-size: 17px; color: var(--navy);
  font-weight: 700; letter-spacing: .04em; margin-bottom: 6px;
}
.sd-plan .pamt{
  font-family: var(--serif); font-size: 26px; color: var(--terra);
  font-weight: 700; letter-spacing: .02em; margin-bottom: 16px;
}
.sd-plan .pamt small{ font-size: 13px; color: var(--muted); font-family: var(--sans); margin-left: 6px; }
.sd-plan ul{ list-style: none; flex: 1; }
.sd-plan ul li{
  position: relative; padding: 8px 0 8px 20px;
  font-size: 13px; color: var(--navy); line-height: 1.8;
  border-bottom: 1px dotted var(--line);
}
.sd-plan ul li:last-child{ border-bottom: none; }
.sd-plan ul li::before{
  content:""; position: absolute; left: 0; top: 16px;
  width: 8px; height: 1px; background: var(--terra);
}
@media (min-width: 768px){ .sd-plans{ grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.sd-faq{ max-width: 760px; margin: 0 auto; }
.sd-faq dl{ border-top: 1px solid var(--line); }
.sd-faq dt{
  font-family: var(--serif); font-size: 15px; color: var(--navy);
  font-weight: 700; padding: 24px 0 8px; letter-spacing: .04em;
}
.sd-faq dt::before{ content:"Q."; color: var(--terra); margin-right: 10px; font-family: var(--serif); font-weight: 700; }
.sd-faq dd{
  padding: 0 0 24px 26px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: #4a5a68; line-height: 1.95;
}
.sd-faq dd::before{ content:"A."; color: var(--muted); margin-right: 8px; font-family: var(--serif); font-weight: 700; }

/* 他サービスへの導線 */
.sd-other{ padding: 80px var(--gutter); background: var(--white); border-top: 1px solid var(--line); }
.sd-other-in{ max-width: var(--max); margin: 0 auto; }
.sd-other-grid{ display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 32px; }
.sd-other-card{
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: border-color .15s, transform .15s;
}
.sd-other-card:hover{ border-color: var(--terra); transform: translateY(-2px); }
.sd-other-card .t{
  font-family: var(--serif); font-size: 15px; color: var(--navy);
  font-weight: 700; letter-spacing: .04em;
}
.sd-other-card .t small{ display:block; font-family: var(--sans); font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 4px; letter-spacing: .04em; }
.sd-other-card .arr{ color: var(--terra); font-weight: 700; flex-shrink: 0; }
@media (min-width: 768px){ .sd-other-grid{ grid-template-columns: repeat(2, 1fr); } }

/* 料金カードをクリック可能に */
a.pricing-card{ text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.pricing-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--terra); }
a.pricing-card.feature:hover{ border-color: var(--terra); }
.pricing-card .more{
  margin-top: 18px; font-size: 12px; color: var(--terra);
  font-weight: 700; letter-spacing: .06em;
}
.pricing-card.feature .more{ color: #F2B79A; }
.pricing-card .more::after{ content:" →"; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; animation: none !important; }
}
