/* ==========================================================================
   Material Capital - Corporate Site Stylesheet
   構成: Variables > Base > Components > Sections
   ========================================================================== */

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  /* Background */
  --color-bg-main: #202020;
  --color-bg-main-60: color-mix(in srgb, var(--color-bg-main) 60%, transparent);
  --color-bg-main-90: color-mix(in srgb, var(--color-bg-main) 90%, transparent);
  --color-bg-sub: #333030;
  --color-bg-w: #f2eded;
  --color-bg-off: #555252;

  /* Text */
  --color-text: #222222;
  --color-text-w: #efe9e9;
  --color-text-sub: #d7d7d7;
  --color-big-en-text: #e5e5e5;

  /* Accent / Image / Border */
  --color-primary: #b40000;
  --color-primary-30: color-mix(in srgb, var(--color-primary) 30%, transparent);
  --color-img-cover: #514040;
  --color-border-1: #898989;

  /* Neutral */
  --color-black: #000000;
  --color-gray: #3f3f3f;
  --color-white: #ffffff;
  --color-white-90: color-mix(in srgb, var(--color-white) 90%, transparent);
  --color-white-50: color-mix(in srgb, var(--color-white) 50%, transparent);
  --color-white-10: color-mix(in srgb, var(--color-white) 10%, transparent);

  /* Noise（bg-main / bg-subには白ノイズ、bg-wには黒ノイズを重ねる。ページ背景のみに使用） */
  --bg-noise-white: url("../img/noise-invert.png");
  --bg-noise-black: url("../img/noise.png");
  --noise-opacity: 0.15;

  /* Fonts */
  --font-en-display: "GFS Didot", serif;
  --font-jp-mincho: "Yu Mincho", "YuMincho", "游明朝", serif;
  --font-jp-gothic: "Noto Sans JP", "MS Gothic", "ＭＳ ゴシック", sans-serif;

  /* Font size scale */
  --font-12: 0.75rem;
  --font-14: 0.875rem;
  --font-16: 1rem;
  --font-18: 1.125rem;
  --font-20: 1.25rem;
  --font-22: 1.375rem;
  --font-24: 1.5rem;
  --font-26: 1.625rem;
  --font-32: 2rem;
  --font-35: 2.1875rem;
  --font-42: 2.625rem;
  --font-52: 3.25rem;
  --font-60: 3.75rem;
  --font-64: 4rem;
  --font-72: 4.5rem;
  --font-169: 10.5625rem;

  /* Spacing scale */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;
  --space-100: 100px;
  --space-120: 120px;

  /* Layout */
  --content-width: 1280px;
  /* パディング込み。見えるコンテンツ幅は1200px */
  --content-width-narrow: 1080px;
  /* パディング込み。見えるコンテンツ幅は1000px */
  --content-padding: var(--space-40);

  /* Misc */
  --header-height: 100px;
  --transition-base: 0.3s ease;

  /* Parallax */
  --parallax-visible-height: 300px;
  --parallax-image-height: 550px;
  --message-autoplay-duration: 20s;
}

/* ==========================================================================
   Base / Reset
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* 100vhはブラウザによって実際の表示領域と数px差が出ることがあるため、
     対応ブラウザでは100dvh（実際に見えている高さ）で上書きし、
     コンテンツが少ないページで意図しない縦スクロールが出るのを防ぐ */
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: var(--font-jp-gothic);
  color: var(--color-text-w);
  background-color: var(--color-bg-main);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* コンテンツが少ないページ（404など）でも、フッターが画面下に固定されるようにする */
main {
  flex: 1 0 auto;
}

/* ページ背景のノイズ。opacityを別要素にかけることでテキストなど中身は薄くしない */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-noise-white);
  background-repeat: repeat;
  background-size: 100px;
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.sp {
  display: none;
}

/* ==========================================================================
   Layout Utility
   ========================================================================== */
.l-container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* ==========================================================================
   Component: 404 / フォールバックページ（index.php）
   ヘッダーがposition:fixedのため、被らないようヘッダー分の余白を確保しつつ、
   残りの高さの中でメッセージを縦横中央に表示する。
   ========================================================================== */
