@charset "UTF-8";
/* ============================================
   Dr.Fry サイト共通スタイル（ヘッダー・フッター・変数）
   ============================================ */

@font-face {
  font-family: "GenShinGothic P";
  src: url("../fonts/GenShinGothic-P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GenShinGothic P";
  src: url("../fonts/GenShinGothic-P-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GenShinGothic P";
  src: url("../fonts/GenShinGothic-P-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GenShinGothic P";
  src: url("../fonts/GenShinGothic-P-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Seravek Basic";
  src: url("../fonts/fonnts.com-Seravek_Basic.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --df-black: #1A1A1A;
  --df-ink: #3A3229;
  --df-orange: #E85D2C;
  --df-orange-dark: #C6431A;
  --df-gold: #E0A527;
  --df-cream: #FFF8F0;
  --df-cream-deep: #F5EBDD;
  --df-white: #FFFFFF;
  --df-line: rgba(26, 26, 26, 0.1);
  --df-font: "GenShinGothic P", "GenShinGothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
  --df-font-en: "Seravek Basic", "GenShinGothic P", sans-serif;
}

* { box-sizing: border-box; }

body {
  background-color: var(--df-cream);
  color: var(--df-black);
  font-family: var(--df-font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ---------- ヘッダー ---------- */
.df-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255, 248, 240, 0.92);
  border-bottom: 1px solid var(--df-line);
}
/* backdrop-filterは疑似要素側に付与する（.df-headerに直接付けると、
   Chromiumの仕様でposition:fixedの子孫(.df-nav等)の containing block が
   ヘッダー自身になってしまい、モバイルメニューが崩壊するため） */
.df-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.df-header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.df-header-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--df-font-en);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--df-black);
}

.df-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.df-header-logo span {
  color: var(--df-orange);
}

.df-header-logo small {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--df-ink);
  opacity: 0.7;
}

.df-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.df-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--df-black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.df-nav {
  display: flex;
}

.df-nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.df-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 4px;
}

.df-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--df-orange);
  transition: width 0.25s ease;
}

.df-nav-link:hover::after,
.df-nav-link._current::after {
  width: 100%;
}

.df-nav-link._current {
  color: var(--df-orange-dark);
}

@media (max-width: 860px) {
  .df-nav-toggle { display: flex; }

  .df-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--df-cream);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    padding: 24px;
    overflow-y: auto;
  }

  .df-nav.is-open { transform: translateY(0); }

  .df-nav-list {
    flex-direction: column;
    gap: 0;
  }

  .df-nav-list li {
    border-bottom: 1px solid var(--df-line);
  }

  .df-nav-link {
    display: block;
    padding: 18px 4px;
    font-size: 1.05rem;
  }
}

/* ---------- フッター ---------- */
.df-footer {
  border-top: 1px solid var(--df-line);
  padding: 40px 24px 28px;
  margin-top: 80px;
  text-align: center;
}

.df-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 0.85rem;
}

.df-footer-copy {
  font-size: 0.75rem;
  color: var(--df-ink);
  opacity: 0.6;
}

/* ---------- 共通パーツ：ダークヒーロー用オレンジウェーブ ---------- */
.df-hero-wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../image/common/fv-wave-white.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ---------- 共通パーツ ---------- */
.df-kicker {
  display: inline-block;
  font-family: var(--df-font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--df-orange-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
