/* 共通スタイル: 色、文字、ヘッダー、セクション、フッター、下層ページの部品。ページだけの指定は css/<ページ>.css に書く */
:root {
  --bg: #0e0e0d;
  --bg-2: #161614;
  --text: #ecebe6;
  --text-sub: #9d9b93;
  --line: rgba(236, 235, 230, 0.16);
  --accent: #e3c547;
  --display: "Bebas Neue", "Noto Sans JP", sans-serif;
  --body: "Noto Sans JP", sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }

/* ヘッダー */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  transition: background 0.4s, padding 0.4s;
}
.header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(14, 14, 13, 0.82);
  backdrop-filter: blur(10px);
}
.header__logo-mark {
  width: 104px;
  color: var(--text);
}
.nav { display: flex; gap: 36px; }
.nav a {
  position: relative;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.08em;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s;
}
.nav a:hover::after { right: 0; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  background: none;
  border: 0;
}
.menu-button span {
  display: block;
  width: 26px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}
@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 0 var(--gutter);
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav a { font-size: 48px; }
  .is-menu-open .nav { opacity: 1; visibility: visible; }
  .menu-button { display: block; }
}

/* セクション共通 */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

/* 「More」などの英字リンク */
.more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.15em;
}
.more::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

/* フッターの上のお問い合わせの帯（お問い合わせページと404では出さない） */
.contact-cta {
  padding: clamp(64px, 10vw, 120px) var(--gutter);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.contact-cta__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 24px;
  align-items: end;
}
@media (min-width: 860px) {
  .contact-cta__inner { grid-template-columns: 1.4fr 2fr; }
}
.contact-cta__en {
  font-family: var(--display);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.85;
  color: var(--accent);
}
.contact-cta__title {
  font-size: clamp(16px, 1.2vw + 12px, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* フッター */
.footer {
  padding: clamp(64px, 10vw, 120px) var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 48px;
}
@media (min-width: 860px) {
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer__brand {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.9;
}
.footer__company { margin-top: 20px; font-weight: 700; }
.footer__text { color: var(--text-sub); font-size: 13px; }
.footer__nav li { font-size: 14px; line-height: 2.4; }
.footer__nav a { color: var(--text-sub); transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }
.copyright {
  max-width: var(--max);
  margin: 64px auto 0;
  font-size: 12px;
  color: var(--text-sub);
}

/* ---- 下層ページの共通部品 ---- */

/* 白い面: 下層ページでは黒い面と交互に置き、暗い写真が続いて重く見えないようにする */
.is-light {
  --text: #1c1b18;
  --text-sub: #5f5c54;
  --line: rgba(28, 27, 24, 0.16);
  --accent: #8f730f;
  color: var(--text);
  background: #f1efe8;
}

/* セクションの見出し（大きな英字＋日本語の見出し） */
.heading { margin-bottom: clamp(40px, 6vw, 72px); }
.heading__en {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.9;
}
.heading__title {
  margin-top: 16px;
  font-size: clamp(16px, 1.2vw + 12px, 22px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.heading__lead { margin-top: 20px; max-width: 46em; color: var(--text-sub); }

/* ページの見出し */
.page-hero {
  position: relative;
  height: min(72svh, 720px);
  min-height: 440px;
  overflow: hidden;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 13, 0.3) 30%, var(--bg));
}
.page-hero__inner {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(40px, 8vh, 96px);
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero__title {
  font-family: var(--display);
  font-size: clamp(96px, 16vw, 220px);
  font-weight: 400;
  line-height: 0.85;
}
.page-hero__sub {
  margin-top: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--text-sub);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }


/* 丸い枠のボタン */
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--text);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.button::after { content: "→"; }
.button:hover { color: var(--bg); background: var(--text); }

/* よくあるご質問 */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "";
  width: 14px;
  height: 14px;
  justify-self: end;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 0.3s;
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__label {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}
.faq__answer {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  padding: 0 32px 28px 0;
  color: var(--text-sub);
}

/* スクロールで要素をふわっと出す */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* 白抜きのロゴ（元ロゴの明るさから透明度を作り直したもの） */
.logo-mask {
  display: block;
  aspect-ratio: 600 / 210;
  background: url(/images/logo-white.png) center / contain no-repeat;
}
