/* ==========================================================================
   ウッズカンパニー トップページ
   Breakpoint: SP ~375px / PC 768px+
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --color-white: #ffffff;
  --color-red: #c1102a;
  --color-red-light: #ffe0e5;
  --color-black: #393939;
  --color-gray-700: #404040;
  --color-gray-400: #a3a3a3;
  --color-gray-300: #d3d3d3;
  --color-gray-100: #f5f5f5;
  --color-gray-50: #fbfbfb;
  --color-border: #e0e0e0;
  --color-header-bg: rgba(29, 29, 29, 0.95);
  --color-dropdown-bg: rgba(64, 64, 64, 0.95);
  --color-recruit-text: #1d1d1d;

  --font-heading: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-body: "Yu Gothic", "YuGothic", "Hiragino Sans", sans-serif;
  --font-label: "Roboto", sans-serif;

  /* ゴシック本文/UIの中間ウェイト。PC(Yu Gothic Medium)基準=500。
     iOS/Android は Hiragino/Noto にフォールバックし 500 が太く出るため、
     タッチ端末では 400 に落として PC の見た目に合わせる（末尾の @media 参照）。 */
  --fw-md: 500;

  /* 明朝見出しの標準ウェイト。PC(游明朝 regular)基準=400。
     iOS/Android のヒラギノ明朝は同ウェイトでも太く出るため、
     タッチ端末では 300 に落として PC の見た目に合わせる（末尾の @media 参照）。 */
  --fw-heading: 400;

  --radius-sm: 4px;
  --radius-lg: 16px;

  --section-padding-y: 48px;
  --section-padding-x: 24px;
  --content-max: 1688px;
  --header-bar-height-sp: 70px;
  --header-cta-height-sp: 88px;
  --header-height-sp: 70px;
  --header-bar-height-pc: 80px;
  --header-cta-height-pc: 116px;
  --header-height-pc: 80px;

  /* アイコンサイズ（Figma準拠） */
  --icon-triangle: url("/assets/images/icon-play.svg");
  --icon-triangle-btn: url("/assets/images/icon-btn-triangle.svg");
  --icon-triangle-link: url("/assets/images/icon-arrow-right.svg");
  --icon-triangle-link-light: url("/assets/images/icon-arrow-right-light.svg");
  --icon-triangle-link-bordered: url("/assets/images/icon-arrow-right-bordered.svg");
  --icon-arrow-small: url("/assets/images/icon-arrow-small.svg");
  --icon-arrow-btn-width: 16px;
  --icon-arrow-btn-height: 10px;
  --icon-arrow-link-width: 28px;
  --icon-arrow-link-height: 18px;
  --icon-arrow-small-width: 10px;
  --icon-arrow-small-height: 6px;
  --icon-play-width: 30px;
  --icon-play-height: 18px;
}

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

html {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-md);
  line-height: 1.75;
  color: var(--color-gray-700);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

/* メニュー展開中は画面をロック（背景スクロール停止）。
   top は JS が開いた時点のスクロール量（負値）を設定し、閉じたら復元する。 */
body.is-menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* --- Page Top (Header + Hero) --- */
.page-top {
  position: relative;
  max-width: 100%;
  overflow: visible;
}

.main {
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

/* --- Horizontal sliders --- */
.brand-slider,
.design-gallery,
.event-slider {
  cursor: grab;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

.brand-slider.is-dragging,
.design-gallery.is-dragging,
.event-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.brand-slider.is-dragging *,
.event-slider.is-dragging *,
.design-gallery.is-dragging * {
  pointer-events: none;
}

.brand-slider img,
.event-slider img,
.design-gallery img {
  -webkit-user-drag: none;
  user-select: none;
}

.voice-card[hidden],
.event-card[hidden] {
  display: none !important;
}

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

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

ul,
dl,
dd,
dt,
figure,
h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

/* --- Layout --- */
.section__inner {
  width: 100%;
  max-width: calc(var(--content-max) + var(--section-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--section-padding-x);
  min-width: 0;
  overflow-x: visible;
}

.section {
  padding-block: var(--section-padding-y);
  max-width: 100%;
  overflow: visible;
}

.section__action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* --- Section Label --- */
.section-label {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.section-label__en {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: var(--fw-md);
  letter-spacing: 0.84px;
  text-transform: capitalize;
  color: var(--color-red);
  line-height: 1.3;
}

.section-label__line {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-red);
}

.section-label--white .section-label__en {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-white);
}

.section-label--white .section-label__line {
  background: var(--color-white);
}

/* --- Section Heading / Text --- */
.section-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 100;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--color-gray-700);
}

/* Large section title (JP category name) added in the 0711 design */
.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: var(--fw-heading);
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--color-gray-700);
}

.section-title--white {
  color: var(--color-white);
}

/* Secondary heading shown under the large title */
.section-subhead {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 100;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-gray-700);
}

.section-subhead--white {
  color: var(--color-white);
}

/* Spacing for the title / subhead / lead stack (0711 design, Figma準拠)
   label -> title: 24 / title -> subhead: 64 / subhead -> lead: 24 */
.event__header-text,
.works__header-text,
.about__header-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Stacked intros: gap 24 handles label->title & subhead->lead; the title
   adds +40 on top of the 24 gap to reach the 64 title->subhead gap. */
.service__intro .section-label,
.lookfor__content .section-label,
.modelhouse__content .section-label {
  margin-bottom: 0;
}

.lookfor__content .section-title,
.modelhouse__content .section-title,
.service__intro .section-title {
  margin-bottom: 40px;
}

/* Reform works: placeholder cards (content TBD in design) */
.reform-card-placeholder {
  min-height: 300px;
  background: var(--color-gray-100);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.section-text {
  font-size: 16px;
  font-weight: var(--fw-md);
  line-height: 1.75;
  color: var(--color-gray-700);
}

.section-heading--white {
  color: var(--color-white);
}

.section-text--white {
  color: var(--color-white);
}

/* --- Subsection Title --- */
.subsection-title {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.subsection-title__text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-gray-700);
}

.subsection-title__line {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--color-red);
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.75;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn--dark {
  background: var(--color-gray-700);
  color: var(--color-white);
}

.btn__text {
  white-space: nowrap;
}

.btn__arrow {
  display: block;
  flex-shrink: 0;
  width: var(--icon-arrow-btn-width);
  height: var(--icon-arrow-btn-height);
  background: var(--icon-triangle-btn) center / contain no-repeat;
}

/* --- Text Link --- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-gray-700);
}

.text-link--white {
  color: var(--color-white);
}

.text-link__icon {
  display: block;
  flex-shrink: 0;
  width: var(--icon-arrow-link-width);
  height: var(--icon-arrow-link-height);
  background: var(--icon-triangle-link) center / contain no-repeat;
}

.text-link--white .text-link__icon {
  background-image: var(--icon-triangle-link-bordered);
}

/* --- Tags --- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.67;
  white-space: nowrap;
}

.tag--brand {
  background: var(--color-red-light);
  color: var(--color-red);
  font-weight: 700;
  line-height: 1.67;
}

.tag--hash {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  font-weight: var(--fw-md);
  padding: 4px 10px;
  line-height: 1.67;
  letter-spacing: 0.04em;
}

/* --- Tab Nav --- */
.tab-nav {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 24px;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-nav__item {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gray-300);
  border-bottom: 1px solid var(--color-gray-300);
  white-space: nowrap;
  background: none;
}

