/* ==========================================================================
   地域別ランディングページ専用スタイル（page-area.php / page-area-index.php）
   - sections.css の後に読み込み、エリアページにのみ enqueue（他ページ非影響）。
   - homepage(front-page.php) のインライン最新スタイルを移植 + エリア固有セクション。
   - CSS 変数は variables.css（全ページ読込）を参照。
   ========================================================================== */

/* ---- 共通: セクションリズム / 見出し ---------------------------------- */
.area-page .area-section { padding: 72px 24px; }
.area-page .area-section--alt { background: var(--bg-alt, #f4f8f3); }
.area-page .area-section--green-soft { background: #e9f5e9; }
.area-page .area-section__head { text-align: center; max-width: 920px; margin: 0 auto 40px; }
.area-page .area-section__head h2 {
	font-family: var(--font-serif); font-size: 32px; font-weight: 900;
	position: relative; padding-bottom: 18px; line-height: 1.4;
}
.area-page .area-section__head h2::after {
	content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 60px; height: 3px; background: #da8530;
}
.area-page .area-section__lead { margin-top: 16px; font-size: 17px; line-height: 1.9; color: #333; }
.area-page .area-inner { max-width: 1100px; margin: 0 auto; }

/* ---- セクション1: ヒーロー ------------------------------------------- */
.area-hero { background: var(--primary-dark); color: #fff; padding: 64px 24px; text-align: center; }
.area-hero__inner { max-width: 880px; margin: 0 auto; }
.area-hero__title { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 900; line-height: 1.45; margin-bottom: 20px; }
.area-hero__title .area-hero__accent { color: var(--orange-text); }
.area-hero__lead { font-size: 1.05rem; line-height: 1.9; opacity: .95; margin-bottom: 28px; }
.area-hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.area-hero__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .2s; }
.area-hero__btn:hover { transform: translateY(-3px); }
.area-hero__btn--form { background: var(--orange); color: #fff; }
.area-hero__btn--tel { background: #fff; color: #1a1a1a; }
.area-hero__btn--line { background: #06C755; color: #fff; }
.area-hero__btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.area-hero__btn .line-icon { width: 24px; height: 24px; }
.area-hero__hours { font-size: .9rem; opacity: .9; }

/* ---- セクション2: 信頼バッジ ----------------------------------------- */
.area-badges { background: #fff; padding: 40px 24px; }
.area-badges__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 920px; margin: 0 auto; }
.area-badge { text-align: center; border: 1px solid var(--border); border-radius: 12px; padding: 20px 12px; background: #fcfdfc; }
.area-badge__num { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 900; color: var(--orange-text); line-height: 1.1; }
.area-badge__num span { font-size: 1rem; }
.area-badge__label { font-size: .9rem; color: #555; margin-top: 6px; }

/* ---- セクション3: 代表メッセージ（縮小版・ceo 流用） ----------------- */
.area-intro__grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; max-width: 940px; margin: 0 auto; }
.area-intro__photo img { width: 100%; max-width: 220px; aspect-ratio: 1/1; object-fit: cover; object-position: top center; border-radius: 50%; border: 4px solid var(--green-light, #e9f5e9); box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.area-intro__name { font-family: var(--font-serif); font-weight: 900; font-size: 1.1rem; margin-bottom: 12px; }
.area-intro__text p { font-size: 17px; line-height: 1.95; color: #333; margin: 0; }

/* ---- 施工メニューカード（front-page 最新配色を移植） ----------------- */
.area-page .services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; max-width: 1200px; margin: 0 auto; }
.area-page .service-card { background: #e9f5e9; color: #1a1a1a; position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 12px; }
.area-page .service-card__header { background: var(--dark-green); padding: 14px 20px; text-align: center; }
.area-page .service-card__catch { font-size: 16px; font-weight: 700; color: #fff; }
.area-page .service-card__title { font-size: 19px; font-weight: 900; font-family: var(--font-serif); margin-top: 2px; color: #fff; }
.area-page .service-card__body { padding: 16px 20px; flex: 1; background: #e8f5e9; color: #1a1a1a; display: flex; flex-direction: column; }
.area-page .service-card__desc { font-size: 15px; line-height: 1.8; color: #1a1a1a; flex: 1; }
.area-page .service-card__link { display: block; width: fit-content; max-width: 80%; margin: 14px auto 18px; padding: 10px 24px; background: #388e3c; color: #fff; border: 2px solid #388e3c; border-radius: 8px; text-align: center; font-size: .9rem; font-weight: 700; transition: background .2s; text-decoration: none; }
.area-page .service-card__link:hover { background: #2e7d32; }

/* ---- 中間CTA（cta-inline は sections.css 既存。余白だけ調整） -------- */
.area-page .cta-inline { margin: 0; }
/* 中間CTAのLINEボタン（見積り/電話/LINEの3ボタン構成） */
.area-page .btn--line { background: #06C755; color: #fff; }
.area-page .btn--line:hover { background: #05b34c; }
.area-page .btn--line .line-icon { width: 20px; height: 20px; }

/* ---- 料金カード（page-price と同一・インライン style 使用のためCSS不要） */
.area-pricing__note { max-width: 1100px; margin: 20px auto 0; font-size: 14px; color: #555; line-height: 1.8; text-align: center; }
.area-pricing__more { text-align: center; margin-top: 24px; }

/* ---- セクション7: 地域の特徴 ----------------------------------------- */
.area-feature__body { max-width: 860px; margin: 0 auto; }
.area-feature__body p { font-size: 17px; line-height: 2.0; color: #333; margin: 0 0 18px; }
.area-feature__list { max-width: 860px; margin: 24px auto 0; display: grid; gap: 14px; }
.area-feature__item { background: #fff; border-left: 5px solid #da8530; border-radius: 8px; padding: 16px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.area-feature__item dt { font-weight: 900; color: var(--orange-text); margin-bottom: 4px; }
.area-feature__item dd { margin: 0; font-size: 15px; line-height: 1.8; color: #333; }

/* ---- 施工事例カード（front-page 最新版を移植） ----------------------- */
.area-page .cases-header { background: var(--primary-dark); padding: 44px 24px; text-align: center; }
.area-page .cases-header h2 { font-family: var(--font-serif); font-size: 30px; font-weight: 900; color: #fff; }
.area-page .cases-header h2 .hl { color: #fff; text-decoration: underline; text-underline-offset: 8px; }
.area-page .cases-header p { color: #fff; font-size: 16px; margin-top: 8px; }
.area-page .cases { padding: 64px 24px; background: var(--bg-alt); }
.area-page .cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; }
.area-page .case-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.area-page .case-card__title { font-size: 16px; font-weight: 900; padding: 14px 20px; background: var(--primary-dark); color: #fff; }
.area-page .case-card__title a { color: inherit; text-decoration: none; }
.area-page .case-card__tags { padding: 10px 20px; display: flex; gap: 6px; flex-wrap: wrap; }
.area-page .case-card__tag { font-size: 13px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 4px; font-weight: 600; }
.area-page .case-card__ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.area-page .case-card__ba-img { position: relative; }
.area-page .case-card__ba img { width: 100%; height: 180px; object-fit: cover; display: block; }
.area-page .case-card__arrow { padding: 0 6px; display: flex; align-items: center; justify-content: center; color: var(--orange-text); font-weight: 700; }
.area-page .case-card__ba-label { position: absolute; top: 8px; left: 8px; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; letter-spacing: .05em; font-family: var(--font-serif); z-index: 2; }
.area-page .case-card__ba-label--before { background: #666; }
.area-page .case-card__ba-label--after { background: var(--orange); }
.area-page .case-card__data { padding: 16px 20px; font-size: 15px; color: #333; line-height: 1.8; }
.area-page .cases__more { text-align: center; margin-top: 32px; }

/* ---- お客様の声カード（front-page 最新版を移植） --------------------- */
.area-page .voices { padding: 64px 24px; background: #fff; }
.area-page .voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.area-page .voice-card { background: #fff; border-radius: 8px; padding: 0; position: relative; box-shadow: 0 2px 12px rgba(0,0,0,.08); overflow: hidden; }
.area-page .voice-card__top { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 20px 0; text-align: center; }
.area-page .voice-card__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 3px solid var(--gold); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.area-page .voice-card__header { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.area-page .voice-card__stars { color: #d4a017; font-size: 20px; letter-spacing: 3px; }
.area-page .voice-card__name { font-size: 15px; font-weight: 700; color: #222; }
.area-page .voice-card__meta { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.area-page .voice-card__body { padding: 14px 20px 24px; }
.area-page .voice-card__body p { margin: 0 0 14px; font-size: 15px; line-height: 1.9; color: #333; }
.area-page .voice-card__body p:last-child { margin-bottom: 0; }
.area-page .voice-card__body strong { color: var(--orange-text); font-weight: 700; }
.area-voices__more { text-align: center; margin-top: 28px; }

/* ---- セクション10: 保証・安心 --------------------------------------- */
.area-warranty__box { max-width: 760px; margin: 0 auto; background: #fff; border: 2px solid var(--primary); border-radius: 14px; padding: 32px 28px; text-align: center; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.area-warranty__lead { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 900; line-height: 1.6; margin-bottom: 8px; }
.area-warranty__lead strong { color: var(--orange-text); }
.area-warranty__sub { font-size: 1rem; color: #333; margin-bottom: 20px; }

/* ---- FAQ（front-page 最新版を移植） --------------------------------- */
.area-page .faq__list { max-width: 900px; margin: 0 auto; }
.area-page .faq__item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.area-page .faq__q { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; cursor: pointer; font-size: 17px; font-weight: 700; font-family: var(--font-serif); }
.area-page .faq__q-label { color: var(--accent-text); font-weight: 900; margin-right: 10px; font-size: 19px; }
.area-page .faq__toggle { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--primary); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 24px; font-weight: 700; flex-shrink: 0; transition: all .2s; }
.area-page .faq__a { padding: 0 24px 20px; font-size: 16px; line-height: 1.9; color: #333; display: none; border-top: 1px solid var(--border); }
.area-page .faq__item.is-open .faq__a { display: block; padding-top: 16px; }
.area-page .faq__item.is-open .faq__toggle { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- セクション12: 最終CTA（front-page 最新版を移植） --------------- */
.area-page .final-cta { background: #e9f5e9; color: #1a1a1a; padding: 72px 24px; text-align: center; }
.area-page .final-cta__inner { max-width: 860px; margin: 0 auto; }
.area-page .final-cta__title { font-family: var(--font-serif); font-size: 2.1rem; font-weight: 900; margin-bottom: 12px; line-height: 1.4; }
.area-page .final-cta__accent { color: var(--orange-text); }
.area-page .final-cta__sub { font-size: 1.05rem; opacity: .85; margin-bottom: 36px; line-height: 1.7; }
.area-page .final-cta__buttons { display: flex; gap: 20px; justify-content: center; margin-bottom: 24px; align-items: stretch; flex-wrap: wrap; }
/* 追従バーと統一: アイコン＋ラベルを横1行・中央揃え */
.area-page .final-cta__btn { display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 20px 32px; border-radius: 12px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.1rem; transition: transform .2s, box-shadow .2s; min-width: 200px; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.area-page .final-cta__btn:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.area-page .final-cta__btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.area-page .final-cta__btn .line-icon { width: 24px; height: 24px; }
.area-page .final-cta__btn--form { background: var(--orange); color: #fff; }
.area-page .final-cta__btn--tel { background: #fff; color: #333; }
.area-page .final-cta__btn--line { background: #06C755; }
.area-page .final-cta__btn-label { line-height: 1; }
.area-page .final-cta__note { font-size: .85rem; color: #555; margin: 0 0 24px; line-height: 1.7; }
.area-page .final-cta__guarantee { display: inline-block; background: #fff; color: var(--primary-dark); padding: 16px 32px; border-radius: 12px; font-size: .95rem; line-height: 1.7; box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.area-page .final-cta__guarantee-text { color: var(--orange-text); font-weight: 900; display: block; margin-bottom: 6px; font-size: .9rem; }
.area-page .final-cta__guarantee strong { color: var(--orange-text); font-weight: 900; }

/* ---- 近隣エリアリンク ----------------------------------------------- */
.area-nearby { background: var(--bg-alt); padding: 48px 24px; text-align: center; }
.area-nearby__title { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 900; margin-bottom: 18px; }
.area-nearby__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 760px; margin: 0 auto; }
.area-nearby__link { display: inline-block; padding: 10px 20px; background: #fff; border: 1px solid var(--primary); border-radius: 999px; color: var(--orange-text); font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s; }
.area-nearby__link:hover { background: var(--primary); color: #fff; }

/* ---- /area/ 一覧ページ ---------------------------------------------- */
.area-index__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto 48px; }
.area-index__card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px 22px; text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.area-index__card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.area-index__name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 900; color: var(--orange-text); margin-bottom: 6px; }
.area-index__pref { font-size: .85rem; color: var(--text-muted); }
.area-index__drive { font-size: .9rem; color: #555; margin: 10px 0 14px; }
.area-index__more { font-size: .9rem; font-weight: 700; color: var(--orange-text); }
.area-index__map { max-width: 1000px; margin: 0 auto; }
.area-index__map iframe { width: 100% !important; height: 400px !important; border: 0; border-radius: 12px; display: block; }
.area-index__note { max-width: 1000px; margin: 24px auto 0; font-size: 14px; color: #555; text-align: center; }

/* ==========================================================================
   SP レスポンシブ（max-width:767px）
   ========================================================================== */
@media (max-width: 767px) {
	.area-page .area-section { padding: 44px 18px; }
	.area-page .area-section__head h2 { font-size: 1.4rem; }
	.area-hero { padding: 44px 18px; }
	.area-hero__title { font-size: 1.5rem; }
	.area-hero__lead { font-size: .95rem; }
	.area-hero__cta { flex-direction: column; align-items: center; }
	.area-hero__btn { width: 80%; max-width: 320px; }

	.area-badges__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.area-badge__num { font-size: 1.6rem; }

	.area-intro__grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
	.area-intro__photo img { max-width: 50%; }
	.area-intro__text p { font-size: 15px; text-align: left; }

	.area-page .services__grid { grid-template-columns: 1fr; }
	.area-page .cases__grid { grid-template-columns: 1fr; }
	.area-page .voices__grid { grid-template-columns: 1fr; }

	.area-feature__body p { font-size: 15px; }

	.area-page .final-cta__buttons { flex-direction: column; align-items: stretch; }
	.area-page .final-cta__btn { width: 100%; min-width: 0; }
	.area-page .final-cta__title { font-size: 1.5rem; }
	.area-page .faq__q { font-size: .95rem; padding: 18px 18px; }

	.area-index__grid { grid-template-columns: 1fr; }
	.area-index__map iframe { height: 320px; }
}
