/* 下層ページ共通（TOP 以外の全ページ）— TOP 案D「FRAME」(assets/css/top-d.css) と同じ器を全ページへ広げる。
   functions.php が front-page 以外の自立型ページで読み込み、body に .uuo-sub を付ける。
   器のルール（top-d.css と同じ）: 黄フレームを画面に固定／区切りは罫線（箱・ハードシャドウは使わない）／
   左に見出し・右に中身（4:8）／見出しは和文のみ（欧文ラベル・手書きラベルなし）／マーカーは 1 セクション 1 語まで。
   ブランドルール: 黄は黒地の上か、黄地×黒文字の面でのみ使う（白地の小要素・細字には使わない）。緑は使わない。
   ※ d-sec / d-row / d-h / d-btn などの基本部品は top-d.css（.d-top 配下・TOP 専用）と同じ値を持つ。
     TOP 側が main に入ったら共通ファイルへの一本化候補。 */

/* ==========================================================
   器: フレーム・トークン
   ========================================================== */
body.uuo-sub {
  --y: #FFD100; --y-d: #E8BD00; --k: #000; --g9: #212121; --g7: #454545;
  --line: #E2E2E2; --sub: var(--g7); --px: 44px;
  --ff-d: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  padding: 12px; background: #fff;
  /* 字間・スマホのウェイトは TOP（top-d.css）の実機フィードバック値に合わせる: 本文 .05em／スマホは 500 */
  letter-spacing: .05em;
}
body.uuo-sub .header { inset: 12px 12px auto; }
body.uuo-sub .footer__hill { display: none; }
/* 黄フレーム（ヘッダー 100 より上・ローディング 999 より下） */
body.uuo-sub::after {
  content: ""; position: fixed; inset: 12px; z-index: 110; pointer-events: none;
  border-radius: 24px; box-shadow: 0 0 0 40px var(--y);
}
.uuo-sub h1 { letter-spacing: .015em; }
.uuo-sub h2, .uuo-sub h3 { letter-spacing: .03em; }
.uuo-sub .page-main { background: #fff; }

/* ==========================================================
   基本部品
   ========================================================== */
.d-sec { padding: clamp(72px, 9vw, 132px) var(--px); }
.d-sec--g { background: #FAFAFA; }
.d-sec--k { --line: rgba(255, 255, 255, .2); --sub: rgba(255, 255, 255, .62); background: var(--k); color: #fff; }
.d-sec--tight { padding-top: 0; }
.d-in { max-width: 1320px; margin: 0 auto; }
.d-row { display: grid; grid-template-columns: 4fr 8fr; gap: 0 48px; align-items: start; }
.d-row + .d-row { margin-top: clamp(64px, 8vw, 112px); }
.d-row > .d-h, .d-row > .d-side { position: sticky; top: calc(var(--header-h) + 40px); }
.d-h { font-family: var(--ff-d); font-weight: 700; font-feature-settings: "palt" 1; letter-spacing: .03em; font-size: clamp(26px, 3vw, 40px); line-height: 1.45; text-wrap: balance; }
.d-h--stack { margin-bottom: clamp(36px, 4vw, 60px); }
.d-side__note { margin-top: 18px; font-size: 14px; line-height: 1.95; color: var(--sub); }
.d-txt { font-size: 15.5px; line-height: 2.05; }
.d-txt + .d-txt { margin-top: 1.2em; }
.d-txt a, .d-note a { text-decoration: underline; text-underline-offset: 4px; }
.d-note { font-size: 16.5px; line-height: 2.05; max-width: 46em; }
.d-small { font-size: 13px; line-height: 1.9; color: var(--sub); }
.d-mk { display: inline-block; margin: 0 .08em; padding: 0 .2em .02em; border-radius: .12em; background: var(--y); color: var(--k); transform: rotate(-2deg); }

.d-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 40px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16.5px/1 var(--ff-d); text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.d-btn, .d-tlink, .faq-item summary, .topic-chips label { touch-action: manipulation; }
.d-btn--sm { padding: 13px 26px; font-size: 14px; }
.d-btn--y { background: var(--y); color: var(--g9); }
.d-btn--y:hover { background: var(--y-d); }
.d-btn--k { background: var(--k); color: var(--y); }
.d-btn--k:hover { background: var(--g9); }
.d-btn--line { background: transparent; color: var(--k); box-shadow: inset 0 0 0 1.5px var(--k); }
.d-btn--line:hover { background: var(--k); color: var(--y); }
.d-tlink { display: inline-block; font: 700 15.5px/1.5 var(--ff-d); padding-bottom: 5px; border-bottom: 2px solid currentColor; }
.d-tlink:hover { border-bottom-color: var(--y); }
.d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.d-chips li { padding: 6px 14px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; line-height: 1; }

/* 情報の表（罫線のみ） */
.d-info > div { display: grid; grid-template-columns: 140px 1fr; gap: 0 16px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.8; }
.d-info > div:last-child { border-bottom: 1px solid var(--line); }
.d-info dt { font: 700 14.5px/1.8 var(--ff-d); }
.d-info a { text-decoration: underline; text-underline-offset: 4px; }

/* のぞき見キャラ（parts/peek.php）。目は CSS のまばたきのみ（視線追従は TOP の top-d.js だけ） */
.d-peek { position: absolute; width: var(--w); height: auto; overflow: visible; display: block; }
.d-peek__body { transition: transform .5s var(--ease); }
.d-peek:hover .d-peek__body { transform: translateY(32px); }
.d-eye { fill: var(--g9); transform-box: fill-box; transform-origin: center; animation: d-blink 5.4s infinite; }
@keyframes d-blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.08); } }

