/* =========================================================
   webdesign.css
   /webdesign/（Web制作のサービスページ）専用
   ・すべて .wd-page の内側だけに効くよう限定
   ・クラス名は wd- で始めて、共通の style.css と重ならないようにする
   ========================================================= */

.wd-page {
  --wd-ink: #222222;
  --wd-ink-soft: #666666;
  --wd-line: #E2E2E2;
  --wd-ice: #F7F4EE;
  --wd-navy: #1E1B18;
  --wd-gold: #BFA67A;
  --wd-white: #FFFFFF;
  --wd-font-head: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --wd-font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --wd-font-en: 'Jost', sans-serif;

  color: var(--wd-ink);
  font-family: var(--wd-font-body);
  line-height: 1.85;
}

.wd-page *,
.wd-page *::before,
.wd-page *::after {
  box-sizing: border-box;
}

/* スマートフォンでタップしたとき、一瞬色が変わるのを防ぐ */
.wd-page summary,
.wd-page a,
.wd-page button,
.wd-header a,
.wd-header button {
  -webkit-tap-highlight-color: transparent;
}

.wd-page h1,
.wd-page h2,
.wd-page h3,
.wd-page h4 {
  font-family: var(--wd-font-head);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.wd-page p,
.wd-page ul,
.wd-page ol,
.wd-page dl {
  margin: 0;
}

.wd-wrap {
  max-width: var(--container, 1000px);
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================================================
   このページ専用のヘッダー
   （共通ヘッダーは使わず、このページだけのメニューを固定表示する）
   ========================================================= */
.wd-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wd-line);
  font-family: 'Noto Sans JP', sans-serif;
}

.wd-header-inner {
  max-width: var(--container, 1000px);
  margin: 0 auto;
  padding: 0 40px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wd-header-logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.35em;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}

.wd-header-logo:hover {
  opacity: 0.75;
}

.wd-header-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wd-header-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 1em;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.wd-header-nav a:hover,
.wd-header-nav a.is-current {
  color: #222;
}

.wd-header-nav a:focus-visible {
  outline: 2px solid #BFA67A;
  outline-offset: -2px;
}

/* お問い合わせだけボタンの見た目にする */
.wd-header-nav .wd-header-cta {
  margin-left: 8px;
  padding: 9px 20px;
  background: #1E1B18;
  border: 1px solid #1E1B18;
  border-radius: 3px;
  color: #fff;
  font-weight: 700;
}

.wd-header-nav .wd-header-cta:hover {
  color: #fff;
  opacity: 0.85;
}

/* スマートフォン用の開閉ボタン */
.wd-header-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

.wd-header-toggle span {
  display: block;
  width: 30px;
  height: 1px;
  background: #222;
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.4s ease;
}

.wd-header-toggle:hover span,
.wd-header.is-open .wd-header-toggle span {
  background: #222;
}

.wd-header-toggle:focus-visible {
  outline: 2px solid #BFA67A;
  outline-offset: 2px;
}

/* 開いたときは×印にする（トップページと同じ動き） */
.wd-header.is-open .wd-header-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.wd-header.is-open .wd-header-toggle span:nth-child(2) {
  opacity: 0;
}

.wd-header.is-open .wd-header-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ---------- ヒーロー ---------- */
.wd-hero {
  padding: 96px 0 88px;
  background: var(--wd-navy);
  color: #fff;
}

.wd-hero-label {
  font-family: var(--wd-font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--wd-gold);
}

.wd-page .wd-hero h1 {
  margin-top: 22px;
  font-size: clamp(27px, 4.2vw, 44px);
  line-height: 1.55;
  color: #fff;
}

.wd-hero h1 .wd-line {
  display: block;
  word-break: auto-phrase;
}

.wd-page .wd-hero-lede {
  margin-top: 26px;
  font-size: 16px;
  color: #D9D2C4;
}

.wd-hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wd-btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.wd-btn:hover {
  opacity: 0.82;
}

.wd-page .wd-btn--primary {
  background: #fff;
  color: var(--wd-navy);
  border-color: #fff;
}

