@charset "UTF-8";
/*
Theme Name: LEGALUS - 弁護士法人 本町総合法律事務所
Author: LEGALUS
Author URI: https://legalus.jp/
Version: 1.0
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* font */
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Jost", "Noto Sans JP", sans-serif;

  /* color */
  --c-navy: #10243c;
  --c-navy-mid: #1b3a5c;
  --c-navy-soft: #34597f;
  --c-navy-tint: #eef2f7;
  --c-ink: #17202b;
  --c-ink-soft: #56616f;
  --c-ink-mute: #8b94a1;
  --c-white: #ffffff;
  --c-paper: #f8f7f4;
  --c-line: #e0e4ea;
  --c-line-strong: #c8cfd8;

  /* layout */
  --header-h: 88px;
  --container: 1200px;
  --measure: 42em; /* 本文の可読行長 */
  --gutter: clamp(20px, 5vw, 48px);
  --scroll-margin: 24px;
  --bottom-float-show: 32px;
  --to-top-lift: 12px;

  /* radius */
  --r-sm: 2px;
  --r-md: 4px;
  --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 1px 2px rgba(16, 36, 60, .06), 0 6px 16px rgba(16, 36, 60, .05);
  --sh-md: 0 2px 4px rgba(16, 36, 60, .06), 0 14px 34px rgba(16, 36, 60, .08);

  /* type scale */
  --t-xs: 0.75rem;
  --t-sm: 0.8125rem;
  --t-md: 0.9375rem;
  --t-base: 1rem;
  --t-lg: clamp(1.0625rem, 0.4vw + 0.95rem, 1.1875rem);
  --t-xl: clamp(1.25rem, 0.7vw + 1.05rem, 1.5rem);
  --t-2xl: clamp(1.5rem, 1.2vw + 1.15rem, 2rem);
  --t-3xl: clamp(1.875rem, 2vw + 1.3rem, 2.75rem);
  --t-4xl: clamp(1.75rem, 3.2vw + 0.85rem, 3.5rem);

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-white);
  font-feature-settings: "palt";
  overflow-wrap: break-word;
}

body.shadow {
  overflow: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color .25s var(--ease),
    border-color .25s var(--ease),
    background-color .25s var(--ease),
    opacity .25s var(--ease),
    transform .25s var(--ease);
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .01em;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--c-navy-soft);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  color: var(--c-white);
  background: var(--c-navy);
  border-radius: var(--r-md);
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */
.wrapper {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main {
  display: block;
}

.sect {
  padding-block: clamp(64px, 7vw, 112px);
}

.sect--paper {
  background: var(--c-paper);
}

.sect-actions {
  margin-top: clamp(28px, 3vw, 44px);
}

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* section head */
.sect-head {
  margin-bottom: clamp(32px, 3.5vw, 52px);
}

.sect-head__en {
  font-family: var(--font-en);
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-navy-soft);
  line-height: 1.4;
  margin-bottom: 12px;
}

.sect-head__en::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
}

.sect-head__title {
  font-size: var(--t-3xl);
  line-height: 1.42;
  color: var(--c-navy);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 34px;
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: .06em;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}

.btn::after {
  content: "";
  width: 18px;
  height: 6px;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: skewX(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}

.btn--primary {
  color: var(--c-white);
  background: var(--c-navy);
  border-color: var(--c-navy);
}

.btn--primary:hover {
  background: var(--c-navy-mid);
  border-color: var(--c-navy-mid);
}

.btn:hover::after {
  transform: skewX(45deg) translateY(-2px) translateX(4px);
}

/* text link */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-md);
  letter-spacing: .06em;
  color: var(--c-navy);
  border-bottom: 1px solid var(--c-line-strong);
  padding-bottom: 6px;
}

.text-link::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: width .25s var(--ease);
}

.text-link:hover {
  color: var(--c-navy-soft);
  border-bottom-color: var(--c-navy-soft);
}

.text-link:hover::after {
  width: 38px;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header--overlay {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header--overlay.is-scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--c-line);
  box-shadow: var(--sh-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 40px);
  width: 100%;
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-logo {
  display: block;
  flex-shrink: 0;
  line-height: 1.25;
}

.site-logo__sub {
  display: block;
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--c-navy-soft);
}

.site-logo__main {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1vw + .8rem, 1.3125rem);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-navy);
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.site-logo:hover .site-logo__main {
  color: var(--c-navy-soft);
}