.l-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-height) 0 var(--space-24);
  text-align: center;
}

.l-404__message {
  font-size: var(--font-16);
  color: var(--color-text-sub);
}

.l-container--narrow {
  max-width: var(--content-width-narrow);
}

/* ==========================================================================
   Component: Header
   ========================================================================== */
.c-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: 100;
  transition: background-color var(--transition-base), backdrop-filter var(--transition-base);
}

/* ログイン中はWordPressの管理バー（32px、モバイルは46px）の下にヘッダーを表示する */
body.admin-bar .c-header {
  top: 32px;
}

body.admin-bar .hero {
  padding-top: calc(var(--header-height) + 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .c-header {
    top: 46px;
  }

  body.admin-bar .hero {
    padding-top: calc(var(--header-height) + 46px);
  }
}

/* ファーストビューでは背景なし。 */
body.is-scrolled .c-header {
  background-color: var(--color-bg-main-90);
  backdrop-filter: blur(7px);
}

.c-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--content-padding) 0 0;
}

.c-header__logo {
  display: flex;
  align-items: flex-end;
}

.c-header__logo-svg {
  height: 100%;
  width: auto;
}

/* マークは丸い形・白背景で、中にPNGマーク画像を内包する */
.c-header__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: var(--space-20);
  padding: 2px;
}

.c-header__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c-nav__list {
  display: flex;
  gap: var(--space-40);
}

.c-nav__link {
  font-family: var(--font-en-display);
  font-size: var(--font-16);
  letter-spacing: 0.1em;
  color: var(--color-text-w);
  transition: color var(--transition-base);
  position: relative;
}

.c-nav__link::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--color-text-w);
  position: absolute;
  bottom: -4px;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

/* ハンバーガーボタン。デスクトップでは非表示、768px以下でのみ表示する */
.c-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 11px;
  width: 38px;
  height: 32px;
  flex-shrink: 0;
}

.c-header__toggle-line {
  display: block;
  width: 38px;
  height: 1px;
  background-color: var(--color-text-w);
  transform-origin: left center;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ==========================================================================
   Component: Footer
   ========================================================================== */
.c-footer {
  position: relative;
  isolation: isolate;
  background-color: var(--color-bg-main);
  padding: var(--space-40) 0;
  text-align: center;
}

.c-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-noise-white);
  background-repeat: repeat;
  background-size: 100px;
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: -1;
}

.c-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
}

.c-footer__nav-list {
  display: flex;
  gap: var(--space-32);
}

.c-footer__nav-link {
  font-family: var(--font-jp-gothic);
  font-size: var(--font-14);
  color: var(--color-text-w);
  transition: opacity var(--transition-base);
}

.c-footer__copyright {
  font-family: var(--font-jp-gothic);
  font-size: var(--font-12);
}


/* ==========================================================================
   Component: Eyebrow（セクション上部の赤マーク付きラベル）
   ========================================================================== */
.c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-jp-gothic);
  font-size: var(--font-14);
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--color-text-w);
}

.c-eyebrow__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
}

/* 明るい背景（COMPANY / CONTACT）上でのみ使う例外色 */
.c-eyebrow--on-light {
  color: var(--color-gray);
}

/* ==========================================================================
   Component: Section Heading（英文の大見出し）
   ABOUT / BUSINESS / COMPANY / CONTACT で共通。文字色は基本text-w、
   明るい背景（COMPANY / CONTACT）だけ --on-light で例外的にtextへ変更する。
   ========================================================================== */
.c-section-heading {
  font-family: var(--font-en-display);
  font-weight: 600;
  font-size: var(--font-72);
  color: var(--color-text-w);
  line-height: 1.1;
}

.c-section-heading--on-light {
  color: var(--color-text);
}

/* ==========================================================================
   Component: Heading Group（日本語アイキャッチ + 英語見出しの組み合わせ）
   ABOUT / BUSINESS / COMPANY / CONTACT で共通利用。
   CONTACTのみ --reverse で上下（英語見出し→日本語アイキャッチ）を入れ替える。
   ========================================================================== */
.c-heading-group {
  display: flex;
  flex-direction: column;
}

.c-heading-group--reverse {
  flex-direction: column-reverse;
}

