*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #ffffff; --bg-alt: #eef1f6; --text: #111111; --text-sub: #555555;
  --white: #ffffff; --primary: #0f3d6e; --primary-dark: #0a1e3a; --accent: #d4582a;
  --sans: "Noto Sans JP", sans-serif; --serif: "Noto Serif JP", serif; --en: "Inter", sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); height: 96px; }
.header-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 0 0 4%; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark { height: 60px; width: auto; object-fit: contain; }
.logo-text .logo-name { font-size: 16px; font-weight: 700; letter-spacing: 0.08em; }
.logo-text .logo-sub { font-size: 10px; color: var(--text-sub); letter-spacing: 0.06em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; transition: color 0.3s; position: relative; padding-bottom: 6px; }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--accent); transition: width 0.3s, left 0.3s; }
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; left: 0; }
.header-right { display: flex; align-items: stretch; }
.header-btn { display: flex; align-items: center; justify-content: center; flex-direction: column; height: 96px; width: 140px; font-size: 16px; font-weight: 500; color: var(--white); letter-spacing: 0.08em; transition: opacity 0.3s; }
.header-btn:hover { opacity: 0.85; }
.header-btn-tel { background: transparent; color: var(--text); width: auto; padding: 0 28px; }
.header-btn-tel .tel-num { font-family: var(--en); font-size: 20px; font-weight: 700; }
.header-btn-tel .tel-time { font-size: 10px; color: var(--text-sub); }
.header-btn-contact { background: var(--primary); width: 160px; text-align: center; }
.header-btn-contact .btn-en { font-family: var(--en); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; }
.header-btn-contact .btn-jp { font-size: 11px; margin-top: 2px; }

.page-hero { margin-top: 96px; padding: 80px 0 60px; background-color: var(--primary-dark); background-image: linear-gradient(135deg, rgba(10,30,58,0.82), rgba(15,61,110,0.78)), url('../img/office-sign.jpg'); background-size: cover; background-position: center; color: var(--white); position: relative; overflow: hidden; }
.page-hero-inner { width: 90%; max-width: 1430px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-en { font-family: var(--en); font-size: 80px; font-weight: 900; color: rgba(255,255,255,0.06); line-height: 1; margin-bottom: -12px; }
.page-hero h1 { font-size: 36px; font-weight: 900; letter-spacing: 0.06em; }
.breadcrumb { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--white); }

/* ===== POLICY CONTENT ===== */
.policy-section { padding: 100px 0; }
.policy-inner { width: 90%; max-width: 860px; margin: 0 auto; }
.policy-block { margin-bottom: 48px; }
.policy-block h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.policy-block h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.policy-block p { font-size: 15px; line-height: 2; color: var(--text); }
.policy-block ul { margin: 12px 0 12px 24px; }
.policy-block li { font-size: 15px; line-height: 2; color: var(--text); }
.policy-date { text-align: right; font-size: 14px; color: var(--text-sub); margin-top: 60px; }

.footer { background-color: #0a1e3a; background-image: linear-gradient(to top, #0f3d6e, #0a1e3a); color: rgba(255,255,255,0.85); padding: 80px 0 40px; }
.footer-inner { width: 90%; max-width: 1430px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer-logo .f-name { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer-logo .f-tel { font-family: var(--en); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-logo p { font-size: 13px; line-height: 2; }
.footer-logo .f-meta { font-size: 11px; margin-top: 16px; line-height: 1.8; opacity: 0.8; }
.footer-nav h4 { font-size: 14px; color: var(--white); font-weight: 700; margin-bottom: 20px; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { font-size: 13px; transition: color 0.3s; }
.footer-nav a:hover { color: var(--white); }
.footer-copy { width: 90%; max-width: 1430px; margin: 48px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding-top: 24px; color: rgba(255,255,255,0.9); border-top: 1px solid rgba(255,255,255,0.15); }
.footer-copy-links { display: flex; gap: 16px; }
.footer-copy-links a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.footer-copy-links a:hover { color: var(--white); }

.side-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; }
.side-tab a { display: flex; align-items: center; gap: 8px; writing-mode: vertical-rl; text-orientation: mixed; background: var(--primary-dark); color: var(--white); padding: 16px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; transition: background 0.3s; border-radius: 6px 0 0 6px; box-shadow: -2px 0 12px rgba(0,0,0,0.15); }
.side-tab a:hover { background: var(--accent); }
.side-tab-img { writing-mode: horizontal-tb; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.5); }
.side-tab-img img { width: 100%; height: 100%; object-fit: cover; }

.scroll-progress { position: fixed; top: 96px; left: 0; right: 0; height: 3px; z-index: 99; background: rgba(0,0,0,0.05); }
.scroll-progress-bar { height: 100%; width: 0%; background: var(--accent); transition: width 0.1s; }

/* ===== HAMBURGER + MOBILE NAV ===== */
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; padding: 0; z-index: 101; margin-right: 20px; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text); position: absolute; left: 0; transition: all .3s; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); z-index: 100;
  flex-direction: column; align-items: center; gap: 0;
  padding-top: 96px; overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #333; font-size: 32px; cursor: pointer; line-height: 1; padding: 8px; z-index: 101; transition: color 0.2s; }
.mobile-nav-close:hover { color: var(--accent); }
.mobile-nav-logo { padding: 24px 0 16px; width: 100%; display: flex; justify-content: center; margin-bottom: 16px; }
.mobile-nav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; width: 90%; max-width: 400px; background: #ffffff; border-radius: 12px; overflow: hidden; }
.mobile-nav-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px 8px; background: #ffffff; color: #111; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; transition: background 0.2s; }
.mobile-nav-grid a:hover { background: #eef1f6; }
.mobile-nav-grid a svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.5; }
.mobile-nav-grid a.mn-wide { grid-column: span 2; flex-direction: row; gap: 12px; padding: 18px; font-size: 13px; }
.mobile-nav-tel { margin-top: 28px; text-align: center; }
.mobile-nav-tel a { font-family: var(--en); font-size: 26px; font-weight: 900; color: #0f3d6e; display: block; margin-bottom: 6px; letter-spacing: 0.02em; }
.mobile-nav-tel .tel-hours { font-size: 11px; color: var(--text-sub); }
.mobile-nav-cta { margin-top: 20px; margin-bottom: 32px; }
.mobile-nav-cta a { display: inline-block; background: var(--accent); color: var(--white); font-size: 14px; font-weight: 700; padding: 14px 44px; letter-spacing: 0.06em; border-radius: 4px; transition: opacity 0.3s; }
.mobile-nav-cta a:hover { opacity: 0.85; }
@media (max-width: 1024px) { .nav { display: none; } .hamburger { display: block; } .scroll-progress { top: 64px; } }
@media (max-width: 767px) {
  .header { height: 64px; } .mobile-nav { padding-top: 64px; } .header-btn { height: 64px; width: 100px; } .header-btn-tel { display: none; } .header-btn-contact { display: none; }
  .page-hero { margin-top: 64px; padding: 60px 0 50px; } .page-hero-en { font-size: 48px; } .page-hero h1 { font-size: 26px; }
  .policy-section { padding: 60px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .side-tab { display: none; }
  .scroll-progress { top: 64px; }
}