/* ==========================================================================
   小樽書道教室｜書道研究 臥牛社  -  V1（demo1ベース／静謐な余白）
   ========================================================================== */

:root {
  --ink: #3b2d22;
  --soft: #756250;
  --paper: #fbf6ec;
  --panel: #fffdf8;
  --line: #d6c8a8;
  --moss: #627f48;
  --moss-dark: #465e34;
  --red: #b9522a;
  --gold: #d0b067;
  --shadow: 0 24px 70px rgba(63, 45, 26, .12);
  --shadow-soft: 0 18px 45px rgba(63, 45, 26, .1);
  --shadow-card: 0 18px 40px rgba(63, 45, 26, .07);
  font-family: "Noto Serif JP", "Shippori Mincho", serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--moss-dark); }
p { line-height: 2; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================  Header  ========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 44px 10px;
  background: rgba(255, 253, 248, 0);
  border-bottom: 1px solid transparent;
  box-shadow: 0 0 0 rgba(63, 45, 26, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  /* 初期は上に隠す */
  transform: translateY(-100%);
  pointer-events: none;
  transition:
    transform .45s cubic-bezier(.4, .15, .2, 1),
    background-color .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    backdrop-filter .35s ease;
}
.site-header.scrolled {
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(255, 253, 248, .97);
  border-bottom-color: rgba(214, 200, 168, .9);
  box-shadow: 0 8px 28px rgba(63, 45, 26, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand img {
  width: 38px;
  height: auto;
  display: block;
}
.site-header nav {
  display: flex;
  gap: clamp(20px, 2.6vw, 44px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: .24em;
  font-family: "Shippori Mincho", serif;
}
.site-header nav a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover { border-bottom-color: var(--moss); }
.nav-cta {
  color: var(--red);
  font-weight: 400;
}
.nav-cta:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-ig {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  padding: 0 !important;
}
.nav-ig:hover { color: var(--moss-dark); border-bottom-color: transparent; }
.nav-ig svg { display: block; width: 20px; height: 20px; }

/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
}

.mobile-menu[hidden] { display: none !important; }
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(251, 246, 236, .98);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
}
.mobile-menu a {
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  letter-spacing: .15em;
}

/* =========================  Fixed Vertical Copy  ========================= */
.fixed-copy {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 12;
  display: none;
}
.fixed-copy p {
  writing-mode: vertical-rl;
  position: absolute;
  margin: 0;
  letter-spacing: .42em;
  line-height: 1.7;
  /* 焦茶文字 + クリームの薄い縁取りで、どの背景でも読みやすく */
  color: var(--ink);
  text-shadow:
    1px 1px 0 rgba(255, 253, 248, .9),
    -1px -1px 0 rgba(255, 253, 248, .9),
    1px -1px 0 rgba(255, 253, 248, .9),
    -1px 1px 0 rgba(255, 253, 248, .9),
    0 0 6px rgba(255, 253, 248, .7);
}
.fixed-copy .right {
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}
.fixed-copy .left {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
}
@media (min-width: 980px) {
  .fixed-copy { display: block; }
}

/* =========================  Hero  ========================= */
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 56px 42px;
  position: relative;
}
.hero-photo {
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================  Sections (common)  ========================= */
main { overflow: hidden; }
section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 72px;
}

/* 横長バナー（セクション間の写真帯） */
section.full-banner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}
.full-banner img {
  width: 100%;
  height: clamp(320px, 46vh, 600px);
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
@media (max-width: 820px) {
  .full-banner img {
    height: clamp(200px, 30vh, 340px);
  }
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--moss);
  font: 600 12px/1 "Rubik", sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 28px;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: .12em;
  line-height: 1.55;
}
h2 small {
  font-size: 0.5em;
  letter-spacing: .1em;
  margin-left: 8px;
  color: var(--soft);
}
h3 {
  margin: 0 0 16px;
  font-size: 20px;
  letter-spacing: .12em;
}