.tab-nav__item.is-active {
  color: var(--color-gray-700);
  border-bottom: 2px solid var(--color-gray-700);
}

/* --- Slider Indicator --- */
.slider-indicator {
  position: relative;
  width: 100%;
  max-width: 358px;
  height: 26px;
  margin-top: 16px;
  overflow: visible;
}

.slider-indicator::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: var(--color-gray-300);
  border-radius: 999px;
}

.slider-indicator__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 26px;
  background: var(--color-gray-700);
  border-radius: 13px;
  transition: transform 0.15s ease;
}

.brand-slider.is-dragging + .slider-indicator .slider-indicator__bar,
.event-slider.is-dragging + .slider-indicator .slider-indicator__bar,
.design-gallery.is-dragging ~ .design__footer .slider-indicator__bar {
  transition: none;
}

.slider-indicator--white::before {
  background: rgba(255, 255, 255, 0.3);
}

.slider-indicator--white .slider-indicator__bar {
  background: var(--color-white);
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  display: flex;
  align-items: flex-start;
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

/* メニュー展開中は body を position:fixed でロックするため sticky が無効化される。
   ヘッダーを viewport 上部に固定し直し、展開中も常に表示させる。 */
.site-header.is-menu-open {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  height: var(--header-height-sp);
  min-height: var(--header-height-sp);
  padding: 12px 16px;
  background: var(--color-header-bg);
  backdrop-filter: blur(2px);
}

/* Dark header: render logo in white (menu icons are recolored in their SVGs) */
/* ロゴは original のカラーで表示。暗いヘッダー背景と同化しないよう、
   ヘッダー左端の「白のロゴカラム」として帯と一体化させる。
   バーの上下・左 padding を負のマージンで打ち消し、帯の高さに揃える
   （角丸・影は付けない＝面の切り替えのみで構成）。 */
.site-header__logo {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: -12px 0 -12px -16px;
  padding: 0 16px;
  background: var(--color-white);
}

.site-header__logo-img--pc {
  display: none;
  width: auto;
  height: 36px;
}

.site-header__logo-img--sp {
  display: block;
  width: auto;
  height: 46px;
  max-height: calc(100% - 16px);
  object-fit: contain;
}

.site-header__nav {
  display: none;
}

.site-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 42px;
}

.site-header__menu-icon {
  display: block;
  width: 44px;
  height: 42px;
}

.site-header__menu-icon--close {
  display: none;
}

.site-header.is-menu-open .site-header__menu-icon--open {
  display: none;
}

.site-header.is-menu-open .site-header__menu-icon--close {
  display: block;
}

.site-header__drawer {
  display: none;
  position: fixed;
  top: var(--header-height-sp);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  padding: 32px 24px 48px;
  background: rgba(251, 251, 251, 0.98);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

.site-header.is-menu-open .site-header__drawer {
  display: block;
}

.site-header__drawer-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-header__drawer-item a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  color: var(--color-gray-700);
}

.site-header__nav-external {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.site-header__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  color: var(--color-gray-700);
  white-space: nowrap;
}

.site-header__dropdown {
  display: none;
}

.site-header__drawer-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  color: var(--color-gray-700);
  text-align: left;
}

.site-header__drawer-trigger::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 6px;
  margin-left: 12px;
  background: var(--icon-arrow-small) center / contain no-repeat;
  transition: transform 0.2s ease;
}

.site-header__drawer-item--has-submenu.is-open .site-header__drawer-trigger::after {
  transform: rotate(180deg);
}

.site-header__drawer-submenu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  padding-left: 16px;
}

.site-header__drawer-submenu[hidden] {
  display: none;
}

.site-header__drawer-submenu a {
  display: block;
  font-size: 14px;
  font-weight: var(--fw-md);
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--color-gray-700);
}

.site-header__drawer-submenu a::before {
  content: "・";
}

.site-header__cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  /* ヘッダーの帯と同じ高さに揃える（下にはみ出させない）。
     .site-header は align-items: flex-start のため、stretch を明示する。 */
  align-self: stretch;
  width: var(--header-cta-height-sp);
  height: auto;
  min-height: 0;
  padding: 8px 10px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
}

.site-header__cta-text {
  white-space: nowrap;
}

.site-header__cta-arrow--pc {
  display: none;
}

.site-header__cta-arrow--sp {
  display: block;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #1d1d1d;
  color: var(--color-white);
  padding: 48px 24px 24px;
  max-width: 100%;
  overflow-x: clip;
}

.site-footer__inner {
  max-width: calc(var(--content-max) + var(--section-padding-x) * 2);
  margin-inline: auto;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.site-footer__brand-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.site-footer__logo {
  width: 260px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer__address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.9;
}

/* --- 公式SNS（ロゴ・住所直下） --- */
.site-footer__sns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__sns a {
  display: block;
  transition: opacity 0.2s;
}

.site-footer__sns a:hover,
.site-footer__sns a:focus-visible {
  opacity: 0.85;
}

.site-footer__sns-icon {
  display: block;
  width: 28px;
  height: 28px;
}

.site-footer__brands {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 372px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__brand-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  background: var(--color-gray-100);
  border-radius: var(--radius-sm);
}

.site-footer__brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.site-footer__brand-logo--woods { width: 120px; }
.site-footer__brand-logo--coco { width: 70px; }
.site-footer__brand-logo--sacrie { width: 100px; }
.site-footer__brand-logo--naturer { width: 74px; }

.site-footer__ext-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background-color: var(--color-gray-300);
  -webkit-mask: url("/assets/images/icon-external-box.svg") center / contain no-repeat;
  mask: url("/assets/images/icon-external-box.svg") center / contain no-repeat;
}

.site-footer__ext-icon--light {
  background-color: var(--color-white);
}

.site-footer__brand-card .site-footer__ext-icon {
  position: absolute;
  right: 6px;
  bottom: 6px;
}

.site-footer__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 372px;
}

.site-footer__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 10px;
  border: 1px solid var(--color-gray-400);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: 14px;
  font-weight: var(--fw-md);
  line-height: 1.4;
}

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

.site-footer__nav-col--headings {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__nav-title {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #7b7b7b;
}

.site-footer__nav-title a {
  color: var(--color-white);
}

.site-footer__nav-col--headings .site-footer__nav-title:last-child {
  margin-bottom: 0;
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.site-footer__nav-list--plain {
  padding-left: 0;
}

.site-footer__nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-gray-300);
}

.site-footer__nav-list a:hover {
  text-decoration: underline;
}

.site-footer__copyright {
  text-align: center;
  font-family: var(--font-label);
  font-size: 12px;
  color: #bebebe;
  padding-top: 16px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-height-sp));
  padding: var(--header-height-sp) 0 24px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  background: #000;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide.is-entering {
  opacity: 0;
  z-index: 2;
  transition: opacity 2.5s ease;
}

