@charset "UTF-8";
/* =========================================================================
   法律事務所S 座間・相模原南オフィス — Landing Page
   Static HTML/CSS/JS. Design reproduced from Figma (desktop 1440 / SP 375).
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --red: #b01d3a;
  --red-dark: #8f1730;
  --text: #333333;
  --menu: #333333;
  --gray: #666666;
  --line: #c7c7c7;
  --white: #ffffff;
  --black: #000000;
  --beige: #faf5f2;      /* FLOW section warm field */
  --dl-border: #d0d0d0;
  --red-hover: #c25063;
  --white-hover: #f4f4f4;
  --panel-shadow: 0 4px 5.3px rgba(0, 0, 0, .1);

  --font-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-num: "Roboto", var(--font-sans);
  --font-display: "Gilda Display", var(--font-serif);

  --container: 1100px;
  --header-h: 134px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

br.mb-only {
	display: none;
}

/* ---------- Layout helpers ---------- */

/* START TGE */
.site-section {
}
.site-container {
	margin: 0 auto;
	/* max-width: 2000px; */
	position: relative;
}
/* END TGE */


.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(56px, 8vw, 120px); }

/* Section heading block (eyebrow + serif title), centered */
.sec-head { text-align: center; margin-bottom: clamp(32px, 5vw, 60px); }
.sec-head .eyebrow {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--red);
  font-size: 16px;
  letter-spacing: .12em;
  display: block;
}
.sec-head .title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text);
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: .18em;
  line-height: 1.1;
  margin-top: 12px;
}

