/* ======================================================
   株式会社Universe コーポレートサイト
   全8色パレット完全活用 / 60:30:10 配色
   レイアウト: Full Screen Narrative + Diagonal Edge + Overlap Parallax + Magazine Editorial
   アニメーション: パネルオーバーレイ + タイポエクスプロージョン + シャドウリフト
                  + ラインコンストラクト + バウンドパララックス + マグネティックカード
   ====================================================== */

:root {
  --gold: #C7A876;
  --gold-light: #d4bc94;
  --mid-gray: #566270;
  --fog-blue: #A3B8C8;
  --star-white: #E5E7EB;
  --slate-blue: #86A2B6;
  --silver-gray: #D1D5DB;
  --dark-charcoal: #2D2D2D;
  --antique-beige: #9F8B65;

  --bg-base: #f7f6f3;
  --bg-dark: var(--dark-charcoal);
  --text-primary: var(--dark-charcoal);
  --text-secondary: var(--mid-gray);
  --text-light: var(--star-white);
  --accent: var(--gold);
  --accent-sub: var(--fog-blue);

  --ff-serif: 'Noto Serif JP', serif;
  --ff-display: 'Syncopate', sans-serif;
  --ff-body: 'Spinnaker', 'Noto Serif JP', sans-serif;

  --header-h: 72px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
}

/* --- ベース --- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-h);
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--ff-body);
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-label {
  display: block;
  font-family: var(--ff-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ======================================================
   ローディング
   ====================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__ring {
  position: absolute;
  width: 96px;
  height: 96px;
  border: 2px solid var(--silver-gray);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.92); }
}

/* ======================================================
   ヘッダー
   ====================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.header.is-scrolled {
  background: rgba(247, 246, 243, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.header__nav-link {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.header__nav-link:hover,
.header__nav-link.is-current { color: var(--accent); }
.header__nav-link:hover::after,
.header__nav-link.is-current::after { width: 100%; }

/* --- ハンバーガー --- */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  position: fixed;
  top: calc((var(--header-h) - 44px) / 2);
  right: 1.5rem;
  z-index: 1200;
  cursor: pointer;
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s, background-color 0.3s;
}

.hamburger.is-active .hamburger__line { background: var(--star-white); }
.hamburger.is-active .hamburger__line--top { transform: translateY(8px) rotate(45deg); }
.hamburger.is-active .hamburger__line--mid { opacity: 0; }
.hamburger.is-active .hamburger__line--bot { transform: translateY(-8px) rotate(-45deg); }

