/* ==========================================================================
   小樽書道教室｜書道研究 臥牛社  -  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 0 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%; }

/* 見出しを言葉の途中で折り返さない（<span class="nb">…</span> の単位で折り返す） */
.nb { display: inline-block; }

/* =========================  札幌教室ページ（sapporo/index.html）  ========================= */
.page-sapporo main h2 small {
  font-size: .5em;
  color: var(--soft);
  margin-left: .3em;
}
section.sp-intro,
section.sp-fees,
section.sp-venues { max-width: 960px; text-align: center; }
.sp-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
}
.sp-chips li {
  padding: 4px 16px;
  border: 1px solid var(--moss);
  color: var(--moss-dark);
  font-size: 14px;
  letter-spacing: .12em;
}
.sp-lead { line-height: 2.1; }
.sp-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  text-align: left;
}
.sp-boxes article {
  padding: 26px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.sp-boxes h3 {
  margin: 0 0 10px;
  color: var(--moss-dark);
  font-size: 18px;
}
.sp-boxes p { margin: 0 0 8px; line-height: 1.9; }
.sp-note { color: var(--soft); font-size: 14px; }
.sp-boxes a { color: var(--moss-dark); border-bottom: 1px solid currentColor; }
.sp-boxes a::after { content: " ↗"; font-size: 12px; }
.sp-cta { margin: 34px 0 0; }
.sp-cta .cta-button { margin-top: 0; }

/* 講師 */
section.sp-teacher { max-width: 1000px; }
.page-sapporo .sp-teacher h2 { text-align: center; }
.sp-teacher-grid {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) 1.3fr;
  gap: 44px;
  align-items: start;
  margin-top: 16px;
}
.sp-teacher-grid > div > p:first-child { margin-top: 0; line-height: 2.05; }
.sp-more { margin: 0; text-align: right; }
.sp-more a { color: var(--moss-dark); border-bottom: 1px solid currentColor; }

/* 月謝と開催日程 */
.sp-dl {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 10px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: left;
}
.sp-dl > div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.sp-dl > div:last-child { border-bottom: 0; }
.sp-dl dt { color: var(--moss-dark); font-weight: 600; letter-spacing: .08em; }
.sp-dl dd { margin: 0; line-height: 1.9; }

/* 未確定の項目（公開前に必ず確定させて消す） */
.sp-tbd {
  display: inline-block;
  margin: 4px 0;
  padding: 2px 8px;
  background: #fbe7dc;
  border-bottom: 0;
  font-size: 13px;
  line-height: 1.7;
}

/* 体験のご相談 */
.sp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 0;
  counter-reset: none;
}
.sp-steps li {
  padding: 16px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}
.sp-steps b {
  display: block;
  color: var(--moss);
  font: 600 20px/1.2 "Rubik", sans-serif;
  margin-bottom: 4px;
}
section.sp-otaru { padding-top: 10px; text-align: center; color: var(--soft); font-size: 14px; }
section.sp-otaru a { color: var(--moss-dark); border-bottom: 1px solid currentColor; }

@media (max-width: 820px) {
  .sp-boxes, .sp-teacher-grid, .sp-steps { grid-template-columns: 1fr; }
  .sp-teacher-grid .master-photo { max-width: 300px; margin: 0 auto; }
  .sp-dl { padding: 6px 18px; }
  .sp-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .sp-lead br { display: none; }
}