/* =========================  Intro / Greeting  ========================= */
.intro-grid,
.split,
.classroom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr);
  gap: 48px;
  align-items: center;
}
.intro-body p {
  /* ご挨拶の本文：パソコン約19px／スマホ約17px */
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 2.1;
  letter-spacing: .05em;
  margin: 0 0 1.4em;
  color: var(--ink);
}
.intro-body p:last-child { margin-bottom: 0; }
/* 画面の小さいスマホ（iPhone SE など）では改行位置が崩れないよう少しだけ詰める */
@media (max-width: 380px) {
  .intro-body p { font-size: 16px; letter-spacing: .02em; }
}
.intro-body br { display: inline; }
@media (min-width: 821px) {
  .intro-body br { display: block; }
}
.intro figure,
.split figure,
.lesson figure,
.classroom-grid article img {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.intro img,
.split img,
.lesson figure img,
.classroom-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* =========================  Reasons  ========================= */
.reasons {
  max-width: 1220px;
  padding-top: 56px;
}
.reason-item:last-of-type {
  margin-bottom: 0;
}
.reason-heading {
  margin: 0 0 58px;
  padding: 28px 24px;
  text-align: center;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, .22) 0,
      rgba(255, 255, 255, .22) 13px,
      rgba(214, 200, 168, .18) 13px,
      rgba(214, 200, 168, .18) 26px
    ),
    #efe6d4;
}
.reason-heading .eyebrow {
  margin-bottom: 10px;
}
.reason-heading h2 {
  margin: 0;
  color: var(--soft);
  text-shadow: 0 2px 0 rgba(255, 255, 255, .82);
}
.reason-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  margin: 0 0 74px;
}
.reason-item.reverse {
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1fr);
}
.reason-item.reverse .reason-text { order: 2; }
.reason-item.reverse .oval-photo { order: 1; }
.reason-text {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  align-items: start;
}
.reason-badge {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.22) 0 50%, transparent 50% 100%),
    var(--gold);
  font-weight: 700;
  line-height: 1.32;
  text-align: center;
  letter-spacing: .04em;
}
.reason-text h3 {
  margin: 0 0 22px;
  color: #8b5a2d;
  font-size: clamp(24px, 3.4vw, 39px);
  line-height: 1.45;
  letter-spacing: .08em;
}
.reason-text p {
  margin: 0;
  color: var(--soft);
  font-weight: 500;
  letter-spacing: .04em;
}
.oval-photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 1.62 / 1;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(63, 45, 26, .12);
}
.oval-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reason-item:nth-of-type(3) .oval-photo img {
  object-position: center 36%;
}