/* ==========================================================================
   Component: Card（Business / Message 共通の外枠パーツ）
   ========================================================================== */
.c-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.c-card--business {
  background-color: var(--color-white-90);
  padding: var(--space-32) var(--space-16) var(--space-24);
  border-radius: 2px;
  color: var(--color-text);
}

.c-card--business .c-card__heading {
  display: flex;
  gap: var(--space-16);
}

.c-card--business .c-card__number {
  font-family: var(--font-jp-gothic);
  font-size: var(--font-16);
  letter-spacing: 0.05em;
  width: 40px;
  height: stretch;
  background-color: var(--color-gray);
  color: var(--color-text-w);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-card--business .c-card__title {
  font-family: var(--font-jp-mincho);
  font-weight: 700;
  font-size: min(2vw, var(--font-26));
  line-height: 1.4;
}

.c-card--business .c-card__body {
  height: stretch;
  background-color: var(--color-text-sub);
  padding: var(--space-8);
  border-radius: 2px;
}

.c-card--message {
  background-color: var(--color-bg-w);
  padding: var(--space-64) var(--space-40);
  color: var(--color-text);
  transition: background-color var(--transition-base);
}

.message__item:not(.is-active) .c-card--message {
  background-color: var(--color-bg-off);
  opacity: 0.6;
}

.c-card--message .c-card__eyebrow {
  font-family: var(--font-en-display);
  font-size: min(6vw, var(--font-60));
  line-height: 1;
  color: var(--color-text-sub);
  margin-bottom: -60px;
  text-align: right;
}

.c-card--message .c-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: var(--space-24);
  margin-bottom: var(--space-24);
}

.c-card--message .c-card__role {
  font-size: var(--font-16);
  color: var(--color-text);
}

.c-card--message .c-card__name {
  font-family: var(--font-jp-mincho);
  font-size: var(--font-42);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.c-card--message .c-card__body {
  color: var(--color-text);
}

/* ==========================================================================
   Component: Parallax
   ========================================================================== */
.c-parallax {
  position: relative;
  width: 100%;
  height: var(--parallax-visible-height);
  overflow: hidden;
}

.c-parallax__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--parallax-image-height);
  object-fit: cover;
  will-change: transform;
}

/* img-cover: 画像に重ねる基準トーン（40%）で写真の色みを揃える */
.c-parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-img-cover) 40%, transparent);
  pointer-events: none;
}

/* ==========================================================================
   Section: Hero（MV）
   ========================================================================== */
.hero {
  padding-top: var(--header-height);
  margin: 0 min(3vw, var(--space-48)) var(--space-48);
}

.hero__content {
  padding: 12vh 0 16vh;
}

.hero__lead {
  font-size: var(--font-12);
  letter-spacing: 0.03em;
  color: var(--color-text-sub);
  margin-bottom: var(--space-16);
  position: absolute;
  top: calc(var(--header-height) + var(--space-8));
  left: var(--content-padding);
}

.hero__heading {
  font-family: var(--font-jp-mincho);
  font-size: 3vw;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-w);
  margin-bottom: var(--space-40);
}

.hero__heading strong {
  font-weight: 700;
  font-size: 1.35em;
  padding: 0 0.15em;
  line-height: 1.2;
  letter-spacing: 0.07em;
}

.hero__body {
  font-size: clamp(var(--font-16), 1.8vw, var(--font-20));
  color: var(--color-text-w);
}

.hero__visual {
  position: relative;
  width: 100%;
  overflow: visible;
  /* JS（initHeroVisualHeight）が実測値からpxで上書き。この200vhはJS実行前・JS無効時のフォールバック値。 */
  height: 200vh;
}

.hero__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  mix-blend-mode: multiply;
}

.hero__visual-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
  text-align: center;
  font-family: var(--font-en-display);
  font-weight: 600;
  font-size: 10.9vw;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--color-big-en-text);
  mix-blend-mode: overlay;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.5;
}

/* ==========================================================================
   Section: About
   ========================================================================== */
.about {
  padding: var(--space-80) 0;
}

.about__intro {
  margin-bottom: var(--space-40);
}

.about__body {
  font-size: var(--font-20);
}

