/* 花喜園 — A案「老舗の落ち着きと品格」
   縦書きの見出しと創業年の印を主役にし、ほかは静かに整える。左揃え。幅900pxでPCレイアウト。 */
:root {
  --sumi: #20261f;       /* 墨：文字 */
  --sumi-2: #3d443b;     /* 本文の薄墨 */
  --sub: #5b6357;        /* 補足 */
  --fukamidori: #1d3a2c; /* 深緑：面 */
  --shironezu: #e8eae3;  /* 白鼠：区切りの面 */
  --kiji: #f6f7f3;       /* 素地：地 */
  --mokume: #8a5f38;     /* 木目茶：印と差し色 */
  --line: #c9cec3;       /* 罫線 */
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--kiji); color: var(--sumi); font-family: var(--gothic); font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--mokume); outline-offset: 3px; }
.contact :focus-visible, .foot :focus-visible, .fixbar :focus-visible, .hero :focus-visible, .works :focus-visible { outline-color: #fff; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 700; line-height: 1.5; text-wrap: balance; margin: 0; }
p { margin: 0; }
.nobr { white-space: nowrap; }

/* ヘッダー */
.head { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: var(--kiji); border-bottom: 1px solid var(--line); }
.logo { display: block; flex-shrink: 0; line-height: 0; }
.logo-img { height: 32px; width: auto; }
.head-r { display: flex; align-items: center; gap: 14px; }
.tel-s { display: none; font-family: var(--mincho); font-weight: 700; text-decoration: none; white-space: nowrap; }
/* ハンバーガーメニュー：三本線が開くと×になる */
.menu-btn { appearance: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.menu-btn span { position: absolute; left: 10px; width: 24px; height: 1.5px; background: var(--sumi); }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21.5px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 21.5px; transform: rotate(-45deg); }
.nav { display: none; }
.nav.open { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--kiji); border-bottom: 1px solid var(--sumi); padding: 4px 24px 20px; box-shadow: 0 12px 24px rgba(32,38,31,.12); }
.nav a { text-decoration: none; padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--mincho); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; }
.nav a[aria-current="page"] { color: var(--mokume); }