/* =========================  Master  ========================= */
.master-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 72px;
  text-align: center;
}
.master-section .eyebrow {
  text-align: center;
}
.master-title {
  margin: 0 0 48px;
  font-weight: 500;
  font-size: clamp(30px, 4.8vw, 56px);
  letter-spacing: .22em;
  line-height: 1.4;
  text-align: center;
}
.master-title small {
  display: inline;
  font-size: .42em;
  letter-spacing: .14em;
  color: var(--soft);
  margin-left: .15em;
  font-weight: 400;
  vertical-align: .1em;
}
.master-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
  text-align: left;
  margin-top: 16px;
}
/* 写真は元の縦横比（2:3）のまま。右の文章が長くなっても引き伸ばさない */
.master-photo {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.master-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.master-bio {
  margin: 0 0 16px;
  line-height: 2.05;
}

/* Split (legacy) */
.split { grid-template-columns: .78fr 1fr; }
.split small {
  display: inline;
  font-size: 15px;
  color: var(--soft);
}

.panel,
.price,
details,
.classroom-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.panel {
  padding: 22px 24px;
  margin: 28px 0;
}
.panel p {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.panel p:last-child { border-bottom: 0; }
/* 主宰の枠：「主な受賞」「現在の活動」の小見出し */
.panel p { word-break: keep-all; overflow-wrap: anywhere; }
.panel .panel-label {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--moss);
  font: 600 13px/1.4 "Noto Sans JP", sans-serif;
  letter-spacing: .24em;
}
.panel .panel-label ~ .panel-label { margin-top: 22px; }
.panel p:has(+ .panel-label) { border-bottom: 0; }

details {
  padding: 0;
  margin: 16px 0;
}
summary {
  cursor: pointer;
  padding: 18px 22px;
  background: #ebe5d3;
  list-style: none;
  letter-spacing: .14em;
  text-align: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: " ▾";
  color: var(--moss);
}
details[open] summary::after { content: " ▴"; }
details > *:not(summary) {
  margin-left: 24px;
  margin-right: 24px;
}
details ul {
  padding: 0 0 18px 20px;
}
details ul li {
  list-style: disc;
  margin: 6px 0;
}

/* =========================  Work / Order  ========================= */
.work { max-width: 920px; }
.work-fold { margin: 24px 0 0; }
.work-fold[open] { padding-bottom: 18px; }
.work-fold .work-lead {
  margin: 22px 24px 12px !important;
  line-height: 1.95;
}
.work-fold .flow {
  margin: 18px 24px 4px !important;
}
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 32px 0 0;
  counter-reset: step;
}
.flow li {
  list-style: none;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  counter-increment: step;
  text-align: center;
}
.flow li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--moss);
  font: 600 13px/1 "Rubik", sans-serif;
  letter-spacing: .2em;
}

/* =========================  Lesson  ========================= */
.lesson { max-width: 1180px; }
.lesson-head { max-width: none; text-align: center; }
.lesson-head > p { max-width: 760px; margin-left: auto; margin-right: auto; }
.lesson-head h2 {
  white-space: nowrap;
  font-size: clamp(22px, 3.6vw, 42px);
  letter-spacing: .1em;
  text-align: center;
}

/* お稽古セクションのメイン写真を画面いっぱいに広げる */
.lesson > figure {
  position: relative;
  width: 100vw;
  left: 50%;
  margin: 48px 0 48px -50vw;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  overflow: hidden;
  line-height: 0;
}
.lesson > figure img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
@media (max-width: 820px) {
  .lesson > figure img {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 820px) {
  .lesson-head h2 {
    white-space: normal;
    font-size: clamp(20px, 5.4vw, 30px);
  }
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.price {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.price > .price-head {
  margin: 0;
  padding: 18px 22px;
  background: #ebe5d3;
  letter-spacing: .14em;
  text-align: center;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.price-body {
  padding: 18px 24px 22px;
}
.price h3 {
  color: var(--moss-dark);
  margin: 0 0 12px;
  font-size: 17px;
}
.price p { margin: 8px 0; }
.price b {
  display: inline-block;
  min-width: 2.4em;
  font-weight: 600;
}
.price small {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 12px;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0;
}

/* お稽古カレンダー */
.calendar-block {
  margin: 48px auto 0;
  max-width: 820px;
}
.calendar-title {
  text-align: center;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--moss-dark);
  margin: 0 0 20px;
}
.calendar-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 10px;
}
.calendar-frame iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}
@media (max-width: 820px) {
  .calendar-frame iframe { height: 460px; }
}
.feature-row p {
  margin: 0;
  padding: 18px;
  background: #f0e7d4;
  border-left: 3px solid var(--moss);
  line-height: 1.7;
}
/* お稽古：無料体験の案内 */
.trial-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin: 30px 0;
  padding: 22px 28px;
  background: #f0e7d4;
  border-left: 3px solid var(--moss);
  text-align: left;
}
.trial-note p { margin: 0; line-height: 1.8; }
.trial-note p span { display: inline-block; }
/* 講師紹介の肩書きは言葉の途中で折り返さない */
.teacher p { word-break: keep-all; overflow-wrap: anywhere; }
.trial-note b {
  display: block;
  color: var(--moss-dark);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .16em;
}
.trial-note .cta-button { margin-top: 0; padding: 14px 36px; }
@media (max-width: 520px) {
  .trial-note { padding: 20px; }
  .trial-note .cta-button { width: 100%; text-align: center; }
}
.schedule-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.schedule-stack details { margin: 0; }