/* ======================================================
   モバイルメニュー
   ====================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__circle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--dark-charcoal);
  transform: translate(50%, -50%);
  transition: width 0.7s var(--ease-out-expo), height 0.7s var(--ease-out-expo);
}

.mobile-menu.is-open .mobile-menu__circle {
  width: 300vmax;
  height: 300vmax;
}

.mobile-menu__nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s 0.3s;
}

.mobile-menu.is-open .mobile-menu__nav { opacity: 1; }

.mobile-menu__list { text-align: center; }
.mobile-menu__item { overflow: hidden; }

.mobile-menu__link {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 4vw, 2rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--star-white);
  padding: 0.75rem 0;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo), color 0.3s;
}

.mobile-menu.is-open .mobile-menu__item:nth-child(1) .mobile-menu__link { transition-delay: 0.35s; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__item:nth-child(2) .mobile-menu__link { transition-delay: 0.4s;  transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__item:nth-child(3) .mobile-menu__link { transition-delay: 0.45s; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__item:nth-child(4) .mobile-menu__link { transition-delay: 0.5s;  transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__item:nth-child(5) .mobile-menu__link { transition-delay: 0.55s; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__item:nth-child(6) .mobile-menu__link { transition-delay: 0.6s;  transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__item:nth-child(7) .mobile-menu__link { transition-delay: 0.65s; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__item:nth-child(8) .mobile-menu__link { transition-delay: 0.7s;  transform: translateY(0); }

.mobile-menu__link:hover { color: var(--gold); }

.mobile-menu__sns {
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s 0.65s, transform 0.5s 0.65s var(--ease-out-expo);
}

.mobile-menu.is-open .mobile-menu__sns { opacity: 1; transform: translateY(0); }

.mobile-menu__sns a { color: var(--star-white); transition: color 0.3s; }
.mobile-menu__sns a:hover { color: var(--gold); }

/* ======================================================
   ヒーローセクション
   ====================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: heroZoomOut 2s 0.2s var(--ease-out-expo) forwards;
}

@keyframes heroZoomOut { to { transform: scale(1); } }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(45, 45, 45, 0.75) 0%,
    rgba(86, 98, 112, 0.35) 40%,
    rgba(45, 45, 45, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 1s 0.4s var(--ease-out-expo) forwards;
}

.hero__brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__brand-logo {
  width: clamp(140px, 22vw, 220px);
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
}

.hero__brand-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(229, 231, 235, 0.8);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.hero__subtitle {
  font-family: var(--ff-display);
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* スクロールインジケータ（コンテンツ外に配置して被り防止） */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll-text {
  font-family: var(--ff-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(209, 213, 219, 0.7);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   ステートメントセクション
   ====================================================== */
.statement {
  position: relative;
  background: var(--bg-base);
  padding: 5rem 2rem 3rem;
  overflow: hidden;
}

.statement__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.statement__ja {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.8;
  color: var(--text-primary);
}

.statement__divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  border: none;
}

.statement__desc {
  font-family: var(--ff-serif);
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 2.4;
  color: var(--mid-gray);
  letter-spacing: 0.06em;
}

/* ======================================================
   Aboutセクション（トップページ）
   ====================================================== */
.about {
  position: relative;
  background: var(--bg-base);
  padding: 5rem 0;
  overflow: hidden;
}

.about__typo-bg {
  position: absolute;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(199, 168, 118, 0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
  line-height: 1;
}

.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about__text-area {
  position: relative;
}

.about__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.about__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 1rem;
}

.about__text {
  font-family: var(--ff-serif);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 2.2;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.about__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-top: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gold);
  transition: color 0.3s, border-color 0.3s;
}

.about__link:hover {
  color: var(--antique-beige);
  border-color: var(--antique-beige);
}

.about__link svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.about__link:hover svg {
  transform: translateX(4px);
}

.about__img-area {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease-out-expo);
}

.about__img-area:hover .about__img {
  transform: scale(1.03);
}

/* ======================================================
   about.html - 代表挨拶セクション（Magazine Editorial風）
   ====================================================== */
.about-message {
  position: relative;
  background: var(--bg-base);
  padding: 6rem 0 8rem;
  overflow: hidden;
}

.about-message__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.about-message__left {
  position: relative;
  padding-top: 2rem;
}

.about-message__typo-bg {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(163, 184, 200, 0.08);
  line-height: 1;
  white-space: nowrap;
  position: absolute;
  top: -1rem;
  left: -1rem;
  pointer-events: none;
}

.about-message__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.about-message__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 1rem;
}

.about-message__right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-message__img-wrap {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.about-message__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease-out-expo);
}

.about-message__img-wrap:hover .about-message__img { transform: scale(1.03); }

.about-message__img-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--antique-beige);
  border-radius: 2px;
  z-index: -1;
  opacity: 0.4;
  transition: opacity 0.5s, transform 0.5s var(--ease-out-expo);
}

.about-message__img-wrap:hover .about-message__img-accent {
  opacity: 0.7;
  transform: translate(4px, 4px);
}

.about-message__text-block {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-message__text {
  font-family: var(--ff-serif);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 2.2;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
}

.about-message__name {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--silver-gray);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-message__name-title {
  font-family: var(--ff-serif);
  font-size: 0.8rem;
  color: var(--antique-beige);
  letter-spacing: 0.1em;
}

.about-message__name-value {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

/* ======================================================
   about.html - 会社概要テーブル
   ====================================================== */
.about-company {
  position: relative;
  background: linear-gradient(180deg, var(--bg-base) 0%, rgba(163, 184, 200, 0.08) 100%);
  padding: 8rem 0;
  overflow: hidden;
}

.about-company__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-company__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.about-company__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--slate-blue);
  margin-top: 1rem;
}

.about-company__table {
  display: flex;
  flex-direction: column;
}

.about-company__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--silver-gray);
  align-items: baseline;
}

.about-company__dt {
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--slate-blue);
}