.global-nav {
  margin-left: auto;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 36px);
}

.global-nav__list a {
  display: block;
  position: relative;
  padding-block: 6px;
}

.global-nav__list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--c-navy-soft);
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}

.global-nav__list a:hover::after,
.global-nav__list .is-current a::after {
  width: 16px;
}

.global-nav__ja {
  display: block;
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--c-navy);
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.global-nav__list a:hover .global-nav__ja,
.global-nav__list .is-current .global-nav__ja {
  color: var(--c-navy-soft);
}

.global-nav__list .is-current a {
  position: relative;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-tel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  overflow: hidden;
  color: var(--c-white);
  line-height: 1;
  background: transparent;
  border: 1px solid var(--c-navy);
  border-radius: var(--r-sm);
  transition: color .28s var(--ease);
}

.header-tel::before,
.header-tel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.header-tel::before {
  background: var(--c-navy);
}

.header-tel::after {
  background: var(--c-white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s var(--ease);
}

.header-tel .fa-phone {
  font-size: .8125rem;
}

.header-tel__num {
  font-family: var(--font-en);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: .03em;
}

.header-tel:hover {
  color: var(--c-navy);
}

.header-tel:hover::after {
  transform: scaleX(1);
}

.hamburger {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.hamburger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1px;
  background: var(--c-navy);
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21.5px; }
.hamburger span:nth-child(3) { top: 28px; }

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateX(-50%) translateY(6.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateX(-50%) translateY(-6.5px) rotate(-45deg);
}

/* ドロワー展開中はヘッダーをドロワーの紺地に合わせて反転させる */
body.shadow .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.shadow .site-logo__main {
  color: var(--c-white);
}

body.shadow .site-logo:hover .site-logo__main {
  color: var(--c-white);
  opacity: .82;
}

body.shadow .site-logo__sub {
  color: rgba(255, 255, 255, .65);
}

body.shadow .hamburger span {
  background: var(--c-white);
}

/* drawer */
.drawer-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 99;
  width: min(420px, 100%);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  color: var(--c-white);
  background: var(--c-navy);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .45s var(--ease), opacity .45s var(--ease), visibility .45s var(--ease);
}

.drawer-menu.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.drawer-menu__list li + li {
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.drawer-menu__list a {
  display: block;
  padding-block: 18px;
  transition: padding-left .25s var(--ease);
}

.drawer-menu__list a:hover {
  padding-left: 6px;
}

.drawer-menu__ja {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: .04em;
  transition: color .25s var(--ease);
}

.drawer-menu__list a:hover .drawer-menu__ja {
  color: rgba(255, 255, 255, .85);
}

/* to top */
.to-top-button {
  position: fixed;
  right: 20px;
  bottom: var(--bottom-float-show);
  z-index: 80;
  width: 48px;
  height: 48px;
  color: var(--c-white);
  background: var(--c-navy);
  border-radius: 50%;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, var(--to-top-lift), 0);
  transition:
    opacity .35s var(--ease),
    visibility .35s var(--ease),
    background-color .25s var(--ease),
    bottom .35s var(--ease),
    transform .35s var(--ease);
  will-change: bottom, transform, opacity;
}

.to-top-button i {
  font-size: .9375rem;
}

.to-top-button.show {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.to-top-button:hover {
  background: var(--c-navy-mid);
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.site-footer {
  color: var(--c-white);
  background: var(--c-navy);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  padding-block: clamp(48px, 5vw, 76px);
}

.footer-logo {
  display: block;
  line-height: 1.3;
}

.footer-logo__sub {
  display: block;
  font-size: 10px;
  letter-spacing: .28em;
  color: rgba(255, 255, 255, .62);
}

.footer-logo__main {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  letter-spacing: .04em;
  transition: opacity .25s var(--ease);
}

.footer-logo:hover .footer-logo__main {
  opacity: .82;
}

.footer-address {
  margin-top: 24px;
  font-size: var(--t-md);
  font-style: normal;
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: var(--t-md);
}

.footer-contact > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-contact dt {
  font-family: var(--font-en);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .62);
}

.footer-contact dd a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .2em;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}

.footer-contact dd a:hover {
  color: rgba(255, 255, 255, .95);
  text-decoration-color: currentColor;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}

.footer-nav a {
  display: inline-block;
  padding-block: 8px;
  font-size: var(--t-md);
  color: rgba(255, 255, 255, .88);
}