.hero__slide.is-entering.is-visible {
  opacity: 1;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* 静止時は流れ終わり（左寄り）で待機し、再アニメ開始時のジャンプを防ぐ */
  transform: scale(1.02) translateX(-1%);
}

/* FV Ken Burns: 表示中の画像を右→左へ緩やかにパン（表示時間+フェードに合わせ約6.5s） */
.hero__slide.is-entering.is-visible .hero__bg-image,
.hero__slide.is-active .hero__bg-image {
  animation: hero-pan 6.5s linear both;
}

@keyframes hero-pan {
  0% {
    transform: scale(1.02) translateX(1%);
  }
  100% {
    transform: scale(1.02) translateX(-1%);
  }
}

@media (max-width: 767px) {
  .hero__bg-image {
    transform: scale(1.04) translateX(-2%);
  }

  @keyframes hero-pan {
    0% {
      transform: scale(1.04) translateX(2%);
    }
    100% {
      transform: scale(1.04) translateX(-2%);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-entering {
    transition: none;
  }

  .hero__bg-image,
  .hero__slide.is-entering.is-visible .hero__bg-image,
  .hero__slide.is-active .hero__bg-image {
    animation: none;
    transform: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 54.38%,
    rgba(0, 0, 0, 0.5) 81.65%
  );
}

.hero__scroll {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__scroll-text {
  display: block;
  transform: rotate(90deg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.84px;
  text-transform: lowercase;
  color: var(--color-white);
  line-height: 1.3;
  white-space: nowrap;
}

.hero__scroll-line {
  display: block;
  position: relative;
  width: 1px;
  height: 120px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

/* Animated segment that flows downward along the track */
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: heroScrollFlow 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes heroScrollFlow {
  0% {
    transform: scaleY(0);
    transform-origin: 0 0;
  }
  50% {
    transform: scaleY(1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scaleY(0);
    transform-origin: 0 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after {
    animation: none;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-inline: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.hero__lead {
  font-size: 14px;
  font-weight: var(--fw-md);
  letter-spacing: 0.15em;
  color: var(--color-white);
  line-height: 1.3;
  word-break: break-word;
}

.hero__title img {
  width: 100%;
  max-width: 326px;
  height: auto;
}

/* News Bar */
.hero__news {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.news-bar {
  display: block;
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.news-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  min-width: 0;
}

.news-bar__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.news-bar__label {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-red);
}

.news-bar__detail {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 16px;
  width: 100%;
}

.news-bar__date,
.news-bar__text {
  font-size: 14px;
  font-weight: var(--fw-md);
  line-height: 1.43;
  color: var(--color-gray-700);
}

.news-bar__text {
  flex: 1;
  min-width: 0;
}

.news-bar__arrow {
  display: block;
  flex-shrink: 0;
  width: var(--icon-arrow-small-width);
  height: var(--icon-arrow-small-height);
  margin-left: auto;
}

/* ==========================================================================
   Anchor Nav
   ========================================================================== */
.anchor-nav {
  background: var(--color-white);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.anchor-nav__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.anchor-nav__item {
  border-bottom: 1px solid var(--color-gray-300);
}

.anchor-nav__item:last-child {
  border-bottom: none;
}

.anchor-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 20px 22px;
  text-align: center;
  position: relative;
}

.anchor-nav__link::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 5px;
  background: url("/assets/images/icon-arrow-down.svg") center / contain no-repeat;
}

.anchor-nav__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gray-700);
}

.anchor-nav__sub {
  font-size: 12px;
  font-weight: var(--fw-md);
  line-height: 1.3;
  color: var(--color-gray-700);
}

/* ==========================================================================
   Look For
   ========================================================================== */
.lookfor {
  background: var(--color-gray-100);
  overflow: visible;
}

.lookfor__intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
  min-width: 0;
  padding-left: var(--section-padding-x);
}

.lookfor__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  /* 画像は右端までブリードさせるが、テキスト/ボタンは画面端に接しないよう右余白を確保 */
  padding-right: var(--section-padding-x);
}

.lookfor__text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lookfor__content .section-heading {
  margin-top: 8px;
}

.lookfor__content .section-text {
  margin-top: 0;
}

.lookfor__content .btn {
  margin-top: 8px;
}

.lookfor__visual {
  margin: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  overflow: hidden;
  background: var(--color-black);
}

.lookfor__visual img {
  width: 100%;
  aspect-ratio: 366 / 380;
  object-fit: cover;
}

.lookfor__brands-wrap {
  padding-inline: 0;
  overflow: visible;
}

.lookfor__brands {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  overflow: visible;
  padding-left: var(--section-padding-x);
}

.event .section__inner {
  overflow: visible;
}

.brand-slider {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.brand-slider::-webkit-scrollbar {
  display: none;
}

.brand-slider__list {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline-end: var(--section-padding-x);
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  width: 288px;
  padding: 16px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.brand-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.brand-card__thumb {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* メイン画像はCMS管理。原稿サイズ（569×393）の比率で切り抜いて表示する */
.brand-card__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 569 / 393;
  object-fit: cover;
}

/* ロゴ画像が未設定のブランド用 */
.brand-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--fw-heading);
  line-height: 1.5;
  color: var(--color-gray-700);
}

.brand-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.brand-card__desc {
  font-size: 16px;
  font-weight: var(--fw-md);
  line-height: 1.75;
  color: var(--color-gray-700);
  overflow-wrap: anywhere;
}

.brand-card__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  align-self: flex-start;
}

/* ==========================================================================
   Model House
   ========================================================================== */
.modelhouse {
  background: var(--color-gray-50);
}

.modelhouse__intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
  padding-left: var(--section-padding-x);
}

.modelhouse__content {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modelhouse__visual {
  order: 2;
  margin: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  overflow: hidden;
  background: var(--color-black);
}

.modelhouse__visual img {
  width: 100%;
  aspect-ratio: 366 / 380;
  object-fit: cover;
}

.modelhouse__text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modelhouse__cards {
  padding-inline: var(--section-padding-x);
}

/* Feature Cards */
.feature-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  background: var(--color-gray-100);
}

.feature-card__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.feature-card__thumb {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.feature-card__thumb img {
  width: 100%;
  aspect-ratio: 310 / 140;
  object-fit: cover;
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-bottom: 32px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-gray-700);
}

.feature-card__text {
  font-size: 16px;
  font-weight: var(--fw-md);
  line-height: 1.75;
  color: var(--color-gray-700);
}

.feature-card__icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--icon-play-width);
  height: var(--icon-play-height);
  background: var(--icon-triangle) center / contain no-repeat;
}

/* ==========================================================================
   Design
   ========================================================================== */
.design {
  padding: 0;
  background: var(--color-gray-700);
  overflow: visible;
}

.design__header {
  padding-block: var(--section-padding-y);
}

.design__header-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.design__header-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.design__header-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.design__header-subhead {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-white);
}

