/*
Theme Name: kotohogi-BE
Theme URI:
Author: ブランドの編集室
Author URI:
Description: ブランドの編集室 公式 WordPress テーマ
Version: 0.1.0
Text Domain: kotohogi-be
*/

/* =============================================================
   レイアウト幅 / フォント オーバーライド
   (henshushitsu-starter.css の変数をここで上書き)
   ============================================================= */
:root {
  --inner-w: 820px;
  --wide-w:  1120px;
  --outfit:  'Outfit', 'Helvetica Neue', Arial, sans-serif;
   --body:    #222222;
  /* --body:    #2a3440; */
  --serif:   'Zen Old Mincho', 'Yu Mincho', '游明朝', 'Hiragino Mincho ProN', serif;
}

/* リンク色 */
a { color: #5b7a9d; }
a:hover { opacity: .75; }

/* レスポンシブ改行 */
.br-sp { display: none; }
@media (max-width: 768px) {
  .br-sp { display: initial; }
  .br-pc { display: none; }
}

/* p 要素を明朝体に統一 */
p {
  font-family: var(--serif);
  letter-spacing: .22em;
}

/* 見出しサイズ拡大（フォントはvar(--serif) = Zen Old Minchoを継承） */
h1 { font-size: clamp(34px, 5.5vw, 52px); }
h2 { font-size: clamp(24px, 3.8vw, 34px); }

/* Cinzel: キッカー共通 */
.kicker {
  font-family: var(--outfit);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: 13px;
}

/* Cinzel: ナビ */
.site-nav a,
.site-logo {
  font-family: var(--outfit);
}

/* =============================================================
   サイトヘッダー / ナビ
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 101;
  background: transparent;
  padding: 0 60px;
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.site-logo {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .22em;
  color: var(--ink);
  text-decoration: none;
  transition: color .35s ease;
}


/* ナビオーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: #F8F8F8;
  background-image: linear-gradient(rgba(255,255,255,0.32), rgba(255,255,255,0.32)),
                    url(img/common/bg01.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 8vw 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  z-index: 100;
  overflow-y: auto;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1080px;
}
.nav-col { display: flex; flex-direction: column; }
.nav-sec { margin-bottom: 52px; }

.nav-sec__en {
  display: block;
  font-family: var(--outfit);
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: .2em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  margin-bottom: 10px;
}
.nav-sec__en--nolink { cursor: default; }
a.nav-sec__en:hover { opacity: .5; }

a.nav-sec--block {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.nav-sec--block:hover { opacity: .5; }

.nav-sec__ja {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--sub);
  margin: 0 0 16px;
  line-height: 1;
}
.nav-sub {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.nav-sub li { margin-bottom: 18px; }
.nav-sub a {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--sub);
  text-decoration: none;
  line-height: 1.5;
  transition: color .25s ease;
}
.nav-sub a::before { content: "－　"; }
.nav-sub a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav-overlay { padding: 100px 7vw 60px; align-items: flex-start; }
  .nav-overlay__inner { grid-template-columns: 1fr; gap: 0; }
  .nav-sec { margin-bottom: 36px; }
  .nav-sec__en { font-size: 20px; }
}

/* ハンバーガー: 常時表示 */
.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 64px;
  height: 1.5px;
  background: var(--ink);
  margin: 12px 0;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(20px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 720px) {
  .site-header { padding: 0 24px; }
  .fp-hero__inner,
  .fp-case__inner,
  .fp-column__inner { padding: 0 24px; }
}

/* =============================================================
   セクション共通
   ============================================================= */
.section { padding: var(--section-pad) 0; }
.section--hero { padding: 100px 0 80px; }
.section--contact { padding: 80px 0 100px; text-align: center; }

.contact-line {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .12em;
  margin-bottom: 36px;
}

/* 関連リンク(cross) */
.cross {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cross-item {
  flex: 1;
  background: var(--paper);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: background .3s ease;
}
.cross-item:hover { background: var(--bg); }
.cross-item .cnum { font-size: 10px; letter-spacing: .25em; color: var(--sub); margin-bottom: 12px; }
.cross-item .ct   { font-family: var(--serif); font-size: 14px; line-height: 1.9; letter-spacing: .06em; }
@media (max-width: 640px) { .cross { flex-direction: column; } }

/* バッジ */
.badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--sub);
  border: 1px solid var(--line);
  padding: 4px 12px;
  margin-bottom: 28px;
}

/* アウトカムリスト */
.out {
  font-size: 13.5px;
  line-height: 2.2;
  letter-spacing: .05em;
  color: var(--body);
  padding: 14px 0;
  border-bottom: 1px solid #e3ebf1;
}
.out:last-of-type { border-bottom: none; }
.out-note {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 2.4;
  color: var(--ink);
  margin-top: 36px;
}

/* =============================================================
   スクロールアニメーション
   ============================================================= */

/*
  data-anim で3パターン切り替え可:
    data-anim="fade"  — ふわっと上から (デフォルト)
    data-anim="slide" — 左からスライドイン
    data-anim="zoom"  — じわっと拡大
  data-stagger 属性を親に付けると子要素が順番にアニメーション
*/

[data-anim] {
  opacity: 0;
  transition: opacity .78s ease;
}

[data-anim].is-inview {
  opacity: 1;
}

/* stagger: 子要素が個別に is-inview を受け取る */
[data-stagger] > * {
  opacity: 0;
  transition: opacity .68s ease;
}
[data-stagger] > *.is-inview {
  opacity: 1;
}

/* 動きが苦手な人への配慮 */
@media (prefers-reduced-motion: reduce) {
  [data-anim],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- CTA リンク（矢印伸長） ---------- */
.cta-link {
  display: inline-block;
  position: relative;
  font-size: 16.5px;
  letter-spacing: .25em;
  color: var(--ink);
  text-decoration: none;
}
.cta-arrow {
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 18px;
  transform: translateY(-50%);
  width: 32px;
  height: 1px;
  background: currentColor;
  transition: width .7s cubic-bezier(.25, .8, .25, 1);
}
/* 矢印の上側の斜め線 */
.cta-arrow::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 6px;
  height: 1px;
  background: currentColor;
  transform: rotate(38deg);
  transform-origin: right top;
}
/* 矢印の下側の斜め線 */
.cta-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 6px;
  height: 1px;
  background: currentColor;
  transform: rotate(-38deg);
  transform-origin: right bottom;
}
.cta-link:hover .cta-arrow {
  width: 80px;
}

/* =============================================================
   フッター（奥付）
   ============================================================= */
.okuduke {
  background: #1e2d3d;
  border-top: none;
}
.okuduke .rule {
  border-top-color: rgba(255,255,255,.2);
}
.okuduke .row {
  color: rgba(255,255,255,.8);
}
.okuduke .row .k {
  color: rgba(255,255,255,.6);
}
.okuduke a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  letter-spacing: .15em;
  font-size: 10px;
}
.okuduke a:hover {
  color: #fff;
  opacity: 1;
}
