/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e0e0e0;
  --gray-text: #666666;
  --font-serif: 'Noto Serif JP', 'Georgia', serif;
  --font-sans: 'Noto Sans JP', 'Helvetica Neue', sans-serif;
  --header-h: 64px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: light only;
}

body {
  font-family: var(--font-sans);
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ダークモード完全無効化 */
@media (prefers-color-scheme: dark) {
  html { color-scheme: light; }
  body { background-color: #ffffff !important; color: #1a1a1a !important; }
  * { color: inherit; background-color: inherit; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== HEADER ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: var(--header-h);
  border-bottom: 1px solid var(--gray-mid);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo img { height: 38px; width: auto; }

.logo-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gray-text);
}

/* ===== NAV (PC) ===== */
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 13px;
  color: var(--black);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.site-nav a:hover { opacity: 0.5; }

.site-nav a.active {
  border-bottom: 1.5px solid var(--black);
  padding-bottom: 1px;
}

.btn-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.btn-cta:hover { opacity: 0.7 !important; border-bottom: none !important; }

/* ===== HAMBURGER (SP/TAB) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 300;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: var(--header-h);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--black);
  width: 100%;
  max-width: 320px;
  padding: 18px 0;
  text-align: center;
  border-bottom: 1px solid var(--gray-mid);
}

.mobile-menu .btn-cta {
  margin-top: 32px;
  background: var(--black);
  color: var(--white) !important;
  border-radius: 2px;
  border-bottom: none !important;
  padding: 14px 32px;
  font-size: 14px;
  max-width: 280px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--font-sans);
}

.btn-primary:hover { opacity: 0.75; }

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 48px;
}

/* ===== PAGE WRAPPER ===== */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 34px; filter: invert(1); }
.footer-logo-name { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.footer-logo-tagline { font-size: 11px; color: #999; margin-top: 2px; }
.footer-copy { font-size: 11px; color: #777; }

.footer-sns { display: flex; align-items: center; gap: 8px; }
.footer-sns a {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--white);
  transition: opacity 0.2s;
}
.footer-sns a:hover { opacity: 0.7; }
.footer-sns-handle { font-size: 11px; color: #888; }

/* ===== HAMBURGER JS ===== */
/* toggled via JS: body.menu-open */
body.menu-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   PC:      1025px〜
   Tablet:  769px〜1024px
   SP:      〜768px
   ============================================================ */

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .site-header { padding: 0 24px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; }
  .site-footer { padding: 24px 24px; }
  .section-title { font-size: 24px; }
}

/* ---------- Tablet以下: ハンバーガー ---------- */
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .section-title { font-size: 20px; margin-bottom: 28px; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }

  .footer-copy { font-size: 10px; }
}

/* ---------- SP ---------- */
@media (max-width: 480px) {
  .btn-primary { font-size: 13px; padding: 12px 20px; }
}