.about-company__dd {
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about-company__link {
  color: var(--antique-beige);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.about-company__link:hover { color: var(--gold); }

/* ======================================================
   about.html - アクセスセクション
   ====================================================== */
.about-access {
  position: relative;
  background: var(--star-white);
  padding: 8rem 0;
  overflow: hidden;
}

.about-access::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--fog-blue), var(--gold), var(--slate-blue));
}

.about-access__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-access__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

.about-access__info {
  margin-bottom: 2rem;
}

.about-access__address {
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.about-access__address-label {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--slate-blue);
  margin-right: 1rem;
}

.about-access__station {
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  color: var(--mid-gray);
}

.about-access__map {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.about-access__map iframe {
  width: 100%;
  height: 100%;
}

/* ======================================================
   事業内容セクション
   ====================================================== */
.business {
  position: relative;
  background: var(--dark-charcoal);
  color: var(--star-white);
  padding: 10rem 0;
  overflow: clip;
}

.business::before,
.business::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--bg-base);
  z-index: 2;
}

.business::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}

.business::after {
  bottom: -1px;
  clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
}

/* 背景巨大タイポ */
.business__bg-typo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-display);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(134, 162, 182, 0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.08em;
}

.business__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.business__header {
  text-align: center;
  margin-bottom: 5rem;
}

.business__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  color: var(--star-white);
}

.business__desc {
  font-family: var(--ff-serif);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 2.2;
  color: var(--silver-gray);
  max-width: 640px;
  margin: 0 auto;
}

.business__features {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

/* --- 事業紹介ブロック（交互レイアウト） --- */
.biz-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.biz-feature--reverse {
  direction: rtl;
}

.biz-feature--reverse > * {
  direction: ltr;
}

.biz-feature__img-area {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.biz-feature__img-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.15), transparent 60%);
  pointer-events: none;
}

.biz-feature__img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.1s linear;
  will-change: transform;
}

.biz-feature__body {
  display: flex;
  flex-direction: column;
}

.biz-feature__number {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(134, 162, 182, 0.12);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.biz-feature__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fog-blue);
  border-radius: 50%;
  color: var(--fog-blue);
  margin-bottom: 1.5rem;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}

.biz-feature:hover .biz-feature__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-charcoal);
}

.biz-feature__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--star-white);
}

.biz-feature__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.75rem;
}

.biz-feature__summary {
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.biz-feature__detail {
  font-family: var(--ff-serif);
  font-size: clamp(0.85rem, 1vw, 0.92rem);
  line-height: 2.2;
  color: var(--silver-gray);
  letter-spacing: 0.02em;
}

/* ======================================================
   ニュースセクション
   ====================================================== */
.news {
  position: relative;
  background: var(--bg-base);
  padding: 8rem 0;
  overflow: hidden;
}

.news__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.news__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.news__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--fog-blue);
  margin-top: 1rem;
}

.news__list {
  display: flex;
  flex-direction: column;
}

.news__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 1rem;
  border-bottom: 1px solid var(--silver-gray);
  border-radius: 2px;
  transition: background 0.4s, padding-left 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.news__item:hover {
  background: rgba(163, 184, 200, 0.06);
  padding-left: 1.5rem;
  box-shadow: inset 3px 0 0 var(--gold);
}

.news__item:first-child {
  border-top: 1px solid var(--silver-gray);
}

.news__date {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--slate-blue);
  flex-shrink: 0;
  min-width: 90px;
}

.news__tag {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--fog-blue);
  color: var(--fog-blue);
  border-radius: 2px;
  flex-shrink: 0;
  text-align: center;
  min-width: 64px;
}

.news__tag--recruit {
  border-color: var(--gold);
  color: var(--gold);
}

.news__title {
  font-family: var(--ff-serif);
  font-size: 0.9rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.section-label--light {
  color: var(--fog-blue);
}

/* ======================================================
   ヘッダーナビ アクセントリンク（Recruit）
   ====================================================== */
.header__nav-link--accent {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.35rem 1rem;
  border-radius: 2px;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.header__nav-link--accent::after { display: none; }

.header__nav-link--accent:hover {
  color: var(--dark-charcoal);
  background: var(--gold);
}

.mobile-menu__link--accent {
  color: var(--gold) !important;
}

/* ======================================================
   サブページ共通
   ====================================================== */
.page-sub {
  background: var(--bg-base);
}

.header--sub {
  background: rgba(247, 246, 243, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* --- ページヒーロー --- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 5rem) 0 5rem;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--dark-charcoal) 0%, var(--mid-gray) 100%);
  z-index: 0;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(199, 168, 118, 0.08) 60%, transparent 80%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--star-white);
  margin-bottom: 1.25rem;
}

