/* フォントは各HTMLの<link>タグで読み込み（@importはレンダリングブロックのため廃止） */

:root {
  --orange:       #B5452A;
  --orange-light: #C8694A;
  --orange-deep:  #8C3420;
  --gold:         #A8875A;
  --warm-white:   #FAFAF8;
  --cream:        #F0EEEA;
  --brown-light:  #D6D0C8;
  --brown:        #7A6E62;
  --dark:         #1A1A18;
  --text:         #2A2A28;
  --text-muted:   #8A8680;
  --nav-h:        80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* カスタムカーソル */
.cursor {
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, background 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s ease, opacity 0.2s;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}
body:hover .cursor { opacity: 1; }

/* ナビゲーション */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: linear-gradient(to bottom, rgba(26,26,24,0.7), transparent);
  transition: background 0.5s, backdrop-filter 0.5s, box-shadow 0.5s;
}
nav.scrolled {
  background: rgba(26,26,24,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 24px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 4px 10px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled .nav-logo img {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.footer-brand .nav-logo img {
  height: 32px;
  width: auto;
  border-radius: 6px;
  border-color: rgba(255,255,255,0.15);
  background: #fff;
  padding: 3px 8px;
  box-shadow: none;
  filter: none;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  position: relative;
  padding: 8px 14px;
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  border-radius: 1px;
  background: var(--orange);
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1), right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover::after,
.nav-links a.active::after { left: 30%; right: 30%; }


.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 100px;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--orange-deep) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--warm-white);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--text);
  text-decoration: none;
  font-style: italic;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--orange); }

/* セクション共通 */
section { position: relative; overflow: hidden; }

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}

.section-title em {
  font-style: italic;
  color: var(--orange);
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-radius: 100px;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange-deep);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  border-radius: 100px;
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--warm-white);
}

/* アロー */
.btn-arrow::after {
  content: '→';
  transition: transform 0.3s;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* グリッドレイアウト */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* パンくずリスト */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 40px;
  padding-top: calc(var(--nav-h) + 12px);
  position: relative;
  z-index: 10;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 12px;
  color: var(--text-muted);
}
.breadcrumb li::before {
  content: '/';
  margin-right: 8px;
  color: var(--orange);
  opacity: 0.4;
}
.breadcrumb li:first-child::before {
  content: '';
  margin: 0;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--orange);
}
.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* フッター */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
/* ロゴ画像の反転は .footer-brand .nav-logo img の filter で対応 */
.footer-brand p {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
}
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 32px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* SNSアイコン（フッター） — 公式ガイドライン準拠 */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-links a {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
  overflow: hidden;
}
.social-links a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
/* Instagram: 公式マルチカラーアイコンを使用（29px以上） */
.social-links .sns-link-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-links .sns-link-instagram svg {
  width: 22px; height: 22px;
}
.social-links .sns-link-instagram svg path {
  fill: #fff;
}
/* LINE: 公式グリーン背景に白アイコン（公式指定色 #06C755） */
.social-links .sns-link-line {
  background: #06C755;
}
.social-links .sns-link-line svg {
  width: 22px; height: 22px;
}
.social-links .sns-link-line svg path {
  fill: #fff;
}

/* SNSアイコン共通（Instagram公式グラデーション / LINE公式グリーン） */
.sns-link-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.sns-link-line {
  background: #06C755;
}

/* SNSアイコン（インライン用） */
.sns-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.sns-icon-sm {
  width: 16px;
  height: 16px;
}

/* フェードイン共通クラス */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
}
.fade-right {
  opacity: 0;
  transform: translateX(40px);
}

/* デコレーション共通 */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* レスポンシブ */
@media (max-width: 768px) {
  /* カスタムカーソルをタッチデバイスで無効化 */
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none !important; }

  /* ナビゲーション */
  nav { padding: 0 16px; height: 64px; }
  :root { --nav-h: 64px; }
  .nav-logo img { height: 32px; padding: 3px 8px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* モバイルメニュー */
  .mobile-menu a { font-size: 28px; }
  .mobile-menu { gap: 28px; }

  /* ボタン */
  .btn { padding: 14px 28px; font-size: 12px; }

  /* コンテナ */
  .container { padding: 0 16px; }

  /* パンくずリスト */
  .breadcrumb { padding: 8px 16px; padding-top: calc(var(--nav-h) + 8px); }
  .breadcrumb ol { font-size: 11px; }

  /* フッター */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px 24px 0;
  }
  footer { padding: 60px 0 32px; }

  /* セクション共通 */
  .section-title { font-size: clamp(28px, 8vw, 48px); }
}