* { box-sizing: border-box; }
  html, body { margin: 0; min-height: 100%; }
  body { font-family: "Roboto", sans-serif; background: #f1f0ed; color: #fff; }

  /* LOADING SCREEN */
  .vertex-loader {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    opacity: 1; visibility: visible;
    transition: opacity 650ms ease, visibility 650ms ease;
  }
  .vertex-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
  .vertex-loader__word {
    position: relative;
    font-family: "Roboto", sans-serif;
    font-size: clamp(46px, 8vw, 110px);
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1;
    color: #dedede;
    white-space: nowrap;
  }
  .vertex-loader__word::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #171717;
    width: 0;
  }
  .vertex-loader__word.is-playing::after {
    animation: vertex-word-fill 1.9s cubic-bezier(.16,.72,.22,1) forwards;
  }
  @keyframes vertex-word-fill { to { width: 100%; } }

  /* One continuous background image spans the hero and slideshow together. */
  main { position: relative; isolation: isolate; background:#17181d; }
  main::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events:none;
    background-image: linear-gradient(180deg, rgba(8,9,13,.48), rgba(8,9,13,.64)), url("../images/CF76623A-A7CD-4C47-B4B8-D9FFA8A4D0253.jpg");
    background-size: cover; 
    background-position: center 58%; 
    background-repeat:no-repeat;
    opacity: .25; filter: blur(12px); transform: scale(1.02);
    transition: filter 1.15s ease, transform 1.4s ease;
  }
  main::after { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:linear-gradient(90deg, rgba(5,6,10,.32), rgba(5,6,10,.12) 50%, rgba(5,6,10,.32)); opacity:0; transition:opacity 900ms ease; }
  main > section { position:relative; z-index:1; }
  body.stage-background main::before { filter:blur(0); transform:scale(1); }
  body.stage-background main::after { opacity:1; }
  /* HERO */
  .hero {
    position: relative; height: 70vh; min-height: 650px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; isolation: isolate;
    background: transparent;
  }
  .hero__photo {
    position: absolute; inset: 0; z-index: -3;
    display:none;
  }
  .hero__shade {
    position: absolute; inset: 0; z-index: -2; opacity: 0;
    background: linear-gradient(90deg, rgba(5,6,10,.32), rgba(5,6,10,.12) 50%, rgba(5,6,10,.32));
    transition: opacity 900ms ease;
  }
  .hero__content {
    width: min(760px, calc(100% - 40px)); padding: 65px 0 50px;
    text-align: center; transform: translateY(-1%);
  }
  .hero__eyebrow {
    margin: 0 0 10px; color: #c79a49; font-size: 14px; line-height: 1.4;
    font-weight: 700; letter-spacing: -.025em;
    opacity: 0; filter: blur(10px); transform: translateY(8px);
    transition: opacity 900ms ease, filter 1.1s ease, transform 900ms ease;
  }
  .hero__title {
    margin: 0; color: #f6f5f4; font-family: "Anton", sans-serif;
    font-size: clamp(43px, 6.2vw, 83px); font-weight: 400; line-height: 1.12;
    letter-spacing: -.025em; text-transform: uppercase;
  }
  .hero__title span { display: block; }
  .hero__title span + span { margin-top: .10em; }
  /* Headline reveals first */
  .hero__title span {
    opacity: 0; filter: blur(13px); transform: translateY(10px);
    transition: opacity 1.35s ease, filter 1.7s ease, transform 1.35s ease;
  }
  /* All headline lines clear at the same time */
  .hero__title span { transition-delay: 0ms; }

  .hero__description {
    width: min(640px, 100%); margin: 34px auto 0; color: rgba(255,255,255,.9);
    font-family: sans-serif; font-size: 14px; font-weight: 500; line-height: 2.05;
    letter-spacing: .015em; text-align: center;
    opacity: 0; filter: blur(8px); transform: translateY(8px);
    transition: opacity 900ms ease, filter 1.1s ease, transform 900ms ease;
  }
  .hero__actions {
    display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 34px;
    opacity: 0; filter: blur(8px); transform: translateY(8px);
    transition: opacity 900ms ease, filter 1.1s ease, transform 900ms ease;
  }
  .hero__link {
    display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
    font-size: 13px; font-weight: 700; white-space: nowrap;
    transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
  }
  .hero__link--services:hover, .hero__link--services:focus-visible { color: #a8a8a8; }
  .hero__link--outline { padding: 15px 22px; border: 2px solid rgba(255,255,255,.9); border-radius: 7px; }
  .hero__link--outline:hover, .hero__link--outline:focus-visible { color: #171717; background: #fff; border-color: #fff; }
  .hero__arrow { font-size: 19px; line-height: 1; transition: transform 220ms ease; }
  .hero__link:hover .hero__arrow { transform: translateX(3px); }

  /* Sequence classes controlled by JS */
  body.stage-background .hero__photo { filter: blur(0); transform: scale(1); }
  body.stage-background .hero__shade { opacity: 1; }
  body.stage-headline .hero__title span { opacity: 1; filter: blur(0); transform: translateY(0); }
  body.stage-rest .hero__eyebrow,
  body.stage-rest .hero__description,
  body.stage-rest .hero__actions {
    opacity: 1; filter: blur(0); transform: translateY(0);
  }

  /* IMAGE SLIDER */
  .showcase {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 24px 0 30px; background: transparent; min-height: 390px;
    opacity: 0; filter: blur(8px); transform: translateY(8px);
    transition: opacity 900ms ease, filter 1.1s ease, transform 900ms ease;
  }
  body.stage-rest .showcase {
    opacity: 1; filter: blur(0); transform: translateY(0);
  }
  .showcase__background {
    display:none;
  }
  .showcase__shade { display:none; }
  .showcase__viewport { width:100%; overflow:hidden; }
  .showcase__track { display:flex; align-items:center; gap:24px; width:max-content; position:relative; left:0; transform:translateX(0); will-change:transform; transition:transform 700ms cubic-bezier(.22,.7,.2,1); }
  .showcase__slide { flex:0 0 48vw; width:48vw; aspect-ratio: 1.9 / 1; overflow:hidden; border-radius:8px; background:#24262a; box-shadow:0 12px 35px rgba(0,0,0,.22); }
  .showcase__slide img { display:block; width:100%; height:100%; object-fit:cover; }
  .showcase__controls { display:flex; align-items:center; justify-content:center; gap:18px; margin:16px auto 0; }
  .showcase__button { display:grid; place-items:center; width:52px; height:52px; border:1px solid #b75c58; border-radius:50%; color:#b75c58; background:rgba(255,255,255,.94); font-size:24px; line-height:1; cursor:pointer; box-shadow:0 2px 12px rgba(0,0,0,.12); transition:transform 180ms ease, background 180ms ease; }
  #slide-toggle { font-size:18px; }
  .showcase__button:hover { transform:scale(1.07); background:#fff; }
  .showcase__button:focus-visible { outline:2px solid #c79a49; outline-offset:4px; }


  .replay {
    position: fixed; right: 16px; bottom: 16px; z-index: 1200;
    border: 1px solid #aaa; border-radius: 999px; background: rgba(255,255,255,.92);
    color: #222; padding: 10px 14px; font: 500 12px "Roboto", sans-serif; cursor: pointer;
  }
  @media (max-width: 640px) {
    .hero { height: 70vh; min-height: 650px; }
    .hero__content { padding: 55px 0 40px; }
    .hero__eyebrow { font-size: 14px; margin-bottom: 8px; }
    .hero__title { font-size: clamp(40px, 10vw, 60px); line-height: 1.12; letter-spacing: -.025em; }
    .hero__description { margin-top: 30px; font-size: 12px; line-height: 1.95; }
    .hero__actions { gap: 14px; margin-top: 26px; }
    .hero__link { font-size: 11px; gap: 7px; }
    .hero__link--outline { padding: 13px 14px; }
    .showcase { min-height: 230px; padding: 16px 0 22px; }
    .showcase__track { gap: 12px; }
    .showcase__slide { flex-basis: 78vw; width:78vw; aspect-ratio:1.45 / 1; }
    .showcase__controls { gap:12px; margin-top:12px; }
    .showcase__button { width:42px; height:42px; font-size:20px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  }


/* ========================================
   COMPANY SECTION
======================================== */

.company {
  background: #f7f7f6;
  color: #181818;
  font-family: "Noto Sans JP", sans-serif;
  min-height: 820px;
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 7.2vw, 150px);
}

.company__inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(60px, 7vw, 140px);
  align-items: center;
}

.company__copy {
  min-width: 0;
}

/* COMPANY 小見出し */
.company__eyebrow {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  letter-spacing: .07em;
  color: #b39b80;
  margin: 0 0 10px;
  font-weight: 500;
}

/* 理念の大見出し */
.company__heading {
  font-size: clamp(42px, 3.6vw, 65px);
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: .025em;
  margin: 0 0 48px;
  white-space: nowrap;
}

/* 企業概要 見出し */
.company__info-heading {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 0 0 17px;
}

/* 企業概要 詳細 */
.company__details {
  margin: 0;
  color: #757575;
  font-size: 15.5px;
  line-height: 2.05;
  letter-spacing: .02em;
}

.company__details div {
  display: grid;
  grid-template-columns: 5.6em minmax(0, 1fr);
  column-gap: 8px;
}

.company__details dt {
  font-weight: 400;
}

.company__details dd {
  margin: 0;
}

/* 右側の正方形画像 */
.company__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
  display: block;
  background: #d6d8d8;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {
  .company {
    padding: 90px 5vw;
    min-height: 0;
  }

  .company__inner {
    gap: 42px;
  }

  .company__heading {
    font-size: clamp(32px, 4vw, 50px);
    white-space: normal;
  }

  .company__details {
    font-size: 13.5px;
  }
}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 700px) {
  .company {
    padding: 75px 24px 90px;
  }

  .company__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company__eyebrow {
    margin-bottom: 10px;
  }

  .company__heading {
    font-size: clamp(33px, 8vw, 46px);
    line-height: 1.55;
    margin-bottom: 35px;
  }

  .company__details {
    font-size: 14.5px;
  }

  .company__photo {
    max-width: 540px;
  }
}


/* ========================================
   SERVICES SECTION
======================================== */

.services {
  padding: 105px clamp(24px, 7.2vw, 150px) 125px;
  background: #f7f7f6;
  color: #181818;
  font-family: "Noto Sans JP", sans-serif;
}

/* 上部見出し */
.services__header {
  text-align: center;
  margin-bottom: 82px;
}

/* OUR SERVICES */
.services__eyebrow {
  margin: 0 0 10px;
  color: #b39b80;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .09em;
}

/* SERVICES */
.services__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .015em;
}

/* 画像とテキストの横並び */
.services__inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(60px, 7vw, 140px);
  align-items: start;
}

/* 左側の正方形画像 */
.services__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
  background: #d6d8d8;
}