.footer-nav a::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: rgba(255, 255, 255, .45);
  transition: width .25s var(--ease), background-color .25s var(--ease);
}

.footer-nav a:hover::before {
  width: 16px;
  background: rgba(255, 255, 255, .85);
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, .95);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, .7);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-links a .fa-arrow-up-right-from-square {
  font-size: .625rem;
  opacity: .7;
  transition: opacity .25s var(--ease);
}

.footer-links a:hover .fa-arrow-up-right-from-square {
  opacity: 1;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, .95);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.site-footer__bottom-inner {
  padding-block: 20px;
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, .7);
}

.copyright {
  font-family: var(--font-en);
  letter-spacing: .06em;
}

/* ==========================================================================
   6. Hero (front page)
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(85vh, 820px);
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--c-navy-tint);
}

.hero__media {
  position: absolute;
  inset: 0;
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .82) 30%, rgba(255, 255, 255, .3) 60%, rgba(255, 255, 255, 0) 80%),
    linear-gradient(to top, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 40%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(56px, 8vw, 104px);
}

.hero__en {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--c-navy-soft);
  margin-bottom: 22px;
}

.hero__en::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

.hero__title {
  font-size: var(--t-4xl);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: .04em;
  color: var(--c-navy);
}

/* ==========================================================================
   7. Front page sections
   ========================================================================== */
.news-list {
  max-width: var(--measure);
}

.news-list > li {
  padding-block: 16px;
}

.news-list__link {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 4px 22px;
  color: inherit;
  text-decoration: none;
}

.news-list__link:hover .news-title,
.news-list__link:hover .news-date {
  color: var(--c-navy-soft);
}

.news-list > li + li {
  border-top: 1px solid var(--c-line);
}

.news-list > li:first-child {
  padding-top: 0;
}

.news-date {
  font-family: var(--font-en);
  font-size: var(--t-md);
  letter-spacing: .08em;
  color: var(--c-navy-soft);
  transition: color .25s var(--ease);
}

.news-title {
  font-size: var(--t-md);
  line-height: 1.75;
  color: var(--c-ink);
  transition: color .25s var(--ease);
}

.news-empty {
  color: var(--c-ink-soft);
}

.news-article__head {
  max-width: var(--measure);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.news-article__title {
  margin-top: 12px;
  font-size: var(--t-xl);
  font-weight: 600;
  line-height: 1.6;
  color: var(--c-navy);
}

.news-article__body a {
  color: var(--c-navy);
  text-decoration: underline;
  text-decoration-color: rgba(16, 36, 60, .28);
  text-underline-offset: .15em;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}

.news-article__body a:hover {
  color: var(--c-navy-soft);
  text-decoration-color: currentColor;
}

.post-nav {
  padding-block: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--c-line);
  background: var(--c-paper);
}

.post-nav__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.post-nav__prev {
  justify-self: start;
}

.post-nav__back {
  justify-self: center;
}

.post-nav__next {
  justify-self: end;
  text-align: right;
}

.post-nav a {
  font-size: var(--t-sm);
  color: var(--c-navy);
  text-decoration: none;
  text-decoration-color: transparent;
  text-underline-offset: .2em;
}

.post-nav a:hover {
  color: var(--c-navy-soft);
}

.post-nav a:not(.text-link):hover {
  text-decoration: underline;
  text-decoration-color: currentColor;
}

nav.pagination {
  margin-top: clamp(32px, 4vw, 48px);
}

nav.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

nav.pagination .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 10px;
  font-size: var(--t-sm);
  color: var(--c-navy);
  text-decoration: none;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

nav.pagination .nav-links a.page-numbers:hover {
  color: var(--c-navy-soft);
  border-color: var(--c-navy-soft);
  transform: translateY(-1px);
}

nav.pagination .nav-links span.current {
  color: var(--c-white);
  background: var(--c-navy);
  border-color: var(--c-navy);
}

nav.pagination .nav-links span.dots {
  border-color: transparent;
}

.top-access__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: start;
}

.info-table {
  width: 100%;
  max-width: 720px;
  border-top: 1px solid var(--c-line);
}

.info-table th,
.info-table td {
  padding: 18px 4px;
  font-size: var(--t-md);
  line-height: 1.85;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}

.info-table th {
  width: 9em;
  font-weight: 500;
  color: var(--c-navy);
  white-space: nowrap;
}

.info-table td {
  color: var(--c-ink-soft);
}

.info-table td a {
  color: var(--c-navy);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .15em;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}

