/* ===== RESET & VARIABLES ===== */
:root {
  --sky: #4ABFDC;
  --sky-light: #E8F8FC;
  --sky-mid: #A8DFF0;
  --warm: #F9F4EF;
  --orange: #F07A3A;
  --orange-light: #FFF0E8;
  --text: #2C3E50;
  --text-light: #6B7F8E;
  --white: #FFFFFF;
  --radius: 20px;
  --shadow: 0 8px 32px rgba(74,191,220,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--warm);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--sky-light);
  padding: 0 24px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: white;
  box-shadow: 0 2px 8px rgba(74,191,220,0.2);
}
.logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.logo-text .name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900; font-size: 18px;
  color: var(--sky); letter-spacing: 0.05em;
}
.logo-text .tagline { font-size: 10px; color: var(--text-light); letter-spacing: 0.08em; }

nav { display: flex; gap: 4px; align-items: center; }
nav a {
  text-decoration: none; color: var(--text);
  font-size: 13px; font-weight: 500;
  padding: 8px 10px; border-radius: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}
nav a:hover, nav a.active { background: var(--sky-light); color: var(--sky); }
.btn-cta {
  background: var(--orange) !important; color: white !important;
  border-radius: 24px !important; padding: 10px 18px !important;
  font-weight: 700 !important; font-size: 13px !important;
  box-shadow: 0 4px 12px rgba(240,122,58,0.35);
}
.btn-cta:hover { background: var(--orange) !important; opacity: 0.9; }

/* Mobile nav */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow-y: auto;
  padding: 72px 0 100px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none; color: var(--text);
  font-size: 20px; font-weight: 700;
  padding: 14px 40px; border-radius: 12px;
  width: 280px; text-align: center;
  transition: background 0.2s;
}
.mobile-nav a:hover { background: var(--sky-light); color: var(--sky); }
.mobile-nav-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 28px; cursor: pointer; color: var(--text-light);
  background: none; border: none; font-family: inherit;
}
.mobile-nav .btn-cta-mobile {
  background: var(--orange); color: white !important;
  border-radius: 50px; margin-top: 12px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--sky-light) 0%, var(--warm) 100%);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: var(--sky);
  border-radius: 50%;
  opacity: 0.07;
  top: -150px; right: -100px;
}
.page-hero .label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; color: var(--sky);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px; color: var(--text-light);
  line-height: 1.9; max-width: 600px; margin: 0 auto;
}

/* ===== SECTION COMMON ===== */
section { padding: 72px 24px; }
.section-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; color: var(--sky);
  text-align: center; margin-bottom: 12px;
}
h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  text-align: center; margin-bottom: 12px; line-height: 1.4;
}
.section-sub {
  text-align: center; color: var(--text-light);
  font-size: 15px; line-height: 1.8; margin-bottom: 52px;
}

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--sky); color: white; padding: 18px 24px; }
.trust-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.trust-item .icon { font-size: 18px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--sky), #2aa8c8);
  padding: 56px 24px; text-align: center;
}
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 32px; }
.cta-band .tel-box {
  display: inline-flex; align-items: center; gap: 16px;
  background: white; border-radius: 20px;
  padding: 20px 40px; margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.cta-band .tel-box .icon { font-size: 32px; }
.cta-band .tel-box .num { font-size: 32px; font-weight: 900; color: var(--text); letter-spacing: 0.05em; }
.cta-band .tel-box .sub { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.cta-band .tel-box .lbl { font-size: 11px; color: var(--sky); font-weight: 700; letter-spacing: 0.1em; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--orange);
  text-decoration: none; font-weight: 900; font-size: 16px;
  padding: 16px 36px; border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.btn-white:hover { transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { background: var(--text); color: rgba(255,255,255,0.75); padding: 48px 24px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer-brand .name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900; font-size: 20px; color: white; margin-bottom: 10px;
}
.footer-brand p { font-size: 13px; line-height: 1.9; }
.footer-col h4 {
  color: white; font-weight: 700; font-size: 13px;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.65);
  text-decoration: none; font-size: 13px;
  margin-bottom: 8px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.35);
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: white;
  text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 16px 32px; border-radius: 50px;
  box-shadow: 0 6px 24px rgba(240,122,58,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(240,122,58,0.5); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--sky);
  text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 16px 32px; border-radius: 50px;
  border: 2px solid var(--sky);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--sky); color: white; }