.about__body p {
  margin-bottom: 1em;
}

.about__body p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Section: Message（役員メッセージスライダー）
   ========================================================================== */
.message {
  position: relative;
  isolation: isolate;
  background-color: var(--color-bg-main);
  padding: var(--space-80) 0 var(--space-120);
}

.message::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-noise-white);
  background-repeat: repeat;
  background-size: 100px;
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: -1;
}

.message__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.message__list {
  display: flex;
  align-items: stretch;
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.message__item {
  flex: 0 0 min(65vw, 800px);
  margin-right: var(--space-56);
}

.message__arrow {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-base);
  z-index: 2;
  cursor: pointer;
}

/* カードとカードの間（gap: 56px）の中央に配置する */
.message__arrow--prev {
  left: calc(50% - min(32.5vw, 400px) - 28px);
  /* 50% - (カード幅800pxの半分) - (gap56pxの半分) */
}

.message__arrow--next {
  left: calc(50% + min(32.5vw, 400px) + 28px);
}

.message__arrow--mobile {
  display: none;
}

.message__dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-32);
}

.message__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
}

.message__dot {
  position: relative;
  width: 80px;
  height: 2px;
  background-color: var(--color-border-1);
  overflow: hidden;
  transition: background-color var(--transition-base);
}

.message__dot.is-active {
  background-color: color-mix(in srgb, var(--color-text-w) 35%, transparent);
}

/* 経過時間を示す内側の塗り。JSがis-fillingクラスの付け外しでアニメーションを制御する */
.message__dot-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--color-text-w);
}

.message__dot.is-filling .message__dot-fill {
  transition: width var(--fill-duration, var(--message-autoplay-duration)) linear;
  width: 100%;
}

/* ==========================================================================
   Section: Business
   ========================================================================== */
.business {
  position: relative;
  isolation: isolate;
  background-color: var(--color-bg-sub);
  padding: var(--space-80) 0 var(--space-120);
}

.business::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-noise-white);
  background-repeat: repeat;
  background-size: 100px;
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: -1;
}

.business__intro {
  margin-bottom: var(--space-64);
}

.business__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-32);
}

/* ==========================================================================
   Section: Company
   ========================================================================== */
.company {
  position: relative;
  isolation: isolate;
  background-color: var(--color-bg-w);
  color: var(--color-text);
  padding: var(--space-80) 0 var(--space-120);
}

.company::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-noise-black);
  background-repeat: repeat;
  background-size: 100px;
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: -1;
}

.company__intro {
  margin-bottom: var(--space-64);
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__row {
  border-bottom: 1px solid var(--color-border-1);
}

.company__row th,
.company__row td {
  text-align: left;
  padding: var(--space-16) 0;
  font-weight: 400;
  color: var(--color-text);
  vertical-align: top;
}

.company__row th {
  width: 180px;
  font-size: var(--font-18);
}

.company__row td {
  font-size: var(--font-16);
}

/* ==========================================================================
   Section: Contact
   ========================================================================== */
.contact {
  padding: var(--space-100) 0 var(--space-80);
}

.contact__box {
  background-color: var(--color-white-50);
  padding: var(--space-16);
  border-radius: 6px;
  transition: background-color var(--transition-base);
}

.contact__box--inner {
  background-color: var(--color-bg-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-64) min(6vw, var(--space-120)) var(--space-64) min(5vw, var(--space-100));
  gap: var(--space-64);
  position: relative;
  transition: background-color var(--transition-base);
}

.contact__body {
  width: fit-content;
  color: var(--color-text);
}

.contact__arrow {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  right: var(--space-8);
  bottom: var(--space-8);
}

.contact__notice {
  margin-top: var(--space-24);
  text-align: center;
  font-size: var(--font-14);
  color: var(--color-text-sub);
}

.contact__notice-link {
  text-decoration: underline;
  transition: opacity var(--transition-base);
}

/* ==========================================================================
   Modifier: body.is-subpage
   TOPページ以外の下層ページ（Privacy Policy / Antisocial Forces Policyなど）で
   <body>に付与する。ナビはTOPページ内リンクのため下層ページでは非表示にする。
   WordPress化時: 固定ページ用テンプレート（page-*.php）側で body_class() に
   'is-subpage' を追加する想定。
   ========================================================================== */
body.is-subpage .c-nav,
body.is-subpage .c-header__toggle {
  display: none;
}

/* ==========================================================================
   Component: Breadcrumb
   ========================================================================== */
.c-breadcrumb {
  position: absolute;
  top: calc(var(--header-height) + var(--space-24));
  right: var(--content-padding);
}

.c-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.c-breadcrumb__item {
  font-family: var(--font-en-display);
  font-size: var(--font-14);
  letter-spacing: 0.08em;
  color: var(--color-text-sub);
}

.c-breadcrumb__item.is-current {
  color: var(--color-text-w);
}

.c-breadcrumb__link {
  color: var(--color-text-w);
  transition: opacity var(--transition-base);
}

.c-breadcrumb__sep {
  font-size: var(--font-14);
  color: var(--color-text-sub);
}

/* ==========================================================================
   Component: Page Hero
   下層ページ共通の見出しブロック（パンくず + アイキャッチ + 大見出し + リード文）
   ========================================================================== */
.c-page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-80)) var(--space-40) var(--space-80);
}