.wd-btn:focus-visible {
  outline: 2px solid var(--wd-gold);
  outline-offset: 2px;
}

/* ---------- セクション共通 ---------- */
.wd-section {
  padding: 92px 0;
  scroll-margin-top: 120px;
}

.wd-section:nth-of-type(even) {
  background: var(--wd-ice);
}

.wd-head {
  margin-bottom: 44px;
}

.wd-en {
  display: block;
  font-family: var(--wd-font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--wd-gold);
}

.wd-page .wd-h2 {
  margin-top: 12px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.5;
  word-break: auto-phrase;
}

.wd-page .wd-lede {
  margin-top: 18px;
  font-size: 15px;
  color: var(--wd-ink-soft);
}

/* ---------- ABOUT（3つの柱） ---------- */
.wd-pillars {
  display: grid;
  gap: 0;
}

.wd-pillar {
  padding: 34px 0;
  border-top: 1px solid var(--wd-line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
}

.wd-pillar:last-child {
  border-bottom: 1px solid var(--wd-line);
}

.wd-page .wd-pillar h3 {
  font-size: 19px;
  line-height: 1.6;
  word-break: auto-phrase;
}

.wd-page .wd-pillar p {
  font-size: 15px;
  color: var(--wd-ink-soft);
}

/* ---------- SERVICE ---------- */
.wd-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.wd-service-card {
  padding: 30px 30px 28px;
  background: var(--wd-white);
  border: 1px solid var(--wd-line);
  border-radius: 4px;
}

.wd-service-no {
  font-family: var(--wd-font-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--wd-gold);
}

.wd-page .wd-service-card h3 {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.6;
}

.wd-page .wd-service-card p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--wd-ink-soft);
}

.wd-page .wd-service-card ul {
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.wd-service-card li {
  position: relative;
  padding: 7px 0 7px 20px;
  border-top: 1px solid var(--wd-line);
  font-size: 13px;
}

.wd-service-card li:first-child {
  border-top: none;
}

.wd-service-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35em;
  width: 8px;
  border-top: 1px solid var(--wd-gold);
}

/* ---------- FLOW ---------- */
.wd-flow {
  counter-reset: wd-flow;
  list-style: none;
  padding: 0;
}

.wd-flow li {
  position: relative;
  padding: 26px 0 26px 76px;
  border-top: 1px solid var(--wd-line);
}

.wd-flow li:last-child {
  border-bottom: 1px solid var(--wd-line);
}

.wd-flow li::before {
  counter-increment: wd-flow;
  content: counter(wd-flow, decimal-leading-zero);
  position: absolute;
  left: 4px;
  top: 26px;
  font-family: var(--wd-font-en);
  font-size: 22px;
  line-height: 1.5;
  color: var(--wd-gold);
}

.wd-page .wd-flow h3 {
  font-size: 17px;
  line-height: 1.5;
}

.wd-page .wd-flow p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--wd-ink-soft);
}

/* ---------- WORKS ---------- */
.wd-works {
  display: grid;
  gap: 32px;
}

.wd-work {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--wd-line);
  align-items: start;
}

.wd-work:last-child {
  border-bottom: 1px solid var(--wd-line);
}

.wd-work-thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: top center;
  background-color: var(--wd-ice);
  border: 1px solid var(--wd-line);
  border-radius: 3px;
}

.wd-work-cat {
  font-family: var(--wd-font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wd-gold);
}

.wd-page .wd-work h3 {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.6;
}

.wd-page .wd-work p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--wd-ink-soft);
}

.wd-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wd-tags span {
  padding: 3px 10px;
  border: 1px solid var(--wd-line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--wd-ink-soft);
  background: var(--wd-white);
}

.wd-work-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--wd-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wd-work-link::after {
  content: " →";
  text-decoration: none;
}

/* ---------- PLAN ---------- */
.wd-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.wd-plan {
  display: flex;
  flex-direction: column;
  background: var(--wd-white);
  border: 1px solid var(--wd-line);
  border-top: 3px solid var(--wd-gold);
  border-radius: 4px;
  overflow: hidden;
}