.page-hero__lead {
  font-family: var(--ff-serif);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 2.2;
  color: var(--silver-gray);
}

/* ======================================================
   採用情報 詳細ページ（テーブル形式）
   ====================================================== */
.recruit-detail {
  padding: 6rem 0 8rem;
}

.recruit-detail__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.recruit-detail__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

.recruit-detail__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 1rem;
}

.recruit-detail__table {
  display: flex;
  flex-direction: column;
}

.recruit-detail__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--silver-gray);
  align-items: baseline;
}

.recruit-detail__row:first-child {
  border-top: 1px solid var(--silver-gray);
}

.recruit-detail__dt {
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--slate-blue);
}

.recruit-detail__dd {
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.recruit-detail__cta {
  text-align: center;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--silver-gray);
}

.recruit-detail__cta-text {
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  color: var(--mid-gray);
  margin-bottom: 2rem;
}

.recruit-detail__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dark-charcoal);
  background: var(--gold);
  padding: 1.1rem 3rem;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s var(--ease-out-back), box-shadow 0.3s;
}

.recruit-detail__cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199, 168, 118, 0.3);
}

.recruit-detail__cta-btn svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.recruit-detail__cta-btn:hover svg {
  transform: translateX(4px);
}

/* ======================================================
   エントリー方法ページ（縦並びカード）
   ====================================================== */
.entry-page {
  padding: 5rem 0 8rem;
}

.entry-page__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.entry-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: white;
  border: 1px solid var(--silver-gray);
  border-radius: 2px;
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.entry-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
}

.entry-card__icon-wrap {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fog-blue), var(--slate-blue));
  color: white;
  transition: background 0.3s;
}

.entry-card:hover .entry-card__icon-wrap {
  background: linear-gradient(135deg, var(--gold), var(--antique-beige));
}

.entry-card__body {
  flex: 1;
  min-width: 0;
}

.entry-card__title {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.entry-card__address {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--slate-blue);
  margin-bottom: 0.4rem;
  word-break: break-all;
}

.entry-card__desc {
  font-family: var(--ff-serif);
  font-size: 0.82rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

.entry-card__arrow {
  flex-shrink: 0;
  color: var(--silver-gray);
  transition: color 0.3s, transform 0.3s var(--ease-out-expo);
}

.entry-card:hover .entry-card__arrow {
  color: var(--gold);
  transform: translateX(4px);
}

.entry-page__back {
  text-align: center;
  margin-top: 2rem;
}

.entry-page__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  color: var(--mid-gray);
  transition: color 0.3s;
}

.entry-page__back-link:hover {
  color: var(--gold);
}

.entry-page__back-link svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.entry-page__back-link:hover svg {
  transform: translateX(-4px);
}

/* ======================================================
   コンタクトセクション
   ====================================================== */
.contact {
  position: relative;
  background: var(--mid-gray);
  color: var(--star-white);
  padding: 8rem 0;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--slate-blue), var(--fog-blue));
}

.contact__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.contact__heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  color: var(--star-white);
}

.contact__lead {
  font-family: var(--ff-serif);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 2.2;
  color: var(--silver-gray);
  margin-bottom: 3rem;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 640px;
  margin: 0 auto;
}

.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out-expo);
}

.contact__card:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(199, 168, 118, 0.15);
}

.contact__card-icon {
  color: var(--fog-blue);
  margin-bottom: 1.25rem;
  transition: color 0.3s;
}

.contact__card:hover .contact__card-icon {
  color: var(--gold);
}

.contact__card-label {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog-blue);
  margin-bottom: 0.5rem;
}

.contact__card-value {
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  color: var(--star-white);
  word-break: break-all;
}

/* ======================================================
   トップへ戻るボタン（フッター内）
   ====================================================== */

/* ======================================================
   フッター（全色統合）
   ====================================================== */