/* ==========================================================
   ページヒーロー（黒帯。TOP の FV と地続き）
   ========================================================== */
.d-ph {
  position: relative; background: var(--k); color: #fff;
  padding: calc(var(--header-h) + clamp(44px, 6vw, 88px)) var(--px) clamp(64px, 7vw, 104px);
}
.d-ph__in { max-width: 1320px; margin: 0 auto; padding-right: 220px; }
.d-ph__ttl { font-size: clamp(34px, 5.2vw, 72px); line-height: 1.34; font-weight: 700; }
.d-ph__lead { margin-top: 22px; max-width: 36em; font-size: 15.5px; line-height: 2.05; color: rgba(255, 255, 255, .88); word-break: auto-phrase; }
.d-ph__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.d-ph__meta time { font: 500 14px/1 var(--ff-d); color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; }
.d-ph__meta .d-cat { padding: 5px 14px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; line-height: 1; color: rgba(255, 255, 255, .76); }
.d-ph--post .d-ph__ttl { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.5; max-width: 26em; }
/* キャラは黒帯の下端からのぞく（手だけが下の白地にかかる） */
.d-ph .d-peek { --w: 168px; right: max(var(--px), calc((100% - 1320px) / 2)); bottom: calc(var(--w) * -.2056); z-index: 2; }
.d-ph .d-peek__body { transform: translateY(48px); animation: d-rise 1s var(--ease) .5s both; }
.d-ph .d-peek:hover .d-peek__body { animation: none; }
body:not(.is-loaded) .d-ph .d-peek__body { animation: none; }
html:not(.js) .d-ph .d-peek__body { transform: none; }
@keyframes d-rise { to { transform: none; } }