/* トップページから札幌教室ページへの案内 */
.master-sapporo { margin: 26px 0 0; text-align: center; }
.master-sapporo a {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--moss);
  color: var(--moss-dark);
  letter-spacing: .1em;
}
.master-sapporo a:hover { background: var(--moss-dark); color: #fff; }
.classroom-link { margin: 14px 0 0; }
.classroom-grid article .classroom-link .cta-button { margin-top: 0; padding: 12px 26px; color: #fff; border-bottom: 0; }

/* トップのお問い合わせ：希望の教室 */
.contact select {
  width: 100%;
  padding: 15px 16px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffdf8;
  color: var(--ink);
}

/* 札幌教室ページ：スマホの調整 */
@media (max-width: 520px) {
  .page-sapporo .order-hero h1 { font-size: clamp(24px, 6.6vw, 32px); letter-spacing: .1em; }
  .page-sapporo .cta-button { display: block; padding: 16px 12px; letter-spacing: .1em; text-align: center; }
  .page-sapporo .sp-lead { text-align: left; }
}

/* 札幌：料金表（トップ）へのリンク */
.sp-fee-link { margin: 18px 0 0; font-size: 14px; }
.sp-fee-link a { color: var(--moss-dark); border-bottom: 1px solid currentColor; }
/* トップの教室欄：札幌の会場ごとの区切り */
.classroom-grid article p.classroom-venue {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.classroom-venue b { color: var(--ink); font-weight: 600; }
.classroom-grid article p.classroom-link { margin-top: 20px; }

/* 札幌：月謝のバナー（トップの料金表へ） */
.sp-fee-banner {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: 720px;
  margin: 24px auto 0;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  text-align: left;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.sp-fee-banner:hover { border-color: var(--moss); box-shadow: 0 14px 34px rgba(74, 58, 42, .14); color: inherit; }
.sp-fee-banner img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  object-position: center 60%;
}
.sp-fee-banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 20px 28px;
}
.sp-fee-banner-text small { color: var(--moss); font-size: 13px; letter-spacing: .16em; }
.sp-fee-banner-text b { font-weight: 500; font-size: 18px; letter-spacing: .06em; line-height: 1.7; }
.sp-fee-banner-go {
  align-self: flex-start;
  margin-top: 8px;
  padding: 8px 18px;
  background: var(--moss-dark);
  color: #fff;
  font-size: 14px;
  letter-spacing: .14em;
}
.sp-fee-banner:hover .sp-fee-banner-go { background: var(--moss); }
@media (max-width: 520px) {
  .sp-fee-banner { grid-template-columns: 1fr; }
  .sp-fee-banner img { height: 140px; min-height: 0; }
  .sp-fee-banner-text { padding: 18px 20px 20px; }
  .sp-fee-banner-text b { font-size: 16px; }
  .sp-fee-banner-go { align-self: stretch; text-align: center; }
}

/* 札幌：開催日程の下の「問い合わせる」帯（フォームへ移動） */
.sp-inquiry-bar {
  display: block;
  max-width: 720px;
  margin: 24px auto 0;
  padding: 18px 16px;
  background: var(--moss-dark);
  color: #fff;
  text-align: center;
  letter-spacing: .32em;
  transition: background .2s;
}
.sp-inquiry-bar:hover { background: var(--moss); color: #fff; }
@media (max-width: 520px) { .sp-inquiry-bar { letter-spacing: .14em; } }

/* 札幌：月謝バナーと「会場・アクセス」の間を詰める */
section.sp-fees { padding-bottom: 24px; }
section.sp-venues { padding-top: 36px; }

/* 札幌：地区センターへの行き方 */
.sp-access { margin: 4px 0 10px; padding: 0; }
.sp-access li { margin: 0 0 8px; line-height: 1.8; }
.sp-access small { display: block; padding-left: 1em; color: var(--soft); font-size: 13px; }

/* 札幌：月謝バナーを「緑のボタン」1つにまとめる */
.sp-fee-banner-text { padding: 24px 28px; }
.sp-fee-banner .sp-fee-banner-go {
  align-self: stretch;
  margin-top: 0;
  padding: 18px 20px;
  font-size: 17px;
  letter-spacing: .12em;
  line-height: 1.6;
  text-align: center;
}
.sp-fee-banner .sp-fee-banner-go small {
  display: block;
  margin-bottom: 4px;
  color: #cfe0b9;
  font-size: 12px;
  letter-spacing: .2em;
}
@media (max-width: 520px) {
  .sp-fee-banner .sp-fee-banner-go { font-size: 15px; letter-spacing: .06em; }
}

/* 作品依頼ページ：制作実績 */
section.order-works { max-width: 1100px; text-align: center; }
.works-lead { margin: 0 0 30px; line-height: 2; }
/* 実績ごとに横へスライド（パソコンは2件ずつ、スマホは1件＋次が少し見える） */
.works-carousel { position: relative; }
.works-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 18px;
  text-align: left;
}
.works-grid::-webkit-scrollbar { display: none; }
.works-grid > .work-card {
  flex: 0 0 calc((100% - 22px) / 2);
  scroll-snap-align: start;
}
/* 下の操作部（‹ ● ○ ○ ›） */
.works-grid > .work-card { box-shadow: none; }
.works-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 4px;
}
.works-nav .works-prev,
.works-nav .works-next {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--moss-dark);
  color: #fff;
  font: 400 26px/44px "Shippori Mincho", serif;
  letter-spacing: 0;
}
.works-nav .works-prev:hover,
.works-nav .works-next:hover { background: var(--moss); }
.works-nav button:disabled { background: #d8d0bf; cursor: default; }
.works-dots { display: flex; gap: 10px; }
.works-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--moss);
  border-radius: 50%;
  background: transparent;
}
.works-dots button.on { background: var(--moss); }
.work-card {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #2b241d;
}
.work-card img.fit { object-fit: contain; }
.work-card img.round {
  object-fit: contain;
  padding: 18px;
  background: radial-gradient(circle at 50% 45%, #fffdf8 0, #efe6d4 100%);
}
.work-card figcaption {
  padding: 14px 18px 16px;
  font-size: 16px;
  letter-spacing: .06em;
  line-height: 1.6;
}
.work-card figcaption small { display: block; color: var(--soft); font-size: 13px; }

/* スライド */
.work-slider { position: relative; }
.work-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track img { flex: 0 0 100%; scroll-snap-align: start; }
.work-slider .work-prev,
.work-slider .work-next {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 248, .85);
  color: var(--ink);
  font: 400 26px/40px "Shippori Mincho", serif;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.work-slider .work-prev { left: 10px; }
.work-slider .work-next { right: 10px; }
.work-slider .work-prev:hover,
.work-slider .work-next:hover { background: #fff; }
.work-slider [hidden] { display: none; }
.work-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.work-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 3px rgba(0, 0, 0, .4);
}
.work-dots button.on { background: #fff; }
@media (max-width: 600px) {
  .works-grid { gap: 14px; }
  .works-grid > .work-card { flex-basis: 86%; }
}

/* 作品依頼ページ：料金 */
.price-list b .amount {
  margin-left: .6em;
  color: var(--moss-dark);
  font-size: 1.08em;
  letter-spacing: .04em;
  white-space: nowrap;
}
.price-note { max-width: 860px; margin: 18px auto 0; color: var(--soft); font-size: 13px; text-align: center; }

/* 作品依頼ページ：はじめての方へ／筆文字データの詳細／キャンセル */
.first-time {
  margin: 36px auto 0;
  padding: 26px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--moss);
  text-align: left;
}
.first-time h3,
.data-detail h3,
.cancel-note h3 {
  margin: 0 0 12px;
  color: var(--moss-dark);
  font-size: 18px;
  letter-spacing: .12em;
}
.first-time p { margin: 0 0 10px; line-height: 2; }
.first-time p:last-child { margin-bottom: 0; }
.data-detail {
  max-width: 860px;
  margin: 26px auto 0;
  padding: 24px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: left;
}
.data-detail dl { margin: 0; }
.data-detail dl > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.data-detail dl > div:last-child { border-bottom: 0; }
.data-detail dt { color: var(--moss-dark); font-weight: 600; font-size: 14px; }
.data-detail dd { margin: 0; font-size: 14px; line-height: 1.85; }
.cancel-note {
  margin-top: 32px;
  padding: 22px 26px;
  background: #f3ecdd;
  text-align: left;
}
.cancel-note p { margin: 0 0 8px; font-size: 14px; line-height: 1.95; }
.cancel-note p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .first-time, .data-detail, .cancel-note { padding: 20px 18px; }
  .first-time br { display: none; }
  .data-detail dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================  作品依頼ページ：ご依頼の流れと料金（ガイド）  ========================= */
section.order-guide { max-width: 980px; text-align: center; }
.guide-lead { margin: 0 0 26px; }
.guide-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 44px;
  padding: 0;
}
.guide-points li {
  padding: 16px 12px;
  background: var(--moss-dark);
  color: #e9f0de;
  font-size: 12.5px;
  line-height: 1.7;
}
.guide-points b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
  letter-spacing: .08em;
}
.guide-steps {
  position: relative;
  margin: 0;
  padding: 0;
  text-align: left;
}
.guide-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding-bottom: 26px;
  scroll-margin-top: 90px;
}
.guide-steps > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  border-left: 2px dotted var(--line);
}
.step-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--moss);
  color: var(--moss-dark);
  font: 500 26px/1 "Shippori Mincho", serif;
}
.step-body {
  padding: 18px 24px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.step-body h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: .1em;
}
.step-body h3 em {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 10px;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .12em;
  vertical-align: 3px;
}
.step-body p { margin: 0 0 8px; line-height: 1.95; }
.step-body p:last-child { margin-bottom: 0; }
.step-note { color: var(--soft); font-size: 14px; }
.step-list { margin: 4px 0 0; padding: 0; }
.step-list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 14.5px;
  line-height: 1.9;
}
.step-list li::before { content: "・"; position: absolute; left: 0; color: var(--moss); }
.step-dl { margin: 8px 0 8px; }
.step-dl > div {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.85;
}
.step-dl dt { color: var(--moss-dark); font-weight: 600; }
.step-dl dd { margin: 0; }