.design-gallery {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: var(--color-gray-700);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.design-gallery::-webkit-scrollbar {
  display: none;
}

.design-gallery__list {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline: var(--section-padding-x);
}

.design-gallery__item {
  flex-shrink: 0;
}

.design-gallery__trigger {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  font: inherit;
  color: inherit;
}

/* クリック可能と伝わるホバー：白15%のオーバーレイ */
.design-gallery__trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.design-gallery__trigger:hover::after,
.design-gallery__trigger:focus-visible::after {
  opacity: 0.15;
}

.design-gallery__item img {
  display: block;
  width: min(68vw, 320px);
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

.design-gallery__label {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  padding: 6px 8px;
  background: rgba(57, 57, 57, 0.8);
  background-blend-mode: multiply;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: var(--fw-md);
  letter-spacing: 0.06em;
  text-transform: capitalize;
  color: var(--color-white);
  line-height: 1;
}

/* ループスライダー化に伴いスクロールバーは廃止。下部の余白（暗い帯）としてのみ機能 */
.design__footer {
  padding-bottom: 48px;
  background: var(--color-gray-700);
}

/* ==========================================================================
   Works / Voice
   ========================================================================== */
.works {
  background: var(--color-gray-50);
}

.works__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
  min-width: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.voice-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.voice-card__link {
  display: flex;
  flex-direction: column;
}

.voice-card__thumb {
  margin: 0;
}

.voice-card__thumb img {
  width: 100%;
  aspect-ratio: 403 / 279;
  object-fit: cover;
}

/* Blank thumbnail (reform works placeholder — image TBD) */
.voice-card__thumb--blank {
  width: 100%;
  aspect-ratio: 403 / 279;
  background: var(--color-gray-100);
}

.voice-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  position: relative;
}

.voice-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.375;
  color: var(--color-gray-700);
}

.voice-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.voice-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--color-gray-300);
  font-size: 14px;
}

.voice-card__meta-row {
  display: flex;
  gap: 6px;
}

.voice-card__meta-row dt {
  flex-shrink: 0;
  width: 60px;
  font-weight: var(--fw-md);
}

.voice-card__icon {
  align-self: flex-end;
  flex-shrink: 0;
  width: var(--icon-play-width);
  height: var(--icon-play-height);
  background: var(--icon-triangle) center / contain no-repeat;
}

/* ==========================================================================
   Event
   ========================================================================== */
.event {
  background: var(--color-gray-50);
  overflow: visible;
}

.event__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
  min-width: 0;
}

.event__slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  overflow: visible;
  padding-left: var(--section-padding-x);
}

.tab-nav--2col {
  position: relative;
}

.tab-nav--2col::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--color-gray-300);
}

.tab-nav--2col .tab-nav__item {
  flex: 0 0 auto;
  text-align: center;
}

.event-slider {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.event-slider::-webkit-scrollbar {
  display: none;
}

.event-slider__list {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-inline-end: var(--section-padding-x);
}

.event-card {
  width: 240px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.event-card__link {
  display: flex;
  flex-direction: column;
}

.event-card__thumb {
  margin: 0;
}

.event-card__thumb img {
  width: 100%;
  aspect-ratio: 403 / 279;
  object-fit: cover;
}

.event-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 157px;
  padding: 14px;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-300);
}

.event-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.375;
  color: var(--color-gray-700);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.event-card__icon {
  align-self: flex-end;
  flex-shrink: 0;
  width: var(--icon-play-width);
  height: var(--icon-play-height);
  background: var(--icon-triangle) center / contain no-repeat;
}

/* ==========================================================================
   Service
   ========================================================================== */
.service__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

.service__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  border-top: 1px solid var(--color-gray-300);
}

.service-item:last-child {
  border-bottom: 1px solid var(--color-gray-300);
}

.service-item__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 34px;
  /* ホバーの背景を文字の左右にも回すため内側に余白を取る */
  padding-inline: 15px;
}

.service-item__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-item__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gray-400);
  line-height: 1;
  margin-bottom: 0;
}

.service-item__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.service-item__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-item__icon-img {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.service-item__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-gray-700);
}

.service-item__text {
  font-size: 16px;
  font-weight: var(--fw-md);
  line-height: 1.75;
  color: var(--color-gray-700);
}

.service-item__icon {
  flex-shrink: 0;
  display: block;
  width: var(--icon-play-width);
  height: var(--icon-play-height);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  background: var(--color-gray-50);
}

.about__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.about-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  background: var(--color-gray-100);
  border-radius: var(--radius-sm);
}

.about-card__link {
  display: flex;
  gap: 16px;
  padding: 16px;
  align-items: stretch;
  height: 100%;
}

.about-card__thumb {
  flex-shrink: 0;
  width: 120px;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.about-card__thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.about-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
  min-width: 0;
}

.about-card__text-block {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-700);
}

.about-card__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-gray-700);
}

.about-card__icon {
  flex-shrink: 0;
  display: block;
  width: var(--icon-play-width);
  height: var(--icon-play-height);
}

.about-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Recruit
   ========================================================================== */
.recruit {
  background: var(--color-gray-50);
}

.recruit-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 463px;
  max-width: 100%;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.recruit-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 76%;
  /* 背景をぼかし、不透明度を落として濃色文字の可読性を確保する。
     scale はぼかしで縁が透けるのを防ぐため */
  filter: blur(6px);
  transform: scale(1.06);
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.recruit-banner:hover .recruit-banner__bg,
.recruit-banner:has(.recruit-banner__entry:focus-visible) .recruit-banner__bg {
  opacity: 0.65;
}

/* ラベルはタイポグラフィを --white のまま流用し、色のみ基本文字色に上書き
   （デザインギャラリー側の --white は白のまま） */
.recruit-banner .section-label--white .section-label__en {
  color: var(--color-recruit-text);
}

.recruit-banner .section-label--white .section-label__line {
  background: var(--color-recruit-text);
}

.recruit-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px 20px;
  min-height: 463px;
  justify-content: flex-end;
}

.recruit-banner__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* 写真の明るい部分に重なっても読めるよう、ごく淡い白の光彩を敷く */
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.recruit-banner__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 100;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--color-recruit-text);
}

.recruit-banner__desc {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-recruit-text);
}

.recruit-banner__entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
}

/* バナー全体をクリック領域にする（Entry リンクを引き伸ばす）。
   ::after の基準は position: relative の .recruit-banner__content。
   そのため .recruit-banner__entry には filter を付けない（付けると基準がずれる）。 */
.recruit-banner__entry::after {
  content: "";
  position: absolute;
  inset: 0;
}

.recruit-banner__entry-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-recruit-text);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