/* ===== DROPDOWN NAV ===== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  text-decoration: none; color: var(--text);
  font-size: 13px; font-weight: 500;
  padding: 8px 10px; border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer; display: block;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger {
  background: var(--sky-light); color: var(--sky);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(74,191,220,0.2);
  border: 2px solid var(--sky-light);
  padding: 20px;
  z-index: 200;
  min-width: 480px;
  animation: dropIn 0.2s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dropdown-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--sky);
  margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 1px solid var(--sky-light);
}
.dropdown-col a {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--text);
  font-size: 13px; font-weight: 500;
  padding: 7px 8px; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 2px;
}
.dropdown-col a:hover {
  background: var(--sky-light); color: var(--sky);
}

/* モバイルナビのサービスセクション */
.mobile-nav-section {
  width: 280px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-section-title {
  display: none;
}
.mobile-nav .mobile-nav-sub {
  display: block !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 12px 32px !important;
  width: 280px !important;
  color: var(--text) !important;
  text-align: center !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}
.mobile-nav .mobile-nav-sub:hover {
  background: var(--sky-light) !important;
  color: var(--sky) !important;
}

/* ===== TROUBLE / お悩み別 セクション ===== */
.trouble-section {
  background: var(--sky-light);
  padding: 72px 24px;
}
.trouble-inner { max-width: 1100px; margin: 0 auto; }
.trouble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.trouble-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74,191,220,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.trouble-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(74,191,220,0.2);
}
.trouble-q {
  background: var(--warm);
  padding: 16px 20px;
  font-size: 14px; font-weight: 700;
  color: var(--text); line-height: 1.5;
  border-bottom: 2px dashed var(--sky-light);
}
.trouble-arrow {
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--sky); padding: 8px;
  background: var(--sky-light);
}
.trouble-answer {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
.trouble-answer:hover { background: var(--orange-light); }
.trouble-icon { font-size: 32px; flex-shrink: 0; }
.trouble-name { font-weight: 900; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.trouble-desc { font-size: 12px; color: var(--text-light); line-height: 1.6; }
.trouble-link {
  margin-left: auto; flex-shrink: 0;
  font-size: 12px; font-weight: 700;
  color: var(--orange); white-space: nowrap;
}

/* LINE button */
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  background: #06C755; color: white;
  text-decoration: none; font-weight: 900; font-size: 16px;
  padding: 16px 36px; border-radius: 50px;
  box-shadow: 0 6px 24px rgba(6,199,85,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 12px;
}
.btn-line:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(6,199,85,0.5); }
.btn-line-header {
  display: inline-flex; align-items: center; gap: 6px;
  background: #06C755; color: white !important;
  text-decoration: none; font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 24px;
  transition: opacity 0.2s;
}
.btn-line-header:hover { opacity: 0.85; background: #06C755 !important; }

/* ===== RESPONSIVE (dropdown) ===== */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .trust-inner { gap: 16px; }
  .cta-band .tel-box { flex-direction: column; padding: 20px 28px; }
  .cta-band .tel-box .num { font-size: 26px; }
}

/* ===== スマホ固定CTAバー ===== */
.sp-fixed-cta {
  display: none;
}

@media (max-width: 768px) {
  .sp-fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: white;
    box-shadow: 0 -3px 20px rgba(0,0,0,0.15);
    border-top: 2px solid var(--sky-light);
  }

  .sp-cta-mascot { display: none !important; }

  .sp-cta-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px 14px;
    text-decoration: none;
    gap: 3px;
    transition: filter 0.2s;
  }
  .sp-cta-btn:active { filter: brightness(0.92); }

  .sp-cta-btn.line {
    background: #06C755;
    border-right: 1px solid rgba(255,255,255,0.3);
  }
  .sp-cta-btn.tel {
    background: var(--sky, #3BB6D4);
  }

  .sp-cta-btn .btn-icon { font-size: 22px; line-height: 1; }
  .sp-cta-btn .btn-main {
    font-size: 13px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
  }
  .sp-cta-btn .btn-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
  }

  /* スマホ時は固定バーの高さ分だけ余白を確保 */
  body { padding-bottom: 70px; }
}