.info-table td a:hover {
  color: var(--c-navy-soft);
  text-decoration-color: currentColor;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-paper);
}

.map-frame--wide {
  aspect-ratio: 16 / 9;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   8. Sub page common
   ========================================================================== */
.page-hero {
  display: flex;
  align-items: flex-end;
  min-height: clamp(200px, 22vw, 280px);
  padding-top: var(--header-h);
  background: var(--c-navy);
}

.page-hero__inner {
  padding-block: clamp(28px, 3.5vw, 48px);
  color: var(--c-white);
}

.page-hero__en {
  font-family: var(--font-en);
  font-size: var(--t-sm);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 10px;
}

.page-hero__title {
  font-size: var(--t-3xl);
  line-height: 1.4;
}

/* breadcrumbs */
.breadcrumbs {
  border-bottom: 1px solid var(--c-line);
  background: var(--c-white);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px var(--gutter);
  font-size: var(--t-xs);
  color: var(--c-ink-mute);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--c-line-strong);
}

.breadcrumbs a {
  transition: color .25s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--c-navy-soft);
}

/* generic blocks */
.block-head {
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.block-head__title {
  position: relative;
  padding-left: 18px;
  font-size: var(--t-xl);
  color: var(--c-navy);
}

.block-head__title::before {
  content: "";
  position: absolute;
  top: .28em;
  left: 0;
  width: 3px;
  height: 1.1em;
  background: var(--c-navy-soft);
}

.block-head__lead {
  margin-top: 14px;
  font-size: var(--t-md);
  color: var(--c-ink-soft);
}

.prose {
  max-width: var(--measure);
}

.prose a {
  color: var(--c-navy);
  text-decoration: underline;
  text-decoration-color: rgba(16, 36, 60, .28);
  text-underline-offset: .15em;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}

.prose a:hover {
  color: var(--c-navy-soft);
  text-decoration-color: currentColor;
}

.prose p {
  line-height: 2.1;
  color: var(--c-ink-soft);
}

.prose p + p {
  margin-top: 1.4em;
}

.prose--ink p {
  color: var(--c-ink);
}

.note-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  font-size: var(--t-sm);
  color: var(--c-ink-soft);
}

.note-list li {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.note-list li::before {
  content: "※";
  color: var(--c-ink-mute);
}

.access-exit-note {
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--c-navy-mid);
  background: color-mix(in srgb, var(--c-navy-mid) 8%, transparent);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-ink);
  display: flex;
  gap: .25rem;
}

.access-exit-note::before {
  content: "※ ";
  color: var(--c-navy-mid);
}

.sub-block + .sub-block,
.prose + .sub-block {
  margin-top: clamp(44px, 5vw, 76px);
}

/* ==========================================================================
   9. Page: work
   ========================================================================== */
.work-group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
}

.work-group {
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.work-group__title {
  padding-bottom: 16px;
  font-size: var(--t-lg);
  color: var(--c-navy);
  border-bottom: 1px solid var(--c-line);
}

.work-item-list {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.work-item-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 10px;
  font-size: var(--t-md);
  color: var(--c-ink);
}

.work-item-list li::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 1px;
  background: var(--c-navy-soft);
  transform: translateY(-.4em);
}

.work-item-list--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
  margin-top: 0;
}

.work-item-list--wide li {
  padding-block: 18px;
  font-size: var(--t-lg);
  font-family: var(--font-serif);
  color: var(--c-navy);
  border-bottom: 1px solid var(--c-line);
}

/* ==========================================================================
   10. Page: lawyers
   ========================================================================== */
.lawyer-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(16px, 2vw, 32px);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.lawyer-index li {
  border-bottom: 1px solid var(--c-line);
}

.lawyer-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 14px;
  font-size: var(--t-md);
  color: var(--c-navy);
}

.lawyer-index a::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--c-navy-soft);
  transition: width .25s var(--ease);
}

.lawyer-index a:hover::before {
  width: 18px;
}

.lawyer-index a:hover {
  color: var(--c-navy-soft);
}

.lawyer-profile-list {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
}

.lawyer-profile {
  padding: clamp(24px, 3vw, 40px);
  scroll-margin-top: calc(var(--header-h) + 24px);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.lawyer-profile__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
}

.lawyer-profile__role {
  font-size: var(--t-sm);
  letter-spacing: .1em;
  color: var(--c-navy-soft);
}

.lawyer-profile__name {
  font-size: var(--t-2xl);
  color: var(--c-navy);
}

