/* ============================================================
   style.css — 共通スタイル
   Your Name. Portfolio & School Site
   ============================================================ */

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

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

:root {
  --navy:      #0f2547;
  --navy-mid:  #1a3a6b;
  --navy-lt:   #1e4d8c;
  --orange:    #f97316;
  --orange-lt: #fed7aa;
  --blue-acc:  #185fa5;
  --text:      #0f172a;
  --sub:       #475569;
  --muted:     #94a3b8;
  --bg:        #ffffff;
  --bg-s:      #f8fafc;
  --border:    #e2e8f0;
  --r-sm:      6px;
  --r-md:      12px;
  --r-lg:      20px;
  --r-xl:      28px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 18px;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title { font-size: 34px; font-weight: 700; line-height: 1.3; }
.section-sub { font-size: 18px; color: var(--sub); margin-top: 8px; }

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--r-lg);
  font-size: 16px;
  font-weight: 700;
  transition: opacity .2s;
  cursor: pointer;
}
.btn-primary:hover { opacity: .88; }

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--r-lg);
  font-size: 16px;
  font-weight: 500;
  transition: opacity .2s;
  cursor: pointer;
}
.btn-navy:hover { opacity: .85; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--r-lg);
  font-size: 16px;
  background: rgba(255,255,255,0.08);
  transition: background .2s;
  cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.16); }

.btn-border {
  display: inline-block;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 11px 24px;
  border-radius: var(--r-lg);
  font-size: 15px;
  transition: border-color .2s, color .2s;
}
.btn-border:hover { border-color: var(--navy); color: var(--navy); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #070d1a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.nav-logo-mark {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  border: 1px solid rgba(249,115,22,0.55);
  color: var(--orange);
  background: transparent;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all .2s;
}
.nav-cta:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ── PAGE HERO (内ページ用) ── */
.page-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  color: #fff;
}
.page-hero .eyebrow { color: var(--orange-lt); }
.page-hero h1 { font-size: 44px; font-weight: 700; line-height: 1.25; margin-top: 8px; }
.page-hero p { font-size: 18px; color: #8ab4e0; margin-top: 12px; max-width: 560px; }

/* ── FOOTER ── */
.footer { background: #060f1e; padding: 44px 0 32px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-size: 17px; font-weight: 700; color: #c0d8f0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: #4a6a8a; transition: color .2s; }
.footer-nav a:hover { color: #8ab4e0; }
.footer-copy { font-size: 12px; color: #1e3a5a; margin-top: 24px; text-align: center; }

/* ── CARD ── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.09); transform: translateY(-2px); }

/* ── TAG / BADGE ── */
.tag {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: var(--r-lg);
  font-size: 13px;
  color: var(--sub);
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-lg);
  font-size: 13px;
  font-weight: 500;
}
.badge-blue { background: #e6f1fb; color: var(--blue-acc); }
.badge-orange { background: #fff4ed; color: var(--orange); }
.badge-green { background: #eaf3de; color: #3b6d11; }
.badge-purple { background: #eeedfe; color: #534ab7; }

/* ── SECTION SPACING ── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-bg { background: var(--bg-s); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .page-hero h1 { font-size: 28px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 24px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .page-hero { padding: 48px 0 40px; }
}
