@charset "utf-8";
/*
Theme Name: amagikankyo
Description: amagikankyoのテーマファイル
Version: 2.0
Author: amagikankyo
*/

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;800&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ===== CSS変数 ===== */
:root {
  --yellow: #FFB800;
  --yellow-pale: #FFF8E1;
  --orange: #FF7A00;
  --orange-pale: #FFF3E8;
  --brown: #5C3D11;
  --text: #333333;
  --text-mid: #666666;
  --cream: #FFFDF5;
  --border: #EEE9DD;
  --gray: #F9F6EF;
  --white: #ffffff;
}

/* ===== リセット ===== */
* { 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(--cream);
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== レイアウト ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.center { text-align: center; }
.center .sec-lead { margin: 0 auto; }
.btn-center { text-align: center; margin-top: 32px; }

/* ===== ボタン共通 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: .95rem;
  cursor: pointer; border: none; transition: all .25s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  color: #fff; box-shadow: 0 4px 20px rgba(255,122,0,.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255,122,0,.45);
  color: #fff;
}
.btn-outline {
  background: transparent; color: var(--brown);
  border: 2px solid var(--yellow);
}
.btn-outline:hover { background: var(--yellow-pale); transform: translateY(-2px); }

/* ===== セクション見出し ===== */
.sec-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: var(--orange); background: var(--orange-pale);
  padding: 4px 14px; border-radius: 50px; margin-bottom: 12px;
}
.sec-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800; color: var(--brown);
  margin-bottom: 14px; line-height: 1.4;
}
.sec-lead {
  font-size: .95rem; color: var(--text-mid);
  line-height: 1.9; max-width: 580px;
}

/* ===== ヘッダー ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}
.site-header.visible { top: 0; }
.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}

/* ロゴ＋会社名 */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img { width: 44px; height: auto; }
.logo-name {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brown);
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.logo-name small {
  font-size: .58rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .1em;
}

/* ナビ */
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 12px;
  border-radius: 50px;
  transition: all .2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--orange); background: var(--orange-pale); }
.site-nav .nav-tel {
  color: var(--orange) !important;
  font-weight: 700 !important;
}
.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--yellow)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
}

/* バーガーメニュー */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  z-index: 1100;
}
.burger span {
  display: block; width: 100%; height: 2px;
  background: #2c3e50; border-radius: 1px; transition: all 0.3s ease;
}
.burger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.scrolled { background: rgba(255,255,255,.95); box-shadow: 0 2px 4px rgba(0,0,0,.1); }

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(160deg, #FFFBEE 0%, #FFF3D0 50%, #FFE8B0 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: start;
  width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 2px solid var(--yellow); color: var(--orange);
  padding: 5px 16px; border-radius: 50px; font-size: .78rem; font-weight: 700;
  margin-bottom: 20px; box-shadow: 0 2px 12px rgba(255,184,0,.2);
}
.hero-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800; color: var(--brown); line-height: 1.3; margin-bottom: 18px;
}
.hero-title .hl {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { color: var(--text-mid); font-size: 1rem; line-height: 1.9; margin-bottom: 30px; }
.hero-free { color: var(--orange); font-weight: 700; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-check { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--text-mid); }
.hero-check .dot {
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: .65rem; flex-shrink: 0;
}

/* ヒーロー右カード */
.hero-visual {
  background: #fff; border-radius: 24px;
  box-shadow: 0 20px 60px rgba(255,122,0,.12); overflow: hidden;
}
.hero-visual-top {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  padding: 16px 20px;
}
.hero-visual-top h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1rem; font-weight: 800; color: #fff;
  text-align: left; margin: 0;
}
.hero-visual-top p { font-size: .78rem; color: rgba(255,255,255,.9); margin: 4px 0 0; }
.hero-visual-body { padding: 16px 20px; }
.pest-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-bottom: 16px;
}
.pest-item {
  text-align: center; padding: 10px 4px; background: var(--gray);
  border-radius: 10px; font-size: .72rem; font-weight: 500; color: var(--brown);
  cursor: pointer; transition: all .2s;
}
.pest-item:hover { background: var(--yellow-pale); color: var(--orange); }
.pest-item .p-icon { font-size: 1.4rem; display: block; margin-bottom: 3px; }
.hero-tel-box {
  background: var(--yellow-pale); border-radius: 12px;
  padding: 14px 16px; text-align: center;
}
.hero-tel-box .label { font-size: .72rem; color: var(--text-mid); margin-bottom: 4px; display: block; }
.hero-tel-box a {
  font-size: 1.7rem; font-weight: 800; color: var(--orange);
  font-family: 'M PLUS Rounded 1c', sans-serif; display: block; line-height: 1.2;
}
.hero-tel-box small { font-size: .7rem; color: var(--text-mid); }

