/* ===== CSS Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/* ===== Design Tokens ===== */
:root {
  --bg: #faf9f7;
  --ink: #1a1a1a;
  --muted: #6b6560;
  --primary: #d4622a;
  --primary-dark: #b85321;
  --primary-light: #f8efe9;
  --secondary: #2d5a4d;
  --surface: #f5f3f0;
  --card: #ffffff;
  --border: #e8e4df;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --container: 1140px;
  --transition: 0.25s ease;
}

/* ===== Base ===== */
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px / 1.8 "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Layout ===== */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 16px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* SNS Icons */
.sns-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin-left: 8px;
}

.sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  transition: var(--transition);
}

.sns-link:hover {
  background: var(--border);
  transform: translateY(-2px);
}

.sns-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
}

/* Navigation */
.global-nav {
  margin-left: auto;
}

.global-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
}

.global-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.global-nav a:hover {
  background: var(--surface);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
}
.nav-toggle-btn {
  display: none;
  cursor: pointer;
}
.nav-toggle-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: var(--transition);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-toggle-btn {
    display: inline-block;
    margin-left: auto;
  }
  .global-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform var(--transition);
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .global-nav a {
    display: block;
    padding: 14px 16px;
    text-align: center;
  }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-toggle:checked ~ .global-nav {
    transform: translateY(0%);
  }
}

@media (max-width: 640px) {
  .sns-header {
    gap: 8px;
  }
  .sns-link {
    width: 32px;
    height: 32px;
  }
  .sns-img {
    width: 16px;
    height: 16px;
  }
  .brand-mark {
    height: 36px;
  }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 64px 0 48px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-block {
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.hero-block h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 12px;
  list-style: none;
  flex-wrap: wrap;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.badge-icon {
  color: var(--secondary);
  font-weight: 700;
}

.hero-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 480px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 32px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-visual img {
    max-height: 320px;
  }
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-body p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.list-check {
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== Feature Strip ===== */
.feature-strip {
  background: var(--secondary);
  padding: 56px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.feature {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin-bottom: 20px;
  color: #fff;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* ===== Flow ===== */
.flow {
  list-style: none;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: flow;
}

@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

.flow-item {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.flow-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.flow-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== About ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto 48px;
}

.about-text {
  text-align: center;
}

.about-lead {
  font-size: 17px;
  line-height: 2;
  margin-bottom: 32px;
  color: var(--ink);
}

.about-list {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  text-align: left;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.about-list-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== Partners ===== */
.partners-groups {
  display: grid;
  gap: 40px;
}

.partners-head {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  min-height: 64px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--secondary);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.partner-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.partner-rakuten {
  background: #bf0000;
}
.partner-axa {
  background: #003c71;
}
.partner-msal {
  background: #006e3a;
}
.partner-rakuten-mobile {
  background: #e30077;
}
.partner-iijmio {
  background: #0068b7;
}

/* ===== Policies ===== */
.policy-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .policy-panels {
    grid-template-columns: 1fr;
  }
}

.policy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.policy-card > summary {
  list-style: none;
}
.policy-card > summary::-webkit-details-marker {
  display: none;
}

.policy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--surface), var(--card));
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.policy-head:hover {
  background: var(--surface);
}

.policy-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy-title {
  font-weight: 700;
  font-size: 16px;
}

.policy-sub {
  font-size: 13px;
  color: var(--muted);
}

.policy-icon {
  color: var(--muted);
  transition: var(--transition);
}

.policy-card[open] .policy-icon {
  transform: rotate(180deg);
}

.policy-body {
  padding: 24px;
}

.policy-body > p {
  margin-bottom: 20px;
  line-height: 1.9;
  font-size: 14px;
}

.policy-list {
  padding-left: 24px;
  margin: 16px 0 24px;
}

.policy-list li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.8;
}

.policy-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.policy-box-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--secondary);
}

.policy-box p {
  font-size: 14px;
  line-height: 1.8;
}

.policy-def {
  margin-top: 16px;
}

.policy-def dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.policy-def dd {
  margin: 0 0 12px;
  font-size: 14px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq > summary {
  list-style: none;
}
.faq > summary::-webkit-details-marker {
  display: none;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
}

.faq summary:hover {
  background: var(--surface);
}

.faq-q {
  font-weight: 600;
  font-size: 15px;
  padding-right: 16px;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--muted);
  transition: var(--transition);
}

.faq[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* ===== CTA ===== */
.cta {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.cta-content > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.btn-cta {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  width: fit-content;
  margin-bottom: 24px;
}

.btn-cta:hover {
  background: var(--surface);
  border-color: var(--surface);
}

.cta-tel {
  color: rgba(255, 255, 255, 0.9);
}

.cta-tel a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  font-size: 20px;
}

.cta-hours {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.cta-map {
  position: relative;
}

.map-wrap {
  position: relative;
  height: 100%;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: saturate(1) contrast(1);
}

.btn-map {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #fff;
  color: var(--ink);
  border: none;
  padding: 10px 16px;
  font-size: 13px;
}

.btn-map:hover {
  background: var(--surface);
}

/* ===== Footer ===== */
.site-footer {
  background: #0f1114;
  color: #a0a8b5;
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.site-footer address {
  font-style: normal;
  line-height: 2;
  font-size: 14px;
}

.site-footer address a {
  color: #a0a8b5;
  text-decoration: none;
}

.site-footer address a:hover {
  color: #fff;
}

.footer-nav h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #a0a8b5;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  padding-top: 32px;
  border-top: 1px solid #1f2937;
}