.footer {
  background: var(--dark-charcoal);
  color: var(--silver-gray);
  padding: 4rem 0 2rem;
  overflow: hidden;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.85;
}

.footer__brand-name {
  font-family: var(--ff-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-light);
}

.footer__nav-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__nav-link {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-gray);
  transition: color 0.3s;
}

.footer__nav-link:hover { color: var(--gold); }

.footer__sns {
  margin-top: 0.2rem;
}

.footer__sns-link {
  color: var(--silver-gray);
  transition: color 0.3s, transform 0.3s var(--ease-out-back);
  display: inline-flex;
}

.footer__sns-link:hover {
  color: var(--gold);
  transform: scale(1.1);
}

.footer__back-to-top {
  padding: 2rem 0;
  text-align: center;
}

.footer__back-to-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-gray);
  transition: color 0.3s;
}

.footer__back-to-top-link:hover {
  color: var(--gold);
}

.footer__bottom {
  padding-top: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__copy {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--mid-gray);
}

/* ======================================================
   スクロールアニメーション
   ====================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* バウンドパララックス（弾むスプリング） */
.reveal-bounce {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.6s var(--ease-out-expo),
              transform 0.8s var(--ease-spring);
}

.reveal-bounce.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* シャドウリフト */
.reveal-shadow {
  opacity: 0;
  transform: translateY(40px);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo),
              box-shadow 1.2s 0.3s var(--ease-out-expo);
}

.reveal-shadow.is-visible {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}

/* 対角線スライド */
.reveal-diagonal {
  opacity: 0;
  transform: translate(-30px, 30px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal-diagonal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* 左からスライドイン */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右からスライドイン */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}


/* ======================================================
   レスポンシブ
   ====================================================== */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .hamburger { display: flex; }

  .about__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .about-message__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-message__left { padding-top: 0; }

  .about-message__img-wrap {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }

  .footer__top {
    align-items: flex-start;
    gap: 2.5rem;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__nav-list {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .header__logo-text { font-size: 0.72rem; }

  .hero { min-height: 100vh; min-height: 100dvh; }

  .hero__brand-logo { width: clamp(100px, 18vw, 160px); }
  .hero__brand-text { font-size: clamp(2rem, 6vw, 3.5rem); }
  .statement { padding: 2.5rem 1.5rem 2rem; }
  .statement__desc br { display: none; }

  .about { padding: 3.5rem 0; }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about__img-area {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .about__text br { display: none; }

  .about-message { padding: 4rem 0 5rem; }
  .about-message__inner { gap: 2rem; }
  .about-message__typo-bg { font-size: 3.5rem; }
  .about-message__text br { display: none; }
  .about-message__img-accent { display: none; }

  .about-company { padding: 5rem 0; }
  .about-company__row {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 1.2rem 0;
  }

  .about-access { padding: 5rem 0; }
  .about-access__map { aspect-ratio: 4 / 3; }

  .business { padding: 6rem 0; }
  .business__features { gap: 4rem; }
  .biz-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .biz-feature--reverse { direction: ltr; }
  .biz-feature__img-area { aspect-ratio: 16 / 9; }
  .biz-feature__img { height: 100%; }

  .business::before,
  .business::after { height: 50px; }

  .news { padding: 5rem 0; }
  .news__item {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  .news__date { min-width: auto; }

  .contact { padding: 5rem 0; }
  .contact__cards { grid-template-columns: 1fr; }
  .contact__lead br { display: none; }

  .page-hero { padding: calc(var(--header-h) + 3rem) 0 3rem; }
  .page-hero__lead br { display: none; }

  .recruit-detail { padding: 4rem 0 5rem; }
  .recruit-detail__row {
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    padding: 1.2rem 0;
  }

  .entry-card {
    padding: 1.5rem;
    gap: 1rem;
  }
  .entry-card__icon-wrap { width: 48px; height: 48px; }
  .entry-card__icon-wrap svg { width: 24px; height: 24px; }

}

@media (max-width: 480px) {
  .business__desc br { display: none; }
  .business__bg-typo { font-size: 4rem; }

  .recruit-detail__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .recruit-detail__dt {
    padding-bottom: 0;
  }
  .recruit-detail__cta-btn { padding: 0.9rem 1.8rem; font-size: 0.88rem; }
}

/* ======================================================
   アクセシビリティ
   ====================================================== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}