.recruit-banner__entry-icon {
  display: block;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

/* ==========================================================================
   PC (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --section-padding-y: 96px;
    /* 1920px基準: 116px = 6.042vw。1280〜1920でも余白比率を維持 */
    --section-padding-x: clamp(48px, 6.042vw, 116px);
    /* 1688pxコンテンツ幅に対するカラム比率（Figma準拠） */
    --ratio-design-left: 38.389%;
    --ratio-design-right: 49.763%;
    --ratio-works-left: 52.132%;
    --ratio-works-right: 40.106%;
    --ratio-service-left: 40.84%;
    --ratio-about-left: 42.938%;
    --ratio-about-right: 39.751%;
    --max-design-left: 648px;
    --max-design-right: 840px;
    --max-works-left: 880px;
    --max-works-right: 677px;
    --max-service-left: 689px;
    --max-about-left: 725px;
    --max-about-right: 671px;
    /* コンテンツ幅に対する間隔比率 */
    --layout-gap-200: 11.848%;
    --layout-gap-works: 7.764%;
    --layout-gap-92: 5.45%;
    /* フルブリード2カラム: gap 80/1920, 列内padding 116/920 */
    --layout-bleed-gap: 4.167%;
    --layout-bleed-inset: 12.609%;
    --icon-play-width-lg: 44px;
    --icon-play-height-lg: 26px;
  }

  /* Header PC */
  .site-header__bar {
    height: var(--header-height-pc);
    min-height: var(--header-height-pc);
    padding: 24px 24px;
    gap: clamp(16px, 2vw, 40px);
  }

  .site-header__drawer {
    display: none !important;
  }

  .site-header__logo {
    margin: -24px 0 -24px -24px;
    padding: 0 20px;
  }

  /* 横ロゴへの切替は 1200px 以上（それ未満の狭い幅は SP マークを縮小せず使用） */
  .site-header__nav {
    display: block;
  }

  .site-header__nav-list {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.4vw, 28px);
  }

  .site-header__nav-item {
    position: relative;
  }


  .site-header__nav-item .site-header__nav-link {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: var(--color-white);
  }

  /* Topics parent has no landing page: non-navigating dropdown trigger */
  .site-header__nav-link--static {
    cursor: default;
  }

  .site-header__nav-item .site-header__nav-external img {
    filter: brightness(0) invert(1);
  }

  /* Full-width mega-menu dropdown (hover to expand).
     NOTE: the bar's backdrop-filter makes it the containing block for this
     fixed element, so use width:100vw (not right:0) to span the full
     viewport, including under the CTA. */
  .site-header__dropdown {
    display: block;
    position: fixed;
    top: var(--header-height-pc);
    left: 0;
    width: 100vw;
    z-index: 10;
    background: var(--color-dropdown-bg);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
  }

  /* Full-width transparent bridge sitting in the gap BELOW the nav row
     (not overlapping the nav items) so the dropdown stays open while moving
     the cursor down into it, while horizontal moves between nav items still
     switch menus. Height = panel top (80) - nav item bottom (~54) + margin. */
  .site-header__dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 28px;
  }

  .site-header__nav-item--has-dropdown:hover .site-header__dropdown,
  .site-header__nav-item--has-dropdown:focus-within .site-header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header__megamenu {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    max-width: calc(var(--content-max) + var(--section-padding-x) * 2);
    margin-inline: auto;
    padding: 32px var(--section-padding-x);
  }

  .site-header__megamenu-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
    width: 280px;
  }

  .site-header__megamenu-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-header__megamenu-en {
    font-family: var(--font-label);
    font-weight: var(--fw-md);
    font-size: 14px;
    letter-spacing: 0.06em;
    line-height: 1.3;
    color: var(--color-gray-50);
    text-transform: capitalize;
  }

  .site-header__megamenu-line {
    width: 24px;
    height: 1px;
    background: var(--color-gray-400);
  }

  .site-header__megamenu-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: var(--color-gray-50);
  }

  .site-header__megamenu-body {
    flex: 1;
    min-width: 0;
    border-left: 1px solid var(--color-gray-400);
    padding-left: 48px;
  }

  .site-header__megamenu-subhead {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-gray-50);
  }

  /* ボタンは常に1行表示（nowrap）。内容幅で並べ、画面幅に応じて
     折り返しの段数が可変になるフレックスレイアウト */
  .site-header__megamenu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .site-header__megamenu-grid li {
    display: flex;
    flex: 0 0 auto;
  }

  .site-header__megamenu-grid a {
    width: 100%;
    white-space: nowrap;
  }

  .site-header__megamenu-top,
  .site-header__megamenu-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-400);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    color: var(--color-white);
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .site-header__megamenu-top {
    width: 100%;
    margin-top: 30px;
  }

  .site-header__megamenu-top::after,
  .site-header__megamenu-grid a::after {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 6px;
    background: var(--icon-arrow-small) center / contain no-repeat;
    filter: brightness(0) invert(1);
  }

  .site-header__megamenu-top:hover,
  .site-header__megamenu-grid a:hover,
  .site-header__megamenu-grid a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
  }

  .site-header__nav-external {
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }

  .site-header__nav-item.is-current > .site-header__nav-link {
    position: relative;
  }

  .site-header__nav-item.is-current > .site-header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: var(--color-red);
  }

  .site-header__drawer-item.is-current > .site-header__drawer-trigger,
  .site-header__drawer-item.is-current > a {
    color: var(--color-red);
  }

  .site-header__menu {
    display: none;
  }

  .site-header__cta {
    flex-direction: row;
    width: 120px;
    height: auto;
    min-height: 0;
    gap: 8px;
    padding: 16px;
    font-size: 14px;
  }

  .site-header__cta-arrow--pc {
    display: block;
  }

  .site-header__cta-arrow--sp {
    display: none;
  }

  /* Footer PC */
  .site-footer {
    padding: 96px var(--section-padding-x);
  }

  /* 1719px以下はブランドを上に積み、nav に全幅を与えて単一行＋縦罫線を成立させる
     （横並びはブランド列＋nav5列が収まる 1720px 以上でのみ） */
  .site-footer__top {
    gap: 48px;
    margin-bottom: 84px;
  }

  .site-footer__brand {
    align-items: flex-start;
    text-align: left;
    flex-shrink: 0;
    gap: 38px;
  }

  .site-footer__brand-head {
    align-items: flex-start;
    gap: 16px;
  }

  .site-footer__brands {
    grid-template-columns: repeat(2, 180px);
    max-width: none;
  }

  .site-footer__brand-card {
    width: 180px;
  }

  .site-footer__actions {
    width: 372px;
    max-width: none;
  }

  .site-footer__logo {
    width: 300px;
  }

  /* PC: 区切り罫線は使わず、列間の余白のみでグループを視認させる */
  .site-footer__nav {
    flex-direction: row;
    flex-wrap: nowrap;
    /* カラムを1つ追加したため、列間を詰めて各カラムの幅を確保する */
    gap: 0 24px;
    flex: 1;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .site-footer__nav-col {
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-footer__nav-col--headings {
    gap: 24px;
  }

  /* 見出し下線（横罫線）も使わない */
  .site-footer__nav-title {
    padding-bottom: 0;
    margin-bottom: 18px;
    border-bottom: none;
  }

  .section-heading {
    font-size: 64px;
    line-height: 1.5;
    letter-spacing: 0.06em;
  }

  .section-title {
    font-size: 64px;
  }

  .section-subhead {
    font-size: 28px;
  }

  .section-text {
    line-height: 1.75;
  }

  .subsection-title__text {
    font-size: 24px;
  }

  .btn {
    padding: 16px 40px;
    width: 280px;
  }

  .section__action {
    justify-content: flex-end;
    margin-top: 48px;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    margin-top: calc(-1 * var(--header-height-pc));
    padding: calc(72px + var(--header-height-pc)) 0 72px;
  }

  .hero__scroll {
    right: 24px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  /* FV の左右余白は下の余白（72px）と同じ値に揃える */
  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-left: 72px;
    padding-right: 72px;
    padding-bottom: 0;
  }

  /* メインキャッチ＝左下 / お知らせ＝右下 */
  .hero__bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
  }

  .hero__copy {
    gap: 16px;
    flex: 1;
    min-width: 0;
  }

  .hero__lead {
    font-size: 22px;
    line-height: 1.82;
    letter-spacing: 0.15em;
  }

  .hero__title img {
    max-width: 631px;
  }

  .hero__news {
    flex-shrink: 0;
    width: 574px;
    margin-left: auto;
    align-items: flex-start;
  }

  .hero__news-link {
    align-self: flex-start;
  }

  .news-bar {
    width: 574px;
    border-radius: var(--radius-sm);
  }

  .news-bar__inner {
    flex-wrap: nowrap;
    padding: 16px 24px;
  }

  .news-bar__content {
    max-width: 340px;
  }

  /* Anchor Nav */
  .anchor-nav__list {
    flex-direction: row;
  }

  .anchor-nav__item {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--color-gray-300);
  }

  .anchor-nav__item:last-child {
    border-right: none;
  }

  .anchor-nav__link {
    gap: 7px;
    padding: 36px 24px;
    min-height: 126px;
    justify-content: center;
  }

  .anchor-nav__link::after {
    display: none;
  }

  .anchor-nav__title {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    line-height: 1;
  }

  .anchor-nav__title::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 6px;
    background: url("/assets/images/icon-arrow-down.svg") center / contain no-repeat;
  }

  .anchor-nav__sub {
    font-size: 14px;
    line-height: 1.3;
  }

  /* Look For */
  .lookfor__intro {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--layout-bleed-gap);
    margin-bottom: 80px;
    padding-inline: 0;
    width: 100%;
  }

  .lookfor__content {
    flex: 0 0 calc((100% - var(--layout-bleed-gap)) / 2);
    min-width: 0;
    gap: 24px;
    padding-left: var(--section-padding-x);
    padding-right: 0;
  }

  .lookfor__text-block {
    gap: 24px;
  }

  .lookfor__content .section-heading,
  .lookfor__content .btn {
    margin-top: 0;
  }

  .lookfor__content .section-label {
    margin-bottom: 0;
  }

  .lookfor__visual {
    flex: 0 0 calc((100% - var(--layout-bleed-gap)) / 2);
    min-width: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  }

  .lookfor__visual img {
    width: 100%;
    min-width: 0;
    height: 440px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .lookfor__brands-wrap {
    max-width: 100%;
    padding-inline: 0;
    overflow: visible;
  }

  .lookfor__brands {
    gap: 32px;
    padding-left: var(--section-padding-x);
  }

  .lookfor__brands .brand-slider {
    margin-inline: 0;
    padding-inline: 0;
    width: 100%;
    overflow-x: auto;
  }

  .brand-slider__list {
    gap: 24px;
    padding-inline-end: var(--section-padding-x);
  }

  .brand-card {
    width: 652px;
    padding: 32px;
  }

  .brand-card__body {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
  }

  .brand-card__thumb {
    flex-shrink: 0;
    width: 300px;
  }

  .brand-card__info {
    flex: 1;
    gap: 20px;
    min-width: 0;
  }

  .slider-indicator {
    max-width: 480px;
  }

  /* Model House */
  .modelhouse__intro {
    flex-direction: row;
    gap: var(--layout-bleed-gap);
    margin-bottom: 80px;
    padding-inline: 0;
    align-items: flex-start;
  }

  .modelhouse__visual {
    order: -1;
    flex: 0 0 calc((100% - var(--layout-bleed-gap)) / 2);
    min-width: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    height: 440px;
  }

  .modelhouse__content {
    order: 0;
    flex: 0 0 calc((100% - var(--layout-bleed-gap)) / 2);
    min-width: 0;
    padding-right: var(--layout-bleed-inset);
    gap: 24px;
  }

  .modelhouse__text-block {
    gap: 24px;
  }

  .modelhouse__content .section-label {
    margin-bottom: 0;
  }

  .modelhouse__visual img {
    width: 100%;
    height: 440px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .modelhouse__cards {
    padding-inline: 100px;
  }

  .feature-card-list {
    flex-direction: row;
    gap: 24px;
    margin: 0;
    padding: 0;
  }

  .feature-card {
    flex: 1 1 0;
    min-width: 0;
  }

  .feature-card__link {
    flex-direction: row;
    padding: 40px;
    gap: 16px;
    align-items: flex-start;
    height: 100%;
  }

  .feature-card__thumb {
    flex: 1 1 0;
    min-width: 0;
  }

  .feature-card__thumb img {
    width: 100%;
    height: 177px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .feature-card__title {
    font-size: 20px;
    line-height: 1.4;
    width: 100%;
  }

  .feature-card__text {
    width: 100%;
  }

  .feature-card__body {
    flex: 1 1 0;
    min-width: 0;
    min-height: 177px;
    padding-bottom: 0;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
  }

  .feature-card__icon {
    position: static;
    flex-shrink: 0;
    width: var(--icon-play-width-lg);
    height: var(--icon-play-height-lg);
  }

  /* Design */
  .design__header-inner {
    flex-direction: row;
    align-items: flex-end;
    gap: var(--layout-gap-200);
  }

  .design__header-left {
    flex: 0 0 var(--ratio-design-left);
    max-width: var(--max-design-left);
    min-width: 0;
  }

  .design-gallery {
    overflow-x: auto;
  }

  .design__header-right {
    flex: 0 0 var(--ratio-design-right);
    max-width: var(--max-design-right);
    min-width: 0;
  }

  .design__header-subhead {
    font-size: 36px;
    line-height: 56px;
  }

  .design-gallery__list {
    gap: 25px;
    padding-inline-start: 0;
    padding-inline-end: var(--section-padding-x);
  }

  .design-gallery__item img {
    width: 430px;
  }

  .design__footer {
    padding: 0 0 96px;
  }

  /* Works */
  .works__header {
    flex-direction: row;
    align-items: flex-end;
    gap: var(--layout-gap-works);
    margin-bottom: 72px;
  }

  .works__header-left {
    flex: 0 0 auto;
    max-width: var(--max-works-left);
    min-width: 0;
  }

  .works__header-left .section-heading {
    white-space: nowrap;
  }

  .works__header-text {
    flex: 1 1 0;
    max-width: var(--max-works-right);
    min-width: 0;
  }

  .tab-nav__item {
    width: 220px;
    padding: 15px 24px;
    font-size: 16px;
    text-align: center;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
  }

  /* Event */
  .event__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    max-width: none;
    margin-bottom: 0;
    gap: var(--layout-gap-works);
  }

  .event__header-left {
    flex: 0 0 auto;
    min-width: 0;
  }

  .event__header-text {
    flex: 1 1 0;
    max-width: var(--max-works-right);
    min-width: 0;
  }

  .event .tab-nav {
    margin-top: 80px;
    margin-bottom: 32px;
  }

  .event__slider-wrap {
    gap: 32px;
    padding-left: var(--section-padding-x);
  }

  .event-slider {
    overflow-x: auto;
  }

  .tab-nav--2col .tab-nav__item {
    width: 220px;
    min-height: 64px;
    padding: 15px 24px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tab-nav--2col .tab-nav__item:not(.is-active) {
    color: rgba(34, 34, 34, 0.2);
  }

  .event-slider__list {
    gap: 24px;
    padding-inline-end: var(--section-padding-x);
  }

  .event__slider-wrap .slider-indicator {
    max-width: 480px;
  }

  .event .section__action {
    padding-right: 80px;
  }

  .event-card {
    width: 300px;
  }

  .event-card__body {
    min-height: 186px;
  }

  /* Service */
  .service__inner {
    flex-direction: row;
    gap: var(--layout-gap-92);
    align-items: flex-start;
  }

  .service__intro {
    flex: 0 0 var(--ratio-service-left);
    max-width: var(--max-service-left);
    min-width: 0;
    gap: 24px;
    justify-content: flex-end;
  }

  .service-list {
    flex: 1 1 0;
    min-width: 0;
  }

  .service-item__link {
    gap: 32px;
  }

  .service-item__title {
    font-size: 22px;
    line-height: 0.82;
  }

  .service-item__icon {
    width: var(--icon-play-width-lg);
    height: var(--icon-play-height-lg);
  }

  /* About */
  .about__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 80px;
  }

  .about__header-left {
    flex: 0 0 var(--ratio-about-left);
    max-width: var(--max-about-left);
    min-width: 0;
  }

  .about__header-left .section-heading {
    white-space: nowrap;
  }

  .about__header-text {
    flex: 0 0 var(--ratio-about-right);
    max-width: var(--max-about-right);
    min-width: 0;
  }

  .about-card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-card {
    display: flex;
  }

  .about-card__link {
    padding: 32px 24px;
    gap: 32px;
    width: 100%;
  }

  .about-card__thumb {
    width: 200px;
  }

  .about-card__title {
    font-size: 22px;
    line-height: 0.82;
  }

  .about-card__icon {
    width: var(--icon-play-width-lg);
    height: var(--icon-play-height-lg);
  }

  /* Recruit */
  .recruit-banner {
    min-height: 316px;
  }

  .recruit-banner__content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 56px;
    min-height: 316px;
  }

  .recruit-banner__title {
    font-size: 48px;
    line-height: 2;
  }
}