.wd-plan-head {
  padding: 28px 26px 24px;
  border-bottom: 1px solid var(--wd-line);
}

.wd-plan-name {
  font-family: var(--wd-font-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--wd-gold);
}

.wd-page .wd-plan h3 {
  margin-top: 6px;
  font-size: 19px;
}

.wd-page .wd-plan-price {
  margin-top: 14px;
  font-family: var(--wd-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--wd-ink);
  white-space: nowrap;
}

.wd-page .wd-plan-desc {
  margin-top: 14px;
  font-size: 0.8em;
  line-height: 2.1;
  color: var(--wd-ink-soft);
}

/* こんな方におすすめ */
.wd-plan-rec {
  margin: 20px 22px 4px;
  padding: 18px 20px 20px;
  background: var(--wd-ice);
  border-radius: 4px;
}

.wd-page .wd-plan-rec-title {
  font-family: var(--wd-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--wd-ink);
}

.wd-page .wd-plan-rec ul {
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.wd-plan-rec li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 0.85em;
  line-height: 1.9;
  color: var(--wd-ink-soft);
}

.wd-plan-rec li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.95em;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--wd-gold);
  border-bottom: 1.5px solid var(--wd-gold);
  transform: rotate(45deg);
}

/* 機能の一覧 */
.wd-spec {
  margin: 16px 0 0;
  padding: 0 22px 24px;
}

.wd-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--wd-line);
}

.wd-spec-row:last-child {
  border-bottom: none;
}

.wd-page .wd-spec dt {
  font-size: 0.85em;
  line-height: 1.6;
  color: var(--wd-ink);
}

.wd-page .wd-spec dd {
  margin: 0;
  flex-shrink: 0;
  text-align: right;
}

.wd-mk {
  font-size: 15px;
  line-height: 1;
}

.wd-mk--ok {
  color: var(--wd-gold);
}

.wd-mk--no {
  color: #CCC;
}

.wd-mk-txt {
  font-size: 0.8em;
  color: var(--wd-ink-soft);
  white-space: nowrap;
}

/* ---------- 料金の表 ---------- */
.wd-page .wd-h3 {
  margin-top: 64px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wd-ink);
  font-size: 17px;
  color: var(--wd-ink);
}

.wd-page .wd-h3 + .wd-lede {
  margin-top: 16px;
}

.wd-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.wd-table-wrap:focus-visible {
  outline: 2px solid var(--wd-gold);
  outline-offset: 2px;
}

.wd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.wd-table th,
.wd-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--wd-line);
  text-align: left;
  vertical-align: top;
}

.wd-table thead th {
  font-weight: 700;
  font-size: 14px;
  color: var(--wd-ink);
  white-space: nowrap;
}

.wd-table tbody th {
  font-weight: 400;
  color: var(--wd-ink);
  width: 34%;
}

.wd-table tbody tr:last-child th,
.wd-table tbody tr:last-child td {
  border-bottom: none;
}

.wd-table .wd-note-cell {
  font-size: 13px;
  color: var(--wd-ink-soft);
}

.wd-table td.wd-val {
  white-space: nowrap;
  text-align: right;
}

.wd-table thead th:last-child {
  text-align: center;
}

.wd-table:has(thead) td.wd-val {
  text-align: center;
}

.wd-table--plan td,
.wd-table--plan thead th {
  text-align: center;
}

.wd-table--plan td:first-child,
.wd-table--plan th:first-child,
.wd-table--plan tbody th {
  text-align: left;
}

.wd-table--plan .wd-ok {
  color: var(--wd-gold);
  font-weight: 700;
}

.wd-table--plan .wd-no {
  color: #BBB;
}

.wd-tbd {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--wd-line);
  border-radius: 3px;
  font-size: 13px;
  color: var(--wd-ink-soft);
  white-space: nowrap;
}

.wd-notes {
  margin-top: 40px;
  padding: 24px 26px;
  border-radius: 4px;
}