/* 右側テキスト */
.services__content {
  min-width: 0;
  padding-top: 4px;
}

/* 大きなキャッチコピー */
.services__statement {
  margin: 0 0 30px;
  color: #181818;
  font-size: clamp(32px, 3.1vw, 54px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .025em;
}

/* サービス紹介本文 */
.services__description {
  margin: 0;
  color: #656565;
  font-size: 16px;
  line-height: 2.25;
  letter-spacing: .025em;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {
  .services {
    padding: 85px 5vw 100px;
  }

  .services__inner {
    gap: 42px;
  }

  .services__header {
    margin-bottom: 60px;
  }

  .services__description {
    font-size: 15px;
  }
}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 700px) {
  .services {
    padding: 75px 24px 90px;
  }

  .services__header {
    margin-bottom: 46px;
  }

  .services__title {
    font-size: clamp(42px, 10vw, 56px);
  }

  .services__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .services__photo {
    max-width: 540px;
  }

  .services__statement {
    font-size: clamp(30px, 7.5vw, 42px);
    margin-bottom: 24px;
  }

  .services__description {
    font-size: 14.5px;
  }
}


/* ========================================
   VERTEX FIXED HEADER
======================================== */

.vertex-fixed-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;

  height: 90px;
  background: #111113;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 clamp(36px, 5.5vw, 112px);
  color: #fff;

  /* 初期状態：画面上部に隠す */
  transform: translateY(-105%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* 上から滑らかに登場 */
  transition:
    transform .72s cubic-bezier(.22, 1, .36, 1),
    opacity .52s ease,
    visibility 0s linear .72s;

  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* スクロール後：表示 */
.vertex-fixed-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    transform .72s cubic-bezier(.22, 1, .36, 1),
    opacity .52s ease,
    visibility 0s;
}

/* ========================================
   LOGO
======================================== */

.vertex-fixed-header__logo {
  font: 400 31px/1 "Anton", sans-serif;
  letter-spacing: .035em;

  color: #fff;
  text-decoration: none;
}

/* ========================================
   NAVIGATION
======================================== */

.vertex-fixed-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(25px, 2.7vw, 53px);
}

/* COMPANY / SERVICES / ACHIEVEMENTS */
.vertex-fixed-header__link {
  font: 500 15px/1 "Roboto", sans-serif;
  letter-spacing: .09em;

  text-decoration: none;
  color: #e9e9e9;

  transition: color .2s;
}

.vertex-fixed-header__link:hover {
  color: #d5a23e;
}

/* ========================================
   CONTACT BUTTON
======================================== */

.vertex-fixed-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;

  min-height: 50px;
  padding: 0 24px;

  background: #d9a33c;
  color: #171717;

  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;

  transition:
    background .2s,
    transform .2s;
}

.vertex-fixed-header__contact:hover {
  background: #efbd5a;
  transform: translateY(-2px);
}

/* ========================================
   ANCHOR POSITION
======================================== */

/* 固定ヘッダーで見出しが隠れないよう調整 */
#company,
#services,
#achievements,
#contact {
  scroll-margin-top: 90px;
}

/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
  .vertex-fixed-header {
    transition: none;
  }
}


/* ========================================
   ACHIEVEMENTS SECTION
======================================== */

.achievements {
  padding: 105px clamp(24px, 7.2vw, 150px) 135px;
  color: #181818;
  font-family: "Noto Sans JP", sans-serif;
  background: #f8f5f0;
}

/* ========================================
   SECTION HEADER
======================================== */

.achievements__header {
  text-align: center;
  margin-bottom: 92px;
}

/* 実績（金文字） */
.achievements__eyebrow {
  margin: 0 0 10px;
  color: #b39b80;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .14em;
}

/* ACHIEVEMENTS */
.achievements__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .015em;
}

.achievements__inner {
  max-width: 1480px;
  margin: 0 auto;
}

/* ========================================
   CATEGORY
======================================== */

.category {
  position: relative;
}

/* カテゴリー同士の間隔 */
.category + .category {
  margin-top: 112px;
}

/* コーティング・洗車・販売車両 */
.category__heading {
  display: flex;
  align-items: center;
  gap: 20px;

  margin: 0 0 35px;
  font-size: clamp(25px, 2.1vw, 34px);
  font-weight: 800;
  letter-spacing: .05em;
}

/* 見出し左側のゴールドライン */
.category__heading::before {
  content: "";
  width: 4px;
  height: 29px;
  flex: none;

  background: linear-gradient(
    #d3b889,
    #927452
  );

  transform: skew(-15deg);
}

/* ========================================
   WORK GRID
======================================== */

/* 実績カード3列 */
.category__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 42px);
}

/* ========================================
   WORK CARD
======================================== */

.work {
  position: relative;
  min-width: 0;
  overflow: hidden;

  padding: 10px 10px 22px;

  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(30, 30, 30, .09);
  border-radius: 9px;

  box-shadow: 0 16px 40px rgba(10, 16, 20, .035);

  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s,
    border-color .35s;
}

/* カード右上のアクセント */
.work::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;

  width: 38px;
  height: 2px;
  background: #b39b80;
  opacity: .8;
}

/* ホバー時にカードが浮き上がる */
.work:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 48px rgba(10, 16, 20, .12);
  border-color: rgba(179, 155, 128, .6);
}

/* ========================================
   WORK IMAGE
======================================== */

.work__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.22 / 1;

  object-fit: cover;
  object-position: center;

  background: #d9d9d9;
  border-radius: 9px;

  filter: saturate(.85);

  transition:
    filter .4s,
    transform .4s;
}

/* ホバー時に画像の彩度を上げる */
.work:hover .work__image {
  filter: saturate(1.1);
}

/* ========================================
   WORK TEXT
======================================== */

/* 太字の実績タイトル */
.work__name {
  margin: 17px 12px 0;

  color: #181818;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .025em;
}

/* 実績の説明文 */
.work__caption {
  margin: 7px 12px 0;

  color: #666;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .025em;
}

/* ========================================
   OTHER DETAILS BUTTON
======================================== */

.category__action {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;

  position: relative;
  overflow: hidden;

  padding: 17px 29px;

  border: 1px solid #1d1d1d;
  border-radius: 9px;
  background: transparent;
  color: #1d1d1d;

  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  text-decoration: none;

  cursor: pointer;

  transition:
    background .2s,
    color .2s;
}

/* ホバー時に黒背景へ */
.details-button:hover {
  background: #1d1d1d;
  color: #fff;
}

/* 矢印のアニメーション */
.details-button span {
  transition: transform .25s;
}

.details-button:hover span {
  transform: translateX(5px);
}

/* キーボード操作時のフォーカス */
.details-button:focus-visible {
  outline: 3px solid #b39b80;
  outline-offset: 3px;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
  .achievements {
    padding: 80px 5vw 100px;
  }

  .achievements__header {
    margin-bottom: 70px;
  }

  .category + .category {
    margin-top: 85px;
  }

  .category__grid {
    gap: 18px;
  }
}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 700px) {
  .achievements {
    padding: 75px 24px 90px;
  }

  .achievements__header {
    margin-bottom: 55px;
  }

  .category__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .category + .category {
    margin-top: 75px;
  }

  .category__heading {
    margin-bottom: 25px;
  }

  .work__image {
    aspect-ratio: 1.3 / 1;
  }

  .category__action {
    margin-top: 30px;
  }
}


/* ========================================
   COMPANY OVERVIEW SECTION
======================================== */

.company-overview {
  background: #ffffff;
  padding: 105px clamp(24px, 7.2vw, 150px) 135px;
  color: #181818;
  font-family: "Noto Sans JP", sans-serif;
}

/* ========================================
   SECTION HEADER
======================================== */

.company-overview__header {
  text-align: center;
  margin-bottom: 78px;
}

/* 会社概要（金文字） */
.company-overview__eyebrow {
  margin: 0 0 10px;
  color: #b39b80;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
}

/* COMPANY OVERVIEW */
.company-overview__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.15;
  letter-spacing: .015em;
}

/* ========================================
   COMPANY OVERVIEW TABLE
======================================== */

.company-overview__table {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  border-collapse: collapse;
  border-top: 1px solid #dedede;
}

/* 各行の区切り線 */
.company-overview__table tr {
  border-bottom: 1px solid #dedede;
}

/* 表内の共通スタイル */
.company-overview__table th,
.company-overview__table td {
  text-align: left;
  vertical-align: top;
  padding: 27px 28px;
  font-size: 16px;
  line-height: 2;
}

