/* ------------------------------
   Base
------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    "Yu Gothic", "Meiryo", sans-serif;
  background: #fffdf7;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

/* ------------------------------
   Header
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0e6c8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 18px;
}

.logo-icon {
  font-size: 22px;
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.nav a {
  padding: 4px 8px;
  border-radius: 999px;
}

.nav a:hover {
  background: #f9c74f33;
}

/* ------------------------------
   Buttons
------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-primary {
  background: #ff7a5a;
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 122, 90, 0.4);
}

.btn-primary:hover {
  background: #ff6a45;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: #4d9de0;
  border: 1px solid #4d9de0;
}

.btn-secondary:hover {
  background: #f0f7ff;
}

.btn-outline {
  border: 1px solid #4d9de0;
  color: #4d9de0;
  background: transparent;
  padding: 8px 16px;
}

.btn-outline:hover {
  background: #4d9de0;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #4d9de0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background: #f7fbff;
}

/* ------------------------------
   Sections
------------------------------ */

.section {
  padding: 60px 0;
}

.section-muted {
  background: #fff7e5;
}

.section-accent {
  background: #e9f3ff;
}

.section-cta {
  background: linear-gradient(135deg, #4d9de0, #3b7bb3);
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: 26px;
  text-align: center;
  margin: 0 0 20px;
}

.section-title-light {
  color: #fff;
}

.section-lead {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 640px;
  color: #555;
}

.section-lead-light {
  color: #f5f9ff;
}

/* ------------------------------
   Hero
------------------------------ */

.hero {
  padding: 70px 0 60px;
  background: radial-gradient(circle at top left, #f9c74f55, transparent 60%),
    #fffdf7;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff7e5;
  color: #b07a00;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 30px;
  margin: 0 0 14px;
  line-height: 1.4;
}

.hero-sub {
  margin: 0 0 18px;
  color: #555;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-note {
  font-size: 12px;
  color: #777;
}

/* ------------------------------
   Web Mock (Hero Visual)
------------------------------ */

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.web-mock {
  width: 300px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.web-header {
  background: #4d9de0;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}

.web-map {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, #e9f3ff, #fff7e5);
}

.map-road {
  position: absolute;
  width: 40px;
  height: 260px;
  background: #f0f4ff;
  left: 50%;
  transform: translateX(-50%) rotate(8deg);
}

.map-house {
  position: absolute;
  width: 40px;
  height: 30px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.map-house-1 {
  bottom: 40px;
  left: 30px;
}

.map-house-2 {
  top: 40px;
  right: 30px;
}

.map-pin {
  position: absolute;
  font-size: 28px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.web-footer {
  padding: 10px;
  font-size: 12px;
  text-align: center;
  background: #f9fafb;
  color: #333;
}

/* ------------------------------
   Grid & Cards
------------------------------ */

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.card-flat {
  background: #f7fbff;
  border: 1px solid #d7e4f7;
  box-shadow: none;
}

.card-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 16px;
}

/* ------------------------------
   Flow
------------------------------ */

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.flow-step {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.flow-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f9c74f;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ------------------------------
   Price
------------------------------ */

.price-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.price-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.price-main {
  margin: 0 0 6px;
}

.price-amount {
  font-size: 26px;
  font-weight: 700;
}

.price-tax {
  font-size: 12px;
  color: #777;
  margin-left: 4px;
}

.price-sub {
  font-size: 13px;
  color: #666;
  margin: 0 0 14px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 14px;
  color: #555;
}

.price-list li + li {
  margin-top: 4px;
}

/* ------------------------------
   FAQ
------------------------------ */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item summary::after {
  content: "＋";
  float: right;
}

.faq-item[open] summary::after {
  content: "－";
}

.faq-item p {
  margin: 8px 0 4px;
  font-size: 14px;
  color: #555;
}

/* ------------------------------
   CTA
------------------------------ */

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

/* ------------------------------
   Footer
------------------------------ */

.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 18px 0;
  font-size: 13px;
}

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

.footer-copy {
  margin: 4px 0 0;
  color: #9ca3af;
  font-size: 12px;
}

.footer-right {
  display: flex;
  gap: 14px;
}

.footer-right a {
  color: #d1d5db;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
  }

  .nav {
    display: none;
  }

  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

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

/* ログインボタン */
.login-buttons {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-login-admin {
  background: #4d9de0;
  color: #fff;
}

.btn-login-admin:hover {
  background: #3b7bb3;
}

.btn-login-parent {
  background: #fff;
  color: #4d9de0;
  border: 1px solid #4d9de0;
}

.btn-login-parent:hover {
  background: #f0f7ff;
}