/* ==========================================================================
   Scroll reveal (fade + rise on enter). Applied site-wide via main.js.
   Elements get .reveal only when below the fold at load, then .is-visible
   when scrolled into view. FV / header / footer / sliders are excluded.
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Footer: ブランド列を左・ナビ5列を右に横並びにするレイアウト。
   左カラム（ブランド）の幅を節約し、1200px まで段落ちさせずに横並びを維持。
   1199px 以下はブランドを上に積み、ナビに全幅を与える（縦罫線は全幅で共通）。
   ========================================================================== */
@media (min-width: 1200px) {
  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  /* 横並び時のみ左カラムを詰めてナビの横幅を確保 */
  .site-footer__logo {
    width: 240px;
  }

  .site-footer__brands {
    grid-template-columns: repeat(2, 128px);
  }

  .site-footer__brand-card {
    width: 128px;
  }

  .site-footer__actions {
    width: 264px;
  }

  /* ナビは右寄せで縦罫線区切り（その他は 768px ブロックを継承） */
  .site-footer__nav {
    justify-content: flex-end;
  }

  .site-footer__nav-col:last-child {
    padding-right: 0;
  }

  .site-footer__nav-title {
    white-space: nowrap;
  }
}

/* ==========================================================================
   お問い合わせフォーム上部のキャンペーン訴求バナー（横長）
   ========================================================================== */