/* パンくず */
.breadcrumb { margin-bottom: clamp(28px, 4vw, 48px); font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb__item { display: inline-flex; align-items: center; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; margin: 0 10px; opacity: .6; }
.breadcrumb a { border-bottom: 1px solid rgba(255, 255, 255, .34); }
.breadcrumb a:hover { color: #fff; border-bottom-color: currentColor; }
.breadcrumb [aria-current] { display: inline-block; max-width: 24em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==========================================================
   共通 CTA（クリーム面。TOP のお問い合わせセクションと同じ）
   ========================================================== */
.d-contact { position: relative; background: #FFF6D1; padding-bottom: clamp(96px, 11vw, 160px); }
.d-contact h2 { font-size: clamp(30px, 4.2vw, 58px); line-height: 1.4; }
.d-contact .d-txt { margin-top: 22px; }
.d-contact .d-btn { margin-top: 34px; }
.d-contact .d-mail { margin-top: 22px; font-size: 13.5px; }
.d-contact .d-mail a { text-decoration: underline; text-underline-offset: 4px; }
.d-contact .d-in { position: relative; z-index: 1; }
.d-contact .d-peek { --w: 300px; right: 9%; bottom: calc(var(--w) * -.2056); z-index: 2; }
/* キャラの手がフッター上端に約 60px かかるので、ナビと重ならないよう上余白を足す */
.page-cta + .footer .footer__main { padding-top: 96px; }

/* ==========================================================
   事業内容
   ========================================================== */
.d-svc-row { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 0 48px; align-items: start; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--k); }
.d-svc-row:last-child { border-bottom: 1px solid var(--k); }
.d-svc-row h3 { font-size: clamp(24px, 2.7vw, 36px); line-height: 1.45; }
.d-svc-row .d-n { display: block; margin-bottom: 14px; font: 700 15px/1 var(--ff-d); }
.d-svc-row .d-catch { font: 700 17px/1.9 var(--ff-d); }
.d-svc-row .d-txt { margin-top: 12px; color: var(--g7); }
.d-svc-row .d-for { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.95; }
.d-svc-row .d-for b { display: block; font: 700 13px/1.8 var(--ff-d); }
.d-svc-row .d-tlink { margin-top: 26px; font-size: 14.5px; }

/* ==========================================================
   料金
   ========================================================== */
.price-off { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 22px 0; margin-bottom: 40px; border-block: 1px solid var(--k); }
.price-off__badge { font: 700 14.5px/1.6 var(--ff-d); }
.price-off__num { font: 700 clamp(24px, 3vw, 36px)/1.3 var(--ff-d); }
.price-off__num small { font-size: .62em; }
.price-off__note { font-size: 13.5px; line-height: 1.8; color: var(--sub); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; padding: 34px 30px 32px; border-radius: 20px; background: #FAFAFA; }
.plan-card--hero { background: var(--k); color: #fff; --sub: rgba(255, 255, 255, .62); --line: rgba(255, 255, 255, .2); }
.plan-card__pop { align-self: flex-start; margin-bottom: 14px; padding: 5px 12px 6px; border-radius: 6px; background: var(--y); color: var(--k); font: 700 12px/1 var(--ff-d); }
.plan-card__name { font-size: 22px; line-height: 1.45; }
/* 「おすすめ」ラベル（高さ 23px＋余白 14px）ぶん、ラベルの無いカードのプラン名を下げて 3 枚の価格行を揃える */
@media (min-width: 1025px) { .plan-card:not(.plan-card--hero) .plan-card__name { margin-top: 37px; } }
.plan-card__for { margin-top: 8px; min-height: 3.6em; font-size: 13.5px; line-height: 1.8; color: var(--sub); }
.plan-card__price { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.3; font-variant-numeric: tabular-nums; }
.plan-card__price s { display: block; font-size: 14px; color: var(--sub); }
.plan-card__price strong { display: block; margin-top: 2px; font: 700 clamp(32px, 3.4vw, 44px)/1.25 var(--ff-d); }
.plan-card--hero .plan-card__price strong { color: var(--y); }
.plan-card__price span { display: block; margin-top: 4px; font-size: 12px; color: var(--sub); }
.plan-card__list { flex: 1; display: flex; flex-direction: column; gap: 9px; margin: 22px 0 28px; }
.plan-card__list li, .d-checks li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.8; }
.plan-card__list li::before, .d-checks li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 11px; height: 6px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.plan-card .d-btn { width: 100%; }
.plan-card .d-btn--line { color: var(--k); }
.price-trust { margin-top: 36px; }
.price-note { margin-top: 18px; font-size: 13px; line-height: 1.9; color: var(--sub); }
.d-lead-txt { max-width: 44em; margin-bottom: 40px; }

.support-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.support-table { width: 100%; min-width: 700px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.support-table th, .support-table td { padding: 16px 14px; text-align: center; font-size: 14.5px; line-height: 1.6; border-top: 1px solid var(--line); }
.support-table thead th { border-top: 0; border-bottom: 2px solid var(--k); padding: 22px 14px 18px; vertical-align: top; font: 700 15.5px/1.5 var(--ff-d); }
.support-table thead th.is-hero { background: var(--k); color: #fff; border-radius: 16px 16px 0 0; border-bottom-color: var(--k); }
.support-table__price { display: block; margin-top: 6px; font: 700 26px/1.3 var(--ff-d); }
.support-table thead th.is-hero .support-table__price { color: var(--y); }
.support-table__price small { font-size: 12.5px; }
.support-table__for { display: block; margin-top: 4px; font-family: var(--ff-jp); font-weight: 400; font-size: 12px; line-height: 1.6; opacity: .76; }
.support-table tbody th { width: 30%; text-align: left; font-weight: 700; padding-left: 0; }
.support-table tbody td.is-hero { background: #FFF6D1; }
.support-table tbody tr:last-child th, .support-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.support-table tbody tr.is-diff td { font: 700 15.5px/1.6 var(--ff-d); }

.consul-points { margin: 28px 0 34px; }
.consul-points li { display: grid; grid-template-columns: 140px 1fr; gap: 0 16px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.8; }
.consul-points li:last-child { border-bottom: 1px solid var(--line); }
.consul-points b { font: 700 14.5px/1.8 var(--ff-d); }

/* ==========================================================
   よくある質問（罫線アコーディオン）
   ========================================================== */
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-list > .faq-item:first-child { border-top-color: var(--k); }
.faq-item summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 24px 56px 24px 38px; font: 700 16.5px/1.75 var(--ff-d);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; position: absolute; left: 0; top: 24px; font: 700 16.5px/1.75 var(--ff-d); }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform .35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.faq-item__a { padding: 0 56px 28px 38px; font-size: 15px; line-height: 2.05; color: var(--g7); }
.faq-item__a strong { color: var(--g9); font-weight: 700; }
.faq-item__a a { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   ご利用の流れ
   ========================================================== */
.d-flow > li { display: grid; grid-template-columns: 4fr 8fr; gap: 0 48px; align-items: start; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--k); }
.d-flow > li:last-child { border-bottom: 1px solid var(--k); }
.d-flow .d-n { display: block; margin-bottom: 14px; font: 700 15px/1 var(--ff-d); }
.d-flow h2 { font-size: clamp(24px, 2.7vw, 36px); line-height: 1.45; }
.d-flow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; font-size: 13.5px; line-height: 1; color: var(--sub); }
.d-flow__free { padding: 5px 10px 6px; border-radius: 6px; background: var(--k); color: var(--y); font: 700 12px/1 var(--ff-d); }
.d-flow__days { display: inline-flex; align-items: center; gap: 6px; }
.d-flow__roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 26px; }
.d-flow__roles > div { padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.95; color: var(--g7); }
.d-flow__roles b { display: block; margin-bottom: 4px; font: 700 13px/1.8 var(--ff-d); color: var(--g9); }

/* ==========================================================
   会社概要
   ========================================================== */
.d-statement { font: 700 clamp(22px, 2.6vw, 34px)/1.7 var(--ff-d); font-feature-settings: "palt"; letter-spacing: .03em; margin-bottom: 32px; }
.ceo-body { max-width: 42em; }
.ceo-body .d-txt { color: var(--g7); }
.ceo-body .d-txt strong { color: var(--g9); font-weight: 700; }
.ceo-sign { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.ceo-sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.ceo-sign strong { display: block; font: 700 18px/1.6 var(--ff-d); }
.access-map { border-radius: 20px; overflow: hidden; }
.access-map iframe { display: block; width: 100%; height: 400px; border: 0; }
.access-note { margin-top: 18px; font-size: 14.5px; line-height: 1.95; color: var(--g7); }

/* ==========================================================
   制作実績
   ========================================================== */
.d-works { border-bottom: 1px solid var(--line); }
.d-works a { display: grid; grid-template-columns: 5fr 6fr auto; gap: 0 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.d-works li:first-child a { border-top-color: var(--k); }
.d-works__kind { display: block; margin-bottom: 6px; font-size: 12.5px; line-height: 1.6; color: var(--sub); }
.d-works__ttl { font: 700 20px/1.5 var(--ff-d); }
.d-works__desc { font-size: 14.5px; line-height: 1.95; color: var(--g7); }
.d-works i, .d-news i, .d-more i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.d-works a:hover i, .d-news a:hover i, .d-more:hover i { transform: translateX(6px); }
.d-works a:hover .d-works__ttl { text-decoration: underline; text-underline-offset: 5px; }
.d-works + .d-note { margin-top: 36px; font-size: 15px; }

/* ==========================================================
   お問い合わせフォーム
   ========================================================== */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { max-width: 760px; margin-bottom: 28px; padding: 16px 20px; border-radius: 12px; border: 1.5px solid var(--c-error); color: var(--c-error); font-size: 14.5px; line-height: 1.8; font-weight: 700; }
.form-alert a { text-decoration: underline; }
.contact-form { display: flex; flex-direction: column; gap: 30px; max-width: 760px; }
.contact-form__row { border: 0; min-width: 0; }
.contact-form__label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 700 15px/1.6 var(--ff-d); }
.req, .opt { padding: 3px 8px 4px; border-radius: 6px; font: 700 11px/1 var(--ff-d); }
.req { background: var(--k); color: var(--y); }
.opt { background: #EFEFEF; color: var(--g7); }
.contact-form__input {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.7; color: var(--g9);
  background: #fff; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px #BDBDBD;
  padding: 15px 18px; transition: box-shadow .2s;
}
.contact-form__input:hover { box-shadow: inset 0 0 0 1px var(--g7); }
.contact-form__input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--k); }
.contact-form__input::placeholder { color: #9E9E9E; }
.contact-form__textarea { resize: vertical; min-height: 170px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chips label { cursor: pointer; }
.topic-chips input { position: absolute; opacity: 0; pointer-events: none; }
.topic-chips span { display: inline-block; padding: 12px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px #BDBDBD; font: 700 14px/1 var(--ff-d); transition: background .2s, color .2s, box-shadow .2s; }
.topic-chips label:hover span { box-shadow: inset 0 0 0 1px var(--k); }
.topic-chips input:checked + span { background: var(--k); color: var(--y); box-shadow: none; }
.topic-chips input:focus-visible + span { outline: 3px solid var(--k); outline-offset: 3px; }
.contact-form__check label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14.5px; line-height: 1.7; }
.contact-form__check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: #000; }
.contact-form__check .req { margin-left: 6px; }
.contact-form__submit { padding-top: 30px; border-top: 1px solid var(--line); }
.contact-form__note { margin-top: 18px; font-size: 13px; line-height: 1.9; color: var(--sub); }
.contact-form__note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form__policy { margin-top: 10px; font-size: 12px; }

.form-done { max-width: 640px; }
.form-done__ttl { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.45; margin-bottom: 16px; }
.form-done__txt { font-size: 15px; line-height: 2.05; color: var(--g7); }
.form-done__txt a { text-decoration: underline; text-underline-offset: 4px; }
.form-done__steps { counter-reset: done; margin: 22px 0 26px; border-bottom: 1px solid var(--line); }
.form-done__steps li { counter-increment: done; position: relative; padding: 17px 0 17px 44px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.8; }
.form-done__steps li::before { content: "0" counter(done); position: absolute; left: 0; top: 17px; font: 700 14.5px/1.8 var(--ff-d); }
.form-done .d-btn { margin-top: 30px; }

/* ==========================================================
   プライバシーポリシー・記事本文（長文）
   ========================================================== */
.d-checks { display: flex; flex-direction: column; gap: 12px; }
.d-checks li { font-size: 15.5px; line-height: 1.95; }
.d-checks strong { font-weight: 700; }
.policy-body { max-width: 46em; }
.policy-body h3 { margin: 44px 0 12px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 19px; line-height: 1.6; }
.policy-body p, .policy-body li { font-size: 15px; line-height: 2.05; color: var(--g7); }
.policy-body ul { list-style: disc; padding-left: 1.4em; }
.policy-body a { text-decoration: underline; text-underline-offset: 4px; }
.policy-body__date { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px !important; }

/* ==========================================================
   お知らせ一覧（TOP の d-news と同じ行リスト）・ページ送り・404
   ========================================================== */
.d-news { border-bottom: 1px solid var(--line); }
.d-news a { display: grid; grid-template-columns: 96px 78px 1fr auto; gap: 0 22px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.7; }
.d-news li:first-child a { border-top-color: var(--k); }
.d-news time { font: 500 14px/1 var(--ff-d); color: var(--sub); font-variant-numeric: tabular-nums; }
.d-news .d-cat { padding: 5px 0; border: 1px solid currentColor; border-radius: 999px; text-align: center; font-size: 12px; line-height: 1; color: var(--sub); }
.d-news .d-new { margin-left: 10px; padding: 2px 7px 3px; border-radius: 4px; background: var(--k); color: var(--y); font: 700 11px/1 var(--ff-d); vertical-align: 2px; }
.d-news a:hover .d-ttl { text-decoration: underline; text-underline-offset: 5px; }
.archive-empty { padding: 8px 0; font-size: 15.5px; line-height: 2.05; color: var(--g7); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; font: 700 14px/1 var(--ff-d); transition: box-shadow .2s, background .2s, color .2s; }
.pagination a.page-numbers:hover { box-shadow: inset 0 0 0 1.5px var(--k); }
.pagination .page-numbers.current { background: var(--k); color: var(--y); }

.error-page__actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1024px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; }
  .plan-card__for { min-height: 0; }
}
@media (max-width: 860px) {
  body.uuo-sub { --px: 20px; padding: 8px; font-weight: 500; }
  body.uuo-sub .header { inset: 8px 8px auto; }
  body.uuo-sub::after { inset: 8px; border-radius: 20px; }
  .d-row, .d-svc-row, .d-flow > li { display: block; }
  .d-row > .d-h, .d-row > .d-side { position: static; margin-bottom: 28px; }
  .d-txt { font-size: 15px; line-height: 2; }
  .d-svc-row .d-txt, .ceo-body .d-txt, .d-flow__roles > div, .d-works__desc, .faq-item__a, .policy-body p, .policy-body li { color: var(--g9); }
  .d-note { font-size: 15px; }
  .d-ph { padding-bottom: 104px; }
  .d-ph__in { padding-right: 0; }
  .d-ph__lead { font-size: 15px; line-height: 2; }
  .d-ph .d-peek { --w: 112px; right: 24px; }
  .d-contact { padding-bottom: 170px; }
  .d-contact .d-txt br { display: none; }
  .d-contact .d-peek { --w: 170px; right: 24px; }
  .page-cta + .footer .footer__main { padding-top: 64px; }
  .d-svc-row .d-catch, .d-flow__body { margin-top: 14px; }
  .d-svc-row .d-chips { margin-top: 22px; }
  .d-flow__roles { grid-template-columns: 1fr; gap: 16px 0; }
  .d-info > div, .consul-points li { grid-template-columns: 96px 1fr; }
  .d-works a { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px 0; }
  .d-works__desc { grid-column: 1 / -1; grid-row: 2; }
  .d-news a { grid-template-columns: auto auto 1fr; gap: 8px 12px; padding: 18px 0; font-size: 14.5px; }
  .d-news .d-cat { padding: 4px 12px; }
  .d-news .d-ttl { grid-column: 1 / -1; }
  .d-news a > i { display: none; }
  .faq-item summary { padding: 20px 40px 20px 30px; font-size: 15px; }
  .faq-item summary::before { top: 20px; font-size: 15px; }
  .faq-item__a { padding: 0 0 24px 30px; font-size: 15px; }
  .access-map iframe { height: 300px; }
  .d-btn { padding: 16px 34px; font-size: 15.5px; }
  .contact-form__submit .d-btn, .error-page__actions .d-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .uuo-sub *, .uuo-sub *::before, .uuo-sub *::after { animation: none !important; transition: none !important; }
  .d-ph .d-peek__body { transform: none; }
}