/* ===== 資格ストリップ ===== */
.trust {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  padding: 14px 0;
}
.trust-inner {
  display: flex; overflow-x: auto; scrollbar-width: none;
  justify-content: center; max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.trust-inner::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex; align-items: center; gap: 8px; color: #fff;
  font-size: .85rem; font-weight: 700; white-space: nowrap;
  padding: 0 20px; border-right: 1px solid rgba(255,255,255,.3);
}
.trust-item:last-child { border-right: none; }

/* ===== 選ばれる理由 ===== */
.reasons-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-top: 40px;
}
.reason-card {
  background: #fff; border-radius: 20px; padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05); transition: all .3s;
}
.reason-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(255,122,0,.12); }
.reason-num {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-size: 2.5rem;
  font-weight: 800; color: var(--yellow); margin-bottom: 8px; line-height: 1;
}
.reason-title {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-size: 1rem;
  font-weight: 800; color: var(--brown); margin-bottom: 8px;
}
.reason-desc { font-size: .82rem; color: var(--text-mid); line-height: 1.8; }

/* ===== サービスタブ ===== */
.tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tab {
  padding: 10px 22px; font-weight: 700; font-size: .9rem;
  cursor: pointer; border: 2px solid var(--border); background: #fff;
  color: var(--text-mid); border-radius: 50px; transition: all .2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.tab.active {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(255,122,0,.3);
}
.panel { display: none; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.panel.active { display: grid; }
.svc-card {
  background: #fff; border-radius: 16px; padding: 24px;
  transition: all .25s; box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,122,0,.12); }
.svc-icon { font-size: 2rem; margin-bottom: 10px; }
.svc-name {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-size: 1rem;
  font-weight: 800; color: var(--brown); margin-bottom: 8px;
}
.svc-desc { font-size: .82rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 12px; }
.svc-price {
  font-size: .78rem; font-weight: 700; color: var(--orange);
  background: var(--orange-pale); padding: 4px 12px; border-radius: 50px; display: inline-block;
}

/* ===== 依頼の流れ ===== */
.flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 40px;
}
.flow-item {
  text-align: center; padding: 28px 16px; background: #fff;
  border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,.05); position: relative;
}
.flow-item:not(:last-child)::after {
  content: '→'; position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--yellow);
  font-weight: 700; z-index: 1;
}
.flow-num {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem; font-weight: 800; margin: 0 auto 12px;
  box-shadow: 0 4px 16px rgba(255,122,0,.35);
}
.flow-free {
  display: inline-block; background: var(--yellow-pale); color: var(--orange);
  font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-bottom: 6px;
}
.flow-title { font-family: 'M PLUS Rounded 1c', sans-serif; font-size: .9rem; font-weight: 800; margin-bottom: 6px; color: var(--brown); }
.flow-desc { font-size: .75rem; color: var(--text-mid); line-height: 1.7; }