.cards > .teacher { margin: 0; max-width: none; }
.teacher[open] { padding-bottom: 18px; }
.teacher img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  margin: 18px auto 12px;
  display: block;
}
.teacher > div {
  text-align: center;
  margin-left: 18px !important;
  margin-right: 18px !important;
}
.teacher b {
  display: block;
  font-size: 15px;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.teacher > div p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--soft);
}

/* =========================  Classrooms  ========================= */
.classrooms { max-width: 1120px; }
.classroom-grid { align-items: stretch; }
.classroom-grid article { padding: 24px; }
.classroom-grid article:first-child { padding-top: 12px; }
.classroom-grid article h3 {
  margin: 18px 0 12px;
  color: var(--ink);
}
.classroom-grid article p {
  color: var(--soft);
  margin: 0;
  line-height: 2;
}
.classroom-grid article a {
  color: var(--moss-dark);
  border-bottom: 1px solid currentColor;
}

/* =========================  Contact  ========================= */
.contact {
  margin: 40px auto 0;
  background: #efe6d4;
  text-align: center;
}
form {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin: 30px auto 0;
}
input, textarea, button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 15px 16px;
  font: inherit;
  background: #fffdf8;
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--moss);
}
textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.7;
}
button {
  cursor: pointer;
  background: var(--moss-dark);
  color: #fff;
  border-color: var(--moss-dark);
  letter-spacing: .32em;
  transition: background .2s;
}
button:hover {
  background: var(--moss);
}

/* =========================  Footer  ========================= */
footer {
  padding: 70px 24px 40px;
  text-align: center;
  color: var(--soft);
  background: var(--paper);
}
footer img {
  width: 82px;
  margin: 0 auto 24px;
}
footer p {
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
}

/* =========================  Responsive  ========================= */
@media (max-width: 820px) {
  .site-header { padding: 14px 18px; }
  .site-header nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 16px 50px 30px; }
  .hero-photo { min-height: 0; height: auto; }
  section { padding: 76px 22px; }
  .intro-grid, .split, .classroom-grid, .cards, .feature-row {
    grid-template-columns: 1fr;
  }
  .reason-item,
  .reason-item.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 58px;
  }
  .reason-item.reverse .reason-text,
  .reason-item.reverse .oval-photo {
    order: initial;
  }
  .reason-text {
    grid-template-columns: 62px 1fr;
    gap: 16px;
  }
  .reason-badge {
    width: 58px;
    height: 58px;
    font-size: 14px;
  }
  .oval-photo {
    max-width: 620px;
    margin: 0 auto;
  }
  .flow { grid-template-columns: 1fr 1fr; }
  /* 主宰：スマホでは写真と経歴を縦に並べる */
  .master-section { padding: 60px 22px; }
  .master-title { margin-bottom: 32px; }
  .master-grid { grid-template-columns: 1fr; gap: 28px; }
  .master-photo { max-width: 360px; width: 100%; margin: 0 auto; }
}

@media (max-width: 520px) {
  .brand { font-size: 12px; }
  .brand img { width: 30px; }
  .reason-heading {
    margin-bottom: 38px;
    padding: 22px 16px;
  }
  .reason-text {
    display: block;
  }
  .reason-badge {
    margin-bottom: 18px;
  }
  .reason-text h3 {
    font-size: 22px;
  }
  .oval-photo {
    aspect-ratio: 1.35 / 1;
  }
  .flow { grid-template-columns: 1fr; }
}