/* ヒーロー（トップ）：写真の上に縦書き */
.hero { position: relative; min-height: 560px; display: grid; color: #fff; overflow: hidden; background: var(--fukamidori); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,32,24,.15) 0%, rgba(20,32,24,.55) 100%); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; padding: 40px 24px 32px; gap: 20px; }
.hero h1 { writing-mode: vertical-rl; font-size: 2.1rem; line-height: 1.6; letter-spacing: .18em; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.seal { align-self: flex-end; writing-mode: vertical-rl; border: 1.5px solid #fff; padding: 14px 8px; font-family: var(--mincho); font-size: .95rem; letter-spacing: .3em; background: rgba(29,58,44,.55); }
.seal b { font-weight: 800; }

/* 下層ページの見出し：写真の帯＋縦書きの暖簾 */
.phead { position: relative; min-height: 260px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--fukamidori); }
.phead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,24,.1) 20%, rgba(20,32,24,.72) 100%); }
.phead-in { position: relative; z-index: 1; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 28px 24px; }
.phead h1 { font-size: 1.75rem; letter-spacing: .06em; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.phead-sub { margin-top: 4px; font-size: .88rem; opacity: .92; }
.noren { writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 700; font-size: .9rem; letter-spacing: .32em; border: 1.5px solid #fff; padding: 12px 6px; background: rgba(29,58,44,.55); flex: none; }
.phead.plain { min-height: 0; background: var(--fukamidori); }
.phead.plain::after { display: none; }

/* 区画 */
.sec { padding: 56px 24px; }
.sec + .sec { padding-top: 0; }
.sec.alt { background: var(--shironezu); }
.sec.alt + .sec, .sec + .sec.alt { padding-top: 56px; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.sec h2 { font-size: 1.4rem; margin-bottom: 18px; }
.sec h3 { font-size: 1.1rem; }
.lead { max-width: 38em; color: var(--sumi-2); }
.lead + .lead { margin-top: 12px; }
.note { font-size: .82rem; color: var(--sub); margin-top: 12px; }
.textlink { font-weight: 700; color: var(--fukamidori); text-underline-offset: 4px; }

/* 導入（トップ） */
.intro { padding: 56px 24px 40px; }
.intro .wrap > * { max-width: 760px; }
.intro h2 { font-size: 1.45rem; line-height: 1.7; margin-bottom: 18px; }
.intro p { color: var(--sumi-2); }

/* 三つの仕事：写真＋縦の見出し */
.works { display: grid; gap: 2px; background: var(--line); border-block: 1px solid var(--line); }
.work { position: relative; display: grid; grid-template-columns: 1fr 112px; background: var(--kiji); text-decoration: none; min-height: 230px; }
.work img { width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.work-txt { display: flex; flex-direction: row-reverse; gap: 10px; padding: 16px 12px; background: var(--fukamidori); color: #fff; }
.work-txt h3 { writing-mode: vertical-rl; font-size: 1.15rem; letter-spacing: .14em; }
.work-txt small { writing-mode: vertical-rl; font-size: .78rem; letter-spacing: .1em; opacity: .85; }
.work:hover .work-txt, .work:focus-visible .work-txt { background: #244a38; }

/* 事実の一覧 */
.trust { display: grid; gap: 36px; }
.trust p { color: var(--sumi-2); }
.trust p + p { margin-top: 12px; }
.facts { margin: 0; display: grid; border-top: 1px solid var(--sumi); }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .85rem; color: var(--sub); }
.facts dd { margin: 0; font-family: var(--mincho); font-weight: 700; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.facts dd small { display: block; font-family: var(--gothic); font-weight: 400; font-size: .82rem; color: var(--sub); }

/* 強み：罫線で区切った項目 */
.points { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--sumi); }
.points li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.points h3 { font-size: 1.12rem; }
.points p { color: var(--sumi-2); }

/* 流れ：漢数字の順番 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.flow li { display: grid; grid-template-columns: 2.6em 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.flow li:first-child { border-top: 1px solid var(--sumi); }
.flow .num { font-family: var(--mincho); font-weight: 800; font-size: 1.6rem; line-height: 1.2; color: var(--mokume); }
.flow h3 { font-size: 1.05rem; margin-bottom: 4px; }
.flow p { color: var(--sumi-2); font-size: .94rem; }
.flow figure { margin: 12px 0 0; }

/* 写真 */
.ph { position: relative; margin: 0; }
.ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph.pos-low img { object-position: 50% 86%; }
.ph.tall img { aspect-ratio: 3 / 4; }
.ph figcaption { font-size: .82rem; color: var(--sub); margin-top: 6px; }
.kari-mark { position: absolute; left: 8px; top: 8px; background: var(--sumi); color: var(--kiji); font-size: .7rem; font-weight: 700; padding: 2px 8px; z-index: 2; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid.three { grid-template-columns: 1fr 1fr; }
.grid > .ph:last-child:nth-child(odd) { grid-column: 1 / -1; }
.split { display: grid; gap: 28px; }

/* 作業前・作業後 */
.ba-list { display: grid; gap: 28px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba .ph img { aspect-ratio: 3 / 4; }
.ba-label { position: absolute; left: 0; top: 0; z-index: 2; background: var(--fukamidori); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; }
.ba .ph:last-child .ba-label { background: var(--mokume); }

/* 料金表 */
.price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-scroll { overflow-x: auto; }
.price th, .price td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price tr:first-child th, .price tr:first-child td { border-top: 1px solid var(--sumi); }
.price th { font-weight: 400; padding-right: 16px; color: var(--sumi-2); }
.price th small { display: block; font-size: .8rem; color: var(--sub); }
.price td { font-family: var(--mincho); font-weight: 700; font-size: 1.1rem; white-space: nowrap; text-align: right; }
.price td small { font-family: var(--gothic); font-weight: 400; font-size: .75rem; color: var(--sub); margin-left: 2px; }
.tbc { display: inline-block; font-family: var(--gothic); font-size: .7rem; font-weight: 700; color: var(--mokume); border: 1px solid var(--mokume); padding: 0 6px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }

/* 植物の区分 */
.kinds { display: grid; gap: 36px; }
.kind { display: grid; gap: 14px; }
.kind-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; border-bottom: 1px solid var(--sumi); padding-bottom: 8px; }
.kind-head h3 { font-size: 1.3rem; }
.kind-price { font-family: var(--mincho); font-weight: 700; font-variant-numeric: tabular-nums; }
.kind-price small { font-family: var(--gothic); font-weight: 400; font-size: .75rem; color: var(--sub); }
.kind p { color: var(--sumi-2); }

/* 沿革 */
.history { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--mokume); }
.history li { position: relative; display: grid; gap: 2px; padding: 0 0 22px 22px; }
.history li::before { content: ""; position: absolute; left: -5px; top: .55em; width: 9px; height: 9px; background: var(--mokume); border-radius: 50%; }
.history b { font-family: var(--mincho); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.history span { color: var(--sumi-2); }

/* 代表挨拶 */
.greeting { display: grid; gap: 20px; }
.greeting-body p { color: var(--sumi-2); line-height: 2.05; }
.greeting-body p + p { margin-top: 14px; }
.sign { margin-top: 18px; font-family: var(--mincho); font-weight: 700; text-align: right; }
.sign small { display: block; font-family: var(--gothic); font-weight: 400; font-size: .8rem; color: var(--sub); }

.map { width: 100%; height: 320px; border: 0; display: block; margin-top: 20px; filter: grayscale(.25); }

/* 問い合わせの窓口 */
.ways { display: grid; gap: 2px; background: var(--line); border-block: 1px solid var(--line); }
.way { background: var(--kiji); padding: 22px 0; display: grid; gap: 4px; }
.way h3 { font-size: 1rem; color: var(--sub); font-family: var(--gothic); }
.way .big { font-family: var(--mincho); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.way p { color: var(--sumi-2); font-size: .92rem; }
.soon { justify-self: start; display: inline-block; font-weight: 700; color: var(--sub); border: 1px dashed var(--sub); padding: 6px 14px; font-size: .9rem; }

/* 相談の帯 */
.contact { background: var(--fukamidori); color: #fff; padding: 48px 24px; }
.contact .wrap { display: grid; gap: 22px; }
.contact h2 { font-size: 1.35rem; }
.contact p { opacity: .9; margin-top: 8px; }
.btns { display: grid; gap: 12px; }
.btn { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 16px 20px; text-decoration: none; border: 1px solid rgba(255,255,255,.6); font-weight: 700; }
.btn small { font-weight: 400; opacity: .85; font-size: .8rem; }
.btn.light { background: var(--kiji); color: var(--fukamidori); border-color: var(--kiji); }
.btn:hover { border-color: #fff; }
.btn.deep { background: var(--fukamidori); color: #fff; border-color: var(--fukamidori); justify-self: start; }
.btn.deep:hover { background: var(--sumi); border-color: var(--sumi); }

/* フッター */
.foot { background: var(--sumi); color: #d9ddd5; padding: 40px 24px 96px; font-size: .85rem; }
.foot .wrap { display: grid; gap: 24px; }
.foot-name { line-height: 0; margin-bottom: 14px; }
.foot-name img { height: 35px; width: auto; }
.foot address { font-style: normal; line-height: 1.9; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot nav a { text-decoration: none; }
.foot small { color: #9aa196; }

/* スマホ下部の固定ボタン */
.fixbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--fukamidori); border-top: 1px solid rgba(255,255,255,.25); }
.fixbar a { display: grid; place-items: center; padding: 12px 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; }
.fixbar a + a { border-left: 1px solid rgba(255,255,255,.25); }
.fixbar a.light { background: var(--kiji); color: var(--fukamidori); }

@media (min-width: 900px) {
  body { font-size: 16px; }
  .head { padding: 16px 48px; }
  .tel-s { display: inline; }
  .sec, .intro { padding-left: 48px; padding-right: 48px; }
  .sec { padding-top: 88px; padding-bottom: 88px; }
  .sec.alt + .sec, .sec + .sec.alt { padding-top: 88px; }
  .sec h2 { font-size: 1.8rem; margin-bottom: 24px; }
  .hero { min-height: 640px; }
  .hero-inner { padding: 64px 72px 48px; }
  .hero h1 { font-size: 3rem; }
  .phead { min-height: 380px; }
  .phead-in { padding: 40px 48px; }
  .phead h1 { font-size: 2.4rem; }
  .noren { font-size: 1.05rem; padding: 16px 8px; }
  .intro { padding-top: 96px; padding-bottom: 64px; }
  .intro h2 { font-size: 2rem; }
  .works { grid-template-columns: repeat(3, 1fr); }
  .work { grid-template-columns: 1fr 120px; min-height: 360px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 72px; }
  .points { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .grid { gap: 20px; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.three > .ph:last-child:nth-child(odd) { grid-column: auto; }
  .flow figure { max-width: 480px; }
  .kinds { gap: 56px; }
  .ba-list { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 36px; }
  .kind { grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
  .greeting { grid-template-columns: 14em 1fr; gap: 56px; }
  .map { height: 380px; }
  .ways { grid-template-columns: repeat(3, 1fr); background: none; border: 0; gap: 32px; }
  .way { border-top: 1px solid var(--sumi); }
  .contact { padding: 72px 48px; }
  .contact .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .contact h2 { font-size: 1.7rem; }
  .logo-img { height: 40px; }
  .foot { padding: 56px 48px 40px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .fixbar { display: none; }
}
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .nav, .nav.open { display: flex; position: static; gap: 26px; padding: 0; border: 0; background: none; font-size: .9rem; }
  .nav a { padding: 0; border: 0; font-family: var(--gothic); font-weight: 400; font-size: .9rem; letter-spacing: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .menu-btn span { transition: transform .25s ease, top .25s ease, opacity .2s ease; }
  .hero h1 { animation: rise 1.4s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
}