/* ===== 施工事例 ===== */
.works-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.work-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: all .3s; display: block;
  text-decoration: none; color: inherit;
}
.work-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(255,122,0,.14); }
.work-card img, .work-card .work-img {
  width: 100%; height: 190px; object-fit: cover; display: block;
}
.work-body { padding: 18px 20px; }
.work-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff; font-size: .7rem; font-weight: 700;
  padding: 3px 12px; border-radius: 50px; margin-bottom: 8px;
}
.work-title {
  font-family: 'M PLUS Rounded 1c', sans-serif; font-size: .92rem;
  font-weight: 800; line-height: 1.5; margin-bottom: 6px; color: var(--brown);
}
.work-date { font-size: .72rem; color: var(--text-mid); }

/* ===== 施工事例一覧ページ（page-works.php用） ===== */
.works-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px; margin: 80px auto;
}
.work-item {
  display: block; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08); transition: all .3s;
  text-decoration: none; color: #333;
}
.work-item:hover { transform: translateY(-5px); box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.work-item img { width: 100%; height: 220px; object-fit: cover; }
.work-item h4 { font-size: 20px; margin: 15px; color: #2c3e50; text-align: left; }
.work-item p { font-size: 14px; margin: 0 15px 15px; color: #555; }

/* ページヒーロー（施工事例・サービスページ共通） */
.page-hero {
  background: linear-gradient(160deg, #FFFBEE 0%, #FFF3D0 50%, #FFE8B0 100%);
  padding: 100px 0 60px;
  text-align: center;
}
.page-hero-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brown);
  margin: 12px 0;
  line-height: 1.3;
}
.page-hero-desc {
  font-size: 1rem;
  color: var(--text-mid);
  margin-top: 8px;
}

/* 施工事例グリッド（一覧ページ） */
.works-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 8px;
}
.work-excerpt {
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 8px;
}

/* 施工事例詳細ページ */
.work-detail {
  max-width: 800px; margin: 80px auto; background: #fff;
  padding: 40px; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* ===== 保有資格 ===== */
.creds-sec {
  background: linear-gradient(135deg, #5C3D11 0%, #2D1A06 100%);
  padding: 72px 0;
}
.creds-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-top: 36px;
}
.cred {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 16px 18px; border-radius: 12px;
}
.cred-icon { font-size: 1.6rem; }
.cred-name { font-size: .88rem; font-weight: 700; color: #fff; line-height: 1.4; }

/* ===== FAQ ===== */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.faq-q {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; cursor: pointer; font-weight: 700;
  font-size: .92rem; transition: background .2s;
}
.faq-q:hover { background: var(--yellow-pale); }
.faq-q .qmark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff; border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.faq-q .chev { margin-left: auto; color: var(--yellow); transition: transform .3s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px 60px; font-size: .88rem; color: var(--text-mid); line-height: 1.85; }
.faq-item.open .faq-a { display: block; }

/* ===== Instagram ===== */
.news-section { background: var(--gray); }
.news-grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* ===== お問い合わせCTA ===== */
.cta-sec {
  background: linear-gradient(160deg, var(--orange) 0%, var(--yellow) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-sec::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; background: rgba(255,255,255,.1); border-radius: 50%;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800; color: #fff; margin-bottom: 12px;
}
.cta-sub { color: rgba(255,255,255,.9); font-size: 1rem; margin-bottom: 36px; }
.cta-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: stretch; }
.cta-card {
  background: #fff; border-radius: 20px; padding: 28px 36px;
  text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,.1);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 280px; justify-content: center;
}
.cta-card-icon { font-size: 2rem; line-height: 1; }
.cta-card h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: .88rem; font-weight: 800; color: var(--text-mid);
  margin: 0; border: none; background: none; padding: 0;
  text-align: center;
}
.cta-card .tel-num {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--orange);
  display: block; line-height: 1.2; margin: 0;
}
.cta-card small { font-size: .72rem; color: var(--text-mid); display: block; margin: 0; }