.wd-page .wd-notes ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wd-notes li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 13px;
  color: var(--wd-ink-soft);
}

.wd-notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35em;
  width: 8px;
  border-top: 1px solid var(--wd-gold);
}

.wd-plan-note {
  margin-top: 40px;
  padding: 26px 28px;
  background: var(--wd-white);
  border: 1px solid var(--wd-line);
  border-radius: 4px;
}

.wd-page .wd-plan-note p {
  font-size: 14px;
  color: var(--wd-ink-soft);
}

.wd-plan-links {
  margin-top: 16px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.wd-plan-links a {
  font-size: 14px;
  color: var(--wd-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.wd-plan-links a::after {
  content: " →";
  text-decoration: none;
}

/* ---------- 開閉式（パーツ別の料金） ---------- */
.wd-acc {
  margin-top: 16px;
}

.wd-acc details {
  border-bottom: 1px solid var(--wd-line);
}

.wd-acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 26px 4px 22px;
  font-family: var(--wd-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--wd-ink);
}

.wd-acc summary::-webkit-details-marker {
  display: none;
}

.wd-acc summary:focus-visible {
  outline: 2px solid var(--wd-gold);
  outline-offset: -2px;
}

/* 分類名（h3を見出しらしく見せる） */
.wd-page .wd-acc-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--wd-ink);
}

.wd-acc-count {
  font-family: var(--wd-font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--wd-ink-soft);
  margin-left: auto;
  margin-right: 8px;
}

.wd-acc details[open] .wd-plus {
  transform: rotate(45deg);
}

.wd-acc-body {
  padding: 0;
}

.wd-acc-body .wd-table-wrap {
  margin-top: 0;
}

.wd-acc-body .wd-table tbody tr:last-child th,
.wd-acc-body .wd-table tbody tr:last-child td {
  padding-bottom: 22px;
}

/* ---------- Q&A ---------- */
.wd-faq details {
  border-top: 1px solid var(--wd-line);
}

.wd-faq details:last-child {
  border-bottom: 1px solid var(--wd-line);
}

.wd-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 22px 4px;
  font-family: var(--wd-font-head);
  font-size: 16px;
  font-weight: 700;
}

.wd-faq summary::-webkit-details-marker {
  display: none;
}

.wd-faq summary:focus-visible {
  outline: 2px solid var(--wd-gold);
  outline-offset: -2px;
}

.wd-plus {
  flex-shrink: 0;
  font-family: var(--wd-font-head);
  font-size: 18px;
  color: var(--wd-navy);
  transition: transform 0.3s ease;
}

.wd-faq details[open] .wd-plus {
  transform: rotate(45deg);
}

.wd-page .wd-faq-body {
  padding: 0 0 24px;
  font-size: 14px;
  color: var(--wd-ink-soft);
}

/* ---------- COLUMN（タイル） ---------- */
.wd-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
}

.wd-tile a {
  display: block;
  height: 100%;
  background: var(--wd-white);
  border: 1px solid var(--wd-line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--wd-ink);
  transition: border-color 0.15s ease;
}

.wd-tile a:hover {
  border-color: var(--wd-gold);
}

.wd-tile a:focus-visible {
  outline: 2px solid var(--wd-gold);
  outline-offset: 2px;
}

.wd-tile-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--wd-ice);
}

