/* Studio Suginomori 公式サイト 共通の見た目（2026-10）
   色と書体は 2026-08 に OK の分（生成り×墨×深緑、Shippori Mincho B1＋Zen Kaku Gothic New）。
   深緑は名刺と同じ値。強い面は「できること」の1か所だけにする */
:root {
  --ink: #23231f;
  --ink-soft: #55554e;
  --paper: #f7f6f1;
  --paper-deep: #efede5;
  --cedar: #1f3d2e;
  --cedar-hover: #2a4f3c;
  --cedar-soft: #3d5c4a;
  --line: #d9d6ca;
  --on-cedar: #f3f1e8;
  --on-cedar-soft: #c8d5cb;
  --on-cedar-line: #3d5c4a;
  --focus: #b43a2b;
  --col: 680px;
  --gutter: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* 名刺の表と同じく、ページの左端に深緑の帯を通す（節の文字の位置がそろう） */
body {
  border-left: 8px solid var(--cedar);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: calc(var(--col) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
/* 日本語の見出しを句の切れ目で折る */
.nb { display: inline-block; }

@media (min-width: 760px) { body { border-left-width: 14px; } }

/* ---------- 最初の画面 ---------- */
.hero .wrap { padding-top: 40px; padding-bottom: 44px; }
.logo { display: inline-block; font-size: 11.5px; letter-spacing: 0.3em; color: var(--cedar-soft); text-decoration: none; line-height: 1.6; }
.hero h1 {
  font-family: "Shippori Mincho B1", "Yu Mincho", serif;
  font-weight: 600;
  font-size: clamp(27px, 6.6vw, 42px);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-top: 26px;
}
.hero-lede { margin-top: 16px; color: var(--ink-soft); font-size: 14.5px; max-width: 34em; }
.who { margin-top: 28px; }
.who-name { font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-size: 20px; font-weight: 600; letter-spacing: 0.12em; line-height: 1.4; }
.who-kana { font-size: 11px; letter-spacing: 0.36em; color: var(--ink-soft); line-height: 1.6; margin-top: 4px; }
.who-title { font-size: 13px; color: var(--cedar); letter-spacing: 0.04em; margin-top: 8px; }
.cta {
  display: block;
  max-width: 360px;
  margin-top: 26px;
  padding: 14px 16px;
  text-align: center;
  background: var(--cedar);
  color: var(--on-cedar);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-radius: 4px;
}
.cta:hover { background: var(--cedar-hover); }
.jump { display: flex; gap: 22px; margin-top: 14px; font-size: 13.5px; }
.jump a { color: var(--cedar); text-decoration: none; border-bottom: 1px solid var(--line); }
.jump a:hover { border-bottom-color: var(--cedar); }
@media (min-width: 760px) {
  .hero .wrap { padding-top: 76px; padding-bottom: 68px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > * { animation: rise 0.6s ease both; }
  .hero .wrap > *:nth-child(n+3) { animation-delay: 0.1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- 節 ---------- */
.sec { padding: 44px 0; border-top: 1px solid var(--line); }
.sec h2 { font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-weight: 600; font-size: 22px; letter-spacing: 0.06em; line-height: 1.5; }
.sec h3 { font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-weight: 600; font-size: 17px; letter-spacing: 0.04em; line-height: 1.5; margin-top: 32px; }
.sec-lead { margin-top: 10px; font-size: 14px; color: var(--ink-soft); max-width: 36em; }
.small-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); }
@media (min-width: 760px) {
  .sec { padding: 64px 0; }
  .sec h2 { font-size: 25px; }
}

/* ---------- 事例の一覧（トップ） ---------- */
.cases { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); }
/* 画像は画面を切り抜かずに並べた物（全体が分かるように）。スマホは上、PC は左 */
.case { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); align-items: start; }
.case-img { width: 100%; border-radius: 4px; }
.case-fig figcaption { margin-top: 6px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.7; }
.case-title { font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-weight: 600; font-size: 17px; color: var(--cedar); line-height: 1.5; letter-spacing: 0.02em; }
.case-title a { text-decoration: none; }
/* 行のどこを押しても詳細ページへ */
.case-title a::after { content: ""; position: absolute; inset: 0; }
.case-client { font-size: 12px; color: var(--ink-soft); margin-top: 2px; line-height: 1.7; }
.case-text { font-size: 14px; margin-top: 8px; line-height: 1.85; }
.case-more { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--cedar); border-bottom: 1px solid var(--line); line-height: 1.6; }
.case:hover .case-more { border-bottom-color: var(--cedar); }
@media (min-width: 760px) {
  .case { grid-template-columns: 340px 1fr; gap: 28px; padding: 28px 0; }
}

/* ---------- 減らせる作業の例 ---------- */
.tasks { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); }
.tasks li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.task-before { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.task-after { position: relative; margin-top: 4px; padding-left: 1.3em; font-size: 14px; font-weight: 500; color: var(--cedar); line-height: 1.8; }
.task-after::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 0.8em; height: 1px; background: var(--cedar); }
@media (min-width: 760px) {
  .tasks li { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .task-after { margin-top: 0; }
}
/* 後ろの4つは押すと開く */
.tasks-more summary { list-style: none; cursor: pointer; position: relative; padding: 14px 32px 14px 0; font-size: 13.5px; color: var(--cedar); border-bottom: 1px solid var(--line); line-height: 1.7; }
.tasks-more summary::-webkit-details-marker { display: none; }
.tasks-more summary::after {
  content: ""; position: absolute; right: 8px; top: 21px; width: 8px; height: 8px;
  border-right: 1.5px solid var(--cedar-soft); border-bottom: 1.5px solid var(--cedar-soft);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.tasks-more[open] summary::after { transform: rotate(-135deg); top: 25px; }
.tasks-more .tasks { margin-top: 0; border-top: none; }

/* ---------- できること（名刺の裏と同じ深緑） ---------- */
.sec--green { background: var(--cedar); color: var(--on-cedar); border-top: none; }
.sec--green h2 { color: var(--on-cedar); }
.menu { list-style: none; margin-top: 22px; display: grid; gap: 20px; }
.menu-t { display: block; font-weight: 700; font-size: 17px; letter-spacing: 0.04em; line-height: 1.45; }
.menu-d { display: block; margin-top: 3px; font-size: 13.5px; color: var(--on-cedar-soft); line-height: 1.7; }
.menu-more { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--on-cedar-line); font-size: 13px; color: var(--on-cedar-soft); line-height: 1.9; max-width: 38em; }
.menu-foot { margin-top: 14px; font-size: 14px; font-weight: 500; }
@media (min-width: 760px) {
  .menu { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
}

/* ---------- 料金 ---------- */
.price { margin-top: 20px; border-top: 1px solid var(--line); }
.price-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-row dt { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-weight: 600; font-size: 16px; letter-spacing: 0.04em; line-height: 1.6; }
.price-num { font-size: 20px; font-weight: 700; color: var(--cedar); white-space: nowrap; }
.price-row dd { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }

/* ---------- 押すと開く問い ---------- */
.faq { margin-top: 16px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 15px 36px 15px 0; font-weight: 500; font-size: 15px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 22px; width: 8px; height: 8px;
  border-right: 1.5px solid var(--cedar-soft); border-bottom: 1.5px solid var(--cedar-soft);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq details p { padding: 0 0 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.95; max-width: 38em; }

/* ---------- プロフィール ---------- */
.profile-name { margin-top: 18px; font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-size: 21px; font-weight: 600; letter-spacing: 0.12em; line-height: 1.4; }
.profile-kana { font-size: 11px; letter-spacing: 0.36em; color: var(--ink-soft); margin-top: 4px; }
.profile-text { margin-top: 14px; font-size: 14px; color: var(--ink-soft); max-width: 36em; }

/* ---------- 相談 ---------- */
.sec--contact { background: var(--paper-deep); }
.contact-text { margin-top: 12px; font-size: 14px; color: var(--ink-soft); max-width: 36em; }
.contact-list { list-style: none; margin-top: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; padding: 5px 0; font-size: 15px; }
.contact-label { flex-shrink: 0; width: 3.6em; font-size: 11.5px; letter-spacing: 0.2em; color: var(--ink-soft); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-bottom-color: var(--ink); }

footer { padding: 26px 0 40px; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-soft); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { text-decoration: none; }

/* ---------- 事例の詳細ページ ---------- */
.dhead .wrap { padding-top: 26px; padding-bottom: 36px; }
.back { font-size: 13px; color: var(--cedar); text-decoration: none; border-bottom: 1px solid var(--line); }
.back:hover { border-bottom-color: var(--cedar); }
.dhead h1 { margin-top: 26px; font-family: "Shippori Mincho B1", "Yu Mincho", serif; font-weight: 600; font-size: clamp(25px, 6vw, 36px); line-height: 1.5; letter-spacing: 0.04em; }
.dhead .client { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.dhead .lead { margin-top: 16px; font-size: 14.5px; max-width: 36em; }
@media (min-width: 760px) {
  .dhead .wrap { padding-top: 40px; padding-bottom: 52px; }
}

/* 導入前と導入後 */
.ba { display: grid; gap: 12px; margin-top: 16px; }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.ba-row > div { padding: 12px 14px; font-size: 13.5px; line-height: 1.8; }
.ba-before { background: var(--paper-deep); color: var(--ink-soft); }
.ba-after { background: #fff; border-left: 1px solid var(--line); }
.ba-row b { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; }
.ba-before b { color: #7a776a; }
.ba-after b { color: var(--cedar); }
@media (max-width: 520px) {
  .ba-row { grid-template-columns: 1fr; }
  .ba-after { border-left: none; border-top: 1px solid var(--line); }
}

/* 流れ（順番がある物だけ番号を付ける） */
.flow { list-style: none; counter-reset: step; margin-top: 16px; display: grid; gap: 8px; }
.flow li { counter-increment: step; display: grid; grid-template-columns: 1.8em 1fr; align-items: baseline; font-size: 14px; line-height: 1.7; }
.flow li::before { content: counter(step); font-family: "Shippori Mincho B1", serif; font-weight: 700; color: var(--cedar); }
.flow-note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); max-width: 36em; }

.fx { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.fx li { position: relative; padding-left: 1.3em; font-size: 14px; line-height: 1.8; }
.fx li::before { content: ""; position: absolute; left: 0.15em; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--cedar); }

.shot { margin-top: 18px; }
.shot img { width: 100%; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.shot.narrow img { max-width: 320px; margin: 0 auto; }
.shot figcaption, .gallery figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-soft); line-height: 1.7; }
.shot figcaption { text-align: center; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.gallery img { width: 100%; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.next { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-size: 13.5px; }
.next a { color: var(--cedar); text-decoration: none; border-bottom: 1px solid var(--line); }
.next a:hover { border-bottom-color: var(--cedar); }