/* ===== フッター ===== */
.site-footer {
  background: #2D1A06;
  padding: 40px 0;
  color: rgba(255,255,255,.7);
}
.site-footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-company-info { text-align: center; }
.footer-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: var(--yellow) !important;
  margin-bottom: 8px;
}
.site-footer p { color: rgba(255,255,255,.7) !important; background: none !important; padding: 4px 0 !important; text-align: center !important; }
.site-footer a { color: var(--yellow) !important; }

/* ===== 下部固定バー ===== */
.amagi-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #fff; border-top: 3px solid var(--yellow);
  padding: 10px 20px; display: flex; align-items: center;
  justify-content: center; gap: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.amagi-sticky-tel {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--brown); text-decoration: none;
}
.amagi-sticky-tel .num {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem; color: var(--orange);
}
.amagi-sticky-web {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff !important; font-weight: 700; font-size: .88rem;
  padding: 10px 22px; border-radius: 50px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(255,122,0,.3); text-decoration: none;
}

/* ===== スクロール追従インデックスナビ ===== */
.float-nav {
  position: fixed; top: -60px; left: 0; right: 0; z-index: 10000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--yellow); transition: top 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.float-nav::-webkit-scrollbar { display: none; }
.float-nav.visible { top: 0; }
.float-nav-inner {
  display: flex; align-items: center; justify-content: center;
  min-width: 100%; width: max-content; padding: 0 4px;
}
.float-nav-items { display: contents; }
.float-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 13px; color: var(--text-mid); font-size: .68rem; font-weight: 700;
  white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px;
  transition: all .2s; cursor: pointer; text-decoration: none; flex-shrink: 0;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.float-nav-item .nav-icon { font-size: 1.05rem; line-height: 1; }
.float-nav-item:hover { color: var(--orange); background: var(--orange-pale); }
.float-nav-item.current { color: var(--orange); border-bottom-color: var(--orange); }
.float-nav-item.cta-nav {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  border-radius: 8px; margin: 6px 4px; padding: 6px 14px; border-bottom: none;
}

/* ===== フェードイン ===== */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== お問い合わせフォーム（page-contact.php用） ===== */
.contact-form {
  max-width: 600px; margin: 0 auto 60px; background: #fff;
  padding: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group textarea {
  width: 100%; padding: 10px; border: 1px solid #ccc;
  border-radius: 5px; font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--orange); outline: none;
}
.required { color: #e74c3c; margin-left: 4px; }

/* ===== サービス一覧ページ（page-services.php用） ===== */
.page-hero-service {
  color: #fff; text-align: center; display: flex; flex-direction: column;
  justify-content: center; height: 50vh;
  background: url("images/service-hero.svg") no-repeat center/cover;
  align-items: center; padding: 0 20px;
}
.page-hero-service h2 { color: #2c3e50; font-size: 40px; }
.page-hero-service p { color: #2c3e50; font-size: 18px; margin-top: 5vh; }

/* ===== お問い合わせページ（page-contact.php用） ===== */
.contact-tel-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  border-radius: 20px;
  padding: 28px 36px;
  margin-bottom: 48px;
  box-shadow: 0 8px 32px rgba(255,122,0,.2);
}
.contact-tel-icon { font-size: 3rem; flex-shrink: 0; }
.contact-tel-label { font-size: .85rem; color: rgba(255,255,255,.9); margin-bottom: 4px; }
.contact-tel-num {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 2.4rem; font-weight: 800; color: #fff;
  display: block; line-height: 1.2; text-decoration: none;
}
.contact-tel-num:hover { opacity: .85; }
.contact-tel-note { font-size: .78rem; color: rgba(255,255,255,.85); margin-top: 4px; }

.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.contact-form-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: var(--brown);
  margin-bottom: 8px;
}
.contact-form-desc { font-size: .9rem; color: var(--text-mid); margin-bottom: 28px; }

/* Contact Form 7 スタイル上書き */
.wpcf7-form .wpcf7-form-control-wrap input,
.wpcf7-form .wpcf7-form-control-wrap textarea,
.wpcf7-form .wpcf7-form-control-wrap select {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: 10px;
  font-size: .95rem; font-family: 'Noto Sans JP', sans-serif;
  transition: border-color .2s; background: var(--cream);
}
.wpcf7-form .wpcf7-form-control-wrap input:focus,
.wpcf7-form .wpcf7-form-control-wrap textarea:focus {
  border-color: var(--orange); outline: none; background: #fff;
}
.wpcf7-form .wpcf7-submit {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff; border: none; padding: 14px 48px;
  border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all .25s;
  box-shadow: 0 4px 16px rgba(255,122,0,.3);
}
.wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,122,0,.4);
}

