:root {
  --primary:#1b6bff;
  --primary-dark:#0c3ccc;
  --primary-light:#4aa8ff;
  --accent:#ff4b4b;
  --orange:#ffb74d;
  --orange-soft:#fff5e1;
  --ink:#0b1b3a;
  --text:#334155;
  --muted:#627296;
  --line:rgba(11,27,58,0.12);
  --bg:#ffffff;
  --white:#ffffff;
  --container:min(1120px, 92vw);
  --brand:#1b6bff;
  --brand-600:#0c3ccc;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  font-family:"Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

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

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

a:hover {
  text-decoration:underline;
  text-underline-offset:2px;
}

address {
  font-style:normal;
}

.container {
  width:var(--container);
  margin:0 auto;
}

.aw {
  display:flex;
  min-height:100vh;
  flex-direction:column;
}

main.aw-static {
  flex:1;
  padding:60px 0 80px;
}

.aw-legal {
  width:var(--container);
  margin:0 auto;
  padding:0 24px 40px;
  background:var(--white);
  border-radius:18px;
  border:1px solid rgba(11,27,58,0.1);
  box-shadow:0 14px 40px rgba(15,23,42,0.08);
}

.aw-legal header {
  margin-bottom:28px;
  border-bottom:1px solid var(--line);
  padding-bottom:22px;
}

.aw-legal h1 {
  margin:0;
  font-size:clamp(24px, 4vw, 32px);
  color:var(--ink);
}

.aw-legal time {
  font-size:14px;
  color:var(--muted);
}

.aw-legal h2 {
  font-size:clamp(18px, 3vw, 22px);
  color:var(--ink);
  margin:32px 0 12px;
}

.aw-legal h3 {
  font-size:clamp(16px, 2.6vw, 20px);
  color:var(--ink);
  margin:26px 0 10px;
}

.aw-legal p {
  margin:0 0 16px;
}

.aw-legal ul,
.aw-legal dl {
  margin:0 0 18px 0;
  padding:0;
}

.aw-legal ul {
  padding-left:1.2em;
}

.aw-legal li {
  margin:6px 0;
}

.aw-legal dl {
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px 20px;
  background:#f8fbff;
}

.aw-legal dt {
  font-weight:700;
  margin-top:16px;
  color:var(--ink);
}

.aw-legal dt:first-of-type {
  margin-top:0;
}

.aw-legal dd {
  margin:6px 0 0 0;
}

.aw-legal .aw-note {
  color:var(--muted);
  font-size:14px;
  margin-top:26px;
}

header.global-header {
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter:saturate(140%) blur(12px);
  background:rgba(255,255,255,0.92);
  border-bottom:1px solid rgba(16,40,120,0.08);
  box-shadow:0 6px 18px rgba(12,34,96,0.08);
}

.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:70px;
}

.brand {
  display:inline-flex;
  align-items:center;
}

.brand img {
  height:42px;
  width:auto;
  display:block;
}

nav.header-nav {
  display:none;
}

.header-cta {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
  margin-left:auto;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 18px;
  border-radius:14px;
  font-weight:700;
  transition:.2s ease;
  border:1px solid transparent;
  white-space:nowrap;
  cursor:pointer;
}

.btn:hover {
  transform:translateY(-1px);
  filter:brightness(1.02);
  text-decoration:none;
}

.btn-ghost {
  background:var(--white);
  border-color:rgba(27,107,255,0.24);
  color:var(--primary);
}

.btn-primary {
  background:linear-gradient(150deg, #1651d8 0%, #1f77ff 50%, #63b4ff 100%);
  color:var(--white);
  box-shadow:0 14px 28px rgba(27,107,255,0.28);
}

.global-footer {
  background:rgba(255,255,255,0.95);
  border-top:1px solid rgba(16,40,120,0.08);
  padding:28px 0;
  font-size:13px;
  box-shadow:0 -8px 24px rgba(9,32,96,0.08);
}

.footer-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-nav {
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  font-weight:600;
}

.footer-nav a {
  color:var(--ink);
  text-decoration:none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration:underline;
}

.footer-copy {
  color:rgba(11,27,58,0.55);
  font-weight:600;
}

@media (max-width: 1024px) {
  .header-cta {
    margin-left:0;
    gap:10px;
    flex-wrap:nowrap;
    justify-content:center;
  }
}

@media (max-width: 768px) {
  main.aw-static {
    padding:40px 0 60px;
  }

  .aw-legal {
    border-radius:14px;
    box-shadow:0 12px 30px rgba(15,23,42,0.08);
  }

  .aw-legal header {
    margin-bottom:20px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height:68px;
    padding:12px 0;
    flex-wrap:nowrap;
    gap:10px;
  }

  .header-cta {
    order:0;
    width:auto;
    justify-content:flex-end;
    gap:8px;
    align-items:center;
    flex-wrap:nowrap;
  }

  .brand img {
    height:36px;
  }

  .header-cta .btn {
    padding:8px 14px;
    font-size:14px;
  }

  .footer-inner {
    align-items:flex-start;
  }
}

@media (max-width: 480px) {
  .btn {
    padding:9px 16px;
    font-size:14px;
  }

  .footer-inner {
    gap:12px;
  }

  .aw-legal {
    padding:0 16px 24px;
  }

  .aw-legal header {
    padding-bottom:16px;
  }
}