/* 画像がない記事は、カテゴリごとの色で示す */
.wd-tile-thumb--c1 {
  background: linear-gradient(135deg, #E8E1D4 0%, #D6CBB6 100%);
}

.wd-tile-thumb--c2 {
  background: linear-gradient(135deg, #DCE0E4 0%, #C3CAD2 100%);
}

.wd-tile-thumb--c3 {
  background: linear-gradient(135deg, #E6DCD4 0%, #D3C2B6 100%);
}

.wd-tile-body {
  display: block;
  padding: 20px 22px 24px;
}

.wd-tile-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wd-tile-cat {
  padding: 3px 12px;
  border: 1px solid var(--wd-line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--wd-ink-soft);
}

.wd-tile-date {
  font-family: var(--wd-font-en);
  font-size: 12px;
  color: var(--wd-ink-soft);
}

.wd-tile-title {
  display: block;
  margin-top: 12px;
  font-family: var(--wd-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.wd-column-more {
  margin-top: 32px;
}

.wd-column-more a {
  font-size: 14px;
  color: var(--wd-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wd-column-more a::after {
  content: " →";
  text-decoration: none;
}

/* ---------- COLUMN（一覧・予備） ---------- */
.wd-columns {
  list-style: none;
  padding: 0;
}

.wd-columns li {
  border-top: 1px solid var(--wd-line);
}

.wd-columns li:last-child {
  border-bottom: 1px solid var(--wd-line);
}

.wd-columns a {
  display: grid;
  grid-template-columns: 110px 130px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 4px;
  text-decoration: none;
  color: var(--wd-ink);
  transition: color 0.15s ease;
}

.wd-columns a:hover {
  color: var(--wd-gold);
}

.wd-col-date {
  font-family: var(--wd-font-en);
  font-size: 13px;
  color: var(--wd-ink-soft);
}

.wd-col-cat {
  justify-self: start;
  padding: 3px 12px;
  border: 1px solid var(--wd-line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--wd-ink-soft);
}

.wd-col-title {
  font-size: 15px;
}

/* ---------- CTA ---------- */
.wd-cta {
  padding: 80px 0;
  background: var(--wd-navy);
  color: #fff;
}

.wd-page .wd-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: #fff;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  word-break: auto-phrase;
}

.wd-page .wd-cta p {
  margin-top: 20px;
  max-width: 40em;
  font-size: 15px;
  color: #C9C2B4;
}

.wd-cta-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- タブレット ---------- */
@media (max-width: 900px) {
  .wd-service-grid {
    grid-template-columns: 1fr;
  }

  .wd-plan-grid {
    grid-template-columns: 1fr;
  }

  .wd-work {
    grid-template-columns: 200px 1fr;
  }
}

/* ---------- スマートフォン ---------- */
@media (max-width: 900px) {
  /* メニューを開閉式にする */
  .wd-header-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--wd-line);
    box-shadow: 0 10px 20px rgba(30, 27, 24, 0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .wd-header.is-open .wd-header-nav {
    max-height: 80vh;
  }

  .wd-header-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .wd-header-nav a {
    padding: 15px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--wd-line);
  }

  .wd-header-nav .wd-header-cta {
    margin: 16px 0 0;
    padding: 14px 20px;
    text-align: center;
    border: 1px solid #1E1B18;
  }

  .wd-header-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .wd-wrap {
    padding: 0 24px;
  }

  .wd-header-inner {
    padding: 0 24px;
    height: 58px;
  }

  .wd-hero {
    padding: 72px 0 64px;
  }

  .wd-section {
    padding: 64px 0;
  }

  .wd-pillar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wd-work {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wd-work-thumb {
    width: 100%;
  }

  .wd-columns a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .wd-tiles {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wd-flow li {
    padding-left: 58px;
  }

  /* 表はスマホでも横スクロールで見せる（文字を細かく折り返さない） */
  .wd-table {
    min-width: 560px;
    font-size: 14px;
  }

  .wd-table th,
  .wd-table td {
    padding: 12px 12px;
  }

  .wd-table tbody th {
    width: auto;
    white-space: nowrap;
  }

  .wd-table .wd-note-cell {
    white-space: nowrap;
  }

  /* 内容の説明が長い列だけは折り返す */
  .wd-table thead + tbody td:nth-child(2) {
    min-width: 260px;
  }

  .wd-notes {
    padding: 20px 18px;
  }

  .wd-hero-actions .wd-btn,
  .wd-cta-actions .wd-btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .wd-plan-note {
    padding: 22px 20px;
  }

  .wd-plan-links a {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wd-plus,
  .wd-btn,
  .wd-header-nav,
  .wd-header-nav a,
  .wd-header-toggle span {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