/* 料金表 */
.price-table {
  width: 100%;
  margin: 10px 0 12px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.price-table th,
.price-table td {
  padding: 11px 10px;
  border-bottom: 1px dashed var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.price-table tr:first-child th,
.price-table tr:first-child td { border-top: 1px solid var(--line); }
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 1px solid var(--line); }
.price-table th { width: 38%; font-weight: 600; }
.price-table th small { display: block; color: var(--soft); font-weight: 400; font-size: 12px; }
.price-table td:nth-child(2) {
  width: 22%;
  color: var(--moss-dark);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}
.price-table td:nth-child(3) { color: var(--soft); font-size: 13.5px; }

/* キャンセル */
.order-guide .cancel-note { margin: 18px 0 0 78px; }
.cancel-table { width: 100%; margin: 0 0 10px; border-collapse: collapse; font-size: 14px; }
.cancel-table th,
.cancel-table td { padding: 8px 6px; border-bottom: 1px dashed #d8ccb4; text-align: left; font-weight: 400; }
.cancel-table td { width: 30%; font-weight: 600; color: var(--ink); white-space: nowrap; }
.guide-cta { margin: 34px 0 0; }

@media (max-width: 820px) {
  .guide-points { grid-template-columns: repeat(2, 1fr); }
  .order-guide .cancel-note { margin-left: 0; }
}
@media (max-width: 600px) {
  .guide-steps > li { grid-template-columns: 40px 1fr; gap: 12px; }
  .step-num { width: 40px; height: 40px; font-size: 20px; }
  .guide-steps > li:not(:last-child)::before { left: 19px; top: 40px; }
  .step-body { padding: 16px 16px 18px; }
  .step-body h3 { font-size: 17px; }
  .step-dl > div { grid-template-columns: 1fr; gap: 0; }
  /* 料金表はスマホでは1項目ずつ縦に */
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: auto; }
  .price-table tr { padding: 10px 0; border-bottom: 1px dashed var(--line); }
  .price-table tr:first-child { border-top: 1px solid var(--line); }
  .price-table th, .price-table td,
  .price-table tr:first-child th, .price-table tr:first-child td,
  .price-table tr:last-child th, .price-table tr:last-child td { padding: 0; border: 0; }
  .price-table td:nth-child(2) { margin: 2px 0; }
  .cancel-table, .cancel-table tbody, .cancel-table tr, .cancel-table th, .cancel-table td { display: block; width: auto; }
  .cancel-table tr { padding: 8px 0; border-bottom: 1px dashed #d8ccb4; }
  .cancel-table th, .cancel-table td { padding: 0; border: 0; }
}

/* =========================  作品依頼ページ：池田憲亮のできること（強み＋承る作品）  ========================= */
section.order-service .band-inner { max-width: 1060px; }
.order-service .eyebrow { color: #cfe0b9; text-align: center; }
.order-service h2 { text-align: center; }
.svc-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 36px 0 0;
  padding: 0;
}
.svc-points li {
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}
.svc-points .num {
  display: block;
  margin-bottom: 8px;
  color: #cfe0b9;
  font: 400 34px/1 "Shippori Mincho", serif;
}
.svc-points b { display: block; margin-bottom: 8px; font-size: 18px; letter-spacing: .08em; line-height: 1.6; }
.svc-points p { margin: 0; font-size: 14px; line-height: 1.95; opacity: .88; }
.svc-menu-title {
  margin: 50px 0 18px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .2em;
  text-align: center;
}
.svc-menu-title::before,
.svc-menu-title::after {
  content: "";
  display: inline-block;
  width: 40px;
  margin: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, .4);
  vertical-align: middle;
}
.svc-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
}
.svc-menu a {
  display: block;
  height: 100%;
  padding: 18px 18px 20px;
  background: var(--panel);
  color: var(--ink);
  text-align: center;
  transition: background .2s;
}
.svc-menu a:hover { background: #fff; color: var(--moss-dark); }
.svc-menu b { display: block; font-size: 18px; font-weight: 500; letter-spacing: .14em; }
.svc-menu span { display: block; margin-top: 4px; color: var(--soft); font-size: 12.5px; line-height: 1.7; }
.svc-more { margin: 26px 0 0; text-align: center; }
.svc-more a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .6); letter-spacing: .12em; }
@media (max-width: 820px) {
  .svc-points { grid-template-columns: 1fr; gap: 12px; }
  .svc-points li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px; }
  .svc-points .num { grid-row: span 2; margin: 0; font-size: 30px; }
  .svc-menu { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .svc-menu a { padding: 14px 10px 16px; }
  .svc-menu b { font-size: 16px; letter-spacing: .08em; }
}