.contact-campaign {
  width: 100%;
}

.contact-campaign__pic {
  display: block;
}

.contact-campaign__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* リフォーム相談：フォーム未構築のためスタンドアロン表示 */
.contact-campaign-block {
  padding: 48px var(--section-padding-x);
  background: var(--color-gray-50);
}

.contact-campaign-block .contact-campaign {
  max-width: 960px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .contact-campaign-block {
    padding: 64px var(--section-padding-x);
  }
}

/* ==========================================================================
   追従キャンペーンバナー（全ページ共通・右下）
   ========================================================================== */
.cta-banner {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  width: 40vw;
  max-width: 260px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* 表示中は透過させず、ホバー時のみ薄くする */
.cta-banner.is-scrolled {
  opacity: 1;
}

.cta-banner.is-scrolled:hover,
.cta-banner.is-scrolled:focus-within {
  opacity: 0.85;
}

/* TOPページのみ：ファーストビュー（最上部）では隠し、スクロール起点で出現 */
.top-page .cta-banner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.top-page .cta-banner.is-scrolled {
  opacity: 1;
  visibility: visible;
}

.top-page .cta-banner.is-scrolled:hover,
.top-page .cta-banner.is-scrolled:focus-within {
  opacity: 0.85;
}

.cta-banner[hidden] {
  display: none;
}

.cta-banner__link {
  display: block;
}

.cta-banner__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.cta-banner__close {
  position: absolute;
  top: -9px;
  right: -9px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  background: var(--color-gray-700);
  color: var(--color-white);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cta-banner__close:hover {
  background: #000;
}

@media (min-width: 768px) {
  .cta-banner {
    right: 24px;
    bottom: 24px;
    width: 240px;
    max-width: none;
  }

  .cta-banner__close {
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    font-size: 17px;
  }
}

/* ==========================================================================
   デザインギャラリー：画像拡大ライトボックス（タップで1000px幅表示）
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.is-visible {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__dialog {
  transform: scale(0.98);
  transition: transform 0.25s ease;
}

.lightbox.is-visible .lightbox__dialog {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__dialog {
    transition: none;
  }
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.lightbox__dialog {
  position: relative;
  width: 1000px;
  max-width: 100%;
}

.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1d1d1d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: #fff;
}

/* ==========================================================================
   モバイル(iOS/Android)フォントウェイト最適化
   PC は Yu Gothic(Medium=500) だが、タッチ端末では Yu Gothic が無く
   Hiragino / Noto Sans CJK にフォールバックし 500 が太く出る。
   タッチ端末では中間ウェイトを 400 に落とし、PC(Yu Gothic Medium)の
   見た目に近づける（見出しの 700 等は各指定のまま影響しない）。
   明朝見出しも同様に、ヒラギノ明朝が游明朝より太く出るため 300 に落とす。
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
  :root {
    --fw-md: 400;
    --fw-heading: 300;
  }
}

/* イベントタブに該当が無い場合の文言 */
.event-slider__empty {
  padding: 40px 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-gray-400);
}

.event-slider__empty[hidden] {
  display: none;
}

/* ==========================================================================
   タブレット〜小型ノート (768〜999px)
   PC の横並びナビは 1000px 未満では収まりきらず、来場予約ボタンに
   重なってしまう。この幅では SP と同じハンバーガー + ドロワーに戻す。
   ========================================================================== */
@media (min-width: 768px) and (max-width: 999px) {
  .site-header__nav {
    display: none;
  }

  .site-header__menu {
    display: flex;
  }

  /* PC 側の display:none !important を打ち消しつつ、開閉挙動は SP と同じにする */
  .site-header__drawer {
    display: none !important;
    top: var(--header-height-pc);
  }

  .site-header.is-menu-open .site-header__drawer {
    display: block !important;
  }
}

/* ==========================================================================
   タブレット〜小型ノート (768〜1199px)
   2 枚並びのカード内でさらに画像列とテキスト列を分けているため、
   1200px 未満ではテキストが数文字幅まで潰れる。
   この幅ではカードを 1 列に落として本文幅を確保する。
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {
  .feature-card-list {
    flex-direction: column;
  }

  .feature-card {
    flex: 0 0 auto;
  }

  .about-card-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TOP: 実績セクション見出し
   見出し側が nowrap で縮まないため、本文側が数文字幅まで潰れる。
   本文が 300px を切る幅では本文を段落ちさせる。
   ========================================================================== */
@media (min-width: 768px) {
  .works__header {
    flex-wrap: wrap;
  }

  .works__header-text {
    flex: 1 1 300px;
  }
}

/* ==========================================================================
   カードUI ホバー／フォーカス
   既存 .btn:hover と同じ opacity 変化に統一（影は追加せずフラットのまま）
   ========================================================================== */
.voice-card__link,
.event-card__link,
.about-card__link,
.feature-card__link {
  transition: opacity 0.2s;
}

.voice-card__link:hover,
.voice-card__link:focus-visible,
.event-card__link:hover,
.event-card__link:focus-visible,
.about-card__link:hover,
.about-card__link:focus-visible,
.feature-card__link:hover,
.feature-card__link:focus-visible {
  opacity: 0.85;
}

/* ==========================================================================
   施主様の声カード：タグ・スペックの暫定表示
   microCMS 側に該当フィールドが無いため、固定HTMLを薄いグレーで表示している。
   CMS化の際は is-placeholder を外すだけで通常表示に戻る。
   ========================================================================== */
.voice-card__tags.is-placeholder .tag,
.voice-card__meta.is-placeholder {
  color: var(--color-gray-400);
}

.voice-card__tags.is-placeholder .tag--brand,
.voice-card__tags.is-placeholder .tag--hash {
  background: var(--color-gray-100);
}

/* ==========================================================================
   TOP: 事例セクションの準備中表示
   ========================================================================== */
.works__empty {
  padding: 40px 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-gray-400);
}