/* 左側：項目名 */
.company-overview__table th {
  width: 26%;
  font-weight: 700;
  white-space: nowrap;
  color: #242424;
}

/* 右側：詳細情報 */
.company-overview__table td {
  font-weight: 400;
  color: #555555;
}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 700px) {

  .company-overview {
    padding: 75px 24px 90px;
  }

  .company-overview__header {
    margin-bottom: 55px;
  }

  .company-overview__table th,
  .company-overview__table td {
    padding: 20px 10px;
    font-size: 14px;
  }

  .company-overview__table th {
    width: 30%;
  }

}


/* ========================================
   MAP SECTION
======================================== */

.map-section {
  width: 100%;
  background: #ffffff;
  color: #181818;
  font-family: "Noto Sans JP", sans-serif;
  padding-top: 105px;
}

/* 見出し */
.map-section__header {
  text-align: center;
  margin-bottom: 78px;
}

/* 地図（金文字） */
.map-section__eyebrow {
  margin: 0 0 10px;
  color: #b39b80;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
}

/* MAP（Anton） */
.map-section__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .015em;
}

/* Googleマップ表示領域 */
.map-section__map {
  width: 100%;
  height: 520px;
  overflow: hidden;
}

/* iframe */
.map-section__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 700px) {

  .map-section {
    padding-top: 75px;
  }

  .map-section__header {
    margin-bottom: 55px;
  }

  .map-section__map {
    height: 380px;
  }

}


/* ========================================
   VERTEX FOOTER
======================================== */

.vertex-footer {
  background: #111113;
  color: #f6f6f6;

  min-height: 610px;

  padding:
    110px clamp(24px, 6.4vw, 120px) 55px;

  display: flex;
  flex-direction: column;
}

/* ========================================
   FOOTER NAVIGATION
======================================== */

/* 4列レイアウト */
.vertex-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 56px);
}

.vertex-footer__group {
  min-width: 0;
}

/* 各カテゴリーの英語見出し */
.vertex-footer__heading {
  font-family: "Roboto", sans-serif;
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 700;
  letter-spacing: .025em;

  margin: 0;
  padding: 18px 0;

  /* 見出し上下のグレーライン */
  border-top: 1px solid #505052;
  border-bottom: 1px solid #505052;
}

/* ========================================
   FOOTER LINKS
======================================== */

.vertex-footer__links {
  list-style: none;

  padding: 22px 0 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* リンク共通 */
.vertex-footer a {
  color: #e8e8e8;
  text-decoration: none;

  display: inline-block;

  transition:
    color .2s,
    transform .2s;
}

/* リンクのホバーアニメーション */
.vertex-footer a:hover {
  color: #d9a33c;
  transform: translateX(3px);
}

/* 日本語リンク */
.vertex-footer__links a {
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   FOOTER BOTTOM
======================================== */

.vertex-footer__bottom {
  margin-top: auto;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 25px;
  padding-top: 110px;
}

/* 左下：コピーライト */
.vertex-footer__copyright {
  color: #7c7c80;

  font-family: "Roboto", sans-serif;
  font-size: 13px;
  letter-spacing: .045em;

  margin: 0 0 5px;
}

/* 右下：VERTEXロゴ */
.vertex-footer__logo {
  font-family: "Anton", Impact, sans-serif;

  font-size: clamp(48px, 5.5vw, 86px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .025em;

  color: #ffffff;
  text-decoration: none !important;
}

/* ロゴはホバーしても変化させない */
.vertex-footer__logo:hover {
  transform: none !important;
  color: #ffffff !important;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

  .vertex-footer {
    padding-top: 80px;
    min-height: 570px;
  }

  /* 2列に変更 */
  .vertex-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 42px;
  }

  .vertex-footer__bottom {
    padding-top: 95px;
  }

}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 560px) {

  .vertex-footer {
    padding: 70px 24px 32px;
    min-height: auto;
  }

  /* 1列に変更 */
  .vertex-footer__nav {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .vertex-footer__heading {
    font-size: 17px;
    padding: 14px 0;
  }

  .vertex-footer__links {
    padding-top: 16px;
    gap: 10px;
  }

  /* ロゴとコピーライトを縦並び */
  .vertex-footer__bottom {
    padding-top: 90px;

    align-items: flex-start;
    flex-direction: column-reverse;

    gap: 32px;
  }

  .vertex-footer__logo {
    font-size: 56px;
  }

  .vertex-footer__copyright {
    font-size: 12px;
  }

}

.vertex-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ========================================
   COATING PAGE - FIXED HEADER
======================================== */

/* コーティングページでは初めから固定表示 */
.coating-page .vertex-fixed-header {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

/* 固定ヘッダーとページ内容の重なりを防ぐ */
.coating-page .achievements {
  padding-top: 195px;
}


/* ========================================
   ACHIEVEMENT DETAIL PAGE
======================================== */

/* 詳細ページでは固定ヘッダーを常時表示 */
.achievement-detail-page .vertex-fixed-header {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

/* メインセクション */
.achievement-detail {
  background: #f8f5f0;
  color: #181818;
  padding: 170px clamp(24px, 7.2vw, 150px) 135px;
  font-family: "Noto Sans JP", sans-serif;
}

.achievement-detail__inner {
  max-width: 1480px;
  margin: 0 auto;
}

/* ========================================
   TITLE
======================================== */

.achievement-detail__intro {
  margin-bottom: 55px;
}

.achievement-detail__eyebrow {
  margin: 0 0 12px;
  color: #b39b80;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
}

.achievement-detail__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .025em;
}

/* ========================================
   BEFORE / AFTER
======================================== */

.achievement-detail__comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 50px);
}

/* 比較カード */
.comparison-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(14px, 2vw, 26px);

  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(179, 155, 128, .65);
  border-radius: 9px;

  box-shadow: 0 16px 40px rgba(10, 16, 20, .045);
}

/* 右上のゴールドライン */
.comparison-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65px;
  height: 3px;
  background: linear-gradient(90deg, #d3b889, #927452);
}

/* BEFORE / AFTER のラベル */
.comparison-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.comparison-card__label {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(32px, 3vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .035em;
}

.comparison-card__number {
  color: #b39b80;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
}

/* 写真の二重フレーム */
.comparison-card__image-frame {
  padding: 7px;
  border: 1px solid rgba(179, 155, 128, .45);
  border-radius: 7px;
  background: #f8f5f0;
}

.comparison-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  background: #dedbd5;
}

