/* ===== 空と水と大地合同会社 共通スタイル ===== */
:root {
  --sky: #2E86C1;
  --sky-light: #AED6F1;
  --sky-dark: #1A5276;
  --water: #1ABC9C;
  --water-light: #A9DFBF;
  --earth: #7D6608;
  --earth-light: #F9E79F;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  color: var(--gray-800);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
  padding: 14px 0;
}

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

.logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--sky-dark);
  line-height: 1.3;
}
.logo span { display: block; font-size: 11px; font-weight: 400; color: var(--gray-600); }

nav { display: flex; gap: 28px; align-items: center; }
nav a { font-size: 14px; color: var(--gray-800); font-weight: 500; }
nav a:hover { color: var(--sky); text-decoration: none; }

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary { background: var(--sky); color: #fff; }
.btn-primary:hover { background: var(--sky-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--sky); border: 2px solid var(--sky); }
.btn-outline:hover { background: var(--sky); color: #fff; text-decoration: none; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-water { background: var(--water); color: #fff; }
.btn-water:hover { background: #17a589; text-decoration: none; }

/* ===== HERO ===== */
.hero {
  background-image:
    radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    radial-gradient(ellipse 110% 80% at -5% 40%, rgba(46,134,193,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 75% 75% at 105% 15%, rgba(26,188,156,0.45) 0%, transparent 55%),
    radial-gradient(ellipse 55% 55% at 55% 95%, rgba(26,188,156,0.18) 0%, transparent 50%),
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(12,30,58,0.9) 0%, transparent 100%),
    linear-gradient(155deg, #050c18 0%, #091b30 40%, #07201a 100%);
  background-size: 28px 28px, auto, auto, auto, auto, auto;
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -180px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,188,156,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 13px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--earth-light); }
.hero p {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== SECTION COMMON ===== */
section { padding: 80px 0; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-desc { font-size: 16px; color: var(--gray-600); max-width: 640px; }
.section-header { margin-bottom: 48px; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--gray-100); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--sky);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 15px; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--gray-600); }

/* ===== PLANS ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.plan-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow 0.2s;
}
.plan-card:hover { box-shadow: var(--shadow); }
.plan-card.featured {
  border-color: var(--sky);
  border-width: 2px;
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--sky);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-badge.green { background: var(--water); }
.plan-icon { font-size: 32px; margin-bottom: 12px; }
.plan-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.plan-tagline { font-size: 13px; color: var(--gray-600); margin-bottom: 20px; line-height: 1.5; }
.plan-price-block { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }
.plan-init { font-size: 13px; color: var(--gray-600); }
.plan-init strong { font-size: 22px; color: var(--gray-800); font-weight: 700; }
.plan-monthly { font-size: 13px; color: var(--sky); margin-top: 4px; }
.plan-monthly strong { font-size: 18px; font-weight: 700; }
.plan-features { list-style: none; font-size: 13px; color: var(--gray-600); }
.plan-features li { padding: 4px 0; }
.plan-features li::before { content: '✓ '; color: var(--water); font-weight: 700; }

/* ===== OPTIONS ===== */
.options-section { background: var(--gray-100); }
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.option-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--sky);
}
.option-card.earth { border-left-color: var(--earth); }
.option-card.water { border-left-color: var(--water); }
.option-name { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.option-price { font-size: 13px; color: var(--sky); font-weight: 600; margin-bottom: 8px; }
.option-desc { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ===== VISIT FEE ===== */
.visit-fee {
  background: var(--sky-dark);
  color: #fff;
  padding: 40px 0;
}
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.visit-item { text-align: center; }
.visit-item .num { font-size: 28px; font-weight: 700; color: var(--sky-light); }
.visit-item .label { font-size: 14px; opacity: 0.85; margin-top: 4px; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.why-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
}
.why-icon { font-size: 36px; margin-bottom: 12px; }
.why-card h3 { font-size: 16px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--gray-600); }

/* ===== CONTACT / ORDER ===== */
.contact-section { background: var(--gray-100); }
.order-tabs { display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 2px solid var(--gray-200); }
.tab-btn {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.tab-btn.active { color: var(--sky); border-bottom-color: var(--sky); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.form-group label span { color: #E74C3C; margin-left: 4px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-800);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
.form-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-submit { text-align: center; margin-top: 28px; }
.form-note { font-size: 13px; color: var(--gray-600); margin-top: 12px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 20px 0; }
.faq-q { font-size: 15px; font-weight: 600; color: var(--sky-dark); margin-bottom: 8px; }
.faq-q::before { content: 'Q. '; }
.faq-a { font-size: 14px; color: var(--gray-600); }
.faq-a::before { content: 'A. '; font-weight: 600; color: var(--water); }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.footer-desc { font-size: 13px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 13px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 12px;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 70px 0 60px; }
  section { padding: 60px 0; }
  .form-box { padding: 24px; }
}