/* ==========================================================================
   ホバー／フォーカスの効果
   既存の .btn:hover と同じ opacity 0.85 を基本とし、
   面で見せる箇所だけ背景色の変化にする。すべてトランジション付き。
   ========================================================================== */

/* --- 透過で反応させるもの --- */
.news-bar,
.hero__news-link,
.brand-card .text-link,
.design-gallery__trigger,
.site-footer__brand-card {
  transition: opacity 0.2s;
}

.news-bar:hover,
.news-bar:focus-visible,
.hero__news-link:hover,
.hero__news-link:focus-visible,
.brand-card .text-link:hover,
.brand-card .text-link:focus-visible,
.design-gallery__trigger:hover,
.design-gallery__trigger:focus-visible,
.site-footer__brand-card:hover,
.site-footer__brand-card:focus-visible {
  opacity: 0.85;
}

/* --- 背景色で反応させるもの --- */
/* MV下のアンカーリンク。矢印はホバーで 5px 下がる */
.anchor-nav__link {
  transition: background-color 0.2s;
}

.anchor-nav__link::after {
  transition: transform 0.2s;
}

.anchor-nav__link:hover,
.anchor-nav__link:focus-visible {
  background-color: var(--color-gray-100);
}

.anchor-nav__link:hover::after,
.anchor-nav__link:focus-visible::after {
  transform: translateY(calc(-50% + 5px));
}

/* 事業内容の各リンク */
.service-item__link {
  transition: background-color 0.2s;
}

.service-item__link:hover,
.service-item__link:focus-visible {
  background-color: var(--color-gray-100);
}

/* --- ヘッダーの来場予約はやや濃い赤へ --- */
.site-header__cta {
  transition: background-color 0.2s;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  background-color: #9d0d22;
}

/* --- フッターのオーナーページは白く輝かせる --- */
.site-footer__action {
  transition: box-shadow 0.2s, border-color 0.2s;
}

.site-footer__action:hover,
.site-footer__action:focus-visible {
  border-color: var(--color-white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55), 0 0 2px rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   デザインギャラリーのライトボックス：前後送り
   ========================================================================== */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox__nav[hidden] {
  display: none;
}

/* 矢印は疑似要素で描く（白のシェブロン） */
.lightbox__nav::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
}

.lightbox__nav--prev::before {
  transform: translateX(3px) rotate(-135deg);
}

.lightbox__nav--next::before {
  transform: translateX(-3px) rotate(45deg);
}

.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

.lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.lightbox__counter[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .lightbox__nav--prev { left: -72px; }
  .lightbox__nav--next { right: -72px; }
}

/* ==========================================================================
   ヘッダーのグローバルナビ：ホバーで文字を赤に
   PC幅では白文字のため、ホバー／フォーカス時のみブランドカラーへ変える。
   ドロップダウンを開いている間も赤のままにする。
   ========================================================================== */
@media (min-width: 1000px) {
  .site-header__nav-item .site-header__nav-link {
    transition: color 0.2s;
  }

  .site-header__nav-item .site-header__nav-link:hover,
  .site-header__nav-item .site-header__nav-link:focus-visible,
  .site-header__nav-item:hover > .site-header__nav-link,
  .site-header__nav-item:focus-within > .site-header__nav-link {
    color: var(--color-red);
  }

  /* 外部リンクのアイコンも文字色に合わせて赤くする */
  .site-header__nav-item .site-header__nav-external img {
    transition: filter 0.2s;
  }

  .site-header__nav-item .site-header__nav-external:hover img,
  .site-header__nav-item .site-header__nav-external:focus-visible img {
    /* 白 → ブランドカラー相当（#c1102a）へ寄せる */
    filter: brightness(0) saturate(100%) invert(13%) sepia(88%) saturate(4500%) hue-rotate(345deg) brightness(92%) contrast(96%);
  }
}

/* ==========================================================================
   フッターのリンク：ホバーで文字を赤に
   ========================================================================== */
.site-footer__nav-title a,
.site-footer__nav-list a,
.site-footer__action,
.site-footer__nav-external {
  transition: color 0.2s;
}

.site-footer__nav-title a:hover,
.site-footer__nav-title a:focus-visible,
.site-footer__nav-list a:hover,
.site-footer__nav-list a:focus-visible,
.site-footer__action:hover,
.site-footer__action:focus-visible,
.site-footer__nav-external:hover,
.site-footer__nav-external:focus-visible {
  color: var(--color-red);
}

/* ==========================================================================
   カード画像のリンク（店舗一覧・スタッフ一覧）
   画像からも詳細へ入れるようにし、ホバーで透過させる。
   ========================================================================== */
.visitor-model-card__thumb-link,
.shop-detail__staff-photo-link {
  display: block;
  transition: opacity 0.2s;
}

.visitor-model-card__thumb-link:hover,
.visitor-model-card__thumb-link:focus-visible,
.shop-detail__staff-photo-link:hover,
.shop-detail__staff-photo-link:focus-visible {
  opacity: 0.85;
}