@media (max-width: 768px) {
  .contact-tel-box { flex-direction: column; text-align: center; padding: 24px 20px; }
  .contact-tel-num { font-size: 1.8rem; }
  .contact-form-wrap { padding: 24px 20px; }
}

.page-hero-works {
  color: #fff; text-align: center; display: flex; flex-direction: column;
  justify-content: center; height: 40vh;
  background: url("images/works-hero.jpeg") no-repeat center/cover;
  align-items: center; padding: 0 20px; margin-bottom: 60px;
}
.page-hero-works h2 { color: #fff; font-size: 40px; }
.page-hero-works p { color: #fff; font-size: 18px; margin-top: 5vh; }

.services { margin: 0 5vw; }
.services h3 { font-size: 30px; margin-bottom: 10vh; }
.services h4 { font-size: 24px; margin: 0 0 5vh; text-align: center; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-item {
  border: 1px solid #f9f8f5; padding: 20px; border-radius: 8px;
  background-color: #f9f8f5;
}
.service-item h4 { font-size: 20px; margin-bottom: 10px; color: #2c3e50; }
.price { font-weight: bold; color: #e74c3c; margin-top: 10px; }

/* ===== レスポンシブ ===== */
@media screen and (max-width: 768px) {
  .burger { display: flex; }
  .site-nav {
    position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
    background: rgba(255,255,255,.97); display: flex;
    align-items: center; justify-content: center;
    transition: right 0.4s ease; z-index: 1000;
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
  }
  .site-nav ul { flex-direction: column; gap: 20px; text-align: center; }
  .site-nav a { font-size: 1rem; padding: 10px 20px; display: block; }
  .site-nav .nav-cta { border-radius: 50px !important; }
  .site-nav.open { right: 0; }

  /* ヒーロー */
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }

  /* 依頼の流れ */
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-item:not(:last-child)::after { display: none; }

  /* CTA */
  .cta-cards { flex-direction: column; align-items: center; }
  .cta-card { width: 100%; max-width: 320px; }

  /* 下部バー */
  .amagi-sticky-bar { gap: 10px; padding: 8px 12px; }
  .amagi-sticky-tel .num { font-size: 1.2rem; }
  .amagi-sticky-web { font-size: .8rem; padding: 8px 16px; }

  /* 追従ナビ */
  .float-nav-inner { justify-content: flex-start; width: auto; min-width: unset; }
  .float-nav-item { padding: 8px 10px; font-size: .63rem; }
  .float-nav-item .nav-icon { font-size: .95rem; }
  .float-nav-item.cta-nav { padding: 5px 12px; }

  /* フッター */
  .site-footer { padding: 32px 0; }

  /* 施工事例ページ */
  .works-list { grid-template-columns: 1fr; gap: 24px; margin: 60px auto; }
  .service-list { grid-template-columns: 1fr; }
  .work-detail { padding: 20px; margin: 60px 5vw; }
}

@media screen and (max-width: 600px) {
  body { font-size: 14px; }
  .pest-grid { gap: 6px; }
  .pest-item { padding: 8px 3px; font-size: .68rem; }
  .pest-item .p-icon { font-size: 1.2rem; }
}