/* 写真下のキャプション */
.comparison-card__caption {
  margin-top: 17px;
  color: #777;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

/* ========================================
   DESCRIPTION
======================================== */

.achievement-detail__description {
  margin-top: 90px;
  max-width: 1100px;
}

.achievement-detail__subtitle {
  position: relative;
  margin: 0 0 32px;
  padding-left: 24px;

  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .025em;
}

/* 見出し左のゴールドライン */
.achievement-detail__subtitle::before {
  content: "";
  position: absolute;
  top: .25em;
  bottom: .25em;
  left: 0;
  width: 4px;
  background: linear-gradient(#d3b889, #927452);
  transform: skew(-15deg);
}

.achievement-detail__text {
  margin: 0;
  color: #656565;
  font-size: 16px;
  line-height: 2.3;
  letter-spacing: .025em;
  white-space: pre-line;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {
  .achievement-detail {
    padding: 150px 5vw 100px;
  }

  .achievement-detail__description {
    margin-top: 70px;
  }
}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 700px) {
  .achievement-detail {
    padding: 125px 24px 90px;
  }

  .achievement-detail__intro {
    margin-bottom: 38px;
  }

  .achievement-detail__comparison {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .comparison-card__image {
    aspect-ratio: 4 / 3;
  }

  .achievement-detail__description {
    margin-top: 55px;
  }

  .achievement-detail__subtitle {
    font-size: 25px;
    margin-bottom: 24px;
  }

  .achievement-detail__text {
    font-size: 14.5px;
    line-height: 2.1;
  }
}

/* ========================================
   基本設定
======================================== */

:root {
  --paper: #f8f5f0;
  --ink: #20201f;
  --gold: #a18149;
  --muted: #77716a;
  --black: #111113;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

::selection {
  background: #d9c9a7;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h2,
h3,
p {
  margin-top: 0;
}

.wrap {
  max-width: 1280px;
  width: calc(100% - 144px);
  margin: 0 auto;
}

.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

/* ========================================
   固定ヘッダー
======================================== */

.header {
  height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  color: #fff;
}

.logo,
.footer-logo {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.025em;
}

.logo {
  font-size: 39px;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.desktop-nav > a:not(.contact-link) {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.desktop-nav .active::after {
  content: "";
  height: 2px;
  background: #b49a66;
  position: absolute;
  bottom: 21px;
  left: 0;
  width: 100%;
}

.desktop-nav > a:hover {
  color: #cbb27f;
}

.contact-link {
  background: #b2955d;
  padding: 15px 23px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.contact-link span {
  font-size: 18px;
}

.menu-toggle {
  display: none;
}

.mobile-nav[hidden] {
  display: none;
}

/* ========================================
   メイン・パンくず
======================================== */

main {
  padding-top: 90px;
}

.breadcrumb {
  max-width: 1280px;
  width: calc(100% - 144px);
  margin: 29px auto 0;
  display: flex;
  gap: 13px;
  align-items: center;
  font: 10px "Roboto", sans-serif;
  letter-spacing: 0.08em;
  color: #827b70;
}

.breadcrumb button {
  font: inherit;
  padding: 0;
}

.breadcrumb a:hover,
.breadcrumb button:hover {
  color: var(--gold);
}

.breadcrumb > span:nth-child(even) {
  color: #c8c0b3;
}

/* ========================================
   タイトル・日付・カテゴリ
======================================== */

.intro {
  padding-top: 64px;
}

.intro-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 21px;
  row-gap: 10px;
}

.intro-date {
  font: 11px "Roboto", sans-serif;
  letter-spacing: 0.1em;
  color: #756e63;
}

.meta-separator {
  font-size: 11px;
  line-height: 1;
  color: #9a9184;
}

.category {
  font: 700 12px "Roboto", sans-serif;
  letter-spacing: 0.12em;
  margin: 34px 0 17px;
}

.intro .category {
  margin-top: 27px;
}

.intro .intro-meta .category {
  margin: 0;
}

.category span {
  font: 10px "Noto Sans JP", sans-serif;
  letter-spacing: 0.04em;
  margin-left: 18px;
  color: var(--muted);
}

.title-row {
  display: block;
}

#project-title {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.65;
  letter-spacing: 0.035em;
  font-weight: 600;
  margin: 0 0 20px;
}

.intro #project-title {
  margin-bottom: 0;
}

#project-title > span {
  display: inline-block;
}

/* 案内ダイアログなどの補助見出し */

.eyebrow {
  font: 12px "Roboto", sans-serif;
  letter-spacing: 0.16em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 15px;
}

.line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.issue {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #80796e;
}

/* 旧レイアウト用の補助スタイル */

.title-mark {
  font: 150px "Anton", Impact, sans-serif;
  color: #e8e1d5;
  line-height: 1;
  margin-right: 16px;
  transform: skew(-8deg);
}

.project-meta {
  border-top: 1px solid #d7d0c4;
  border-bottom: 1px solid #d7d0c4;
  display: flex;
  align-items: center;
  padding: 19px 0;
  gap: 25px;
  font-size: 11px;
  color: #756e63;
}

.project-meta span:first-child {
  font: 700 11px "Roboto", sans-serif;
  color: #333;
  letter-spacing: 0.1em;
}

.project-meta span + span {
  border-left: 1px solid #c7bfb2;
  padding-left: 25px;
}

.project-meta time {
  margin-left: auto;
  font: 11px "Roboto", sans-serif;
  letter-spacing: 0.1em;
}

.project-date {
  display: flex;
  justify-content: flex-end;
  border-bottom: 0;
  padding: 0 0 22px;
  color: #756e63;
  font: 11px "Roboto", sans-serif;
  letter-spacing: 0.1em;
}

/* ========================================
   BEFORE・AFTER
======================================== */

.gallery {
  padding-top: 36px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.photo-card {
  margin: 0;
  min-width: 0;
}

.photo-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}

.photo-title {
  font: 34px "Anton", Impact, sans-serif;
  letter-spacing: 0.045em;
}

.jp-label {
  margin-left: 0;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.before .jp-label {
  color: #3c3c3b;
}

.after .photo-heading,
.after .jp-label {
  color: #9b793e;
}

/* 画像フレーム */

.photo-frame {
  display: block;
  width: 100%;
  position: relative;
  border: 1px solid #b5a17c;
  padding: 5px;
  background: transparent;
}

.photo-frame::before,
.photo-frame::after {
  display: none;
}

.after .photo-frame {
  background: transparent;
}

.photo-inner {
  display: block;
  aspect-ratio: 1.43;
  overflow: hidden;
  position: relative;
  background: #d7d7d3;
}

.photo-inner img {
  transition:
    transform 0.6s,
    filter 0.6s;
  object-position: 50% 52%;
}

/* 仮画像の比較用色調 */

.before img {
  filter: saturate(0.48) contrast(0.76) brightness(1.12);
}

.after img {
  filter: saturate(0.85) contrast(1.09);
}

.photo-frame:hover img {
  transform: scale(1.045);
}

/* 画像内の拡大アイコン */

.expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 19, 0.55);
  color: #fff;
  font: 20px "Roboto", sans-serif;
}

/* AFTER画像下の拡大案内 */

.zoom-note {
  font-size: 12px;
  color: #837a6c;
  text-align: right;
  margin: 15px 0 0;
  line-height: 1.8;
}

.zoom-note span {
  font: 17px "Roboto", sans-serif;
  margin-left: 8px;
  vertical-align: middle;
}

/* 旧画像見出し・説明用の補助スタイル */

.gallery-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.gallery-top p {
  font: 10px "Roboto", sans-serif;
  letter-spacing: 0.18em;
  margin: 0;
  color: #777064;
}

.gallery-top > span {
  font-size: 10px;
  color: #837a6c;
}

.gallery-top > span span {
  font-size: 17px;
  margin-left: 8px;
}

.photo-number {
  font: 12px "Roboto", sans-serif;
  color: var(--gold);
  align-self: start;
  margin-top: 7px;
}

figcaption {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: #7e7567;
  line-height: 1.8;
  margin-top: 18px;
}

.tiny-line {
  height: 1px;
  width: 17px;
  background: #b9a57f;
  flex-shrink: 0;
}

.image-note {
  font-size: 9px;
  line-height: 1.9;
  color: #8d8375;
  margin: 26px 0 0;
  text-align: right;
}

/* ========================================
   本文
======================================== */

.story {
  display: block;
  margin-top: 30px;
  padding-top: 44px;
  border-top: 1px solid #d7d0c4;
  grid-template-columns: 1fr 2.03fr;
  gap: 44px;
}

.story-content {
  width: 100%;
}

.story-content h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  white-space: nowrap;
}

.story-content > p {
  max-width: none;
  font-size: 13px;
  line-height: 2.5;
  color: #6f695f;
  letter-spacing: 0.035em;
  margin-bottom: 20px;
}

/* 本文の文字サイズ：変更反映済み */

.story-content > p:not(.copy-note) {
  font-size: 15px;
}

.story-content .copy-note {
  font-size: 9px;
  color: #938a7b;
  margin-top: 15px;
}

.section-label > span {
  font: 11px "Roboto", sans-serif;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.section-label > p {
  font-size: 11px;
  color: #81766a;
  margin-top: 15px;
}

/* ========================================
   施工内容の表
======================================== */

.details {
  margin: 36px 0 0;
  border-top: 1px solid #d7d0c4;
}

.details > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid #d7d0c4;
  padding: 18px 0;
  font-size: 13px;
  line-height: 1.8;
}

.details dt {
  color: #8b7b5e;
}

.details dd {
  margin: 0;
  color: #625b51;
}

/* ========================================
   実績一覧へ戻る
======================================== */

.back-row {
  margin-top: 72px;
  margin-bottom: 96px;
  display: flex;
  justify-content: center;
  position: relative;
}

.back-button {
  border: 1px solid #aca18e;
  min-width: 310px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  font-size: 12px;
  transition:
    background 0.2s,
    color 0.2s;
}

.back-button:hover {
  background: var(--ink);
  color: white;
}

.back-button > span:first-child {
  font-size: 20px;
}

.grid-icon {
  font-size: 18px;
}

.top-link {
  position: absolute;
  right: 0;
  top: 22px;
  font: 9px "Roboto", sans-serif;
  letter-spacing: 0.1em;
}

.top-link span {
  margin-left: 13px;
  color: var(--gold);
  font-size: 17px;
}

/* ========================================
   フッター
======================================== */

.footer {
  background: var(--black);
  color: #f6f6f6;
  min-height: 610px;
  padding: 110px clamp(24px, 6.4vw, 120px) 55px;
  display: flex;
  flex-direction: column;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 56px);
}

.footer-nav h2 {
  font: 700 clamp(15px, 1.4vw, 21px) "Roboto", sans-serif;
  letter-spacing: 0.025em;
  margin: 0 0 22px;
  padding: 18px 0;
  border-top: 1px solid #505052;
  border-bottom: 1px solid #505052;
}

.footer-nav a {
  display: block;
  width: fit-content;
  color: #e8e8e8;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 15px;
  transition:
    color 0.2s,
    transform 0.2s;
}

.footer-nav a:hover {
  color: #d9a33c;
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  padding-top: 110px;
}

.footer-bottom p {
  color: #7c7c80;
  font: 13px "Roboto", sans-serif;
  letter-spacing: 0.045em;
  margin: 0 0 5px;
}

.footer-logo {
  font-size: clamp(48px, 5.5vw, 86px);
  line-height: 1;
}

/* ========================================
   共通ダイアログ
======================================== */

dialog {
  border: 0;
  padding: 0;
}

dialog::backdrop {
  background: rgba(8, 8, 9, 0.88);
  backdrop-filter: blur(6px);
}

.close {
  font: 11px "Roboto", sans-serif;
  letter-spacing: 0.1em;
  padding: 10px;
  color: inherit;
}

/* ========================================
   画像拡大ダイアログ
======================================== */

.lightbox {
  width: min(1100px, 92vw);
  max-height: 92dvh;
  background: #111113;
  color: white;
  overflow: auto;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.lightbox-bar > div {
  display: flex;
  gap: 18px;
  align-items: center;
}

.lightbox-bar > div > span {
  font: 12px "Roboto", sans-serif;
  color: #b79c65;
}

.lightbox-bar h2 {
  font: 30px "Anton", Impact, sans-serif;
  margin: 0;
}

.lightbox-photo {
  height: min(65dvh, 670px);
}

.lightbox-photo img {
  object-fit: contain;
}

.lightbox-bottom {
  padding: 15px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.switch-image {
  font-size: 12px;
  color: #cbb27f;
  border-bottom: 1px solid #9d844c;
  padding: 10px 0;
}

.lightbox-bottom > span {
  font-size: 10px;
  color: #999;
}

/* ========================================
   仮リンクの案内ダイアログ
======================================== */

.page-dialog {
  background: var(--paper);
  padding: 55px;
  width: min(530px, 90vw);
  color: var(--ink);
}

.page-dialog > .close {
  position: absolute;
  right: 15px;
  top: 15px;
}

.page-dialog .eyebrow {
  font-size: 9px;
  margin: 15px 0 25px;
}

.page-dialog h2 {
  font-size: 26px;
  margin-bottom: 25px;
  overflow-wrap: anywhere;
}

.page-dialog > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 2;
}

.page-dialog .dialog-note {
  color: #81786b;
  font-size: 11px !important;
}

.dialog-back {
  width: 100%;
  border-top: 1px solid #cfc2aa;
  margin-top: 25px;
  padding: 20px 0 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

/* ========================================
   大画面
======================================== */

@media (min-width: 1600px) {
  .wrap,
  .breadcrumb {
    max-width: 1280px;
  }
}

/* ========================================
   タブレット・小さめのPC
======================================== */

@media (max-width: 1000px) {
  .wrap,
  .breadcrumb {
    width: calc(100% - 80px);
  }

  .desktop-nav {
    gap: 22px;
  }

  .photo-grid {
    gap: 28px;
  }

  .title-mark {
    font-size: 120px;
  }

  .story {
    grid-template-columns: 1fr 2.3fr;
    gap: 30px;
  }

  .contact-link {
    gap: 18px;
    padding: 14px 17px;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media (max-width: 760px) {
  /* ヘッダー */

  .header {
    padding: 0 24px;
  }

  .logo {
    font-size: 34px;
  }

  .desktop-nav {
    display: none;
  }

  /* メニューボタン */

  .menu-toggle {
    display: flex;
    position: relative;
    width: 47px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 0 5px 10px;
    color: #fff;
  }

  .menu-toggle > span {
    width: 30px;
    height: 1px;
    background: #bca776;
    transition: transform 0.2s;
  }

  .menu-toggle b {
    font: 8px "Roboto", sans-serif;
    letter-spacing: 0.14em;
    position: absolute;
    bottom: 0;
    left: 5px;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* モバイルナビゲーション */

  .mobile-nav {
    position: fixed;
    z-index: 29;
    left: 0;
    right: 0;
    top: 90px;
    background: #111113;
    color: white;
    padding: 12px 24px 30px;
    box-shadow: 0 20px 30px #0004;
  }

  .mobile-nav a {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #444;
    font: 14px "Roboto", sans-serif;
  }

  .mobile-nav a:last-child {
    color: #cbb27f;
    font-family: "Noto Sans JP", sans-serif;
  }

  /* 共通幅・パンくず */

  .wrap,
  .breadcrumb {
    width: calc(100% - 48px);
  }

  .breadcrumb {
    font-size: 8px;
    gap: 10px;
    margin-top: 23px;
  }

  /* タイトル・カテゴリ */

  .intro {
    padding-top: 45px;
  }

  .intro-meta {
    gap: 11px;
    margin-bottom: 19px;
  }

  .intro-date {
    font-size: 10px;
  }

  .meta-separator {
    font-size: 10px;
  }

  .category {
    font-size: 10px;
    margin-top: 29px;
    margin-bottom: 16px;
  }

  .intro .category {
    margin-top: 23px;
  }

  .intro .intro-meta .category {
    margin: 0;
  }

  .category span {
    font-size: 9px;
    margin-left: 12px;
  }

  #project-title {
    font-size: clamp(24px, 6.2vw, 34px);
    letter-spacing: 0.035em;
    line-height: 1.75;
    margin-bottom: 18px;
  }

  .intro #project-title {
    margin-bottom: 0;
  }

  .eyebrow {
    font-size: 10px;
    gap: 12px;
  }

  .line {
    width: 24px;
  }

  .issue {
    font-size: 8px;
  }

  .title-mark {
    display: none;
  }

  .project-date {
    padding-bottom: 20px;
    font-size: 10px;
  }

  .project-meta {
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px 0;
    font-size: 9px;
  }

  .project-meta span:first-child {
    font-size: 10px;
    width: 100%;
  }

  .project-meta span + span {
    border: 0;
    padding: 0;
    font-size: 9px;
  }

  .project-meta time {
    font-size: 10px;
  }

  /* BEFORE・AFTER */

  .gallery {
    padding-top: 27px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .photo-title {
    font-size: 32px;
  }

  .photo-heading {
    gap: 13px;
    margin-bottom: 12px;
  }

  .jp-label {
    font-size: 9px;
  }

  .photo-inner {
    aspect-ratio: 1.4;
  }

  .zoom-note {
    font-size: 11px;
  }

  .gallery-top {
    margin-bottom: 28px;
  }

  .gallery-top p {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .gallery-top > span {
    font-size: 8px;
  }

  .gallery-top > span span {
    font-size: 12px;
    margin-left: 3px;
  }

  .photo-number {
    font-size: 11px;
  }

  figcaption {
    margin-top: 14px;
    font-size: 9px;
  }

  .image-note {
    text-align: left;
    font-size: 8px;
    margin-top: 27px;
    line-height: 2;
  }

  /* 本文 */

  .story {
    margin-top: 24px;
    padding-top: 29px;
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .story-content h3 {
    font-size: clamp(12px, 3.5vw, 24px);
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
  }

  .story-content > p {
    font-size: 12px;
    line-height: 2.3;
    margin-bottom: 19px;
  }

  .story-content > p:not(.copy-note) {
    font-size: 14px;
  }

  .story-content .copy-note {
    font-size: 8px;
  }

  .section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .section-label > span {
    font-size: 9px;
  }

  .section-label > p {
    font-size: 9px;
    margin: 0;
  }

  /* 表 */

  .details {
    margin-top: 28px;
  }

  .details > div {
    font-size: 12px;
    grid-template-columns: 91px 1fr;
    padding: 16px 0;
  }

  /* 一覧へ戻る */

  .back-row {
    margin-top: 40px;
    margin-bottom: 58px;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .back-button {
    min-width: 0;
    width: 100%;
    font-size: 11px;
    padding: 16px 22px;
  }

  .top-link {
    position: static;
    align-self: flex-end;
  }

  /* フッター */

  .footer {
    padding: 55px 24px 30px;
    min-height: 0;
  }

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

  .footer-nav h2 {
    font-size: 13px;
    padding: 15px 0;
    margin-bottom: 19px;
  }

  .footer-nav a {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .footer-bottom {
    padding-top: 65px;
    gap: 15px;
  }

  .footer-bottom p {
    font-size: 9px;
  }

  .footer-logo {
    font-size: 54px;
  }

  /* 画像拡大ダイアログ */

  .lightbox-bar {
    padding: 14px;
  }

  .lightbox-bar h2 {
    font-size: 25px;
  }

  .lightbox-photo {
    height: auto;
    aspect-ratio: 1.3;
  }

  .lightbox-bottom {
    padding: 12px 15px 20px;
  }

  .lightbox-bottom > span {
    font-size: 8px;
  }

  .page-dialog {
    padding: 50px 25px 30px;
  }
}

/* ========================================
   動きを抑える設定への対応
======================================== */

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ページ全体の背景画像を解除 */
body {
  background: #f8f5f0 !important;
}

/* 実績詳細の背景色を指定 */
main#main {
  background: #f8f5f0;
}

/* 背景を単色にする */
html,
body,
main#main {
  background: #f8f5f0 !important;
}

/* 背景画像を重ねる疑似要素を一時的に無効化 */
body::before,
body::after,
main#main::before,
main#main::after {
  content: none !important;
  display: none !important;
}

/* ========================================
   車両販売ギャラリー
======================================== */

.sale-gallery {
  padding-top: 36px;
}

/* メイン画像の外枠 */

.sale-stage {
  position: relative;
  border: 1px solid #b5a17c;
  padding: 5px;
  background: transparent;
}

/* メイン画像の表示サイズを固定 */

.sale-main {
  display: block;
  width: 100%;
  height: 560px;
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #e8e5df;
}

.sale-main img {
  display: block;
  width: 100%;
  height: 100%;

  /* 写真全体を表示し、縦横比を維持 */
  object-fit: contain;
}

/* メイン画像内の拡大アイコン */

.sale-expand {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #11111399;
  color: #fff;
  font: 22px "Roboto", sans-serif;
}

/* ========================================
   画像番号
======================================== */

.sale-counter {
  position: absolute;
  right: 21px;
  top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: #111113b3;
  padding: 10px 13px;
  font: 11px "Roboto", sans-serif;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.sale-counter-divider {
  color: #c0aa80;
}

/* ========================================
   サムネイルと拡大案内
======================================== */

.sale-gallery-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
  margin-top: 18px;
}

.sale-thumbnails {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

/* 正方形サムネイル */

.sale-thumb {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  position: relative;
  padding: 3px;
  border: 1px solid #d1c9bc;
  opacity: 0.6;
  background: var(--paper);

  transition:
    border-color 0.2s,
    opacity 0.2s;
}

.sale-thumb:hover,
.sale-thumb.is-active {
  opacity: 1;
  border-color: #9b793e;
}

.sale-thumb.is-active {
  box-shadow: inset 0 0 0 1px #9b793e;
}

.sale-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* サムネイル内の番号 */

.sale-thumb-number {
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 3px 5px;
  background: #111113aa;
  color: #fff;
  font: 8px "Roboto", sans-serif;
  letter-spacing: 0.08em;
}

/* 拡大案内 */

.sale-gallery-bottom .zoom-note {
  margin-top: 0;
  flex-shrink: 0;
  padding-top: 2px;
}

/* ========================================
   拡大画面の操作ボタン
======================================== */

.sale-lightbox-nav {
  display: flex;
  gap: 30px;
}

.sale-lightbox-nav button {
  font: 11px "Roboto", sans-serif;
  color: #cbb27f;
  letter-spacing: 0.08em;
  padding: 10px 0;
}

.sale-lightbox .lightbox-bar h2 {
  font-size: 26px;
  letter-spacing: 0.04em;
}

/* ========================================
   タブレット
======================================== */

@media (max-width: 1000px) {
  .sale-main {
    height: 430px;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media (max-width: 760px) {
  .sale-gallery {
    padding-top: 27px;
  }

  .sale-main {
    height: 270px;
  }

  .sale-counter {
    right: 16px;
    top: 15px;
    padding: 7px 9px;
    font-size: 9px;
    gap: 8px;
  }

  .sale-thumb {
    width: 65px;
    height: 65px;
  }

  .sale-thumbnails {
    gap: 9px;
  }

  .sale-gallery-bottom {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
  }

  .sale-gallery-bottom .zoom-note {
    margin-left: auto;
    font-size: 10px;
  }

  .sale-expand {
    width: 27px;
    height: 27px;
    right: 10px;
    bottom: 10px;
  }

  .sale-lightbox .lightbox-photo {
    height: 55dvh;
    aspect-ratio: auto;
  }
}

/* 小さめのスマートフォン */

@media (max-width: 380px) {
  .sale-main {
    height: 235px;
  }
}

/* ========================================
   基本設定
======================================== */

:root {
  --ink: #111113;
  --paper: #f8f5f0;
  --gold: #b39b80;
  --line: #dcd5cb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #a37b42;
  outline-offset: 6px;
}

.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 200;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

/* ========================================
   固定ヘッダー
======================================== */

.header {
  height: 90px;
  background: #111113;
  color: #fff;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 clamp(24px, 5vw, 96px);
}

.logo {
  font-family: "Anton", Impact, sans-serif;
  font-size: 38px;
  letter-spacing: .02em;
  line-height: 1;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 36px;

  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .035em;
}

.header nav > a:not(.contact):hover {
  color: #d9a33c;
}

.contact {
  background: #d9a33c;
  color: #111113;
  min-width: 170px;
  padding: 17px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: .05em;
}

.contact:hover {
  background: #ebba5c;
}

.contact span {
  font-size: 19px;
}

.menu-button {
  display: none;
}

/* ========================================
   ページ全体・パンくず
======================================== */

main {
  padding-top: 90px;
}

.page-wrap {
  max-width: 1440px;
  padding: 0 clamp(24px, 6.4vw, 100px);
  margin: auto;
}

.breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;

  padding-top: 32px;

  font: 10px "Roboto", sans-serif;
  letter-spacing: .09em;
  color: #79756f;
}

.breadcrumb > span:first-of-type {
  color: var(--gold);
}

/* ========================================
   ページタイトル
======================================== */

.eyebrow {
  color: #89725a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  margin: 0 0 15px;
}

.gold-dot {
  color: var(--gold);
}

.hero-rule {
  height: 1px;
  background: var(--line);
  margin-top: 45px;
}

.hero-rule span {
  display: block;
  width: 70px;
  height: 2px;
  background: var(--gold);
}

/* ========================================
   本文と目次のレイアウト
======================================== */

.policy-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);

  /* 本文とフッターの間隔 */
  padding-bottom: 48px;
}

/* ========================================
   目次
======================================== */

.contents {
  position: sticky;
  top: 130px;
}

.contents-label {
  font: 700 13px "Roboto", sans-serif;
  letter-spacing: .1em;
  margin: 6px 0 24px;

  display: flex;
  align-items: center;
  gap: 15px;
}

.contents-label > span {
  font: 400 10px "Noto Sans JP", sans-serif;
  color: #79756f;
  letter-spacing: .05em;
}

.contents nav {
  border-top: 1px solid var(--line);
}

.contents nav a {
  display: grid;
  grid-template-columns: 23px 1fr 10px;
  gap: 10px;
  align-items: center;

  font-size: 11px;
  line-height: 1.7;
  padding: 17px 0;

  border-bottom: 1px solid var(--line);
}

.contents nav a > span {
  font: 400 12px "Roboto", sans-serif;
  color: #8d785f;
}

.contents nav b {
  font-size: 13px;
  font-weight: 400;
  color: #9c9284;
}

.contents nav a:hover,
.contents nav a.active {
  color: #936e3e;
}

.side-note {
  font: 9px "Roboto", sans-serif;
  letter-spacing: .13em;
  color: #9a948b;
  margin-top: 24px;
}

/* ========================================
   プライバシーポリシー本文
======================================== */

article {
  min-width: 0;
}

.intro {
  margin: 0 0 50px;

  font-size: 14px;
  line-height: 2.25;
  letter-spacing: .035em;

  color: #4a4845;
}

.article {
  padding: 0 0 39px;
  margin-bottom: 40px;

  border-bottom: 1px solid var(--line);
}

.article-heading {
  display: flex;
  align-items: baseline;
  gap: 20px;

  margin-bottom: 20px;
}

.article-heading > span {
  color: var(--gold);
  font: 400 29px "Anton", Impact, sans-serif;
  min-width: 30px;
}

.article h2 {
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: .025em;
  margin: 0;
  font-weight: 600;
}

.article p {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .025em;

  color: #4a4845;
  margin: 0 0 12px;

  overflow-wrap: anywhere;
}

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

.article p.numbered {
  padding-left: 1.1em;
  text-indent: -1.1em;
}

/* ========================================
   フッター
======================================== */

.footer {
  background: #111113;
  color: #f6f6f6;
  min-height: 610px;

  padding: 110px clamp(24px, 6.4vw, 120px) 55px;

  display: flex;
  flex-direction: column;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 56px);
}

.footer-nav h2 {
  font: 700 clamp(15px, 1.4vw, 21px) "Roboto", sans-serif;
  letter-spacing: .025em;

  margin: 0;
  padding: 18px 0;

  border-top: 1px solid #505052;
  border-bottom: 1px solid #505052;
}

.footer ul {
  list-style: none;
  padding: 22px 0 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer li a {
  font-size: 15px;
  line-height: 1.7;
  color: #e8e8e8;

  display: inline-block;

  transition:
    color .2s,
    transform .2s;
}

.footer li a:hover {
  color: #d9a33c;
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: auto;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 25px;
  padding-top: 110px;
}

.footer-bottom p {
  color: #7c7c80;

  font: 13px "Roboto", sans-serif;
  letter-spacing: .045em;

  margin: 0 0 5px;
}

.footer-logo {
  font: 400 clamp(48px, 5.5vw, 86px) / 1 "Anton", Impact, sans-serif;
  letter-spacing: .025em;
}

/* ========================================
   タブレット
======================================== */

@media (max-width: 1000px) {
  .header nav {
    gap: 22px;
  }

  .policy-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 40px;
  }

  .article h2 {
    font-size: 17px;
  }

  .contents nav a {
    font-size: 10px;
    gap: 5px;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 112px;
  }

  .header {
    padding: 0 24px;
  }

  .logo {
    font-size: 34px;
  }

  /* メニューボタン */
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 7px;

    width: 40px;
    height: 40px;

    justify-content: center;
    align-items: center;

    border: 0;
    background: none;
    color: white;
  }

  .menu-button span {
    display: block;
    height: 1px;
    width: 24px;
    background: currentColor;

    transition: transform .2s;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* 開閉メニュー */
  .header nav {
    display: none;

    position: absolute;
    top: 90px;
    left: 0;
    right: 0;

    padding: 24px;
    background: #111113;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    border-top: 1px solid #333;
  }

  .header nav.open {
    display: flex;
  }

  .header nav > a {
    padding: 18px;
  }

  .header nav .contact {
    margin-top: 14px;
  }

  /* タイトル */
  .breadcrumb {
    padding-top: 25px;
    font-size: 9px;
  }

  .eyebrow {
    font-size: 12px;
    margin-bottom: 15px;
  }

  .hero-rule {
    margin-top: 30px;
  }

  /* 目次と本文 */
  .policy-layout {
    display: block;

    /* スマホの本文とフッターの間隔 */
    padding-bottom: 32px;
  }

  .contents {
    position: static;
    margin-bottom: 37px;
  }

  .contents-label {
    font-size: 11px;
    margin-bottom: 18px;
  }

  .contents nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .contents nav a {
    font-size: 10px;
    padding: 12px 0;

    grid-template-columns: 19px 1fr 8px;
    gap: 5px;
    align-items: start;
  }

  .contents nav a > span {
    font-size: 10px;
    line-height: 1.7;
  }

  .contents nav b {
    font-size: 11px;
  }

  .side-note {
    display: none;
  }

  /* 本文 */
  .intro {
    font-size: 13px;
    line-height: 2.2;
    margin-bottom: 35px;
  }

  .article {
    margin-bottom: 30px;
    padding-bottom: 29px;
  }

  .article-heading {
    gap: 12px;
    margin-bottom: 16px;
  }

  .article-heading > span {
    font-size: 25px;
    min-width: 26px;
  }

  .article h2 {
    font-size: 16px;
    line-height: 1.8;
  }

  .article p {
    font-size: 13px;
    line-height: 2.2;
    margin-bottom: 13px;
    letter-spacing: .02em;
  }

  /* フッター */
  .footer {
    min-height: 0;
    padding: 60px 24px 32px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-nav h2 {
    font-size: 13px;
    padding: 15px 0;
  }

  .footer ul {
    gap: 12px;
    padding-top: 18px;
  }

  .footer li a {
    font-size: 12px;
  }

  .footer-bottom {
    padding-top: 65px;
    gap: 20px;
  }

  .footer-bottom p {
    font-size: 10px;
  }

  .footer-logo {
    font-size: 49px;
  }
}

/* ========================================
   動きを抑える設定
======================================== */

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

  * {
    transition: none !important;
  }
}

/* ========================================
   最後の条文下の余白を削除
======================================== */

.article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* このページの背景をアイボリーに固定 */
body.vertex-privacy-page {
  background: #f8f5f0 !important;
  color: #111113;
}

/* トップページ用の背景・暗い重ね合わせを解除 */
body.vertex-privacy-page::before,
body.vertex-privacy-page::after,
body.vertex-privacy-page .privacy-main::before,
body.vertex-privacy-page .privacy-main::after,
body.vertex-privacy-page .privacy-main .hero::before,
body.vertex-privacy-page .privacy-main .hero::after {
  content: none !important;
  display: none !important;
}

/* 本文全体を不透明な背景で覆う */
body.vertex-privacy-page .privacy-main {
  position: relative;
  z-index: 1;
  isolation: isolate;

  background: #f8f5f0 !important;
  color: #111113;

  opacity: 1 !important;
  filter: none !important;
}

/* 共通のhero背景を解除 */
body.vertex-privacy-page .privacy-main .hero {
  background: none !important;
  box-shadow: none !important;
}

/* 見出し・目次の文字色 */
body.vertex-privacy-page .privacy-main h1,
body.vertex-privacy-page .privacy-main h2,
body.vertex-privacy-page .contents-label,
body.vertex-privacy-page .contents nav a {
  color: #111113 !important;
}

/* 本文の文字色 */
body.vertex-privacy-page #policy > .intro,
body.vertex-privacy-page #policy .article p {
  color: #4a4845 !important;
}

/* 目次の選択色 */
body.vertex-privacy-page .contents nav a:hover,
body.vertex-privacy-page .contents nav a.active {
  color: #936e3e !important;
}

/* プライバシーポリシー専用タイトル */
body.vertex-privacy-page .privacy-main .vertex-privacy-title {
  display: block;
  position: relative;
  inset: auto;

  width: auto;
  height: auto;
  min-height: 0;

  margin: 0;
  padding: 72px 0 64px;

  background: none;
  text-align: left;
  transform: none;
}

/* 日本語見出し */
body.vertex-privacy-page .vertex-privacy-title > .eyebrow {
  display: block;
  position: static;

  margin: 0 0 15px;
  padding: 0;

  color: #89725a;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .12em;

  transform: none;
}

/* 英語タイトル */
body.vertex-privacy-page .vertex-privacy-title > h1 {
  display: block;
  position: static;

  width: auto;
  margin: 0;
  padding: 0;

  color: #111113;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(56px, 7.3vw, 104px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .005em;

  white-space: nowrap;
  text-align: left;
  transform: none;
}

body.vertex-privacy-page .vertex-privacy-title .gold-dot {
  color: #b39b80;
}

/* タイトル下のライン */
body.vertex-privacy-page .vertex-privacy-title > .hero-rule {
  display: block;
  position: static;

  width: 100%;
  height: 1px;
  margin: 45px 0 0;

  background: #dcd5cb;
  transform: none;
}

body.vertex-privacy-page .vertex-privacy-title .hero-rule > span {
  display: block;
  width: 70px;
  height: 2px;
  background: #b39b80;
}

/* タブレット */
@media (max-width: 1000px) {
  body.vertex-privacy-page .privacy-main .vertex-privacy-title {
    padding-top: 60px;
  }

  body.vertex-privacy-page .vertex-privacy-title > h1 {
    font-size: clamp(50px, 8vw, 90px);
  }
}

/* スマホ */
@media (max-width: 760px) {
  body.vertex-privacy-page .privacy-main .vertex-privacy-title {
    padding: 49px 0 35px;
  }

  body.vertex-privacy-page .vertex-privacy-title > .eyebrow {
    font-size: 12px;
  }

  body.vertex-privacy-page .vertex-privacy-title > h1 {
    font-size: clamp(30px, 9.5vw, 70px);
  }

  body.vertex-privacy-page .vertex-privacy-title > .hero-rule {
    margin-top: 30px;
  }
}

/* パンくずをタイトルと同じ左端に揃える */
body.vertex-privacy-page .privacy-main .page-wrap > .breadcrumb {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;

  position: static;
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 32px 0 0;

  text-align: left;
  transform: none;
}

/* 共通ナビのリンク余白を解除 */
body.vertex-privacy-page .privacy-main .breadcrumb > a,
body.vertex-privacy-page .privacy-main .breadcrumb > span {
  margin: 0;
  padding: 0;
}

/* スマホ */
@media (max-width: 760px) {
  body.vertex-privacy-page .privacy-main .page-wrap > .breadcrumb {
    padding-top: 25px;
  }
}

/* ========================================
   VERTEX 固定ヘッダー
======================================== */

.vertex-site-header,
.vertex-site-header * {
  box-sizing: border-box;
}

.vertex-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 90px;
  margin: 0;
  padding: 0 clamp(24px, 5vw, 96px);

  background: #111113;
  color: #ffffff;

  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.vertex-site-header a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.vertex-site-header a:focus-visible,
.vertex-site-header button:focus-visible {
  outline: 2px solid #d9a33c;
  outline-offset: 5px;
}

/* ========================================
   ロゴ
======================================== */

.vertex-site-header .vertex-site-header__logo {
  display: block;
  flex-shrink: 0;

  margin: 0;
  padding: 0;

  color: #ffffff;

  font-family: "Anton", Impact, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
}

/* ========================================
   ヘッダー右側
======================================== */

.vertex-site-header__right {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.vertex-site-header .vertex-site-header__nav {
  position: static;

  display: flex;
  align-items: center;
  gap: 36px;

  width: auto;
  height: auto;
  margin: 0;
  padding: 0;

  background: transparent;
  color: #ffffff;

  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .035em;
}

.vertex-site-header .vertex-site-header__link {
  display: block;
  flex-shrink: 0;

  margin: 0;
  padding: 0;

  color: #ffffff;
  white-space: nowrap;

  transition: color .2s;
}

.vertex-site-header .vertex-site-header__link:hover {
  color: #d9a33c;
}

/* ========================================
   SNSロゴ
======================================== */

.vertex-site-header .vertex-site-header__social {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 18px;

  margin: 0 -8px 0 0;
  padding: 0 26px 0 0;

  border-right: 1px solid #474749;
}

.vertex-site-header .vertex-site-header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  min-width: 44px;
  min-height: 44px;

  margin: 0;
  padding: 0;

  transition: opacity .2s;
}

.vertex-site-header .vertex-site-header__social-link:hover {
  opacity: .7;
}

.vertex-site-header .vertex-site-header__social-link img {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;

  object-fit: contain;
}

.vertex-site-header
.vertex-site-header__social-link--instagram img {
  width: 26px;
  height: 26px;
}

.vertex-site-header
.vertex-site-header__social-link--lstep img {
  width: 78px;
  height: 24px;
}

/* ========================================
   お問い合わせボタン
======================================== */

.vertex-site-header .vertex-site-header__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;

  min-width: 170px;
  margin: 0;
  padding: 17px 22px;

  background: #d9a33c;
  color: #111113;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;

  transition: background .2s;
}

.vertex-site-header .vertex-site-header__contact:hover {
  background: #ebba5c;
}

.vertex-site-header .vertex-site-header__contact span {
  font-size: 19px;
}

/* ========================================
   ハンバーガーボタン：PCでは非表示
======================================== */

.vertex-site-header .vertex-site-header__toggle {
  display: none;
}

/* ========================================
   タブレット・狭いPC画面
======================================== */

@media (min-width: 761px) and (max-width: 1000px) {
  .vertex-site-header {
    padding-right: 32px;
    padding-left: 32px;
  }

  .vertex-site-header__right {
    gap: 20px;
  }

  .vertex-site-header .vertex-site-header__nav {
    gap: 16px;
    font-size: 12px;
  }

  .vertex-site-header .vertex-site-header__social {
    gap: 10px;
    margin-right: 4px;
    padding-right: 18px;
  }

  .vertex-site-header
  .vertex-site-header__social-link--lstep img {
    width: 64px;
    height: auto;
  }

  .vertex-site-header .vertex-site-header__contact {
    min-width: 146px;
    padding: 15px 16px;
    font-size: 12px;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media (max-width: 760px) {
  .vertex-site-header {
    padding: 0 24px;
  }

  .vertex-site-header .vertex-site-header__logo {
    font-size: 34px;
  }

  .vertex-site-header__right {
    gap: 14px;
  }

  /* ハンバーガーボタン */
  .vertex-site-header .vertex-site-header__toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 7px;

    width: 40px;
    height: 40px;
    min-height: 0;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    box-shadow: none;

    appearance: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .vertex-site-header .vertex-site-header__toggle span {
    display: block;
    flex-shrink: 0;

    width: 24px;
    height: 1px;
    margin: 0;
    padding: 0;

    background: currentColor;

    transition: transform .2s;
  }

  .vertex-site-header
  .vertex-site-header__toggle[aria-expanded="true"]
  span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .vertex-site-header
  .vertex-site-header__toggle[aria-expanded="true"]
  span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* 閉じているときはSNSも含めて非表示 */
  .vertex-site-header .vertex-site-header__nav {
    position: absolute;
    top: 90px;
    right: 0;
    left: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    width: 100%;
    height: auto;
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);

    margin: 0;
    padding: 24px;

    overflow-y: auto;

    border-top: 1px solid #333333;
    background: #111113;

    font-size: 13px;
  }

  .vertex-site-header .vertex-site-header__nav.is-open {
    display: flex;
  }

  /* メニュー内のSNS */
  .vertex-site-header .vertex-site-header__social {
    justify-content: flex-start;
    gap: 18px;

    margin: 0 0 10px;
    padding: 0 0 18px;

    border-right: 0;
    border-bottom: 1px solid #474749;
  }

  .vertex-site-header
  .vertex-site-header__social-link--instagram img {
    width: 24px;
    height: 24px;
  }

  .vertex-site-header
  .vertex-site-header__social-link--lstep img {
    width: 64px;
    height: auto;
  }

  /* メニュー項目 */
  .vertex-site-header .vertex-site-header__link {
    padding: 18px;
  }

  .vertex-site-header .vertex-site-header__contact {
    width: 100%;
    margin-top: 14px;
    padding: 18px;
  }
}

/* ========================================
   動きを抑える設定
======================================== */

@media (prefers-reduced-motion: reduce) {
  .vertex-site-header a,
  .vertex-site-header .vertex-site-header__toggle span {
    transition: none;
  }
}

/* SNSロゴの並び */
.vertex-site-header .vertex-site-header__social {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  gap: 18px !important;
}

/* Instagramの表示枠 */
.vertex-site-header
.vertex-site-header__social-link--instagram {
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
}

/* Instagramの画像 */
.vertex-site-header
.vertex-site-header__social-link--instagram img {
  display: block !important;
  width: 24px !important;
  min-width: 0 !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 0 !important;
  max-height: 24px !important;
  object-fit: contain !important;
}

/* Lステップの表示枠 */
.vertex-site-header
.vertex-site-header__social-link--lstep {
  flex: 0 0 78px !important;
  width: 78px !important;
  min-width: 78px !important;
  max-width: 78px !important;
  height: 44px !important;
  padding: 0 !important;
}

/* Lステップの画像 */
.vertex-site-header
.vertex-site-header__social-link--lstep img {
  display: block !important;
  width: 78px !important;
  min-width: 0 !important;
  max-width: 78px !important;
  height: 24px !important;
  min-height: 0 !important;
  max-height: 24px !important;
  object-fit: contain !important;
}

/* メニューの間隔 */
.vertex-site-header .vertex-site-header__nav {
  gap: 36px !important;
}

.vertex-site-header .vertex-site-header__link {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* お問い合わせの縦折り返しを防ぐ */
.vertex-site-header .vertex-site-header__contact {
  flex-shrink: 0 !important;
  min-width: 170px !important;
  white-space: nowrap !important;
}

/* 狭いPC画面 */
@media (min-width: 761px) and (max-width: 1000px) {
  .vertex-site-header .vertex-site-header__nav {
    gap: 16px !important;
  }

  .vertex-site-header .vertex-site-header__social {
    gap: 10px !important;
  }

  .vertex-site-header .vertex-site-header__contact {
    min-width: 146px !important;
  }
}

/* スマホ：SNSは引き続きメニュー内 */
@media (max-width: 760px) {
  .vertex-site-header .vertex-site-header__nav {
    gap: 0 !important;
  }

  .vertex-site-header
  .vertex-site-header__social-link--lstep {
    flex-basis: 64px !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
  }

  .vertex-site-header
  .vertex-site-header__social-link--lstep img {
    width: 64px !important;
    max-width: 64px !important;
    height: auto !important;
  }
}

/* ========================================
   SMARTPHONE - HERO POSITION
======================================== */

@media (max-width: 640px) {

  /* ヒーローをスマホ画面いっぱいの高さに */
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    align-items: center;
    justify-content: center;
  }

  /* 文字・ボタンを縦中央に */
  .hero__content {
    padding: 0;
    transform: none;
  }

}


/* ========================================
   SMARTPHONE - HAMBURGER MENU
======================================== */

@media (max-width: 760px) {

  /* 3本線の間隔 */
  .vertex-site-header .vertex-site-header__toggle {
    gap: 6px;
  }

  /* 3本の横線 */
  .vertex-site-header .vertex-site-header__toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
  }

  /* 開いたとき：1本目 */
  .vertex-site-header
  .vertex-site-header__toggle[aria-expanded="true"]
  span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  /* 開いたとき：中央の線を非表示 */
  .vertex-site-header
  .vertex-site-header__toggle[aria-expanded="true"]
  span:nth-child(2) {
    opacity: 0;
  }

  /* 開いたとき：3本目 */
  .vertex-site-header
  .vertex-site-header__toggle[aria-expanded="true"]
  span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

}

/* ========================================
   SMARTPHONE - HERO POSITION ADJUSTMENT
======================================== */

@media (max-width: 640px) {

  .hero .hero__content {
    transform: translateY(-90px);
  }

}


/* ========================================
   SMARTPHONE MENU ANIMATION
   SLIDE DOWN + STAGGERED FADE IN
======================================== */

@media (max-width: 760px) {

  /* メニュー全体の開閉アニメーション */
  .vertex-site-header .vertex-site-header__nav {
    display: flex;

    /* 閉じた状態 */
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);

    pointer-events: none;

    transition:
      clip-path .6s cubic-bezier(.22, 1, .36, 1),
      opacity .35s ease,
      visibility 0s linear .6s;
  }

  /* 開いた状態 */
  .vertex-site-header .vertex-site-header__nav.is-open {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);

    pointer-events: auto;

    transition:
      clip-path .6s cubic-bezier(.22, 1, .36, 1),
      opacity .35s ease,
      visibility 0s;
  }

  /* 各メニュー項目の初期状態 */
  .vertex-site-header .vertex-site-header__social,
  .vertex-site-header .vertex-site-header__link,
  .vertex-site-header .vertex-site-header__contact {
    opacity: 0;
    transform: translateY(16px);

    transition:
      opacity .45s ease,
      transform .55s cubic-bezier(.22, 1, .36, 1);
  }

  /* メニューが開いたら順番に表示 */
  .vertex-site-header .vertex-site-header__nav.is-open
  .vertex-site-header__social,
  .vertex-site-header .vertex-site-header__nav.is-open
  .vertex-site-header__link,
  .vertex-site-header .vertex-site-header__nav.is-open
  .vertex-site-header__contact {
    opacity: 1;
    transform: translateY(0);
  }

  /* SNSアイコン */
  .vertex-site-header .vertex-site-header__nav.is-open
  .vertex-site-header__social {
    transition-delay: .10s;
  }

  /* COMPANY */
  .vertex-site-header .vertex-site-header__nav.is-open
  .vertex-site-header__link:nth-of-type(1) {
    transition-delay: .17s;
  }

  /* SERVICES */
  .vertex-site-header .vertex-site-header__nav.is-open
  .vertex-site-header__link:nth-of-type(2) {
    transition-delay: .24s;
  }

  /* ACHIEVEMENTS */
  .vertex-site-header .vertex-site-header__nav.is-open
  .vertex-site-header__link:nth-of-type(3) {
    transition-delay: .31s;
  }

  /* お問い合わせ */
  .vertex-site-header .vertex-site-header__nav.is-open
  .vertex-site-header__contact {
    transition-delay: .38s;
  }

  /* 閉じるときは遅延なし */
  .vertex-site-header .vertex-site-header__nav:not(.is-open)
  .vertex-site-header__social,
  .vertex-site-header .vertex-site-header__nav:not(.is-open)
  .vertex-site-header__link,
  .vertex-site-header .vertex-site-header__nav:not(.is-open)
  .vertex-site-header__contact {
    transition-delay: 0s;
  }

}

/* 動きを減らす設定に対応 */
@media (prefers-reduced-motion: reduce) {
  .vertex-site-header .vertex-site-header__nav,
  .vertex-site-header .vertex-site-header__social,
  .vertex-site-header .vertex-site-header__link,
  .vertex-site-header .vertex-site-header__contact {
    transition: none !important;
  }
}

/* ========================================
   SMARTPHONE - SUBTITLE
======================================== */

@media (max-width: 760px) {

  .story-content h3 {
    font-size: clamp(22px, 5.5vw, 28px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .025em;
    white-space: normal;
  }
}


/* ========================================
   VERTEX BACK TO TOP
======================================== */

.vertex-back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 900;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  padding: 0;

  border: 1px solid #b39b80;
  border-radius: 50%;

  background: #111113;
  color: #d9a33c;

  font-family: "Roboto", sans-serif;
  font-size: 28px;
  line-height: 1;

  cursor: pointer;

  /* 初期状態：非表示 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);

  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear .55s,
    background .25s ease,
    color .25s ease,
    border-color .25s ease;

  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

/* スクロール後に表示 */
.vertex-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);

  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.22, 1, .36, 1),
    visibility 0s,
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}

/* ホバー */
.vertex-back-to-top:hover {
  background: #d9a33c;
  color: #111113;
  border-color: #d9a33c;
}

/* 上矢印 */
.vertex-back-to-top span {
  display: block;
  transition: transform .25s ease;
}

.vertex-back-to-top:hover span {
  transform: translateY(-4px);
}

.vertex-back-to-top:focus-visible {
  outline: 3px solid #d9a33c;
  outline-offset: 4px;
}

/* スマートフォン */
@media (max-width: 760px) {
  .vertex-back-to-top {
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {
  .vertex-back-to-top,
  .vertex-back-to-top span {
    transition: none;
  }
}


/* ========================================
   BACK TO TOP - DOUBLE CHEVRON
======================================== */

.vertex-back-to-top span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertex-back-to-top svg {
  display: block;
  width: 28px;
  height: 28px;
}

/* スマートフォン */
@media (max-width: 760px) {
  .vertex-back-to-top svg {
    width: 24px;
    height: 24px;
  }
}