/* トップページ「書道作品のご依頼」→ 詳細ページへのボタン */
.work-more { text-align: center; margin: 28px 0 0; }

/* =========================  書道作品のご依頼ページ（order.html）  ========================= */
.page-order main .eyebrow,
.page-order main h2 { text-align: center; }

.cta-button {
  display: inline-block;
  margin-top: 18px;
  padding: 16px 48px;
  background: var(--moss-dark);
  color: #fff;
  letter-spacing: .2em;
}
.cta-button:hover { background: var(--moss); color: #fff; }

/* 写真の上に文字を載せる帯（共通） */
section.dark-band,
section.order-hero {
  position: relative;
  max-width: none;
  overflow: hidden;
  color: #fff;
}
.band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
.dark-band::before,
.order-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(40, 30, 22, .72);
}
.band-inner,
.order-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.dark-band h2 { color: #fff; }
.page-order .dark-band .eyebrow,
.page-order .order-hero .eyebrow { color: #cfe0b9; }

/* ページタイトル */
section.order-hero {
  padding: 150px 24px 110px;
  text-align: center;
}
.order-hero .band-bg { object-position: center 55%; }
.order-hero h1 {
  margin: 0 0 18px;
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 54px);
  letter-spacing: .22em;
}
.order-hero-sub {
  margin: 0 0 22px;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: .16em;
}
.order-hero-lead { margin: 0; line-height: 2.1; opacity: .92; }
.breadcrumb {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 8px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1.6;
}
.breadcrumb a { color: var(--ink); }

/* はじめに（写真＋文章） */
section.order-intro {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  gap: 56px;
  align-items: center;
}
.page-order .order-intro h2 { text-align: left; font-size: clamp(24px, 3.2vw, 36px); }
.order-intro-photo {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.order-intro-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.order-intro p { line-height: 2.1; }
.order-intro-sign { margin-top: 20px; color: var(--soft); font-size: 14px; }

/* 臥牛社にできること */
section.order-points { padding: 90px 24px; }
.points { margin: 40px 0 0; padding: 0; }
.points li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.points li:last-child { border-bottom: 0; }
.num {
  font: 400 44px/1 "Shippori Mincho", serif;
  letter-spacing: 0;
}
.num::after { content: " /"; font-size: .7em; opacity: .7; }
.points b { display: block; font-size: 20px; letter-spacing: .12em; margin: 4px 0 6px; }
.points p { margin: 0; line-height: 1.95; opacity: .9; }

/* 承る作品カード */
.order-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.order-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.order-card:hover { color: #fff; }
.order-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: transform .6s ease, opacity .3s ease;
}
.order-card:hover img { transform: scale(1.05); opacity: .42; }
.order-card-title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: .2em;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.order-card-title small { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .12em; }
.order-card-plain { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.order-card-plain:hover { color: var(--moss-dark); }
.order-card-plain .order-card-title { text-shadow: none; }
.tbd-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 2px 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  letter-spacing: .1em;
}
.tbd { color: var(--red); border-bottom: 1px dashed var(--red); }

/* 料金の目安 */
.price-list { max-width: 860px; margin: 36px auto 0; padding: 0; }
.price-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 16px;
}
.price-list img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-card);
}
.price-list img.plain { object-fit: contain; background: #fff; padding: 8px; }
.price-list li > div {
  padding: 18px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.price-list b { display: block; font-size: 17px; letter-spacing: .08em; margin-bottom: 4px; }
.price-list b .tbd { margin-left: .4em; }
.price-list p { margin: 0; font-size: 14px; color: var(--soft); line-height: 1.8; }

/* ご依頼の流れ（写真の上） */
section.order-flow { padding: 90px 24px; }
.flow-bars { margin: 40px auto 0; padding: 0; max-width: 820px; }
.flow-bars li {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 24px;
  margin-bottom: 34px;
  background: rgba(255, 253, 248, .9);
  color: var(--ink);
}
.flow-bars li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 58px;
  bottom: -30px;
  height: 26px;
  border-left: 2px dotted #e39a7d;
}
.flow-bars .num { font-size: 38px; color: var(--ink); }
.flow-bars b { display: block; font-size: 17px; letter-spacing: .1em; }
.flow-bars p { margin: 2px 0 0; font-size: 14px; color: var(--soft); line-height: 1.8; }
.flow-term {
  max-width: 820px;
  margin: 8px auto 0;
  padding: 16px 20px;
  background: rgba(255, 253, 248, .14);
  border-left: 3px solid #cfe0b9;
  text-align: left;
}

/* 制作例 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.gallery-slot {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  background: var(--panel);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* よくあるご質問（Q. の一覧） */
section.order-faq { max-width: 860px; }
.order-faq details {
  margin: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  text-align: left;
}
.order-faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 32px; }
.order-faq summary {
  position: relative;
  padding: 22px 48px 22px 52px;
  background: none;
  text-align: left;
}
.order-faq summary::before {
  content: "Q.";
  position: absolute;
  left: 8px;
  top: 16px;
  font: 400 26px/1.2 "Shippori Mincho", serif;
  color: var(--ink);
}
.order-faq summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.order-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.order-faq details > p {
  margin: 0 0 22px !important;
  padding-left: 52px;
  line-height: 1.95;
  color: var(--soft);
}

