/* ===== リセット・基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:  #1e4d35;
  --green:       #2d6a4f;
  --green-mid:   #52b788;
  --green-light: #f0f9f4;
  --accent:      #f4a261;
  --accent-dark: #e07b30;
  --bg:          #ffffff;
  --bg-alt:      #f8fcf9;
  --mortar:      #d8e8e0;
  --border:      #e2ede7;
  --text:        #1b2a22;
  --text-mid:    #3d5a47;
  --white:       #fff;
  --section:     clamp(72px, 10vw, 120px);
  --radius:      8px;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
  background: var(--bg);
  padding-bottom: 72px;
}
a { color: inherit; text-decoration: none; }

/* ===== スクロールアニメーション ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ===== ヘッダー（スクロール連動） ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  transition: background 0.35s, box-shadow 0.35s;
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
}
#nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.logo-main { font-size: 17px; font-weight: bold; display: block; }
.logo-sub  { font-size: 12px; opacity: .7; display: block; }
.header-tel {
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
}

/* ===== ナビゲーションリンク ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links {
  display: none;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  padding-bottom: 2px;
  position: relative;
  transition: opacity .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
#nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
#nav.scrolled .nav-links a { color: var(--text-mid); }
#nav.scrolled .nav-links a:hover { color: var(--green-mid); }

/* ===== ハンバーガー ===== */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 300;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}
#nav:not(.scrolled) .hamburger span { background: var(--white); }
#nav.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== モバイルメニューオーバーレイ ===== */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.nav-overlay-link {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: .06em;
  position: relative;
  padding-bottom: 4px;
}
.nav-overlay-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--green-mid);
  transition: left .25s, right .25s;
}
.nav-overlay-link:hover::after { left: 0; right: 0; }

/* ===== コンテナ ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* ===== セクション共通 ===== */
.section { padding: var(--section) 0; background: var(--bg); }
.bg-alt   { background: var(--bg-alt); }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--green-mid);
}
.section-title {
  font-size: clamp(22px, 5vw, 36px);
  font-weight: bold;
  color: var(--text);
  margin-bottom: 10px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: clamp(32px, 5vw, 48px);
  line-height: 1.75;
}

/* ===== ボタン ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 19px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 0 var(--accent-dark);
  transition: transform .1s, box-shadow .1s;
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-dark); }
.btn-primary .tel-num { font-size: 26px; display: block; margin-top: 4px; letter-spacing: .05em; }
.btn-secondary {
  display: inline-block;
  background: #06c755;
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.btn-dark {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 19px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}
.btn-dark .tel-num { font-size: 26px; display: block; margin-top: 4px; }
.btn-large { padding: 20px 40px; font-size: 20px; }

/* ===== ヒーロー（スプリット） ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  min-height: 600px;
  margin-top: 0;
}
.hero-text {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px clamp(24px, 5vw, 72px) clamp(56px, 8vw, 96px);
}
.hero-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--green-light);
  border: 1px solid var(--mortar);
  color: var(--green);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text);
}
.hero-title em { font-style: normal; color: var(--green); }
.hero-desc {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 28px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.hero-hours { font-size: 14px; color: var(--text-mid); }
.hero-visual {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255,255,255,.04) 48px, rgba(255,255,255,.04) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255,255,255,.04) 48px, rgba(255,255,255,.04) 49px);
  pointer-events: none;
}
.hero-visual-label {
  position: absolute;
  bottom: clamp(24px, 6vw, 56px);
  left: clamp(16px, 4vw, 40px);
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 9vw, 9rem);
  font-weight: 300;
  color: var(--white);
  opacity: 0.07;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
}
.hero-visual-placeholder {
  position: relative; z-index: 1;
  color: rgba(255,255,255,.25);
  font-size: 13px;
  text-align: center;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== お知らせ ===== */
.notice {
  background: #fff8e1;
  padding: 12px 0;
  border-bottom: 1px solid #ffe082;
}
.notice-text { font-size: 15px; color: #5d4037; }

/* ===== お悩み ===== */
.worry-list {
  list-style: none;
  max-width: 680px;
  margin: 0 auto 28px;
}
.worry-list li {
  padding: 14px 16px 14px 48px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  color: var(--text-mid);
}
.worry-list li::before { content: '😟'; position: absolute; left: 12px; top: 13px; font-size: 20px; }
.worry-answer {
  text-align: center;
  font-weight: bold;
  color: var(--green-dark);
  font-size: 19px;
  padding: 18px;
  background: var(--green-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--green-mid);
  max-width: 680px;
  margin: 0 auto;
}

/* ===== 選ばれる理由 ===== */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.reason-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green-mid);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: box-shadow .3s, transform .3s;
}
.reason-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.reason-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--green-mid);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.55;
}
.reason-card h3 { font-size: 18px; color: var(--text); margin-bottom: 10px; }
.reason-card p  { font-size: 16px; color: var(--text-mid); }