.c-page-hero__heading {
  font-family: var(--font-en-display);
  font-weight: 600;
  font-size: var(--font-64);
  color: var(--color-text-w);
  line-height: 1.1;
  margin-top: var(--space-16);
}

.c-page-hero__lead {
  font-size: var(--font-16);
  color: var(--color-text-sub);
  margin-top: var(--space-24);
}


/* ==========================================================================
   Component: Legal Content
   Privacy Policy / Antisocial Forces Policyなど、条文形式の本文ページで使用。
   ========================================================================== */
.c-legal {
  padding-bottom: var(--space-120);
}

.c-legal__block+.c-legal__block {
  margin-top: var(--space-80);
}

.c-legal__block-title {
  font-family: var(--font-jp-mincho);
  font-size: var(--font-24);
  font-weight: 600;
  margin-bottom: var(--space-32);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border-1);
}

.c-legal__section {
  margin-top: var(--space-48);
}

.c-legal__section-title {
  font-family: var(--font-jp-mincho);
  font-weight: 700;
  font-size: var(--font-20);
  color: var(--color-text-w);
  margin-bottom: var(--space-8);
}

.c-legal__subtitle {
  font-size: var(--font-18);
  font-weight: 700;
  color: var(--color-text-w);
  margin: var(--space-24) 0 var(--space-8);
}

.c-legal__body p {
  font-size: var(--font-16);
  color: var(--color-text-sub);
}

.c-legal__body p+p {
  margin-top: 1em;
}

.c-legal__group {
  margin-top: var(--space-24);
}

.c-legal__group-title {
  font-size: var(--font-16);
  font-weight: 700;
  color: var(--color-text-w);
  margin-bottom: var(--space-8);
}

.c-legal__list-num {
  list-style: decimal;
  padding-left: 1.4em;
}

.c-legal__list-num li,
.c-legal__list-dash li {
  font-size: var(--font-16);
  color: var(--color-text-sub);
}

.c-legal__list-num li+li,
.c-legal__list-dash li+li {
  margin-top: var(--space-4);
}

.c-legal__list-dash {
  padding-left: 1.2em;
  margin-top: var(--space-24);
}

.c-legal__list-dash li {
  position: relative;
}

.c-legal__list-dash li::before {
  content: "・";
  position: absolute;
  left: -1.2em;
}

/* 反社会的勢力等に対する基本方針の本則（1〜5）用。番号を少し大きめに見せる */
.c-legal__list-num--policy {
  margin-top: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  padding-left: 0;
  list-style: none;
  counter-reset: legal-policy;
}

.c-legal__list-num--policy li {
  counter-increment: legal-policy;
  display: flex;
  gap: var(--space-16);
  font-size: var(--font-16);
  color: var(--color-text-sub);
}

.c-legal__list-num--policy li::before {
  content: counter(legal-policy) ".";
  font-family: var(--font-en-display);
  font-size: var(--font-20);
  color: var(--color-text-w);
  flex-shrink: 0;
}

