@charset "UTF-8";

/* ============================================================
   IRON BASE / shell
   全ページ共通のヘッダー・ドロワー・フッター・ボタン。

   下層ページでは旧 style.css の後に読み込まれる。旧CSSの
   グローバル指定（a の色、ul の余白など）に負けないよう、
   このファイルのセレクタは自分の要素に対して必要な値を
   すべて明示している。継承に頼らない。
   ============================================================ */

:root {
  --ink:        #0B0C0E;
  --steel:      #131519;
  --line:       rgba(244, 242, 237, .13);
  --line-soft:  rgba(244, 242, 237, .07);
  --mute:       #8E949C;
  --chalk:      #F4F2ED;
  --ember:      #E07A28;
  --ember-hot:  #F58F35;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-jp:      "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-body:    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --wrap:   1440px;
  --header: 76px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ember); color: var(--ink);
  padding: 12px 20px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

#top-sentinel { position: absolute; top: 0; height: 1px; width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wordmark {
  display: inline-block;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 112, "wght" 900;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--chalk);
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.site-header .btn,
.drawer .btn,
.cta .btn,
.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  padding: 15px 30px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .04em;
  border-radius: 0;
  border: 0;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--ember { background: var(--ember); color: var(--ink); }      /* 8.0:1 */
.btn--ember:hover { background: var(--ember-hot); color: var(--ink); transform: translateY(-2px); }
.btn--ember:active { transform: translateY(0) scale(.985); }

.btn--ghost {
  color: var(--chalk);
  background: rgba(11, 12, 14, .42);
  border: 1px solid rgba(244, 242, 237, .38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--chalk); background: rgba(11, 12, 14, .68); color: var(--chalk); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0) scale(.985); }

.btn--lg { padding: 20px 44px; font-size: 15px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header);
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(11, 12, 14, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
/* 透過ヘッダーが成立するのは、背後が暗いヒーローになるトップページだけ。
   下層ページは白背景なので、最上部から不透過にしないとロゴとナビが消える。 */
body:not(.home) .site-header {
  background: var(--ink);
  border-bottom-color: var(--line-soft);
}
.site-header__inner {
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.site-header__logo { margin: 0; padding: 0; font-size: inherit; line-height: 1; }
.site-header__logo a { text-decoration: none; display: inline-block; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.site-nav__list li { margin: 0; }
.site-nav__list a {
  position: relative;
  display: inline-block;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 600;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--chalk);
  text-decoration: none;
  padding-block: 6px;
}
.site-nav__list a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .4s var(--ease);
}
.site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left center; }

.burger { display: none; flex: 0 0 44px; width: 44px; height: 44px; margin-left: auto; position: relative; background: none; border: 0; padding: 0; cursor: pointer; }
.burger span {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--chalk);
  transition: transform .35s var(--ease), opacity .2s linear;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- drawer ---------- */
.drawer {
  position: fixed; inset: var(--header) 0 0 0; z-index: 119;
  background: var(--ink);
  padding: clamp(28px, 8vw, 56px) var(--gutter);
  display: flex; flex-direction: column; gap: 40px;
  overflow-y: auto;
  width: auto; height: auto;
  transform: none; opacity: 1; visibility: visible;
}
.drawer[hidden] { display: none; }
.drawer__nav ul { list-style: none; margin: 0; padding: 0; }
.drawer__nav li + li { border-top: 1px solid var(--line-soft); }
.drawer__nav a { display: flex; align-items: baseline; gap: 16px; padding: 22px 0; color: var(--chalk); text-decoration: none; }
.drawer__nav em {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 115, "wght" 900;
  font-weight: 900;
  font-size: 30px; font-style: normal; line-height: 1;
}
.drawer__nav span { font-size: 12px; color: var(--mute); letter-spacing: .1em; }
.drawer__cta { align-self: flex-start; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--f-body);
  padding-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line-soft);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.site-footer__logo { display: inline-block; text-decoration: none; }
.site-footer__logo .wordmark { font-size: clamp(28px, 3.4vw, 40px); }
.site-footer__addr { margin: 20px 0 0; font-size: 12.5px; line-height: 2.1; color: var(--mute); }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li + li { margin-top: 12px; }
.site-footer__nav a {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 600;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: none;
  transition: color .28s var(--ease);
}
.site-footer__nav a:hover { color: var(--ember); }
.site-footer__sns { display: flex; gap: 18px; }
.site-footer__sns a { color: var(--mute); display: inline-flex; transition: color .28s var(--ease), transform .28s var(--ease); }
.site-footer__sns a:hover { color: var(--ember); transform: translateY(-2px); }
.site-footer__copy {
  margin: 0;
  border-top: 1px solid var(--line-soft);
  padding: 24px var(--gutter);
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 500;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--mute);
  text-align: center;
}

.site-header :focus-visible,
.drawer :focus-visible,
.site-footer :focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__sns { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header: 64px; }
  /* .site-header .btn (0,2,0) が .site-header__cta (0,1,0) に勝つため、詳細度を合わせて隠す */
  .site-nav, .site-header .site-header__cta { display: none; }
  .burger { display: block; }
}

@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .site-footer__nav li + li { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .site-nav__list a::after, .burger span,
  .site-footer__nav a, .site-footer__sns a, .site-header .btn, .drawer .btn {
    transition-duration: .001ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-stuck { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn--ghost { background: rgba(11, 12, 14, .88); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