/* ===== サービス ===== */
.service-lead {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}
.service-card {
  background: var(--white);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background .25s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover { background: var(--bg-alt); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 28px; margin-bottom: 12px; display: block; opacity: .7; }
.service-card h3 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.service-card ul { list-style: none; }
.service-card li {
  font-size: 15px;
  color: var(--text-mid);
  padding: 4px 0 4px 18px;
  position: relative;
}
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green-mid); font-weight: bold; }

/* ===== 補助金 ===== */
.subsidy-lead { font-size: 17px; color: var(--text-mid); margin-bottom: 24px; }
.subsidy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.subsidy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-mid);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16px;
  color: var(--text-mid);
  font-weight: bold;
}
.subsidy-note { font-size: 14px; color: #999; text-align: center; }

/* ===== 施工事例 ===== */
.works-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: var(--green-mid);
  font-weight: 400;
  margin-left: 8px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.works-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .3s, transform .3s;
}
.works-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-3px); }
.works-img-placeholder {
  background: var(--mortar);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-mid);
}
.works-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works-body { padding: 14px 16px; }
.works-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: bold;
}
.works-body h3 { font-size: 15px; color: var(--text); margin-bottom: 4px; line-height: 1.5; }
.works-body p  { font-size: 13px; color: var(--text-mid); }
.works-cats { text-align: center; font-size: 15px; color: var(--text-mid); line-height: 1.8; }

/* ===== 流れ ===== */
.flow-list { list-style: none; max-width: 640px; margin: 0 auto; }
.flow-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.flow-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 2px 0 var(--green-dark);
}
.flow-list h3 { font-size: 18px; color: var(--text); margin-bottom: 4px; }
.flow-list p  { font-size: 16px; color: var(--text-mid); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list dt {
  font-weight: bold;
  color: var(--text);
  padding: 18px 0 8px;
  border-top: 1px solid var(--border);
  font-size: 17px;
}
.faq-list dd { font-size: 16px; color: var(--text-mid); padding-bottom: 18px; padding-left: 4px; }

/* ===== 店舗情報 ===== */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.shop-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.shop-card h3 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.info-table { width: 100%; border-collapse: collapse; font-size: 16px; margin-bottom: 16px; }
.info-table th, .info-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}
.info-table th { color: var(--green-dark); font-weight: bold; white-space: nowrap; width: 35%; }
.info-table a { color: var(--accent-dark); }
.map-placeholder {
  background: var(--mortar);
  height: 180px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-mid); text-align: center;
}
.company-info h3 { font-size: 20px; color: var(--text); margin-bottom: 16px; font-weight: bold; }

/* ===== CTA ===== */
.cta {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}
.cta-inner h2 { font-size: clamp(22px, 5vw, 32px); margin-bottom: 12px; }
.cta-inner > p { font-size: 17px; opacity: .9; margin-bottom: 28px; }
.cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.cta-other {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cta-link {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
}
.cta-hours { font-size: 14px; opacity: .6; }

/* ===== フッター ===== */
.site-footer {
  background: #0c2218;
  color: #666;
  text-align: center;
  font-size: 14px;
  padding: 16px;
}

/* ===== 固定CTA（スマホ） ===== */
.fixed-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  padding: 10px 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -2px 12px rgba(0,0,0,.12);
}
.fixed-tel-btn {
  display: block;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 3px 0 var(--accent-dark);
}

/* ===== PC調整 ===== */
@media (min-width: 768px) {
  .fixed-cta { display: none; }
  body { padding-bottom: 0; }
  .hero-btns { flex-direction: row; }
  .cta-btns { flex-direction: row; justify-content: center; }
  .reason-grid { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .works-grid { grid-template-columns: repeat(4, 1fr); }
  .subsidy-grid { grid-template-columns: repeat(3, 1fr); }
  .hamburger { display: none; }
  .nav-overlay { display: none; }
  .nav-links { display: flex; }
}
@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; min-height: unset; }
  .hero-text { padding: 88px clamp(16px, 4vw, 24px) 40px; }
  .hero-visual { height: 200px; }
  .shop-grid { grid-template-columns: 1fr; }
  .header-tel { display: none; }
}