.c-legal__conclusion {
  margin-top: var(--space-40);
  font-size: var(--font-16);
  color: var(--color-text-sub);
}

.c-legal__history li {
  font-size: var(--font-16);
  color: var(--color-text-sub);
}

.c-legal__contact {
  margin-top: var(--space-16);
  padding: var(--space-16) var(--space-24);
  background-color: var(--color-white-10);
  border-radius: 2px;
}

.c-legal__contact p {
  font-size: var(--font-16);
  color: var(--color-text-sub);
}

.c-legal__contact a {
  text-decoration-line: underline;
}

.c-legal__contact-title {
  color: var(--color-text-w);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.c-legal__note {
  margin-top: var(--space-16);
  font-size: var(--font-14);
  color: var(--color-text-sub);
}

.c-legal__signature {
  margin-top: var(--space-24);
  font-size: var(--font-16);
  color: var(--color-text-sub);
}

.c-legal__signature p+p {
  margin-top: var(--space-4);
}

/* ==========================================================================
   Component: Legal Mail Link
   ========================================================================== */
.c-legal__mail-link {
  text-decoration: underline;
  transition: opacity var(--transition-base);
}

/* ==========================================================================
   Component: Legal Tel Link
   ========================================================================== */
.c-legal__contact a.c-legal__tel-link {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Component: Legal PDF Link
   ========================================================================== */
.c-legal__pdf-link {
  text-decoration: underline;
  transition: opacity var(--transition-base);
}



/* ==========================================================================
   Responsive: 1023px以下
   ========================================================================== */

@media (max-width: 1023px) {
  .sp {
    display: block;
  }

  /* Hero */
  .hero__heading {
    font-size: 5vw;
  }

  /* Business */
  .business__grid {
    gap: min(1.6vw, var(--space-32));
  }

  .business__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-16);
  }

  .c-card--business .c-card__title {
    font-size: min(3vw, var(--font-26));
  }

  /* Contact */
  .contact__box--inner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-32) 9.5vw;
    gap: var(--space-24);
  }
}

