/* 結城・朝比奈法律事務所（デモ） */
:root {
  --navy: #172640;
  --navy-2: #22355a;
  --ivory: #f7f4ee;
  --paper: #ffffff;
  --ink: #23262d;
  --sub: #5f6470;
  --line: #ddd8cd;
  --brass: #a8783f;
  --brass-2: #c79a5e;
  --mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --gothic: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --en: 'Cormorant Garamond', 'Shippori Mincho', serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--gothic); font-size: 16px; line-height: 2; letter-spacing: .05em; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
.wrap { width: min(1120px, 100% - 64px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc { display: inline; }

.demo-bar { background: #0d1626; color: #aeb5c4; font-size: 12px; line-height: 1.6; padding: 8px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.demo-bar a { color: var(--brass-2); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 2px; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-decoration: none; transition: background .3s, color .3s; }
.btn--accent { background: var(--brass); color: #fff; }
.btn--accent:hover { background: #8d6232; }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px; padding: 14px 32px; background: rgba(247, 244, 238, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, padding .3s; }
.header.is-scrolled { border-bottom-color: var(--line); padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; border: 1.5px solid var(--navy); position: relative; transform: rotate(45deg); }
.logo__mark::before, .logo__mark::after { content: ""; position: absolute; background: var(--navy); }
.logo__mark::before { left: 50%; top: 4px; bottom: 4px; width: 1.5px; margin-left: -.75px; }
.logo__mark::after { top: 50%; left: 4px; right: 4px; height: 1.5px; margin-top: -.75px; background: var(--brass); }
.logo__text { font-family: var(--mincho); font-weight: 600; font-size: 13px; line-height: 1.35; letter-spacing: .12em; color: var(--navy); }
.logo__text b { font-size: 18px; font-weight: 700; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 26px; }
.gnav a { font-size: 14px; text-decoration: none; position: relative; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.gnav a:hover::after, .gnav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header__contact { display: flex; align-items: center; gap: 16px; }
.tel { font-family: var(--en); font-weight: 600; font-size: 24px; line-height: 1.1; text-decoration: none; color: var(--navy); letter-spacing: .04em; display: flex; flex-direction: column; align-items: flex-end; }
.tel small { font-family: var(--gothic); font-size: 11px; font-weight: 500; color: var(--sub); letter-spacing: .04em; }
.menu-btn { display: none; }
.drawer[hidden] { display: none; }

/* 見出し */
.sec-head { margin-bottom: 56px; }
.en { font-family: var(--en); font-style: italic; font-weight: 500; font-size: 20px; color: var(--brass); letter-spacing: .06em; display: flex; align-items: center; gap: 14px; }
.en::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.en--light { color: var(--brass-2); }
.sec-title { font-family: var(--mincho); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.6; letter-spacing: .1em; color: var(--navy); margin-top: 10px; }
.sec-head--light .sec-title { color: #fff; }
.sec-head--light .en { color: var(--brass-2); }
.lead { margin-top: 14px; color: var(--sub); }

/* ファーストビュー */
.hero { position: relative; height: max(620px, calc(100vh - 120px)); overflow: hidden; display: flex; align-items: center; color: #fff; background: var(--navy); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.motion .hero__slide.is-on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 24, 42, .82) 0%, rgba(14, 24, 42, .55) 45%, rgba(14, 24, 42, .1) 100%); }
.hero__inner { position: relative; z-index: 1; width: min(1120px, 100% - 64px); margin-inline: auto; }
.hero__en { font-family: var(--en); font-style: italic; font-size: 20px; color: var(--brass-2); letter-spacing: .08em; }
.hero__title { font-family: var(--mincho); font-weight: 600; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.6; letter-spacing: .1em; margin: 18px 0 24px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
.motion .hero__title .line > span { transform: translateY(105%); animation: lineUp 1.3s var(--ease) .2s forwards; }
.motion .hero__title .line:nth-child(2) > span { animation-delay: .45s; }
@keyframes lineUp { to { transform: none; } }
.hero__lead { font-size: 16px; line-height: 2.1; color: #e3e6ee; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__badges li { border: 1px solid rgba(255, 255, 255, .45); padding: 10px 20px; font-size: 14px; display: flex; flex-direction: column; line-height: 1.5; min-width: 150px; text-align: center; background: rgba(14, 24, 42, .35); }
.hero__badges b { font-family: var(--mincho); font-size: 13px; color: var(--brass-2); font-weight: 600; letter-spacing: .1em; }
.motion .hero__lead, .motion .hero__badges, .motion .hero__en { opacity: 0; animation: fade 1.2s var(--ease) .9s forwards; }
.motion .hero__en { animation-delay: 0s; }
.motion .hero__badges { animation-delay: 1.15s; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__dots { position: absolute; right: 40px; bottom: 96px; z-index: 1; display: flex; gap: 10px; }
.hero__dots i { width: 28px; height: 2px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.hero__dots i.is-on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dot 6s linear forwards; }
@keyframes dot { from { transform: scaleX(0); } }
.hero__scroll { position: absolute; left: 50%; bottom: 64px; z-index: 1; transform: translateX(-50%); font-family: var(--en); font-size: 13px; letter-spacing: .2em; padding-bottom: 50px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 40px; background: rgba(255, 255, 255, .6); }
.motion .hero__scroll::after { animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 入口 */
.gate { position: relative; z-index: 2; margin-top: -60px; }
.gate__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gate__card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 36px 40px; background: var(--paper); text-decoration: none; box-shadow: 0 20px 40px -24px rgba(23, 38, 64, .35); overflow: hidden; transition: transform .4s var(--ease); }
.gate__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brass); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.gate__card:hover { transform: translateY(-4px); }
.gate__card:hover::before { transform: scaleY(1); }
.gate__card--dark { background: var(--navy-2); color: #fff; }
.gate__en { font-family: var(--en); font-style: italic; font-size: 16px; color: var(--brass); }
.gate__card--dark .gate__en { color: var(--brass-2); }
.gate__title { font-family: var(--mincho); font-weight: 600; font-size: 26px; letter-spacing: .1em; }
.gate__text { font-size: 14px; color: var(--sub); }
.gate__card--dark .gate__text { color: #c7cddb; }
.gate__arrow { position: absolute; right: 32px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid currentColor; opacity: .7; transition: background .3s, transform .4s var(--ease); }
.gate__arrow::after { content: ""; position: absolute; left: 15px; top: 17px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.gate__card:hover .gate__arrow { transform: translateY(4px); }

/* 方針 */
.policy { padding: 130px 0 120px; }
.policy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; counter-reset: p; }
.policy-list li { position: relative; padding: 36px 0 36px 92px; border-top: 1px solid var(--line); }
.policy-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.policy__no { position: absolute; left: 0; top: 26px; font-family: var(--en); font-size: 56px; font-weight: 500; line-height: 1; color: var(--brass); }
.policy-list h3 { font-family: var(--mincho); font-weight: 600; font-size: 21px; line-height: 1.6; letter-spacing: .06em; color: var(--navy); }
.policy-list p { margin-top: 10px; font-size: 15px; color: var(--sub); }

/* 取扱分野 */
.practice { padding: 120px 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.practice::before { content: "Practice"; position: absolute; right: -2vw; top: 40px; font-family: var(--en); font-style: italic; font-size: clamp(100px, 16vw, 220px); line-height: 1; color: rgba(255, 255, 255, .04); pointer-events: none; }
.tabs { display: inline-flex; border: 1px solid rgba(255, 255, 255, .3); margin-bottom: 40px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .1em; padding: 12px 32px; background: transparent; color: #c7cddb; border: 0; cursor: pointer; transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--brass); color: #fff; }
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.area-list li { background: var(--navy); }
.area-list a { display: flex; flex-direction: column; gap: 6px; padding: 32px 30px; text-decoration: none; height: 100%; transition: background .35s; position: relative; }
.area-list a::after { content: ""; position: absolute; right: 26px; bottom: 28px; width: 7px; height: 7px; border-right: 1.5px solid var(--brass-2); border-top: 1.5px solid var(--brass-2); transform: rotate(45deg); transition: transform .35s var(--ease); }
.area-list a:hover { background: var(--navy-2); }
.area-list a:hover::after { transform: translateX(4px) rotate(45deg); }
.area__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--brass-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.area-list b { font-family: var(--mincho); font-weight: 600; font-size: 20px; letter-spacing: .08em; margin-top: 8px; }
.area-list small { font-size: 13px; color: #b8c0d0; }
.area-list.is-swap li { animation: areaIn .6s var(--ease) both; animation-delay: calc(var(--i) * .05s); }
@keyframes areaIn { from { opacity: 0; transform: translateY(14px); } }

/* 費用 */
.fee { padding: 130px 0; }
.fee__top { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 36px 44px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--brass); }
.fee__label { font-size: 14px; font-weight: 700; color: var(--sub); }
.fee__price { font-family: var(--mincho); font-weight: 700; font-size: 44px; line-height: 1.3; color: var(--navy); display: flex; align-items: baseline; gap: 12px; }
.fee__price span { font-size: 20px; }
.fee__note { font-size: 13px; color: var(--sub); }
.fee__msg { font-family: var(--mincho); font-size: 17px; line-height: 2; color: var(--navy); padding-left: 40px; border-left: 1px solid var(--line); }
.table-wrap { margin-top: 32px; overflow-x: auto; }
.fee-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; min-width: 560px; }
.fee-table th, .fee-table td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: left; }
.fee-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.fee-table tbody th { font-family: var(--mincho); font-weight: 600; color: var(--navy); white-space: nowrap; }
.fee-table tbody tr { transition: background .3s; }
.fee-table tbody tr:hover { background: #fbf8f2; }
.fee__foot { margin-top: 16px; font-size: 13px; color: var(--sub); }

/* 弁護士紹介 */
.lawyers { padding: 120px 0 130px; background: var(--paper); }
.lawyer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.lawyer__photo { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 22px; }
.lawyer__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.lawyer:hover .lawyer__photo img { transform: scale(1.04); }
.lawyer__role { font-size: 13px; color: var(--brass); font-weight: 700; letter-spacing: .12em; }
.lawyer__name { font-family: var(--mincho); font-weight: 600; font-size: 26px; letter-spacing: .16em; color: var(--navy); display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lawyer__name small { font-family: var(--en); font-style: italic; font-size: 16px; font-weight: 500; color: var(--sub); letter-spacing: .04em; }
.lawyer__field { display: inline-block; margin: 8px 0 14px; padding: 2px 12px; font-size: 13px; background: var(--ivory); border: 1px solid var(--line); }
.lawyer > p:not([class]) { font-size: 15px; color: var(--ink); }
.lawyer__meta { margin-top: 12px; font-size: 12px; color: var(--sub); }

/* ご相談の流れ */
.flow { padding: 120px 0; }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: f; }
.flow-list li { position: relative; padding: 32px 26px; background: var(--paper); border: 1px solid var(--line); }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-right: 1.5px solid var(--brass); border-top: 1.5px solid var(--brass); transform: rotate(45deg); }
.flow__step { font-family: var(--en); font-size: 15px; font-weight: 600; letter-spacing: .14em; color: var(--brass); }
.flow-list h3 { font-family: var(--mincho); font-weight: 600; font-size: 21px; letter-spacing: .1em; color: var(--navy); margin: 6px 0 10px; }
.flow-list p { font-size: 14px; color: var(--sub); line-height: 1.9; }

/* よくあるご質問 */
.faq { padding: 0 0 120px; }
.faq__inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 40px; position: relative; font-weight: 700; color: var(--navy); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { content: "Q."; position: absolute; left: 0; top: 18px; font-family: var(--en); font-size: 24px; color: var(--brass); }
.faq__list summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 1.5px; background: var(--navy); box-shadow: none; }
.faq__list summary span { display: block; }
.faq__list details:not([open]) summary { background: linear-gradient(var(--navy), var(--navy)) no-repeat right 18px center / 1.5px 14px; }
.faq__list details p { padding: 0 0 26px 40px; color: var(--sub); font-size: 15px; }

/* お知らせ */
.news { padding: 120px 0; background: var(--paper); }
.news__inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.news__list { border-top: 1px solid var(--line); }
.news__list li { border-bottom: 1px solid var(--line); }
.news__list a { display: grid; grid-template-columns: 110px 100px 1fr; gap: 16px; align-items: center; padding: 24px 6px; text-decoration: none; transition: background .3s, padding .4s var(--ease); }
.news__list a:hover { background: var(--ivory); padding-left: 18px; }
.news__list time { font-family: var(--en); font-size: 17px; color: var(--sub); }
.news__cat { justify-self: start; font-size: 12px; padding: 1px 12px; border: 1px solid var(--brass); color: var(--brass); }

/* アクセス */
.access { padding: 130px 0; }
.access__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.access__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.access__photo img { width: 100%; height: 100%; object-fit: cover; }
.access__info { margin-top: 28px; }
.access__info > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.access__info > div:first-child { border-top: 1px solid var(--line); }
.access__info dt { font-weight: 700; color: var(--navy); }

/* お問い合わせ */
.contact { padding: 120px 0; background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.contact__inner { max-width: 880px; }
.contact .en { justify-content: center; }
.contact .en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.contact__title { font-family: var(--mincho); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .1em; line-height: 1.6; margin: 14px 0 16px; }
.contact__inner > p:not(.en) { color: #c7cddb; }
.contact__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.contact__box { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px 20px; border: 1px solid rgba(255, 255, 255, .3); text-decoration: none; transition: background .3s, border-color .3s; }
.contact__box:hover { background: rgba(255, 255, 255, .06); border-color: #fff; }
.contact__box--accent { background: var(--brass); border-color: var(--brass); }
.contact__box--accent:hover { background: #8d6232; border-color: #8d6232; }
.contact__label { font-size: 13px; letter-spacing: .1em; }
.contact__tel { font-family: var(--en); font-weight: 600; font-size: 40px; line-height: 1.2; letter-spacing: .04em; }
.contact__web { font-family: var(--mincho); font-weight: 600; font-size: 28px; letter-spacing: .14em; line-height: 1.5; }
.contact__sub { font-size: 12px; color: #d9dde6; }

/* フッター */
.footer { background: #0d1626; color: #aeb5c4; padding: 60px 0 32px; font-size: 13px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__name { font-family: var(--mincho); font-weight: 600; font-size: 19px; letter-spacing: .14em; color: #fff; margin-bottom: 8px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; align-content: start; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: #fff; }
.footer__copy { text-align: center; margin-top: 48px; font-size: 12px; }

/* 写真がまだないときの仮の背景 */
.ph { background: linear-gradient(135deg, #2b3d60, #172640); position: relative; }
.ph.is-missing img { display: none; }
.ph.is-missing::after { content: "写真準備中"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: #8d98ae; }
.hero__slide.ph.is-missing::after { content: ""; }

.sp-cta { display: none; }

/* スクロールで現れる */
.motion [data-r] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.motion [data-r].is-in { opacity: 1; transform: none; }
.motion .gate__card[data-r].is-in:hover { transform: translateY(-4px); }
.motion .policy-list li[data-r]::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.motion .policy-list li[data-r].is-in::before { transform: scaleX(1); }

/* タブレット */
@media (max-width: 1120px) {
  .gnav { display: none; }
  .header__contact { margin-left: auto; }
  .menu-btn { display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; background: var(--navy); border: 0; cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 20px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), opacity .3s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .drawer { position: fixed; inset: 0; z-index: 45; background: var(--ivory); padding: 120px 32px 40px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
  .drawer a:not(.btn):not(.tel) { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--mincho); font-size: 19px; font-weight: 600; letter-spacing: .1em; color: var(--navy); }
  .drawer small { font-family: var(--en); font-style: italic; font-size: 15px; color: var(--brass); font-weight: 500; }
  .tel--big { align-items: flex-start; font-size: 32px; }
  .drawer .btn { padding: 16px; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .lawyer-list { gap: 24px; }
  .flow-list { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .flow-list li:nth-child(2)::after { display: none; }
}

/* スマホ */
@media (max-width: 760px) {
  body { font-size: 15px; padding-bottom: 64px; }
  .wrap, .hero__inner { width: calc(100% - 40px); }
  .pc { display: none; }
  .demo-bar { padding: 8px 16px; }
  .header { padding: 10px 16px; gap: 12px; }
  .header__contact { display: none; }
  .menu-btn { margin-left: auto; width: 42px; height: 42px; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__text { font-size: 11px; }
  .logo__text b { font-size: 15px; }
  .drawer { padding: 100px 20px 100px; }
  .hero { height: max(560px, calc(100svh - 160px)); align-items: flex-end; padding-bottom: 110px; }
  .hero__slides::after { background: linear-gradient(0deg, rgba(14, 24, 42, .9) 10%, rgba(14, 24, 42, .35) 70%, rgba(14, 24, 42, .2)); }
  .hero__en { font-size: 16px; }
  .hero__title { font-size: 23px; margin: 10px 0 16px; letter-spacing: .04em; }
  .hero__lead { font-size: 14px; }
  .hero__badges { gap: 8px; margin-top: 22px; }
  .hero__badges li { min-width: 0; flex: 1 1 0; padding: 8px 6px; font-size: 12px; }
  .hero__badges b { font-size: 11px; }
  .hero__dots { right: 20px; bottom: 60px; }
  .hero__scroll { display: none; }
  .gate { margin-top: -40px; }
  .gate__inner { grid-template-columns: 1fr; gap: 12px; }
  .gate__card { padding: 26px 24px; }
  .gate__title { font-size: 21px; }
  .gate__text { padding-right: 50px; }
  .gate__arrow { right: 20px; }
  .sec-head { margin-bottom: 36px; }
  .policy, .practice, .fee, .lawyers, .flow, .news, .access, .contact { padding: 88px 0; }
  .policy-list { grid-template-columns: 1fr; }
  .policy-list li { padding: 28px 0 28px 64px; }
  .policy-list li:nth-last-child(2) { border-bottom: 0; }
  .policy__no { font-size: 40px; top: 24px; }
  .policy-list h3 { font-size: 18px; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: 12px 8px; font-size: 14px; }
  .area-list { grid-template-columns: 1fr; }
  .area-list a { padding: 22px 22px; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .area-list b { margin-top: 0; font-size: 18px; }
  .area-list small { flex-basis: 100%; padding-left: 54px; margin-top: -4px; }
  .area__icon svg { width: 36px; height: 36px; }
  .fee__top { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
  .fee__price { font-size: 36px; }
  .fee__msg { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; font-size: 15px; }
  .fee-table th, .fee-table td { padding: 14px 14px; font-size: 14px; }
  .lawyer-list { grid-template-columns: 1fr; gap: 56px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li::after { display: none; }
  .faq { padding-bottom: 88px; }
  .faq__inner, .news__inner { grid-template-columns: 1fr; gap: 0; }
  .news__list a { grid-template-columns: auto 1fr; gap: 4px 12px; padding: 18px 4px; }
  .news__list p { grid-column: 1 / -1; }
  .access__inner { grid-template-columns: 1fr; gap: 36px; }
  .access__info > div { grid-template-columns: 1fr; gap: 2px; }
  .contact__boxes { grid-template-columns: 1fr; }
  .contact__tel { font-size: 34px; }
  .footer__nav { grid-template-columns: repeat(2, auto); }
  .sp-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); transform: translateY(100%); transition: transform .4s var(--ease); }
  .sp-cta.is-show { transform: none; }
  .sp-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .08em; }
  .sp-cta .sp-cta__web { background: var(--brass); }
}

/* 英字書体の数字を、高さのそろった形にする */
.tel, .contact__tel, .policy__no, .news__list time, .flow__step { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