/* メッセージ */
section.order-message { padding: 100px 24px; text-align: center; }
.order-message p { line-height: 2.1; }

/* ご依頼フォーム */
.form-lead { text-align: center; }
.order-form {
  max-width: 680px;
  margin: 30px auto 0;
  padding: 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  gap: 22px;
}
.order-form label,
.order-form legend {
  display: block;
  font-size: 14px;
  letter-spacing: .06em;
}
.order-form label > input,
.order-form label > select,
.order-form label > textarea { margin-top: 8px; }
.order-form select {
  width: 100%;
  padding: 15px 16px;
  font: inherit;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
}
.order-form fieldset { margin: 0; padding: 0; border: 0; }
.order-form legend { margin-bottom: 10px; }
.order-form label.radio { display: inline-flex; align-items: center; gap: 6px; margin-right: 22px; }
.order-form input[type="radio"] { width: auto; margin: 0; padding: 0; accent-color: var(--moss-dark); }
.req, .opt {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 8px;
  font-size: 11px;
  letter-spacing: .1em;
  color: #fff;
  vertical-align: 1px;
}
.req { background: var(--red); }
.opt { background: #a39b8c; }
.privacy-note {
  margin: 0;
  padding: 14px 16px;
  background: #f3ecdd;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--soft);
}

@media (max-width: 820px) {
  section.order-intro { grid-template-columns: 1fr; gap: 28px; }
  .order-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .points li, .flow-bars li { grid-template-columns: 60px 1fr; }
  .num { font-size: 32px; }
  .flow-bars .num { font-size: 30px; }
  .flow-bars li:not(:last-child)::after { left: 42px; }
  .order-form { padding: 22px 18px; }
}

/* ---- 写真なし版の調整（order.html） ---- */
section.dark-band { background: #3b2d22; }
section.order-intro { grid-template-columns: 1fr; max-width: 820px; text-align: center; }
.page-order .order-intro h2 { text-align: center; }
.order-card {
  aspect-ratio: auto;
  min-height: 150px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: border-color .2s, transform .2s;
}
.order-card:hover { color: var(--moss-dark); border-color: var(--moss); transform: translateY(-2px); }
.order-card-title { text-shadow: none; }
.order-card-title small { color: var(--soft); }
.price-list li { grid-template-columns: 1fr; }

/* 選ばれる理由①：主宰の写真は頭が切れないよう上寄せ */
.oval-photo img[src*="master-portrait"] { object-position: center 34%; }