/* ==========================================================================
   Responsive: 768px以下
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --content-padding: var(--space-24);
    --header-height: 72px;
    --parallax-visible-height: 200px;
    --parallax-image-height: 300px;
  }

  /* Header / Nav */
  .c-header__inner {
    padding: 0 var(--content-padding) 0 0;
  }

  .c-header__logo-svg {
    height: 70px;
  }

  .c-header__logo-mark {
    margin-bottom: var(--space-8);
  }

  .c-header__toggle {
    display: flex;
  }

  .c-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: auto;
    width: 72%;
    max-width: 350px;
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background-color: var(--color-bg-main-90);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  body.is-nav-open .c-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .c-nav__list {
    flex-direction: column;
    gap: var(--space-24);
    padding: var(--space-80) var(--space-24) 0;
  }

  .c-nav__link {
    display: inline-block;
    font-size: var(--font-24);
    padding: var(--space-12) 0;
  }

  .c-nav__link::before {
    bottom: 8px;
  }

  .c-nav__link.is-active::before {
    transform: scaleX(1);
  }

  body.is-nav-open .c-header__toggle-line:nth-child(1) {
    transform: rotate(18deg);
  }

  body.is-nav-open .c-header__toggle-line:nth-child(2) {
    transform: rotate(-18deg);
  }

  /* Layout */
  .l-section {
    padding: var(--space-64) 0;
  }

  /* Hero */
  .hero__heading {
    font-size: 5.7vw;
    margin-bottom: var(--space-24);
  }

  .hero__body {
    font-size: var(--font-16);
  }

  /* About */
  .about__intro {
    margin-bottom: var(--space-24);
  }

  /* Section Heading（About / Business / Company / Contact 共通） */
  .c-section-heading {
    font-size: var(--font-52);
  }

  .message__item {
    flex: 0 0 92vw;
    margin-right: 8vw;
  }

  .c-card--message {
    padding: var(--space-40) var(--space-24);
  }

  .c-card--message .c-card__eyebrow {
    font-size: max(9vw, var(--font-20));
  }

  .c-card--message .c-card__name {
    font-size: max(5vw, var(--font-20));
  }

  .message__dots {
    gap: min(2vw, var(--space-16));
  }

  .message__dot {
    width: 15vw;
    max-width: 80px;
  }

  .message__arrow {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .message__viewport .message__arrow {
    display: none;
  }

  .message__arrow--mobile {
    display: flex;
    position: static;
    transform: none;
  }

  .message__dots-row {
    gap: var(--space-16);
  }

  /* Business */
  .business__grid {
    grid-template-columns: 1fr;
  }

  .c-card--business {
    padding: var(--space-24) var(--space-16);
  }

  .c-card--business .c-card__title {
    font-size: var(--font-20);
  }

  /* Company */
  .company__row th,
  .company__row td {
    display: block;
    width: auto;
  }

  .company__row th {
    padding-bottom: var(--space-8);
  }

  .company__row td {
    padding-top: 0;
  }

  /* 役員欄は1人ずつ改行表示にする */
  .company__officer {
    display: block;
  }

  .company__officer-sep {
    display: none;
  }

  /* Contact */
  .contact__box {
    padding: var(--space-8);
  }

  .contact__arrow {
    align-self: flex-end;
  }

  /* footer */
  .c-footer__inner {
    flex-direction: column;
    gap: var(--space-40);
  }

  .c-footer__nav-link {
    text-decoration: underline;
  }

  .c-footer__nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-24);
  }

  /* Breadcrumb */
  .c-breadcrumb {
    top: calc(var(--header-height) + var(--space-16));
  }

  .c-breadcrumb__item,
  .c-breadcrumb__sep {
    font-size: var(--font-14);
  }

  /* Page Hero */
  .c-page-hero {
    padding: calc(var(--header-height) + var(--space-56)) var(--content-padding) var(--space-64);
  }

  .c-page-hero__heading {
    font-size: min(10.5vw, var(--font-42));
  }

  .c-page-hero__lead {
    font-size: var(--font-16);
  }

  /* Legal Content */
  .c-legal {
    padding-bottom: var(--space-64);
  }

  .c-legal__section {
    margin-top: var(--space-32);
  }

  .c-legal__block+.c-legal__block {
    margin-top: var(--space-64);
  }

  .c-legal__block-title {
    font-size: var(--font-24);
  }

  .c-legal__section-title {
    font-size: var(--font-18);
  }

  .c-legal__list-num--policy li {
    flex-direction: column;
    gap: var(--space-4);
  }

  .c-legal__subtitle {
    font-size: var(--font-16);
  }

  /* Legal: Tel Link（SPでは発信できるようにする） */
  .c-legal__contact a.c-legal__tel-link {
    text-decoration: underline;
  }
}


/* ==========================================================================
   Responsive: 500px以下
   ========================================================================== */
@media (max-width: 500px) {
  /* Contact */
  .contact__box--inner {
    padding: var(--space-32) var(--space-16);
  }

  /* Breadcrumb */
  .c-breadcrumb__item,
  .c-breadcrumb__sep {
    font-size: var(--font-12);
  }
}

/* ==========================================================================
   Responsive: 769px以上
   ========================================================================== */
@media (min-width: 769px) {

  .c-nav__link:hover {
    color: var(--color-text-sub);
  }

  .c-nav__link:hover::before,
  .c-nav__link.is-active::before {
    transform: scaleX(1);
  }

  .contact__box:hover {
    background-color: var(--color-primary-30);
  }

  .contact__box:hover .contact__box--inner {
    background-color: #E0D4D4;
  }

  .c-footer__nav-link:hover {
    opacity: 0.6;
  }

  .contact__notice-link:hover {
    opacity: 0.6;
  }

  /* Breadcrumb */
  .c-breadcrumb__link:hover {
    opacity: 0.6;
  }

  /* Legal: Mail Link */
  .c-legal__mail-link:hover {
    opacity: 0.6;
  }

  /* Legal: Tel Link（PCでは発信できないようにする） */
  .c-legal__contact a.c-legal__tel-link {
    pointer-events: none;
    cursor: default;
  }

  /* Legal: PDF Link */
  .c-legal__pdf-link:hover {
    opacity: 0.6;
  }
}
