/* WEBSON — Brand tokens & shared styles */
:root {
  --navy: #1e2e5e;
  --navy-2: #2a3c70;
  --navy-deep: #16234a;
  --yellow: #f6d75a;
  --yellow-2: #f4cb3a;
  --yellow-soft: #fef3c2;
  --yellow-cream: #fdf6d8;
  --blue-soft: #e8edf6;
  --blue-tint: #f1f4fa;
  --cream: #fbfaf5;
  --paper: #ffffff;
  --ink: #1e2e5e;
  --text: #2a2e3c;
  --muted: #6a7187;
  --line: #e6e6e6;
  --green-pin: #5a8a5a;
  --max: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
button { font-family: inherit; cursor: pointer; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__logo {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--navy);
  display: grid; place-items: center;
  overflow: hidden;
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__name {
  font-weight: 900;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: 0.08em;
}
.brand__tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
  font-weight: 500;
}
.brand__stack { display: flex; flex-direction: column; line-height: 1.2; }

.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
}
.nav a {
  padding: 8px 14px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--navy);
  border-radius: 8px;
  letter-spacing: 0.04em;
}
.nav a:hover { background: var(--blue-soft); text-decoration: none; }
.nav a.is-active { color: var(--navy); font-weight: 700; }
.nav a.is-active::after {
  content: ""; display: block; height: 2px; background: var(--yellow);
  margin-top: 3px; border-radius: 2px;
}

.nav-cta {
  margin-left: 10px;
  padding: 10px 18px !important;
  background: var(--navy);
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--navy-deep) !important; }

.menu-toggle { display: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 6px 0 -2px var(--yellow);
}
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary {
  background: var(--yellow); color: var(--navy);
  box-shadow: 0 4px 14px rgba(30,46,94,0.10);
}
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}

/* ===== Container ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--blue-tint); }
.section--cream { background: var(--cream); }
.section--yellow { background: var(--yellow-soft); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: var(--navy);
  background: var(--yellow);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--navy);
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.section-title .mark {
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
  padding: 0 2px;
}
.section-lede {
  font-size: 16px;
  color: var(--text);
  max-width: 56ch;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #d6dbeb;
  padding: 60px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--yellow) 0 30%, transparent 30% 50%, var(--yellow) 50% 80%, transparent 80%);
}
.footer-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 10px; }
.footer-brand strong { color: #fff; font-size: 18px; letter-spacing: 0.06em; }
.footer-tag { font-size: 13px; color: #aab3cf; line-height: 1.7; }
.footer-col h4 {
  font-size: 13px; color: #fff; margin: 0 0 14px;
  letter-spacing: 0.1em; font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #c1c8df; font-size: 14px; }
.footer-col a:hover { color: var(--yellow); text-decoration: none; }
.footer-contact { font-size: 14px; line-height: 1.9; }
.footer-contact a { color: #fff; }
.footer-legal {
  max-width: var(--max); margin: 40px auto 0; padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; color: #8a93b0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ===== Hand-drawn yellow loop motif (SVG decoration) ===== */
.loop-bg {
  position: absolute; pointer-events: none; z-index: 0;
  opacity: 0.55;
}

/* ===== Floating LINE / contact ribbon ===== */
.ribbon {
  background: #fff;
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: 0 8px 30px rgba(30,46,94,0.08);
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--line);
}
.ribbon .leaf { color: #5a8a5a; }

/* ===== Pagination ===== */
.pager {
  display: flex; justify-content: center; gap: 6px; margin-top: 40px;
}
.pager a, .pager span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-weight: 600; font-size: 14px;
  background: #fff; color: var(--navy);
  border: 1px solid var(--line);
}
.pager a:hover { background: var(--yellow-soft); text-decoration: none; }
.pager .is-current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== Mobile ===== */
@media (max-width: 880px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px; gap: 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open a { padding: 12px 14px; }
  .menu-toggle {
    display: inline-flex; margin-left: auto;
    width: 40px; height: 40px; border-radius: 8px;
    align-items: center; justify-content: center;
    background: var(--blue-soft); border: none; color: var(--navy);
  }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; }
}