.lawyer-profile__roman {
  font-family: var(--font-en);
  font-size: var(--t-sm);
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}

.profile-dl > div {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}

.profile-dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-dl dt {
  font-size: var(--t-md);
  font-weight: 500;
  color: var(--c-navy);
}

.profile-dl dd {
  font-size: var(--t-md);
  line-height: 1.9;
  color: var(--c-ink-soft);
}

.profile-dl dd li + li {
  margin-top: 2px;
}

/* ==========================================================================
   11. Page: request (flow / fee)
   ========================================================================== */
.flow-list {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.flow-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  padding: clamp(24px, 3vw, 40px);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.flow-item__step {
  font-family: var(--font-en);
  line-height: 1.1;
  color: var(--c-navy-soft);
}

.flow-item__step-label {
  display: block;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.flow-item__step-num {
  display: block;
  font-size: 2.75rem;
  font-weight: 300;
}

.flow-item__title {
  font-size: var(--t-xl);
  color: var(--c-navy);
}

.flow-item__desc {
  margin-top: 12px;
  font-size: var(--t-md);
  line-height: 1.95;
  color: var(--c-ink-soft);
}

.fee-card {
  padding: clamp(24px, 2.8vw, 40px);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}

.fee-card__title {
  font-size: var(--t-lg);
  color: var(--c-navy);
}

.fee-card__lead {
  margin-top: 12px;
  font-size: var(--t-md);
  line-height: 1.95;
  color: var(--c-ink-soft);
}

.fee-card .data-table {
  margin-top: 22px;
}

.fee-highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 18px 22px;
  background: var(--c-navy-tint);
  border-radius: var(--r-md);
}

.fee-highlight__value {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  color: var(--c-navy);
}

.fee-highlight__note {
  font-size: var(--t-sm);
  color: var(--c-ink-soft);
}

.fee-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.data-table {
  width: 100%;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  font-size: var(--t-md);
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}

.data-table thead th {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--c-white);
  background: var(--c-navy);
  border-bottom-color: var(--c-navy);
}

.data-table tbody th {
  font-weight: 400;
  color: var(--c-ink-soft);
  background: var(--c-paper);
}

.data-table td {
  font-family: var(--font-en);
  font-size: var(--t-lg);
  color: var(--c-navy);
  text-align: right;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

/* ==========================================================================
   12. Float message box (main.js)
   ========================================================================== */
.lu-float-msgbox {
  position: fixed;
  bottom: 96px;
  left: 50%;
  z-index: 300;
  padding: 12px 24px;
  font-size: var(--t-md);
  color: var(--c-white);
  background: rgba(16, 36, 60, .92);
  border-radius: var(--r-pill);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .header-tel {
    display: none;
  }
}

@media (max-width: 1079px) {
  :root {
    --header-h: 68px;
  }

  .global-nav {
    display: none;
  }

  .site-header__inner {
    justify-content: space-between;
    gap: 12px;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .hamburger {
    display: block;
  }

  .site-footer__inner,
  .top-access__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .lawyer-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-item-list--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body {
    line-height: 1.85;
  }

  .site-logo {
    min-width: 0;
  }

  .site-logo__main {
    font-size: 1.0625rem;
    white-space: normal;
  }

  .site-logo__sub {
    letter-spacing: .2em;
  }

  .hero {
    min-height: min(68vh, 520px);
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero__veil {
    background: linear-gradient(to bottom, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .88) 46%, rgba(255, 255, 255, .55) 74%, rgba(255, 255, 255, .35) 100%);
  }

  .hero__media {
    background-position: 62% 40%;
  }

  .hero__inner {
    padding-bottom: 44px;
  }

  .hero__en {
    gap: 10px;
    font-size: var(--t-xs);
    letter-spacing: .18em;
    margin-bottom: 16px;
  }

  .hero__en::before {
    width: 24px;
  }

  .hero__title {
    letter-spacing: .02em;
  }

  .news-list__link {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-nav__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .post-nav__back {
    justify-self: start;
  }

  .post-nav__next {
    justify-self: start;
    text-align: left;
  }

  .work-group-list,
  .work-item-list--wide,
  .fee-tables {
    grid-template-columns: minmax(0, 1fr);
  }

  .lawyer-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .flow-item__step {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .flow-item__step-num {
    font-size: 1.75rem;
  }

  .profile-dl > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .to-top-button {
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .drawer-menu {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
