@charset "UTF-8";

/* ====================================
   共通設定
   ==================================== */
html { 
  font-size: 100%; 
  overflow-x: hidden;
}
body {
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","BIZ UDPGothic",sans-serif;
  line-height: 1.7;
  color: #432;
  margin: 0;
  overflow-x: hidden;
  width: 100%;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ====================================
   ヘッダー
   ==================================== */
.page-header *, .mobile-nav, .mobile-nav * { box-sizing: border-box; }

.page-header {
  background: #78BBE6;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-h1 { margin: 0; padding: 0; line-height: 0; display: block; }
.header-h1 .site-link { display: flex; align-items: center; }

.site-link {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.site-link:hover { transform: translateY(-2px); }
.logo { height: 2.2rem; width: auto; }

.pc-nav { display: none; }
.pc-nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.pc-nav a { text-decoration: none; color: #ffffff; font-weight: bold; font-size: 1rem; display: block; padding: 0.5rem 0; line-height: 1.2; }

.menu-btn { font-size: 2rem; background: none; border: none; cursor: pointer; color: #ffffff; }

/* モバイルナビ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background-color: #f8fcfb;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  overflow-x: hidden;
}

.mobile-nav.is-open { transform: translateX(-100%); }
.mobile-nav-header { flex-shrink: 0; padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; align-items: center; background-color: #78BBE6; }
.mobile-nav-header .logo { height: 1.8rem; }
.close-btn { font-size: 2.5rem; line-height: 1; background: none; border: none; color: #ffffff; cursor: pointer; }

.mobile-nav-body { flex: 1; overflow-y: auto; padding: 2rem 1.5rem; width: 100%; }
.mobile-nav-list { list-style: none; padding: 0; margin: 0; width: 100%; }
.mobile-nav-list li { margin-bottom: 0.8rem; width: 100%; }
.mobile-nav-list a { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem; background-color: #ffffff; color: #333; font-weight: bold; font-size: 1.1rem; border-radius: 12px; border: 1px solid #e0e0e0; }
.mobile-nav-list a::after { content: "›"; font-size: 1.5rem; color: #78BBE6; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; z-index: 10000; }
.overlay.is-active { display: block; }

/* ====================================
   波型デザイン背景（共通）
   ==================================== */
.top-wave-section { position: relative; overflow: visible; }
.section-wave-container { position: absolute; top: -60px; left: 0; width: 100%; height: 60px; z-index: 1; pointer-events: none; }
.section-wave-container .wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; }
.section-wave-container .wave svg { display: block; width: 100%; height: 50px; }
.section-wave-container .wave-back { z-index: 1; opacity: 0.5; }
.section-wave-container .wave-front { z-index: 2; }
.section-wave-container .wave-back .shape-fill { fill: #A5D8FF; }
.section-wave-container .wave-front .shape-fill { fill: #78BBE6; }

.bubble { position: absolute; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2)); border-radius: 50%; z-index: 3; box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2); }
.b-1 { top: -20px; left: 15%; width: 30px; height: 30px; }
.b-2 { top: -40px; left: 75%; width: 20px; height: 20px; opacity: 0.6; }
.b-3 { top: -10px; left: 5%; width: 25px; height: 25px; opacity: 0.5; }
.b-4 { top: -35px; left: 50%; width: 35px; height: 35px; opacity: 0.4; }
.b-5 { top: -15px; left: 90%; width: 22px; height: 22px; }

/* ====================================
   フッター
   ==================================== */
.main-footer { background-color: #78BBE6; width: 100%; color: #ffffff; position: relative; padding-top: 50px; }
.footer-wave-container { position: absolute; top: -80px; left: 0; width: 100%; height: 80px; overflow: hidden; z-index: 1; pointer-events: none; }
.footer-wave-container .wave { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; }
.footer-wave-container .wave svg { display: block; width: 100%; height: 60px; }
.footer-wave-container .wave-back { z-index: 1; opacity: 0.5; }
.footer-wave-container .wave-front { z-index: 2; }
.footer-wave-container .wave-back .shape-fill { fill: #A5D8FF; }
.footer-wave-container .wave-front .shape-fill { fill: #78BBE6; }

.footer-container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.footer-cta-area { text-align: center; margin-bottom: 3rem; padding-top: 1rem; }
.cta-text { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.2rem; display: block; }
.cta-line-btn img { max-width: 260px; width: 100%; height: auto; transition: transform 0.3s ease; }
.footer-main-content { padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.footer-grid { display: flex; flex-direction: column; gap: 2rem; }
.footer-brand-address { font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }
.footer-logo { font-weight: 900; margin-right: 0.8rem; display: inline-block; }
.footer-contact-group a, .footer-hours-box p, .footer-nav a { font-size: 1rem; line-height: 1.8; color: #ffffff; text-decoration: none; }
.contact-item { display: block; font-weight: bold; overflow-wrap: break-word; word-break: break-all; }
.hours-label { display: block; font-size: 0.8rem; font-weight: 800; margin-bottom: 0.2rem; color: rgba(255, 255, 255, 0.7); }
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.2rem; }
.footer-nav a:hover { text-decoration: underline; }
.footer-payment { padding: 2.5rem 0; text-align: center; }
.payment-title { font-size: 0.9rem; font-weight: bold; margin-bottom: 1rem; }
.payment-icons { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.payment-icons img { height: 28px; width: auto; background: rgba(255, 255, 255, 0.9); padding: 4px 6px; border-radius: 4px; }
.footer-bottom { padding: 1.5rem 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.copyright { font-size: 0.85rem; opacity: 0.7; }

/* ====================================
   追従コンバージョンボタン
   ==================================== */
.sticky-footer-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: 75px; background-color: #ffffff; display: flex; justify-content: space-around; align-items: center; z-index: 10002; box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.12); }
.nav-item { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; border-right: 1px solid #f0f0f0; transition: opacity 0.2s; }
.nav-item:last-child { border-right: none; }
.nav-icon { font-size: 1.3rem; margin-bottom: 4px; }
.nav-icon-svg { width: 24px; height: 24px; margin-bottom: 4px; }
.nav-text { font-size: 0.8rem; font-weight: bold; color: #333; }
.line-btn { background-color: #06C755; } .line-btn .nav-text { color: #ffffff; }
.estimate-link { background-color: #78BBE6; } .estimate-link .nav-text, .estimate-link .nav-icon { color: #ffffff; }

/* PC用メディアクエリ（共通パーツ） */
@media (min-width: 768px) {
  .page-header { padding: 1.2rem 4rem; }
  .logo { height: 3rem; }
  .pc-nav { display: block; }
  .menu-btn { display: none; }
  .mobile-nav, .overlay { display: none !important; }

  .footer-grid { flex-direction: row; justify-content: space-between; }
  .footer-meta { text-align: right; }
  .footer-nav { align-items: flex-end; }
  
  .sticky-footer-nav { height: 90px; }
  .nav-icon { font-size: 1.6rem; }
  .nav-icon-svg { width: 30px; height: 30px; }
  .nav-text { font-size: 1rem; letter-spacing: 0.05em; }
  .nav-item:hover { opacity: 0.9; }
}

/* ====================================
   下層ページ共通ヒーローエリア（修正版）
   ==================================== */
.page-hero {
  background-color: #f0f9ff;
  padding: 4.5rem 1rem 2rem; /* 下を2remに詰めました */
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #78BBE6;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

/* 背景側の泡（既存通り） */
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 
    -30px -30px 0 60px rgba(165, 216, 255, 0.3),
    calc(100vw - 20px) 150px 0 35px rgba(120, 187, 230, 0.2),
    15vw 180px 0 15px rgba(165, 216, 255, 0.2);
}

/* 前景側の泡（既存通り） */
.page-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 20%;
  right: 15%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 
    calc(-75vw) 50px 0 8px rgba(255, 255, 255, 0.8),
    calc(-5vw) 120px 0 3px #ffffff;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #222;
  margin: 0 0 0.8rem;
  line-height: 1.3;
  display: inline-block;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.15), 0 0 2px rgba(255,255,255,1);
}

.page-title::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 4px;
  height: 14px;
  background-color: rgba(120, 187, 230, 0.6);
  z-index: -1;
  border-radius: 4px;
  transform: skew(-10deg);
}

.page-subtitle {
  font-size: 0.9rem;
  font-weight: bold;
  color: #78BBE6;
  letter-spacing: 0.2em;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  display: block;
}

@media (min-width: 768px) {
  .page-hero { padding: 6.5rem 1rem 3rem; } /* PC版も詰めました */
  .page-title { font-size: 2.8rem; }
  .page-title::after { height: 18px; bottom: 6px; }
}