/* 作品依頼ページ：「はじめての方へ」と「制作実績」の間を詰める */
section.order-intro { padding-bottom: 28px; }
section.order-works { padding-top: 36px; }

/* 作品依頼ページ：はじめにの本文（意味の区切りで改行して読みやすく） */
.intro-text p {
  margin: 0 0 1.3em;
  font-size: 17px;
  line-height: 2.1;
  letter-spacing: .05em;
}
@media (max-width: 600px) {
  .intro-text p { font-size: 16px; }
  .intro-text br { display: none; }
}

/* はじめての方へ：読みやすく */
.first-time { text-align: center; }
.first-time h3 { text-align: center; }
.first-voices {
  display: grid;
  gap: 10px;
  margin: 6px 0 20px;
  padding: 0;
}
.first-voices li {
  position: relative;
  padding: 12px 18px;
  background: #f3ecdd;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.8;
}
.first-voices li::before { content: "「"; }
.first-voices li::after { content: "」"; }
.first-time p { font-size: 16px; line-height: 2; }
@media (max-width: 600px) {
  .first-time p { font-size: 15px; }
  .first-time br { display: none; }
}

/* =========================  トップ：書道作品のご依頼（写真の帯）  ========================= */
section.work-banner {
  position: relative;
  max-width: none;
  margin: 40px 0 0;
  padding: 90px 24px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.work-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
section.work-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(35, 26, 18, .72), rgba(35, 26, 18, .82));
}
.work-banner-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.work-banner .eyebrow { color: #cfe0b9; text-align: center; }
.work-banner h2 { margin-bottom: 14px; color: #fff; text-align: center; }
.work-banner-sub { margin: 0 0 26px; font-size: clamp(16px, 2vw, 20px); letter-spacing: .14em; }
.work-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
}
.work-tags li {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  font-size: 14px;
  letter-spacing: .1em;
}
.work-banner-note { margin: 0 0 26px; font-size: 14px; opacity: .9; }
.work-banner-btn {
  display: inline-block;
  padding: 18px 44px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  letter-spacing: .16em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: background .2s, transform .2s;
}
.work-banner-btn:hover { background: #a3461f; color: #fff; transform: translateY(-2px); }

/* 追従ボタン（作品のご依頼） */
.float-order {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .1em;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition: transform .2s, background .2s;
}
.float-order:hover { background: #a3461f; color: #fff; transform: scale(1.05); }
.float-order[hidden] { display: none; }
@media (max-width: 600px) {
  section.work-banner { padding: 64px 18px; }
  .work-tags li { font-size: 13px; padding: 5px 12px; }
  .work-banner-btn { display: block; padding: 16px 12px; font-size: 15px; letter-spacing: .08em; }
  .float-order { right: 14px; bottom: 14px; width: 74px; height: 74px; font-size: 12.5px; }
}

/* 作品の帯：これまでの書作品の写真を組み合わせ、淡く背景に見せる */
section.work-banner {
  background: var(--paper);
  color: var(--ink);
  padding: 96px 24px;
}
.work-banner-bg {
  object-position: center;
  opacity: .22;
  filter: sepia(.25) saturate(.8);
}
section.work-banner::before {
  /* 文字のまわりだけ紙の色を濃くして読みやすく */
  background: radial-gradient(ellipse 52% 62% at 50% 50%, rgba(251, 246, 236, .92) 0%, rgba(251, 246, 236, .7) 55%, rgba(251, 246, 236, .15) 100%);
}
.work-banner .eyebrow { color: var(--moss); }
.work-banner h2 { color: var(--ink); }
.work-tags li { border-color: rgba(59, 45, 34, .45); background: rgba(255, 253, 248, .7); }
.work-banner-note { opacity: 1; color: var(--soft); }
@media (max-width: 600px) {
  section.work-banner { padding: 70px 18px; }
  section.work-banner::before {
    background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(251, 246, 236, .92) 0%, rgba(251, 246, 236, .72) 60%, rgba(251, 246, 236, .3) 100%);
  }
}

/* 作品の帯：写真を少し濃く（依頼者「淡くなりすぎ」） */
.work-banner-bg { opacity: .42; filter: sepia(.15); }
section.work-banner::before {
  background: radial-gradient(ellipse 40% 58% at 50% 50%, rgba(251, 246, 236, .9) 0%, rgba(251, 246, 236, .62) 60%, rgba(251, 246, 236, 0) 100%);
}
@media (max-width: 600px) {
  section.work-banner::before {
    background: radial-gradient(ellipse 85% 62% at 50% 50%, rgba(251, 246, 236, .9) 0%, rgba(251, 246, 236, .66) 60%, rgba(251, 246, 236, .1) 100%);
  }
}

/* 作品の帯：上部の「運河灯篭」の題字が文字に隠れないよう、写真を上端に合わせ、文章を下へ */
.work-banner-bg { object-position: center top; }
section.work-banner { padding-top: 190px; }
section.work-banner::before {
  background: radial-gradient(ellipse 42% 50% at 50% 66%, rgba(251, 246, 236, .9) 0%, rgba(251, 246, 236, .6) 62%, rgba(251, 246, 236, 0) 100%);
}
@media (max-width: 600px) {
  section.work-banner { padding-top: 150px; }
  section.work-banner::before {
    background: radial-gradient(ellipse 90% 52% at 50% 64%, rgba(251, 246, 236, .9) 0%, rgba(251, 246, 236, .62) 62%, rgba(251, 246, 236, 0) 100%);
  }
}
@media (max-width: 600px) { section.work-banner { padding-top: 120px; } }