/* Reusable arrow (→) */
.arw {
  display: inline-block;
  width: 22px; height: 8px;
  flex: none;
  position: relative;
}
.arw::before {
  content: "";
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.arw::after {
  content: "";
  position: absolute; top: 50%; right: 0;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 5px;
  word-break: keep-all;
  white-space: nowrap;
  padding: 0 66px 0 28px;
  transition: background-color .2s ease, color .2s ease;
}
.btn.access-gmap {
  width: 295px;
  padding: 0 28px;
  justify-content: flex-start;
}
.btn--red {
	color: #fff;
	position: relative;
	background: var(--red);
}
.btn--dark { background: var(--text); color: #fff; }
.btn--white { background: #fff; color: var(--red); }

/* ==== ボタンのホバー ====
   通常の赤ボタン(.btn--red)：赤(#B01D3A) → ダークグレー(#333333)。文字・矢印は白のまま。
   弁護士紹介エリアのボタン(.team-showcase 内)：赤 → くすみピンク(#C86175)。文字・矢印は白のまま。
   白ボタン(.btn--white)：従来どおりの控えめなホバー。
   背景色のみを変化させる（白背景への反転・矢印SVGの差し替え・ボーダー表示は行わない）。
   PC マウス（hover 対応デバイス）に限定し、SP タップでホバー状態が残らないようにする。
   対象外：svc-tags / ヘッダーボタン / お問い合わせ系ボタンには適用しない。 */
@media (hover: hover) and (pointer: fine) {
  .btn--red:hover { background: var(--text); }
  .team-showcase .btn--red:hover { background: #C86175; }
  /* 白ボタンも #333 へ。背景が暗くなるため文字と矢印を白に切り替える（矢印は同形状の白SVG） */
  .btn--white:hover { background: var(--text); color: #fff; }
  .btn--white:hover .btn-arw { content: url(../img/scs/btn-white-arw.svg); }
  /* cta-panel 内の .btn--white は通常時 赤文字指定があるため、ホバーで白に上書き */
  .cta-panel .btn--white:hover { color: #fff; }
  .cta-panel .btn--white:hover .arw { color: #fff; }
}

.btn .btn-arw {
	width: 27px;
	height: auto;
	min-height: unset;
	top: 50%;
	right: 19px;
	display: block;
	position: absolute;
	transition: transform 0.2s;
	transform: translate(0,-50%);
}
.btn:hover .btn-arw {
	transform: translate(7px,-50%);
}

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  z-index: 5;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}
.header-spacer {
	height: 120px;
}
.header-inner {
  height: 120px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 10px 24px 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-brand { display: flex; flex-direction: column; gap: 8px; }
.header-catch { font-size: 12px; font-weight: 400; letter-spacing: .02em; color: var(--text); line-height: 1.5; }
.header-catch br { display: none; }
.header-logo img { width: 236px; height: auto; }

.header-right { display: block; }

.header-right .header-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.header-right .gnav {
	display: none;
}
.header-right .header-contact { display: flex; align-items: center; gap: 20px; }

.header-right .header-menu {
	display: flex;
	column-gap: 29px;
	align-items: center;
	margin-top: 16px;
}
.header-right .header-menu .menu-item a {
	color: var(--menu);
	font-size: 16px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0.02em;
	font-family: var(--font-serif);
}
.header-right .header-menu .menu-item:hover a {
	color: var(--red-dark);
}

.header-contact-mobile { display: none;	}

.access-btn {
  height: 55px;
  display: flex;
  column-gap: 8px;
  border-radius: 3px;
  line-height: 1.4;
  padding: 5px 9px 5px 18px;
  border: 1px solid var(--red);
}
.access-btn .ac-left { flex: 1 0 1px; }
.access-btn .ac-right { flex: 0 0 auto; display: flex; align-items: center; }
.access-btn .ac-right svg { width: 20px; height: auto; transition: transform 0.2s; }
.access-btn:hover { opacity: 0.7; }
.access-btn:hover .ac-right svg { transform: translateX(5px); }
.access-btn .ac-top { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text); }
.access-btn .ac-top img { width: 12px; height: 12px; }
.access-btn .ac-main {
  display: flex;
  align-items: center;
  column-gap: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--red);
}
.access-btn .arw { width: 18px; }

.header-tel { display: flex; flex-direction: column; align-items: center; }
.header-tel .tel-row { display: flex; align-items: center; gap: 5px; }
.header-tel .tel-row img { width: 18px; height: 18px; }
.header-tel .tel-num { font-family: var(--font-num); font-weight: 700; font-size: 20px; color: var(--red); line-height: 18px; letter-spacing: .01em; }
.header-tel .tel-hours { font-size: 12px; color: var(--text); line-height: 15px; }

.contact-btn {
  height: 55px;
  background: var(--text);
  color: #fff;
  border-radius: 5px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-btn img { width: 18px; height: 14px; filter: brightness(0) invert(1); }
.contact-btn .arw { width: 27px; height: auto; display: block; transition: transform 0.2s; }
.contact-btn:hover { opacity: 0.7; }
.contact-btn:hover .arw { transform: translateX(5px); }
.contact-btn .cb-text { line-height: 1.2; }
.contact-btn .cb-main { font-size: 16px; font-weight: 500; letter-spacing: .05em; }
.contact-btn .cb-sub { font-size: 12px; }
.contact-btn .arw { width: 18px; color: #fff; }

.gnav > ul { display: flex; align-items: center; gap: 30px; }
.gnav a {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-block: 6px;
  transition: color .2s;
}
/* .gnav a:hover { color: var(--red); } */
.gnav .caret {
  width: 12px;
  height: 10px;
}

/* hamburger — hidden on desktop */
.nav-toggle { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.hero-photos.dt {
  inset: 0;
  z-index: 0;
  display: flex;
  max-width: 1600px;
  position: absolute;
  align-items: flex-start;
  justify-content: space-between;
  margin-inline: auto;
  overflow: hidden;
}
.hero-photos.mb { display: none;; }
.hero-photos .hp-left  { left: 0;  width: 42%; height: 100%; object-position: center; }
.hero-photos .hp-right { right: 0; width: 42%; height: 100%; object-position: center; }
.hero-photos .hp-cloud {
  display: none;
}
.hero-photos .hp-left img,
.hero-photos .hp-right img { position: relative; top: 0; width: 100%; height: 100%; object-fit: cover; }

/* 1600px超の画面では、左右写真の内側境界・中央ギャップ・サイズ基準は固定したまま、
   外側だけを画面端までブリードさせる（帯=1600pxは内側レイアウトの基準として維持）。
   幅を余白分 (100vw-1600px)/2 拡張し、同量の負マージンで外側へ寄せる → 内側端は不動。
   はみ出しの可視化のためこの帯のみ overflow:visible（画面端でのクリップは親 .hero が担当）。 */
@media (min-width: 1600px) {
  .hero-photos.dt { overflow: visible; }
  .hero-photos .hp-left {
    width: calc(42% + (100vw - 1600px) / 2);
    margin-left: calc((100vw - 1600px) / -2);
  }
  .hero-photos .hp-right {
    width: calc(42% + (100vw - 1600px) / 2);
    margin-right: calc((100vw - 1600px) / -2);
  }
}

/* white feather fade so the center reads clearly */
.hero-fade {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,0%) 0%, #fff 25%, #fff 75%, rgba(255, 255, 255, 0%)100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin-inline: auto;
  min-height: 786px;
  padding: 90px 24px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-copy { font-family: var(--font-serif); font-weight: 600; color: var(--text); }
.hero-copy .line1 { font-size: clamp(44px, 5.3vw, 76px); line-height: 1.4; letter-spacing: .05em; }
.hero-copy .line2 { font-size: clamp(52px, 6.3vw, 90px); line-height: 1.3; letter-spacing: 10%; color: var(--red); }
.hero-copy .line2 .smaller { font-size: clamp(50px, 6.1vw, 86px); line-height: 1.3; letter-spacing: 5%; color: var(--red); }
.hero-divider { width: min(546px, 80%); height: 10px; margin: 22px 0 20px; }
.hero-divider .hero-divider-img.dt { width: 100%; height: 100%; object-fit: contain; }
.hero-divider .hero-divider-img.mb { display: none; }
.hero-sub {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.1vw, 30px);
  color: var(--text);
  letter-spacing: .04em;
}
.hero-sub .hero-sub-top { font-size: 30px; }
.hero-sub .hero-sub-btm { font-size: 20px; }
.hero-sub .hero-sub-red { font-size: 39px; color: var(--red); }

/* achievement card */
.hero-card {
  margin-top: 30px;
  background: linear-gradient(99deg, rgba(255,255,255,.92) 18%, #fff 97%);
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: var(--panel-shadow);
  padding: 30px 42px 26px 42px;
  display: flex;
  align-items: center;
  gap: 40px;
  /* .cert 削除後は実績2項目のみ。align-items:center の .hero-inner 内で
     内容幅に自動フィットし中央寄せされるため、max-width は上限のみ（余白防止） */
  max-width: 572px;
}

.hero-stats { display: flex; flex-direction: column; gap: 12px; }
.stat-row { display: flex; gap: 24px; }
.stat {
  position: relative;
  width: 220px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4e4941;
}
.stat .laurel { position: absolute; bottom: 4px; width: 74px; height: 160px; }
.stat .laurel img.dt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stat .laurel img.mb { display: none; }
.stat .laurel-left { left: 2px; }
.stat .laurel-right { right: 2px; transform: scaleX(-1); }
.stat .cap { font-family: var(--font-serif); font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: 2%; }
.stat .num {
  font-family: var(--font-serif);
  color: var(--red);
  font-size: 56px;
  line-height: 42px;
  letter-spacing: -10%;
  display: inline-flex;
  align-items: baseline;
  margin: 4px 0 2px 0;
}
.stat .num .of { color: var(--black); font-family: var(--font-serif); font-weight: 700; font-size: 19px; }
.stat .num .pct { font-family: var(--font-serif); font-weight: 700; font-size: 34px; }
.stat .num .unit { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--red); margin-left: 2px; }
.stat .num .plus { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--red); margin-left: 3px; }
.stat .sub { font-family: var(--font-serif); font-weight: 700; font-size: 20px; line-height: 24px; letter-spacing: 6%; }
.hero-stats .note { font-size: 12px; color: var(--gray); line-height: 1.5; max-width: 464px; }
.hero-stats .note.align-left { text-align: left;; }

.hero-wave {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 60px;
  z-index: 2;
  transform: translateX(-50%);
}
.hero-wave img { width: 100%; height: 60px; object-fit: cover; }

/* =========================================================================
   MESSAGE
   ========================================================================= */
.message { position: relative; overflow-x: clip; padding-top: clamp(60px, 8vw, 76px); padding-bottom: 0; }
.message .msg-top {
  max-width: 1180px; margin-inline: auto; padding-inline: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: start;
}
.msg-lead .eyebrow-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.msg-lead .eyebrow { font-family: var(--font-serif); font-weight: 600; color: var(--red); font-size: 16px; letter-spacing: .08em; }
.msg-lead .eyebrow-row .rule { flex: 1 0 1px; height: 1px; max-width: 281px; background: var(--red); }
.msg-lead .msg-lead-title {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 40px);
  color: var(--text); line-height: 1.8em; letter-spacing: .04em;
}
.msg-body p { font-size: 16px; color: var(--text); }
.msg-body p + p { margin-top: 18px; }

.msg-collage {
  position: relative;
  isolation: isolate;
  margin-top: 48px;
  height: 690px;
  max-width: 1440px; margin-inline: auto;
}
/* 背景（駅前風景）だけを 1440px 枠を超えて site-container 幅までブリード。
   前景写真は .msg-collage(1440px) 基準のまま維持する。 */
.msg-collage::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background-image: url("../img/scs/msg-station-bg.webp");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.msg-collage .m-group,
.msg-collage .m-sign,
.msg-collage .m-comp { z-index: 1; }
.msg-collage .m-group { position: absolute; left: 7%; top: 20px; width: 431px; height: 287px; object-fit: cover; }
.msg-collage .m-sign  { position: absolute; left: calc(7% + 250px); top: 250px; width: 233px; height: 155px; object-fit: cover; box-shadow: 0 4px 7.3px rgba(0,0,0,.15); }
.msg-collage .m-comp  { position: absolute; right: 7%; top: 120px; width: 297px; height: 198px; object-fit: cover; }

/* =========================================================================
   TEAM (弁護士紹介)
   ========================================================================= */
.site-section.team { background: #fff; padding-top: 0; }
.site-section.team .site-container {
	/* PC(≥1148px)は従来どおり 1100px 固定。それ未満ではビューポート幅に追従させ、
	   768px〜1099px の隙間で 1100px 固定のまま右側が画面外に切れる問題を防ぐ（左右24pxの余白を確保）。
	   ≤767px の SP では下の width:100% で上書きされるため PC/SP のデザインは不変。 */
	width: min(1100px, calc(100% - 48px));
	margin-top: -180px;
	padding: 80px 0 120px 0;
	background-color: #fff;
}
.team-showcase { display: flex; gap: 40px; align-items: stretch; }
.team-showcase .team-showcase-left {
	flex: 0 0 40%;
	position: relative;
	/* 右カラム(showcase-details)の高さに引き伸ばされないよう、この列だけ stretch を解除しつつ、
	   カラム全体を右カラムの下端に合わせて下揃えにする（画像サイズは aspect-ratio で固定のまま、
	   下端位置だけが右カラムの高さに追従）。SPでは下で stretch に戻す。 */
	align-self: flex-end;
}
.team-showcase .team-showcase-left:after {
  content: "";
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  position: absolute;
  background: var(--red);
}
.team-showcase .team-showcase-left .photo {
	z-index: 1;
	display: block; /* インライン余白を無くし、赤ライン(:after bottom:0)が画像下端にぴったり付くようにする */
	width: 100%;
	height: auto;   /* 高さは aspect-ratio と width のみで決定（右カラムの高さに依存させない） */
	opacity: 1.0;
	position: relative;
	aspect-ratio: 440 / 550;
	object-fit: cover;
	object-position: top center;
	/* 画像差し替え時のフェード（一時的な透明化）は不要のため削除。切替は即時。 */
}
.team-showcase .team-showcase-left .btn--red {
  z-index: 2;
  left: 50%;
  bottom: 40px;
  position: absolute;
  transform: translateX(-50%);
}
.team-showcase .team-showcase-right {
	flex: 0 0 calc((100% - 40px) * 0.6);
	max-width: calc((100% - 40px) * 0.6);
	display: flex;
	row-gap: 20px;
	flex-direction: column;
}
.team-showcase .team-showcase-right .showcase-details {
    flex: 1 0 1px;
}
.team-showcase .team-showcase-right .showcase-carousel {
    /* 内容（team-carousel + 矢印/ページ番号ナビ）に高さを合わせる。
       以前の固定 300px は実コンテンツ(≈281px)より大きく、末尾に余白が生じて
       flex-end の基準（右カラム下端）が実際のナビ下端より低くなり、左の赤ラインがずれていた。
       auto にすることで右カラム下端＝ナビ下端となり、左右が構造的に下揃えになる。
       SPは team-carousel が 300px・モバイルナビが position:absolute のため auto でも実質 300px で不変。 */
    flex: 0 0 auto;
	position: relative;
}
.team-showcase .team-showcase-right .team-carousel {
    height: 250px;
}
.team-featured { position: relative; flex: none; width: 438px; max-width: 46%; }
/*.team-featured .photo {
	width: 100%;
	aspect-ration: 440 / 550;
	object-fit: cover;
	object-position: top center;
}*/
.team-featured::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.team-featured .profile-btn {
  position: absolute; left: 0; bottom: 34px;
  background: var(--red); color: #fff; font-weight: 500;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 26px; border-radius: 0 5px 5px 0;
}
.team-featured .profile-btn .arw { color: #fff; }

.team-detail { flex: 1; display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.team-quote {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 24px;
}
.team-quote .team-quote-mark {
  width: 30px;
  display: block;
  margin-right: 9px;
}
.team-quote .team-quote-text {
  color: var(--text);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  font-family: var(--font-serif);
  line-height: 1.7;
}
.team-quote .team-quote-text em {
	color: var(--red);
	font-style: normal;
}
.showcase-carousel .team-navigation.desktop {
  display: flex;
  column-gap: 32px;
  margin-top: 7px;
}
.showcase-carousel .team-navigation.mobile {
  display: none;
}
.showcase-carousel .team-prev {
  width: 50px;
  cursor: pointer;
}
.showcase-carousel .team-next {
  width: 50px;
  cursor: pointer;
}

.showcase-carousel .team-next.swiper-button-lock,
.showcase-carousel .team-prev.swiper-button-lock { display: initial; }
.showcase-carousel .team-nexy.swiper-button-disabled,
.showcase-carousel .team-prev.swiper-button-disabled { opacity: 1.0; }

.showcase-carousel .team-slide-count {
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  font-family: var(--font-num);
  letter-spacing: 0.1em;
}
.team-quote .em { color: var(--red); }
.team-role { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.8; }
.team-role.hide-detail { display: none; }
.team-role .sq { width: 9px; height: 9px; background: var(--red); flex: none; }
.team-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.team-name .lbl { font-family: var(--font-sans); font-weight: 400; font-size: 16px; }
.team-expertise { display: flex; align-items: flex-start; column-gap: 0; font-size: 16px; }
.team-expertise.hide-detail { display: none; }
.team-fields { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.showcase-details .tag {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 10px;
  font-size: 16px;
  margin-right: 8px;
  white-space: nowrap;
}

.team-carousel {
  margin: 0;
  width: 100%;
  height: 250px;
  max-width: 100%;
}
.team-carousel .team-slide {
  height: 100%;
  width: auto;
  opacity: 1.0;
  cursor: pointer;
  transition: opacity 0.4s;
  -webkit-tap-highlight-color: transparent; /* タップ時の白/灰フラッシュ（モバイル標準ハイライト）を抑止。:focus-visible には非干渉 */
}
.team-carousel .team-slide.hiding-slide {
	opacity: 0.0;
}
.team-carousel .team-slide.hide-slide {
	display: none;
	pointer-events: none;
}
.team-carousel .team-slide .oc_user_portrait { height: 100%; aspect-ratio: 200 / 250; }
.team-carousel .team-slide .slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-track-wrap { overflow: hidden; }
.team-track { display: flex; gap: 20px; transition: transform .45s ease; }
.team-track .slide { flex: 0 0 calc((100% - 40px) / 3); }
.team-track .slide img { width: 100%; aspect-ratio: 200 / 251; object-fit: cover; object-position: top center; }
.team-pager { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 18px; }
.team-pager button { background: none; border: 0; color: var(--red); width: 44px; height: 20px; position: relative; }
.team-pager .pg-arrow::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); }
.team-pager .prev .pg-arrow, .team-pager .prev::after { transform: none; }
.team-pager .prev::after { content: ""; position: absolute; top: 50%; left: 6px; width: 10px; height: 10px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-50%) rotate(45deg); }
.team-pager .next::after { content: ""; position: absolute; top: 50%; right: 6px; width: 10px; height: 10px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: translateY(-50%) rotate(45deg); }
.team-pager .count { font-family: var(--font-num); font-size: 16px; color: var(--gray); min-width: 48px; text-align: center; }
.team-head { margin-top: 56px; }

/* =========================================================================
   SERVICE (取扱業務)
   ========================================================================= */
.site-section.service .site-container  { background: #FAF5F2; padding: 120px 0; }
.service .service-content { max-width: 1140px; margin: 0 auto; }
.svc-list {
  max-width: 1100px;
  display: flex;
  row-gap: 30px;
  flex-direction: column;
}
.svc-card {
  border-radius: 6px;
  background-color: #fff;
  border: 1px solid var(--red);
  padding: 40px 64px 36px 64px;
}
.svc-card .svc-main {
	display: flex;
	column-gap: 40px;
	align-items: flex-start;
	padding-inline: 30px;
}
.svc-card .svc-main .svc-main-left { flex: 1 0 1px; }
.svc-card .svc-main .svc-main-right { flex: 0 0 33.5%; }
.svc-head {
  display: flex;
  align-items: center;
  column-gap: 10px;
  margin-bottom: 16px;
}
.svc-head .ic {
	width: 50px;
	height: 40px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.svc-head .ic img { width: 100%; height: 100%; object-fit: contain; }
.svc-head .ic.souzoku img {
  width: 35px;
  height: auto;
}
.svc-head .ic.jiko img {
  width: 40px;
  height: auto;
}
.svc-head .ic.rikon img {
  width: 25px;
  height: auto;
}
.svc-head .ic.komon img {
  width: 30px;
  height: auto;
}
.svc-head .ic.chusho img {
  width: 32px;
  height: auto;
}

.svc-head h3 { font-family: var(--font-serif); font-weight: 600; font-size: 36px; color: var(--text); letter-spacing: .04em; }
.svc-head .more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); margin-left: 4px; border-bottom: 1px solid #C7C7C7; transition: color 0.25s ease, border-color 0.25s ease; }
.svc-head .more .arw { width: 20px; transition: transform 0.25s ease; }

/* PC マウスホバーのみ（SP タップで hover 状態が残らないよう hover 対応デバイスに限定）。
   サイトのアクセント（--red）に寄せた控えめな変化：文字色・下線色を赤系へ、矢印を数px右へ。 */
@media (hover: hover) and (pointer: fine) {
  .svc-head .more:hover { color: var(--red); border-color: var(--red); }
  .svc-head .more:hover .arw { transform: translateX(3px); }
}
.svc-main-left .more-mb { display: none; }
.svc-desc { font-size: 16px; color: var(--text); line-height: 1.9; grid-column: 1; }
.svc-photo { grid-column: 2; grid-row: 1 / span 2; }
.svc-photo img { width: 100%; aspect-ratio: 324 / 205; object-fit: cover; }
.svc-photo-mb { display: none; }
.svc-tags {
	display: flex;
	flex-wrap: wrap;
	row-gap: 14px;
	column-gap: 14px;
	justify-content: center;
	margin-top: 17px;
}
.svc-tag {
  background: var(--red);
  color: #fff;
  border-radius: 3px;
  padding: 12px 18px;
  min-width: 150px;
  flex: 1 1 auto;
  max-width: 220px;
  position: relative;
}
.svc-tag .svc-arw {
  width: 27px;
  margin: 10px auto 0 auto;
  transition: transform 0.2s;
}
.svc-tag:hover {
  background-color: var(--red-hover);
}
.svc-tag:hover .svc-arw {
  transform: translateX(7px);
}
.svc-tag.wide { max-width: 100%; flex: 0 0 510px; }
.svc-tag .t-main { font-size: 20px; font-weight: 500; letter-spacing: .02em; text-align: center; }
.svc-tag .t-sub { font-size: 15px; margin-top: 2px; opacity: .95; text-align: center; }
.svc-tag .arw { position: absolute; left: 18px; bottom: 8px; width: 18px; color: #fff; opacity: .9; }
.svc-tag { padding-bottom: 16px; }
.svc-note { text-align: left; font-size: 16px; line-height: 1.8em; color: var(--text); text-align: center; margin-top: 34px; }


/* =========================================================================
   REASON (選ばれる理由)
   ========================================================================= */
.site-section.reason {  }
.site-section.reason .site-container { padding: 200px 0 0 0; }
.reason-bg {
  position: absolute; top: 0; left: 0; right: 0;
  aspect-ratio: 1440 / 780;
  background-image: url("../img/scs/reason-bg.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
.reason-panel {
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 2;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 100px) clamp(56px, 8vw, 120px);
}
.reason .sec-head { margin-bottom: clamp(40px, 6vw, 80px); }
.reason-items {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 6vw, 79px);
}
.reason-item {
	display: block;
	position: relative;
}
.reason-item .r-photo img {
	width: 100%;
	aspect-ratio: 620 / 413;
	object-fit: cover;
}
.reason-item .r-text {
  background: #fff; padding: 40px clamp(28px, 4vw, 64px); position: relative; z-index: 2;
}
/* photo right (odd): text left overlapping */
/* .reason-item.photo-right .r-photo { grid-column: 2; grid-row: 1; } */
.reason-item.photo-right .r-photo {
  width: 60%;
  aspect-ratio: 620 / 413;
  margin-left: auto;
}
/* .reason-item.photo-right .r-text { grid-column: 1 / span 1; grid-row: 1; margin-right: -80px; border-radius: 5px 0 0 5px; margin-top: 28px; } */
.reason-item.photo-right .r-text {
  left: 0;
  top: 28px;
  width: 57%;
  position: absolute;
  border-radius: 0 5px 5px 0;
}
/* .reason-item.photo-left .r-photo { grid-column: 1; grid-row: 1; } */
.reason-item.photo-left .r-photo {
  width: 60%;
  aspect-ratio: 620 / 413;
  margin-right: auto;
}
.reason-item.photo-left .r-text {
  right: 0;
  top: 28px;
  width: 57%;
  position: absolute;
  border-radius: 5px 0 0 5px;
}
.r-numrow { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.r-num { font-family: var(--font-display); font-size: 20px; color: var(--red); letter-spacing: .02em; }
.r-numrow .rule { flex: 1; height: 1px; background: var(--red-dark); }
.reason-item h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(21px, 2.2vw, 26px); color: var(--text); line-height: 1.7; letter-spacing: .04em; }
.reason-item .r-body { font-size: 16px; color: var(--text); margin-top: 22px; }
.reason-item .r-note { font-size: 14px; color: var(--gray); margin-top: 18px; }

/* =========================================================================
   BIZ (企業法務)
   ========================================================================= */
.biz { padding-bottom: 140px; }
.biz-photo {
  width: 88%;
  aspect-ratio: 1270 / 400;
  object-position: center;
  position: relative;
}
.biz-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.biz-copy {
  z-index: 2;
  top: 225px;
  right: 0;
  width: 67%;
  position: absolute;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 20px;
  padding: clamp(20px, 5vw, 40px) clamp(28px, 5vw, 90px);
}
.biz-copy h2 {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(26px, 3.2vw, 40px);
	color: var(--text);
	line-height: 1.5;
	letter-spacing: .03em;
}
.biz-copy p {
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 0.02em;
	color: var(--text);
	margin-bottom: 30px;
	font-family: var(--font-serif);
}
.biz-copy .btn { align-self: flex-start; }
.biz-support { margin: clamp(40px, 5vw, 64px) auto clamp(40px, 5vw, 64px) auto; padding-inline: 24px; text-align: center; }
.biz-support h3 { font-family: var(--font-serif); font-weight: 600; font-size: 26px; color: var(--text); letter-spacing: .2em; margin-bottom: 30px; }

/* =========================================================================
   SUPPORT
   ========================================================================= */

/* =========================================================================
   CTA (法律相談)
   ========================================================================= */
.cta { position: relative; padding: 0; background: #fff; }
.cta-content { position: relative; padding-bottom: 200px; }
/* 背景専用のため CSS background 化（旧 <img object-fit:cover> と等価）。 */
.cta-bg { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; z-index: 0; background-image: url("../img/scs/cta-bg.webp"); background-repeat: no-repeat; background-position: center; background-size: cover; }
/* .cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); } */
.cta-panel {
  position: relative;
  z-index: 2;
  background: var(--red);
  color: #fff;
  max-width: 1098px;
  margin-inline: auto;
  padding: clamp(40px, 5vw, 60px) 24px;
  display: flex;
  column-gap: 25px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta-panel h2 {
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(26px, 3.4vw, 40px);
  font-family: var(--font-serif);
  margin-bottom: 16px;
}
.cta-panel .cta-sub { font-family: var(--font-serif); font-weight: 600; font-size: clamp(16px, 1.8vw, 20px); letter-spacing: .02em; }
.cta-panel .cta-body {
  font-size: 16px;
  line-height: 1.9;
  margin-top: 21px;
  margin-bottom: 25px;
}
.cta-panel .btn--white { color: var(--red); }
.cta-panel .btn--white .arw { color: var(--red); }

/* down-arrow variant (service chips) */
.arw.down { transform: rotate(90deg); transform-origin: center; }
/* laurel right uses real right-hand assets — no mirroring */
.stat .laurel-right { transform: none; }

/* =========================================================================
   FLOW
   ========================================================================= */
.site-section.flow {
}
.site-section.flow .site-container {
  background: var(--beige);
}
.site-section.flow .flow-content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 120px 0;
}
.flow-list { position: relative; display: flex; flex-direction: column; gap: 40px; }
.flow-list::before { content: ""; position: absolute; left: 22px; top: 22px; bottom: 170px; width: 1px; background: var(--red); }
.flow-step { position: relative; display: flex; align-items: flex-start; gap: 0; }
.flow-num {
  flex: none;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-size: 24px;
  font-family: var(--font-display);
  margin-top: 0;
}
.flow-card {
  flex: 1; background: #fff; border-radius: 3px;
  padding: 24px 30px; display: flex; align-items: center; gap: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.flow-text { flex: 1; }
.flow-text h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(20px, 2vw, 26px); color: var(--red); letter-spacing: .03em; margin-bottom: 12px; }
.flow-text p { color: #333; font-size: 16px; font-weight: 400; line-height: 1.8; letter-spacing: 0.02em; }
.flow-text .flow-note { font-size: 14px; color: var(--gray); margin-top: 10px; }
.flow-photo { flex: none; width: 250px; }
.flow-photo img {
  width: 100%;
  aspect-ratio: 250 / 165;
  object-fit: cover;
}
.flow-cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 18px; }
.flow-tel { display: flex; flex-direction: column; }
.flow-tel .ft-num {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 26px;
  line-height: 30px;
  color: var(--red);
}
.flow-tel .ft-num a:hover { color: var(--red-hover); }
.flow-tel .ft-num img { width: 20px; height: auto; }
.flow-tel .ft-hours { font-size: 14px; color: var(--text); text-align: center; }
.flow-net-btn {
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  column-gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .04em;
  background: var(--text);
}
.flow-net-btn img {
	width: 18px;
	height: auto;
	filter: brightness(0)
	invert(1);
}
.flow-net-btn .arw {
	width: 18px;
	transition: transform 0.2s;
}
.flow-net-btn:hover {
    background: var(--gray);
}
.flow-net-btn:hover .arw {
    transform: translateX(5px);
}

/* =========================================================================
   ACCESS
   ========================================================================= */
.site-section.access { background: #fff; }
.access-content { padding: 120px 0; }
.access-body { display: flex; gap: 61px; align-items: center; justify-content: center; }
.access-map { flex: none; width: 514px; max-width: 50%; }
.access-map img { width: 100%; height: 342px; object-fit: cover; }
.access-info { width: 525px; max-width: 100%; }
.access-info h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(21px, 26px, 26px);
  line-height: 1.8;
  color: var(--text);
  letter-spacing: .03em;
  margin-bottom: 6px;
}
.ac-block { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ac-block:first-of-type { /* border-top: 1px solid var(--line); */ }
.ac-label { display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--text); }
.ac-label .sq { width: 9px; height: 9px; background: var(--red); flex: none; }
.ac-text { font-size: 16px; color: var(--text); line-height: 1.5; margin-top: 2px; }
.access-gmap { margin-top: 23px; width: 100%; max-width: 460px; }

/* =========================================================================
   NEWS
   ========================================================================= */
.site-section.news { background: #fff; padding-bottom: 120px; }
.news-card { max-width: 1100px; margin: 0 auto; background: #f4f4f4; border-radius: 4px; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px); }
.news .sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.news-list { border-bottom: 1px solid #ddd; }
.news-list li { border-top: 1px solid #ddd; }
.news-list .news-item-link { display: flex; align-items: center; gap: 28px; padding: 20px 4px; transition: opacity .2s; }
.news-list .news-item-link:hover { opacity: .6; }
.news-list time { flex: none; font-size: 14px; color: var(--text); letter-spacing: .02em; }
.news-list .n-title { flex: 1; font-size: 18px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/*.news-list .arw { color: var(--red); }*/
.news-list .news-list-item .view-arw {
  width: 30px;
  height: auto;
  display: block;
  transition: transform 0.2s;
}
.news-list .news-list-item:hover .view-arw {
	transform: translateX(7px);
}
.news-more { display: block; width: fit-content; margin: 26px 0 0 auto; font-size: 15px; border-bottom: 1px solid var(--text); padding-bottom: 2px; }

/* =========================================================================
   CONTACT band
   ========================================================================= */
.site-section.contact {
  position: relative;
}
.site-section.contact .site-container {
  position: relative;
  background: #2a2a2a center/cover no-repeat;
  background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url("../img/scs/footer-contact-bg.png");
  color: #fff;
  text-align: center;
  padding-block: clamp(56px, 8vw, 90px);
}
.contact-inner { max-width: 900px; margin-inline: auto; padding-inline: 24px; }
.contact .c-label { font-family: var(--font-serif); font-weight: 600; font-size: 16px; letter-spacing: .12em; }
.contact .c-title { color: #fff; font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 4.2vw, 48px); letter-spacing: .16em; margin: 8px 0 30px; }
.contact .c-lead { font-family: var(--font-serif); font-weight: 600; font-size: clamp(16px, 1.8vw, 20px); margin-bottom: 30px; }
.c-actions { display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap; }
.c-tel { display: flex; flex-direction: column; align-items: center; }
.c-tel-num { display: flex; align-items: center; gap: 12px; font-family: var(--font-num); font-weight: 700; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.2; }
.c-tel-num:hover { color: var(--line); }
.c-tel-num img { width: 34px; height: auto; filter: brightness(0) invert(1); }
.c-tel-num:hover svg { fill: var(--line); }
.c-tel-hours { font-size: 15px; }
.c-mail-btn {
  color: #fff;
  border-radius: 5px;
  display: inline-flex;
  column-gap: 14px;
  align-items: center;
  padding: 22px 34px;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .04em;
  background: var(--red);
  transition: opacity .2s, background-color .2s ease;
}
.c-mail-btn svg { width: 25.5px; height: auto; display: block; }
.c-mail-btn img { width: 27px; height: auto; filter: brightness(0) invert(1); transition: transform 0.2s;}
.c-mail-btn:hover { background-color: var(--text); }
.c-mail-btn:hover img { transform: translateX(7px); }
.c-mail-btn .arw { color: #fff; }
.c-faq {
  margin-top: 26px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.c-faq a { border-bottom: 1px solid rgba(255,255,255,.7); }
.c-faq a:hover { color: var(--line); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: #000; color: #fff; border-top: 1px solid var(--line); padding-top: 60px; margin: 0 auto; }
.footer-inner { max-width: 1100px; margin-inline: auto; }
.footer-brand { text-align: center; margin-bottom: 40px; }
.footer-brand .footer-logo-dt {
  width: fit-content;
  max-width: 80%;
  display: flex;
  column-gap: 8px;
  align-items: center;
  margin: 0 auto 16px auto;
}
.footer-brand .footer-logo-dt img.footer-logo {
	flex: 0 0 auto;
	width: 72px;
	display: block;
}
.footer-brand .footer-logo-dt .footer-logo-text {
	flex: 1 0 1px;
}
.footer-brand .footer-logo.mb { display: none; }
.footer-name {
	font-family: var(--font-serif);
	font-weight: 500;
    text-align: left;
	line-height: 30px;
	font-size: clamp(20px, 2.4vw, 27px);
}
.footer-sub {
  font-size: 17px;
  margin-top: 2px;
  text-align: left;
line-height: 30px;
}
.footer-addr { font-size: 16px; line-height: 1.8;; }

.footer-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-offices { display: flex; flex-direction: column; gap: 16px; flex: none; width: 290px; }
.office-btn {
  height: 65px;
  display: flex;
  column-gap: 12px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-size: 16px;
  text-align: center;
  padding: 16px 20px;
  background: #1e1e1e;
  border-radius: 3px;
  transition: background .2s;
  border: 1px solid rgba(255,255,255,.5);
}
.office-btn.head img { width: 199px; height: auto; }
.office-btn.yokohama img { width: 246px; height: auto; }
.office-btn small { display: block; font-size: 11px; opacity: .8; margin-top: 2px; }
.office-btn:hover { background: #2a2a2a; }

.footer-sitemap {
	display: flex;
	gap: 44px;
	width: 550px;
	justify-content: space-between;
}
.footer-sitemap .fs-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.fs-head { font-family: var(--font-serif); font-weight: 600; font-size: 16px; line-height: 20px; margin-bottom: 12px; }
.lower-links {
	margin-top: auto;
}
.fs-links + .fs-head.mt {
  margin-top: 12px;
}
.fs-head a:hover, .fs-links a:hover { color: var(--line); }
.fs-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.fs-links li { position: relative; padding-left: 13px; font-size: 14px; }
.fs-links li.plain-link { padding-left: 0; }
.fs-links li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: #fff; 
  font-size: 18px;
  font-weight: 300;
  line-height: 21px;
}
.fs-links li.plain-link::before { display: none; }
.fs-links li .footer-profile { font-size: 14px; line-height: 14px; margin-bottom: 12px; }
.fs-links li .footer-profile-link { display: flex; align-items: center; column-gap: 10px; }
.footer-special {  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 8px 0 30px; }
.sp-btn { flex: 1 1 200px; min-width: 200px; height: 54px; border-radius: 3px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; line-height: 1.2; transition: opacity .2s; }
.sp-btn:hover { opacity: .88; }
.sp-btn img { width: 34px; height: auto; }
.sp-btn small { font-size: 12px; }
.sp-red { background: var(--red); color: #fff; }
.sp-fb { background: #0866ff; color: #fff; font-size: 16px; }
.sp-fb img { width: 20px; filter: brightness(0) invert(1); }
.footer-related { padding-bottom: 40px; }
.fr-label { font-size: 15px; margin-bottom: 12px; }
.fr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.fr-grid a {
  background: #fff; color: #000; border-radius: 2px;
  min-height: 55px; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 13px; font-weight: 500; line-height: 1.3; padding: 6px 8px;
  transition: opacity .2s;
}
.fr-grid a:hover { opacity: .8; }

.footer-copy { border-top: 1px solid var(--line); text-align: center; font-family: var(--font-serif); font-size: 14px; padding: 20px 0; margin: 0; }

/* ----- Access: Google Maps embed ----- */
.access-map iframe {
  width: 100%;
  height: unset;
  display: block;
  aspect-ratio: 514/342;
}

/* ----- Supporter logo scroller (ACF管理・無限マーキー) -----
 * 構造: .logo-scroller > .logo-marquee > .logo-track(複製) > .logo-item > img
 * JS(js/oc-scs.js の initLogoScroller)が .logo-track を複製し .logo-marquee を
 * translate3d で右→左へ 60px/秒 で移動。行数(1/2)は JS が .is-two-rows で切替。 */
.logo-scroller {
	--logo-height: 52px;
	--logo-max-width: 200px;
	--gap-x: 30px;
	--gap-y: 32px;
	width: 100%;
	overflow: hidden;              /* 横スクロールバーを出さない */
}
.logo-marquee {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	will-change: transform;
}
.logo-track {
	display: grid;
	grid-auto-flow: column;        /* 縦優先で列に流す（2行時 1,2 / 3,4 …） */
	grid-template-rows: auto;      /* 既定は1行。2行は .is-two-rows で上書き */
	align-items: center;
	gap: var(--gap-y) var(--gap-x);
	width: max-content;
	/* 無限ループの繋ぎ目でロゴ間隔が詰まらないよう、末尾に1つ分の余白を持たせる。
	   content-box なので offsetWidth に padding-right が加算され baseWidth と一致する。 */
	padding-right: var(--gap-x);
	box-sizing: content-box;
}
.logo-scroller.is-two-rows .logo-track {
	grid-template-rows: repeat(2, auto);
}
.logo-item {
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo-item img {
	height: var(--logo-height);
	width: auto;
	max-width: var(--logo-max-width);
	object-fit: contain;           /* 縦横比が異なっても崩さない（cover は使わない） */
	display: block;
}
@media (max-width: 600px) {
	.logo-scroller {
		--logo-height: 40px;
		--logo-max-width: 150px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.logo-marquee { transform: translate3d(0, 0, 0) !important; }
}

/* ----- Lawyer carousel: featured swap + thumbnails ----- */
.team-thumbs { display: flex; gap: 20px; }
.team-thumbs .thumb { flex: 1 1 0; min-width: 0; padding: 0; border: 0; background: none; position: relative; opacity: .82; transition: opacity .25s; }
.team-thumbs .thumb img { width: 100%; aspect-ratio: 200 / 240; object-fit: cover; object-position: top center; display: block; }
.team-thumbs .thumb:hover { opacity: 1; }
.team-thumbs .thumb.is-active { opacity: 1; }
.team-thumbs .thumb.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; background: var(--red); }
.team-featured .photo { transition: opacity .25s; }

/* =========================================================================
   Front-end spec items (from Figma comments) — mega menu / accordion /
   logo slider / SP tel links / hover animations / map embed
   ========================================================================= */

/* ----- Mega menu (弁護士紹介 / 取扱業務) ----- */
.has-mega { position: relative; }
.has-mega > a {
  display: flex;
  column-gap: 5px;
  align-items: center;
  cursor: pointer; /* href 無し（一覧ページ無しのメガ親）でも他リンク同様に指カーソルにする */
}
.header-nav .has-mega:hover > a {
	color: var(--red);
}
.has-mega .caret {
	width: 9px;
	transform: rotate(180deg);
	transition: transform .25s;
}
.header-nav .has-mega:hover > a .caret { transform: rotate(0deg); }

.mega {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--red);
  color: #fff;
  padding: 16px;
  border-radius: 4px;
  min-width: 290px;
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
/* .has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); } */
.mega a { color: #fff; }
.header-nav .mega-lawyers li + li, .mega-svc li + li { margin-top: 4px; }
.mega-lawyers a, .mega-svc a { display: flex; gap: 12px; padding: 9px 8px; border-radius: 4px; transition: background .2s; }
.mega-lawyers a { align-items: center; flex-direction: row; }
.mega-svc a { align-items: flex-start; }
.mega-lawyers a:hover, .mega-svc a:hover { background: rgba(255, 255, 255, .13); }
/* 画像=左 / テキスト=右 を order で確定（画像読み込みタイミングで並びが反転するのを防止）。 */
.mega-lawyers img { width: 70px; height: 70px; object-fit: cover; object-position: top center; flex: none; border-radius: 2px; order: 0; }
.mega-lawyers .ml-info { order: 1; }
.ml-info, .ms-info { display: flex; flex-direction: column; line-height: 1.45; }
.ml-info .role { color: #fff; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: .02em; }
.ml-info .name { color: #fff; font-size: 20px; font-weight: 500; line-height: 24px; letter-spacing: .02em; }
.ml-info .name i { font-size: 12px; }
.ms-info b { color: #fff; font-size: 20px; font-weight: 500; line-height: 30px; letter-spacing: .02em; }
.ms-info small { color: #fff; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: .02em; }
.mega-service { min-width: 320px; }
.mega-svc .ms-ic {
  width: 60px;
  height: 60px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-radius: 3px;
}
.mega-svc .ms-ic img {
  width: 34px;
  height: 34px;
}


/* =========================================================================
   Breadcrumb / page head (red band) — 全ページ共通ヘッダー。
   下層ページ（page-souzoku 等のインライン）と index 系テンプレート（template-parts/page-head.php）で共用。
   base に置くことで、service CSS を読まない一覧/アーカイブ等でも確実にスタイルが当たる。
   ========================================================================= */
.page-head { background: var(--red); color: #fff; }
.page-head-inner { max-width: 1100px; margin-inline: auto; padding: 60px 24px; }
.page-head .ph-title { display: flex; align-items: center; gap: 20px; }
.page-head .ph-ic { width: 46px; height: 46px; flex: none; }
.page-head .ph-ic img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.page-head h1 { color: #fff; font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 4vw, 40px); letter-spacing: .08em; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; letter-spacing: .04em; }
.breadcrumb a { opacity: .95; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: .7; }
.breadcrumb .curr-page { color: var(--red); }
/* page-head 直後にデフォルトテンプレートの本文（.oc-page-content）が来る場合の上余白。
   本文 wrapper と page-head の関係として定義（隣接兄弟）。他の本文コンテキストには影響しない。 */
.page-head + .oc-page-content { padding-top: clamp(48px, 6vw, 80px); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1199px) {
  .header-catch br { display: initial; }
  .header-catch .pipe { display: none; }
  .cta-panel {
    max-width: calc(100% - 80px);
  }
  .site-section.flow .flow-content {
    padding-inline: 20px;
  }
  .footer-inner {
      padding-inline: 20px;
  }
}

@media (max-width: 1080px) {
  /* SERVICE cards → single column, photo on top */
  .svc-card { padding: 28px 24px; }
  .svc-card .svc-main { grid-template-columns: 1fr; }
  .svc-photo { grid-column: 1; grid-row: auto; order: 2; }
  .svc-photo img { height: 200px; }
  .svc-desc { order: 3; }
  .svc-tags { order: 4; }
  .svc-head { order: 1; flex-wrap: wrap; }

  /* BIZ → stacked */
  .biz {
      padding-bottom: 240px;
  }
  .biz-top { grid-template-columns: 1fr; }
  .biz-photo, .biz-copy { grid-column: 1; }
  .biz-photo img { min-height: 260px; }

  /* ACCESS → stacked */
  .access-body { flex-direction: column; gap: 32px; }
  .access-map { width: 100%; max-width: 560px; }
  .access-info { width: 100%; max-width: 560px; }
}

@media (max-width: 1040px) {
	.header-right .header-contact { column-gap: 10px; }
}

@media (max-width: 970px) {
  .access-btn { display: none; }
  .header-right .header-contact { column-gap: 20px; justify-content: flex-end; }
  
  /* FOOTER grid → wrap */
  .footer-grid { flex-direction: column; }
  .footer-offices { width: 100%; flex-direction: row; }
  .office-btn { flex: 1; }
  .footer-sitemap { justify-content: space-between; gap: 20px; margin-inline: auto; }
}

@media (max-width: 830px) {
	.header-right .header-menu { column-gap: 14px; }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  html { scroll-padding-top: 74px; }

  br.mb-only { display: initial; }
  br.dt-only { display: none;    }

  /* page-head（赤帯ヘッダー）SP 調整 — 下層ページ・index 系テンプレート共通 */
  .page-head-inner { padding: 25px 20px; }
  .page-head .ph-title { column-gap: 10px; }
  .page-head .ph-ic { width: 28px; height: 23px; flex: none; }
  .page-head h1 { font-size: 40px; }
  .breadcrumb { margin-top: 8px; }

  .header-inner {
    height: 54px;
	column-gap: 0;
    padding: 0 54px 0 0;
  }
  .header-inner .header-brand {
    flex: 1 0 1px;
    padding: 10px 6px 10px 10px;
  }
  .header-inner .header-catch { display: none; }

  .header-spacer {
  	height: 54px;
  }

  .header-logo img {
      width: 140px;
  }
  .header-contact-mobile {
    flex: 1 0 1px;
    height: 100%;
    display: flex;
    column-gap: 0;
    align-items: center;
	justify-content: flex-end;
    background: #fff4f4;
    padding: 10px 0px 10px 9px;
  }

  .header-right {
    top: 54px;
    right: 0;
    z-index: 6;
    position: fixed;
    width: 100vw;
    height: 100dvh;
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-direction: column;
    background: #fff;
    padding: 15px;
    align-items: stretch;
    gap: 26px;
    transform: translateX(105%);
    transition: transform .32s ease;
    overflow-y: auto;
  }
  .header-right .header-nav { display: none; }
  .header-right .gnav { display: block; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header-right {
    transform: translateX(0);
    max-height: unset;
    padding-bottom: 80px;
  }
  body.nav-open-unused::after { display: none; content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; }

  .header-contact { flex-direction: column; align-items: stretch; gap: 16px; }
  .header-contact .access-btn,
  .header-contact .contact-btn {
    width: calc(100% - 30px);
    justify-content: center;
  }
  .header-contact .access-btn .ac-top,
  .header-contact .access-btn .ac-main {
    font-size: 16px;
  }
  .header-contact .header-tel {
    margin-top: 20px;
  }
  .header-contact .header-tel .ic {
      width: 24px;
      height: 24px;
  }
  .header-contact .header-tel .tel-num {
    font-size: 40px;
    line-height: 40px;
  }
  .header-tel .tel-hours {
    width: 100%;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
  }
  .header-contact .contact-btn .cb-sub {
      font-size: 16px;
  }
  .header-tel { align-items: flex-start; }
  .contact-btn { justify-content: space-between; }
  .gnav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav li:first-child { border-top: none; }
  .gnav li, .gnav .mega li:first-child { border-top: 1px solid var(--line); }
  .gnav a { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; }
  .gnav .mega-menu.has-mega.mega-open > a { color: var(--red); }
  .gnav .mega-menu.has-mega.mega-open > a .caret { transform: rotate(0deg); }

  .header-contact-mobile {
    flex: 0 0 auto;
    display: flex;
    column-gap 10px;
    align-items: center;
  }
  .header-contact-mobile .contact-email-mobile {
    margin-bottom: -5px;
  }
  .header-contact-mobile .contact-email-mobile-top {
    display: flex;
    column-gap: 3px;
    align-items: center;
  }
  .header-contact-mobile .contact-email-mobile-top .contact-email-mobile-icon {
    width: 20px;
    display: block;
  }
  .header-contact-mobile .contact-email-mobile-top .contact-email-mobile-text {
    display: flex;
	align-items: center;
	flex-direction: column;
    color: var(--red);
    font-size: 11px;
    font-weight: 400;
    line-height: 13px;
  }
  .header-contact-mobile .contact-email-mobile-top .contact-email-mobile-text .smaller {
    font-size: 8px;
    line-height: 10px;
  }
  .header-contact-mobile .contact-email-mobile-btm {
    margin-top: 3px;
  }
  .header-contact-mobile .contact-email-mobile-btm .contact-email-mobile-arw {
    width: 25px;
    margin-left: auto;
    margin-right: 5px;
  }

  .header-contact-mobile .contact-phone-mobile {
    width: 45px;
    display: flex;
    row-gap: 3px;
    align-items: center;
    flex-direction: column;
  }
  .header-contact-mobile .contact-phone-mobile .contact-phone-mobile-icon {
    width: 18px;
    display: block;
  }
  .header-contact-mobile .contact-phone-mobile .contact-phone-mobile-text {
    color: var(--red);
    font-size: 11px;
    line-height: 15px;
    white-space: nowrap;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    aspect-ratio: 1/1;
    z-index: 7;
    width: unset;
    height: unset;
    border-radius: 0;
    background-color: #000;
    padding: 18px 5px;
  }
  .nav-toggle span {
    display: block;
    width: 50%;
    height: 1px;
    background: #fff;
    transition: transform .3s, opacity .2s;
  }
  .nav-toggle.open { justify-content: center; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(1px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-1px) rotate(-45deg); }

  /* HERO → photo banner on top, text below */
  .hero-divider {
    width: 300px;
    height: 8px;
    margin: 3px 0 7px -5px;
  }
  .hero-divider .hero-divider-img.mb { display: block; width: 100%; height: 100%; object-fit: contain; }
  .hero-divider .hero-divider-img.dt { display: none; }

  .hero { display: flex; flex-direction: column; }
  /* .hero-photos { position: relative; height: 260px; order: 0; } */
  /* 固定260pxをやめ画像本来の高さに追従させ、次に来る .hero-inner を画像の実下端基準で配置する */
  .hero-photos.mb { display: block; position: relative; height: auto; order: 0; }
  .hero-photos.dt { display: none; }
  .hero-photos .hp-mobile {
    position: relative;
    top: 0;
    width: 100%;
    object-fit: cover;
    height: auto;
  }
  .hero-photos .hp-left { display: none; }
  .hero-photos .hp-right { display: none; }
  .hero-photos .hp-cloud {
    left: 0;
    right: 0;
    bottom: 0;
    height: 33px;
    z-index: 2;
    display: block;
    position: absolute;
    background-image: linear-gradient(0deg, #fff, transparent);
  }
  .hero-fade { display: none; }
  .hero-inner {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    /* 画像下端からの重なり量を画面幅(=画像高さに比例)に対する%で指定し、
       どのSP幅でも画像に対する重なり位置を一定に保つ（約375px時の重なり≈7%を基準） */
    margin-top: -7%;
  }
  .hero-sub { font-size: 16px; }
  .hero-sub .hero-sub-top {
    font-size: 16px;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: 0.04em;
    font-family: var(--font-serif);
  }
  .hero-sub .hero-sub-btm {
    font-size: 24px;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: 0.08em;
    font-family: var(--font-serif);
}
  .hero-sub .hero-sub-red { font-size: 24px; color: var(--red); }

  .stat-row {
    gap: 13px;
    justify-content: center;
  }
  .stat {
    width: 136px;
    height: 80px;
    min-height: unset;
  }
  .stat .num {
    font-size: 26px;
    line-height: 26px;
  }
  .stat .num .plus { font-size: 10px; }
  .stat .num .unit { font-size: 10px; }
  .stat .num .pct { font-size: 14px; }
  .stat .num .of { font-size: 8.5px; }
  .stat .cap {
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 0;
  }
  .stat .sub {
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 2%;
  }
  .stat .laurel-left { left: 0; width: 30px; height: 77px; }
  .stat .laurel-right { right: 0; width: 30px; height: 77px;  }
  .stat .laurel img.dt { display: none; }
  .stat .laurel img.mb { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .hero-stats .note.align-left { text-align: center; }

  .hero-copy .line1 { font-size: 28px; line-height: 1.5; }
  .hero-copy .line2 { font-size: 42px; }
  .hero-copy .line2 .smaller { font-size: 38px; }
  .hero-card {
    flex-direction: column;
    gap: 20px;
    padding: 14px 18px;
    max-width: 420px;
    margin-top: 12px;
}
  .hero-wave { position: static; order: 2; margin-top: -25px; transform: none; }
  .hero-wave img { height: 34px; }
  .hero-stats .note { font-size: 10px; }

  /* MESSAGE */
  .message .msg-top { grid-template-columns: 1fr; gap: 16px; }
  .msg-collage {
    width: 100%;
    margin-top: 32px;
    aspect-ratio: 376/374;
    height: unset;
  }
  .msg-collage::before {
    background-image: url("../img/scs/msg-station-bg-mb.webp");
  }
  .msg-collage .m-group { width: 45%; left: 4%; top: 20px; height: auto; }
  .msg-collage .m-sign { width: 34%; left: 40%; top: 110px; height: auto; }
  .msg-collage .m-comp { width: 40%; right: 4%; top: -30px; height: auto; }
  .msg-body p:last-child {
    margin-bottom: 20px;
  }
  .msg-lead .msg-lead-title { font-size: 32px; line-height: 1.8; letter-spacing: 0.02em; }

  /* TEAM */
  .site-section.team .site-container {
    width: 100%;
	margin-top: 0;
    padding: 80px 0 60px 0;
  }
  .team-showcase { flex-direction: column; gap: 28px; }
  .team-showcase .team-showcase-left:after { display: none; }
  .team-featured { width: 100%; max-width: 100%; }
  .team-featured .photo { height: 420px; }
  .team-track .slide { flex-basis: calc((100% - 20px) / 2); }
  
  .team-head { margin-top: 8px; }

  .team-showcase .team-showcase-left {
    order: 2;
    padding: 15px 0;
    align-self: stretch; /* SPは縦積み。ボタン(width:90%;margin:auto)の中央寄せのため全幅に戻す */
  }
  .team-showcase .team-showcase-right .team-carousel {
    height: 300px;
  }
  .team-showcase .team-showcase-right .team-carousel .team-slide:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
  }
  .team-showcase .team-showcase-left .photo {
    display: none;
  }
  .team-showcase .team-showcase-left .btn--red {
    z-index: 2;
    left: unset;
    bottom: unset;
    position: relative;
    transform: unset;
    margin: 0 auto;
    display: flex;
    width: 90%;
  }
  .team-showcase .team-showcase-right {
    width: 100%;
    flex: 0 0 auto;
    max-width: unset;
  }
  .team-showcase .team-showcase-right .showcase-details { order: 2; padding: 0 15px; }
  .team-quote .team-quote-mark {
      width: 20px;
  }
  .team-role { line-height: 1; }
  .team-quote .team-quote-text {
      font-size: 20px;
	  font-weight: 600;
	  line-height: 1.6;
	  letter-spacing: 0.02em;
  }
  .team-name {
    margin-bottom: 16px;
  }
  .showcase-details .tag { font-size: 15px; }

  .showcase-carousel .team-navigation.desktop {
    display: none;
  }
  .showcase-carousel .team-navigation.mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 50%;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 0 15px;
    position: absolute;
    transform: translateY(-50%);
  }
  .showcase-carousel .team-prev-mb {
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #fff;
    font-size: 21px;
    background: rgba(0 0 0 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .showcase-carousel .team-prev-mb .paginate-prev-arw {
      width: 8px;
  }
  .showcase-carousel .team-next-mb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #fff;
    font-size: 21px;
    background: rgba(0 0 0 / 50%);
  }
  .showcase-carousel .team-next-mb .paginate-next-arw {
      width: 8px;
  }

  /* SERVICE tags stack */
  .site-section.service .site-container {
    padding: 60px 15px;
  }
  .svc-list { row-gap: 8px; }
  .svc-tags { flex-direction: column; }
  .svc-tag, .svc-tag.wide { max-width: 100%; flex-basis: 100%; }
  .svc-tag .t-main { font-size: 20px; line-height: 1.5; }
  .svc-tag .t-sub { font-size: 15px; line-height: 1.5; }

  /* =========================================================================
     REASON (選ばれる理由)
     ========================================================================= */
  .reason-panel {
    padding: 40px 0;
    margin: -75px 15px 0 15px;
  }
  .reason .sec-head {
    margin-bottom: 40px;
  }
  .sec-head .eyebrow {
    letter-spacing: 0.06em;
  }
  .sec-head .title {
    font-size: 34px;
    letter-spacing: 0.06em;
    line-height: 1.4;
    margin-top: 6px;
  }
  .reason-items {
    row-gap: 40px;
  }
  .reason-item {
    display: flex;
    row-gap: 0;
    flex-direction: column;
  }
  .reason-item h3 {
    font-size: 20px;
	line-height: 1.8;
    letter-spacing: 0.02em;
  }
  .reason-item .r-body {
    font-size: 16px;
	line-height: 1.8;
    margin-top: 16px;
    letter-spacing: 0.02em;
  }
  .reason-item.photo-right .r-text, .reason-item.photo-left .r-text {
    top: unset;
    left: unset;
    right: unset;
    width: 100%;
    position: relative;
    border-radius: 0;
    box-shadow: none;
  }
  .reason-item.photo-right .r-text{
      padding: 20px 0 20px 32px;
  } .reason-item.photo-left .r-text {
      padding: 20px 15px 20px 32px;
  }
  .reason-item:hover .r-photo img {
    transform: none;
  }
  .reason-item.photo-right .r-photo, .reason-item.photo-left .r-photo {
    margin-left: 0;
    width: calc(100% + 26px);
  }
  .r-numrow { margin-bottom: 0; }

  .cta-panel {
  	max-width: unset;
    padding-inline: 15px;
    width: calc(100% - 30px);
  }
  .cta-panel h2 {
    font-size: 32px;
    line-height: 1.4;
  }
  .cta-panel .cta-sub {
    font-size: 20px;
  }

  .biz {
    padding-bottom: 0;
  }
  .biz-copy {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    width: 95%;
    margin-top: -70px;
    margin-left: auto;
  }
  .biz-copy h2 {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: .02em;
	margin-bottom: 16px;
  }
  .biz-copy p {
	  font-size: 20px;
	  line-height: 1.8em;
	  letter-spacing: 0.02em;
  }
  .biz-photo { width: 100%; }
  /*
    I sincerely apologize for this hack.
    You are here looking at it, I am sure,
    because it is broken on zome screen.
    I believe you have to create two buttons,
    one for desktop and one for mobile.
  */
  .biz-copy .btn {
    right: 0;
    bottom: 0;
    left: -23px;
    position: relative;
    width: calc(100% + 30px);
    column-gap: 10px;
    padding-right: 28px;
  }

  .svc-card { padding: 12px 20px; }
  .svc-card .svc-main { padding: 0; }
  .svc-card .svc-main .svc-main-left {
    width: 100%;
    flex: 0 0 100%;
  }
  .svc-card .svc-main-right { display: none; }
  .svc-head {
    cursor: pointer;
    position: relative;
    padding-right: 40px;
    margin-bottom: 0;
  }
  .svc-head h3 { font-size: 26px; }
  .svc-head .more { display: none; }
  .svc-main-left .more-mb {
    display: block;
	text-align: right;
  }
  
  /*
  .svc-head::before, .svc-head::after {
    content: "";
    top: 50%;
    right: 10px;
    width: 16px;
    height: 2px;
    position: absolute;
    background: var(--red);
    margin-top: -1px;
  }
  */
  .svc-card-control {
    top: 50%;
    right: 0;
    width: 33px;
    height: 33px;
    position: absolute;
    background: var(--red);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }
  .svc-card-control .hbar, .svc-card-control .vbar {
	  width: 50%;
	  height: 2px;
	  background-color: #fff;
  }
  .svc-card-control .vbar {
      transform: translateY(1px) rotate(90deg);
  }
  .svc-card-control .hbar {
      transform: translateY(-1px);
  }
  .svc-card.is-open .svc-card-control .vbar {
	  display: none;
  }
  .svc-card.is-open .svc-card-control .hbar {
      transform: translateY(0);
  }

  .svc-head::after { transform: rotate(90deg); transition: transform .3s, opacity .3s; }
  .svc-card.is-open .svc-head::after { transform: rotate(0deg); opacity: 0; }
  .svc-card .svc-desc, .svc-card .svc-photo, .svc-card .svc-tags, .svc-card .more-mb { display: none; }
  .svc-card.is-open .svc-desc {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8em;
    letter-spacing: 0.02em;
    margin-bottom: 1em;
  }
  .svc-card.is-open .svc-photo { display: block; }
  .svc-card.is-open .svc-tags { display: flex; }
  .svc-card.is-open .svc-head { margin-bottom: 16px; }
  .svc-main { row-gap: 16px; }
  .svc-photo { display: none; }
  .svc-card .svc-photo-mb { display: none; }
  .svc-card.is-open .more-mb {
    display: flex;
    column-gap: 7px;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8em;
    margin-bottom: 17px;
    border-bottom: 1px solid #c7c7c7;
    width: fit-content;
    margin-left: auto;
  }
  .svc-card.is-open .svc-photo-mb {
    width: 100%;
    display: block;
  }
  .svc-card.is-open .svc-photo-mb img {
    width: 100%;
    display: block;
    aspect-ratio: 324 / 205;
    object-fit: cover;
    border-radius: 2px;
  }


  /* CTA */
  .cta-bg { height: 78%; }

  /* FLOW → number above card, photo full width */
  .site-section.flow .site-container { padding: 0 15px; }
  .site-section.flow .flow-content { padding: 60px 0; }
  .site-section.flow .flow-list { row-gap: 20px; }
  .site-section.flow .flow-card {
    padding: 10px;
	border-radius: 0;
    flex-direction: column;
  }
  .site-section.flow .flow-card h3 {
    font-size: 26px;
  }
  .site-section.flow .flow-step .flow-num { font-size: 30px; }
  .flow-card .flow-cta {
    row-gap: 16px;
    flex-direction: column;
    margin-top: 30px;
  }
  .flow-card .flow-tel .ft-num {
    gap 3px;
	line-height: ;
  }
  .flow-card .flow-tel .tel-link {
    line-height: 1.1em;
  }
  .flow-card .flow-tel .ft-hours {
    text-align: center;
  }
  .site-section.flow .flow-card .flow-text p {
    font-size: 16px;
  }
  .site-section.flow .flow-card .flow-text .flow-note {
	  color: #676767;
      font-size: 15px;
	  font-weight: 400;
	  line-height: 1.8;
	  letter-spacing: 0.02em;
  }
  .site-section.flow .flow-list::before { bottom: 440px; }
  .site-section.flow .flow-card .flow-photo { width: 100%; }
  .flow-photo img {
    width: 100%;
    aspect-ratio: 281 / 165;
    object-fit: cover;
    border-radius: 0;
  }

  .access-content {
    margin: 0 15px;
    padding: 60px 0 30px 0;
  }
  .access-btn .ac-left {
    flex: 0 0 auto;
  }
  .access-map iframe {
      width: 100%;
	  height: unset;
      aspect-ratio: 346 / 230;
  }
  .ac-block:first-of-type {
    border-top: none;
	padding-top: 0;
  }
  .access-info h3 { margin-bottom: 12px; }
  .btn.access-gmap {
    width: 100%;
    padding: 0 28px;
    display: flex;
    column-gap: 17px;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
  }
  .btn .btn-arw {
    position: relative;
    width: 27px;
    height: auto;
    min-height: unset;
    top: unset;
    right: unset;
    display: block;
    transform: unset;
    transition: transform 0.2s;
  }

  /* NEWS */
  .site-section.news { padding: 30px 15px 60px 15px; }
  .news-list .news-item-link { flex-wrap: wrap; gap: 4px 16px; padding: 16px 4px; }
  .news-list .n-title {
    flex-basis: 100%;
    white-space: normal;
    margin-right: 25px;
  }
  .news-list .news-list-item {
    position: relative;
  }
  .news-list .news-list-item .view-arw {
    right: 0;
    top: 55px;
    position: absolute;
  }

  /* CONTACT */
  .c-actions { flex-direction: column; gap: 24px; }
  .c-mail-btn {
    width: 100%;
    font-size: 20px;
    justify-content: center;
    padding: 20px 10px;
  }
  .contact .c-lead {
    font-size: 20px;
    text-align: left;
    line-height: 34px;
  }
  .c-tel-hours {
    font-size: 20px;
  }
  .c-mail-btn { column-gap: 11px; }
  .contact-inner { padding-inline: 15px; }
  .c-faq { font-size: 15px; letter-spacing: 0; }

  /* FOOTER */
  .site-footer { padding-inline: 15px; }
  .site-section.contact .site-container {
    background-image: url("../img/scs/footer-contact-bg-mb.webp");
  }
  .footer-offices { flex-direction: column; }
  .footer-sitemap { display: none;; }
  .fs-col { flex: 1 1 40%; }
  .footer-special { grid-template-columns: repeat(1,5fr); padding-bottom: 23px; }
  .sp-btn { min-width: 0; flex: 0 0 auto; }
  .fr-grid { grid-template-columns: repeat(1, 1fr); }
  .footer-brand .footer-logo.mb { display: block; width: 100%; margin: 0 auto 16px auto; }
  .footer-brand .footer-logo-dt { display: none; }
  .footer-brand .footer-name { display: none; }
  .footer-brand .footer-sub { display: none; }
  .footer-brand .footer-addr { text-align: left; }
  .fr-label { text-align: center; margin-bottom: 29px; }

  /* ------
     END of mobile styling
   * ------ */
}

/* =========================================================================
   Inline icon system (replaces broken exported icon SVGs) + polish
   ========================================================================= */
.ic { display: inline-block; vertical-align: middle; flex: none; }
.header-tel .ic { width: 18px; height: 18px; color: var(--red); }
.contact-btn .ic { width: 20px; height: 16px; color: #fff; }
.access-btn .ic { width: 12px; height: 14px; color: var(--red); }
.flow-tel .ft-num .ic { width: 24px; height: 24px; color: var(--red); }
.flow-net-btn .ic { width: 20px; height: 16px; color: #fff; }
.c-tel-num .ic { width: 38px; height: 38px; color: #fff; }
.c-mail-btn .ic { width: 24px; height: 20px; color: #fff; }

/* service chip: stack title over sub-description */
.svc-tag { display: flex; flex-direction: column; }

.sp-fb .ic { width: 30px; height: auto; color: #fff; }

/* ---- Mobile hero: prevent horizontal overflow ---- */
@media (max-width: 1px) {
  .hero-copy .line1 { font-size: 30px; }
  .hero-copy .line2 { font-size: 33px; }
  .hero-sub { font-size: 16px; line-height: 1.6; }
  .hero-card { max-width: 100%; width: 100%; padding: 20px 14px; gap: 18px; }
  .hero-card .cert { gap: 12px; }
  .hero-card .cert img { width: 76px; }
  .hero-stats { width: 100%; }
  .hero-stats .stat-row { gap: 4px; }
  .stat { width: auto; flex: 1 1 0; min-width: 0; min-height: 118px; }
  .stat .laurel { width: 42px; height: 92px; bottom: 2px; }
  .stat .laurel-left { left: 0; }
  .stat .laurel-right { right: 0; }
  .stat .num { font-size: 30px; }
  .stat .num .pct { font-size: 18px; }
  .stat .num .plus { font-size: 12px; }
  .stat .cap { font-size: 12px; }
  .stat .sub { font-size: 14px; }
  .hero-stats .note { font-size: 11px; }
}

/* ---- Mega menu -- mobile slide-in menu ---- */
.gnav .mega {
  z-index: 3;
  opacity: 1;
  display: none; /* We are using display, but this goes away if we use max-height */
  visibility: visible;
  position: relative;
  background: #fff;
  color: #fff;
  padding: 0;
  border-radius: 4px;
  top: unset;
  right: unset;
  min-width: unset;
  box-shadow: none;
  transition: opacity .25s, transform .25s, visibility .25s;
}
.gnav .mega a { color: #333; }
.gnav .mega-lawyers a,
.gnav .mega-svc a { display: flex; gap: 9px; padding: 9px 8px; transition: background .2s; }
.gnav .mega-lawyers a {
	align-items: center;
}
.gnav .mega-svc a {
	align-items: flex-start;
}
.gnav .mega-lawyers a:hover,
.gnav .mega-svc a:hover { background: rgba(255, 255, 255, .13); }
.gnav .mega-lawyers img { width: 70px; height: 70px; object-fit: cover; object-position: top center; flex: none; border-radius: 2px; }
.gnav .ml-mobile-info {
  flex: 1 0 1px;
}
.gnav .ml-mobile-info .role {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: #333;
  letter-spacing: 0;
  display: block;
  width: 100%;
}
.gnav .ml-mobile-info .name {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.02em;
}
.gnav .ml-mobile-info .name i {
  font-size: 12px;
  font-weight: 400;
  margin-right: 4px;
  display: inline-block;
}
.gnav .mega-svc li + li { margin-top: 4px; }
.gnav .mega-svc a { display: flex; gap: 12px; padding: 9px 8px; border-radius: 4px; transition: background .2s; }
.gnav .mega-svc a { align-items: flex-start; }
.gnav .mega-svc a:hover { background: rgba(255, 255, 255, .13); }
.gnav .mega-service { min-width: 320px; }
.gnav .mega-svc .ms-ic {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
}
.gnav .mega-svc .ms-ic img {
  width: auto;
  height: 34px;
  filter: none;
}
.gnav .mega-svc .ms-info { flex: 1 0 1px; }
.gnav .mega-svc .ms-info b { color: #333; font-size: 20px; font-weight: 500; line-height: 30px; letter-spacing: .02em; }
.gnav .mega-svc .ms-info small { color: #333; font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: .02em; }

/* ----- SP-only phone links (desktop: display only) ----- */
@media (min-width: 767px) {
  .header-tel .tel-row { pointer-events: none; cursor: default; text-decoration: none; color: inherit; }
}

/* ----- Hover animations (polish) ----- */
.svc-card { transition: box-shadow .25s, border-color .25s; }
.svc-card:hover { box-shadow: 0 10px 28px rgba(176, 29, 58, .10); }
.flow-card { transition: box-shadow .25s, transform .2s; }
.flow-card:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .07); }
.reason-item .r-photo img { transition: transform .4s; }
/* footer-special / footer-related：ホバーは opacity のみ。上下移動はしない */
.fr-grid a:hover, .sp-btn:hover { transform: none; }
.news-more:hover { color: var(--red); border-color: var(--red); }

/* mega hidden inside mobile drawer */
/* @media (max-width: 1080px) { .mega { display: none; } .has-mega:hover .caret { transform: none; } } */

/* mega links keep white text on hover (override .gnav a:hover) */
.mega a:hover, .mega a:focus { color: #fff; }
.mega-lawyers, .mega-svc { display: block; }

/* =========================================================================
   ScrollHint（横長テーブルの横スクロール可視化）— サイト共通
   本体 CSS（CDN）は編集せず、サイトカラー等の最小限のみを上書き。
   .js-scrollable スコープ（＋高い詳細度）で本体既定より優先。
   対象は明示的に .js-scrollable を付けた要素のみ（弁護士費用・顧問弁護士の横長料金表 等）。
   ========================================================================= */
.js-scrollable .scroll-hint-icon { background-color: rgba(176, 29, 58, 0.82); border-radius: 8px; }
.js-scrollable .scroll-hint-icon-white .scroll-hint-text { color: #fff; }
.js-scrollable .scroll-hint-text { font-size: 12px; letter-spacing: .04em; }
