/* =========================================
   Taihei LP (lp.css) - cleaned final
   Scope: .taihei-lp only
========================================= */

/* ---------- Variables ---------- */
:root{
  --orange:#E86A1A;
  --orange-soft:#FAD3B0;
  --beige:#FCF6EA;
  --text:#4A3A2A;
  --head:#3A2A1A;
  --white:#fff;

  --container:1160px;
  --sec:80px;

  --radius-pill:999px;
  --radius-card:18px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

/* ---------- LP isolation reset ---------- */
.taihei-lp{ margin:0; padding:0; color:var(--text); }
.taihei-lp, .taihei-lp *{ box-sizing:border-box; }
.taihei-lp img{ max-width:100%; height:auto; display:block; }
.taihei-lp a{ color:inherit; text-decoration:none; }
.taihei-lp ul, .taihei-lp ol{ margin:0; padding:0; list-style:none; }
.taihei-lp p{ margin:0; }
.taihei-lp button{ font:inherit; }
html.lp-noscroll, html.lp-noscroll body{ overflow:hidden; }

/* 基本文字 */
.taihei-lp{
  font-family:"Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height:1.7;
}

/* レイアウト */
.taihei-lp .lp-container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}
.taihei-lp .lp-center{ text-align:center; }

/* ---------- Typography ---------- */
.taihei-lp .lp-label{
  display:inline-block;
  background:rgba(255,255,255,.9);
  color:var(--head);
  font-weight:700;
  font-size:14px;
  padding:6px 10px;
  border-radius:6px;
  margin-bottom:24px;
}
.taihei-lp .lp-h1{
  font-size:40px;
  line-height:1.25;
  letter-spacing:.01em;
  color:var(--head);
  margin:0 0 24px;
  font-weight:900;
}
.taihei-lp .lp-h2{
  font-size:28px;
  line-height:1.4;
  color:var(--head);
  margin:0 0 40px;
  font-weight:900;
}
.taihei-lp .lp-h3{
  font-size:18px;
  line-height:1.4;
  color:var(--head);
  margin:0 0 8px;
  font-weight:900;
}
.taihei-lp .lp-lead{
  font-size:16px;
  margin:0 0 32px;
}
.taihei-lp .lp-text{
  font-size:16px;
  margin:0 0 24px;
}

/* ---------- Header (ラフ寄せ) ---------- */
.taihei-lp .lp-header{
  position:sticky;
  top:0;
  z-index:9999;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.taihei-lp .lp-header.is-scrolled{
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* ここが“縦ズレ”の本丸：行高暴れをヘッダー内だけ止める */
.taihei-lp #lp-header,
.taihei-lp #lp-header *{ line-height:1.2; }

.taihei-lp .lp-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:80px;
  padding:12px 24px;
}

.taihei-lp .lp-header__left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.taihei-lp .lp-logo__img,
.taihei-lp .lp-sublogo__img{ height:28px; width:auto; }

.taihei-lp .lp-logo__text{
  font-weight:900;
  color:var(--head);
  letter-spacing:.02em;
  white-space:nowrap;
}
.taihei-lp .lp-sublogo__text{
  font-weight:900;
  color:var(--head);
  opacity:.85;
  white-space:nowrap;
}
.taihei-lp .lp-logo-sep{ opacity:.35; }

.taihei-lp .lp-header__right{
  display:flex;
  align-items:center;
  gap:16px;
}
.taihei-lp .lp-header__tel{
  text-align:right;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 右揃え */
  text-align: right;
  line-height: 1.2;
 }
.taihei-lp .lp-header__hours{
  display: block;
  width: 100%;          /* 親の幅いっぱい使う */
  text-align: right;    /* 右端を揃える */
  font-size: 12px;
  color: rgba(74,58,42,.8);
  font-weight: 600;
}
.taihei-lp .lp-header__phone{
  display: block;
  width: 100%;          /* 親の幅いっぱい使う */
  text-align: right;    /* 右端を揃える */
  font-size: 16px;
  font-weight: 900;
  color: var(--orange); /* ←オレンジ */
}

/* ---------- Buttons (矢印だけhover) ---------- */
.taihei-lp .lp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:var(--radius-pill);
  padding:16px 32px;
  font-weight:900;
  font-size:16px;
  border:1px solid transparent;
  cursor:pointer;
  white-space:nowrap;
  /* ここ重要：ボタン自体は動かさない */
  transition:background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  line-height:0; /* 文字の縦ズレ対策 */
}
.taihei-lp .lp-btn--primary{
  background:var(--orange);
  color:#fff;
}
.taihei-lp .lp-btn--header{
  background:var(--orange);
  color:#fff;
  padding:12px 18px;
  font-size:14px;
}

/* 矢印だけ動かす */
.taihei-lp .lp-btn .lp-icon-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  transform:translateX(0);
  transition:transform .18s ease;
}
.taihei-lp .lp-btn:hover .lp-icon-arrow{
  transform:translateX(4px);
}
.taihei-lp .lp-btn--primary:hover,
.taihei-lp .lp-btn--header:hover{
  background:#d85f15;
}

/* ---------- Burger (PCでも出す) ---------- */
.taihei-lp .lp-burger{
  width:44px; height:44px;
  border:none;
  background:transparent;
  display:inline-flex; /* ←常時表示 */
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}
.taihei-lp .lp-burger span{
  width:22px; height:2px;
  background:var(--head);
  border-radius:999px;
  display:block;
}

/* ---------- Drawer ---------- */
.taihei-lp .lp-drawer{
  position:fixed;
  top:0; right:0;
  width:min(86vw, 360px);
  height:100vh;
  background:#fff;
  transform:translateX(110%);
  transition:transform .25s ease;
  z-index:1100;
  box-shadow:-20px 0 40px rgba(0,0,0,.12);
  padding-top:80px; /* header高さ */
}
.taihei-lp .lp-drawer.is-open{ transform:translateX(0); }
.taihei-lp .lp-drawer__inner{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:18px 16px 24px;
}
.taihei-lp .lp-drawer a{
  padding:12px 10px;
  border-radius:12px;
  font-weight:900;
  color:var(--head);
  background:var(--beige);
}
.taihei-lp .lp-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:1050;
}
.taihei-lp .lp-backdrop.is-open{
  opacity:1;
  pointer-events:auto;
}

/* ---------- Sections ---------- */
.taihei-lp .lp-section{ padding:var(--sec) 0; }
.taihei-lp .lp-section--plain{ background:#fff; }
.taihei-lp .lp-section--bg{ background:var(--beige); }

/* ---------- Hero (ラフ寄せ：上は薄グラ、右に人物想定) ---------- */
.taihei-lp .lp-hero{
  min-height:520px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:right center;
  /* 画像は固定ページ側のstyle or CSSで差替 */
}
.taihei-lp .lp-hero__inner{
  width:100%;
  padding:80px 0;
}
.taihei-lp .lp-hero__content{
  max-width:560px; /* 左ブロック */
}
.taihei-lp .lp-hero__cta{ margin-top:32px; }

/* ---------- About (薄オレンジ背景 + 多重画像30%) ---------- */
.taihei-lp .lp-about{
  background-color:var(--orange-soft);
  position:relative;
  overflow:hidden;
}
.taihei-lp .lp-about::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    url('../images/lp-description-1.png'),
    url('../images/lp-description-2.png'),
    url('../images/lp-description-3.png');
  background-size:cover;
  background-position:center;
  opacity:.3; /* 指定：30% */
  pointer-events:none;
}
.taihei-lp .lp-about__inner{ position:relative; z-index:1; }

.taihei-lp .lp-about__logoRow{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:24px;
  margin:24px 0 24px;
}
.taihei-lp .lp-about__badge{ max-height:120px; width:auto; }
.taihei-lp .lp-about__anniv{ max-height:70px; width:auto; }

.taihei-lp .lp-stats{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.taihei-lp .lp-stat{
  background:#fff;
  border-radius:10px; /* ラフは角丸弱め */
  padding:16px 18px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  text-align:center;
  border:1px solid rgba(58,42,26,.12);
}
.taihei-lp .lp-stat__top{ font-size:12px; font-weight:900; color:rgba(58,42,26,.75); }
.taihei-lp .lp-stat__main{ margin-top:4px; font-size:18px; font-weight:900; color:var(--head); }

/* ---------- Worries (丸カード) ---------- */
.taihei-lp .lp-worriesWrap{ padding-top:30px; }
.taihei-lp .lp-worries{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:18px;
  margin-top:24px;
  justify-items:center;
}
.taihei-lp .lp-worry{
  width:100%;
  max-width:150px;
  aspect-ratio:1/1;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(58,42,26,.12);
  box-shadow:0 10px 20px rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:14px;
}
.taihei-lp .lp-worry p{
  font-weight:900;
  color:var(--head);
  line-height:1.35;
  font-size:13px;
}
.taihei-lp .lp-worries__arrow{
  margin-top:18px;
  font-weight:900;
  color:var(--head);
}

/* ---------- Features (オレンジ帯 + 白カード5枚) ---------- */
.taihei-lp .lp-featuresSection{
  background:var(--orange);
  color:#fff;
}
.taihei-lp .lp-featuresSection .lp-h2,
.taihei-lp .lp-featuresSection .lp-h3{ color:#fff; }
.taihei-lp .lp-featuresSection .lp-lead{ color:rgba(255,255,255,.92); }

.taihei-lp .lp-features{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:16px;
  margin-top:24px;
}
.taihei-lp .lp-featureCard{
  background:#fff;
  color:var(--text);
  border-radius:10px;
  padding:18px 16px;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
  min-height:190px;
}
.taihei-lp .lp-featureIcon{
  width:42px; height:42px;
  border-radius:10px;
  background:var(--beige);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
  color:var(--orange);
  font-size:20px;
}
.taihei-lp .lp-featuresCta{
  display:flex;
  justify-content:center;
  margin-top:18px;
}
.taihei-lp .lp-btn--ghost{
  background:#fff;
  color:var(--orange);
  border:1px solid rgba(255,255,255,.0);
}
.taihei-lp .lp-btn--ghost:hover{
  background:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

/* ---------- Voice (ラフ：2列カード) ---------- */
.taihei-lp .lp-voice{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
  margin-top:24px;
}
.taihei-lp .lp-voiceCard{
  background:#fff;
  border-radius:10px;
  padding:18px 16px;
  border:1px solid rgba(58,42,26,.12);
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.taihei-lp .lp-voiceTitle{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:10px;
}
.taihei-lp .lp-voiceTitle i{ color:var(--orange); margin-top:2px; }

/* ---------- Flow (横長STEPバー) ---------- */
.taihei-lp .lp-flow{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:24px;
}
.taihei-lp .lp-step{
  background:#f2d6bf; /* ラフ寄せの薄オレンジ */
  border-radius:10px;
  padding:14px 16px;
  border:1px solid rgba(58,42,26,.12);
}
.taihei-lp .lp-step__row{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:14px;
  align-items:center;
}
.taihei-lp .lp-step__tag{
  font-weight:900;
  color:#fff;
  background:var(--orange);
  border-radius:8px;
  padding:6px 10px;
  text-align:center;
}
.taihei-lp .lp-step__title{ font-weight:900; color:var(--head); margin:0 0 6px; }
.taihei-lp .lp-step__text{ margin:0; font-size:14px; }

/* ---------- Contact (フォームの見た目をラフ寄せ) ---------- */
.taihei-lp .lp-formBox{
  max-width:720px;
  margin:0 auto;
  background:#fff;
  border-radius:10px;
  padding:18px 16px 22px;
  border:1px solid rgba(58,42,26,.12);
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}
.taihei-lp .lp-note{
  font-size:12px;
  color:rgba(74,58,42,.85);
  margin:0 0 18px;
  text-align:center;
}

/* CF7 */
.taihei-lp .wpcf7 form{ margin:0; }
.taihei-lp .wpcf7 .lp-fields{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.taihei-lp .wpcf7 .lp-field label{
  display:flex;
  align-items:center;
  justify-content:space-between; /* ラフの「必須」バッジを右へ */
  gap:12px;
  font-weight:900;
  color:var(--head);
  font-size:13px;
  margin:0 0 8px;
}
.taihei-lp .wpcf7 .lp-required{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:18px;
  padding:0 8px;
  border-radius:999px;
  background:var(--orange);
  color:#fff;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}

.taihei-lp .wpcf7 input[type="text"],
.taihei-lp .wpcf7 input[type="email"],
.taihei-lp .wpcf7 input[type="tel"],
.taihei-lp .wpcf7 select,
.taihei-lp .wpcf7 textarea{
  width:100%;
  border:1px solid rgba(58,42,26,.22);
  border-radius:6px;
  padding:12px 12px;
  font-size:16px;
  outline:none;
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.taihei-lp .wpcf7 textarea{ min-height:140px; resize:vertical; }

.taihei-lp .wpcf7 input:focus,
.taihei-lp .wpcf7 select:focus,
.taihei-lp .wpcf7 textarea:focus{
  border-color:rgba(232,106,26,.75);
  box-shadow:0 0 0 4px rgba(232,106,26,.12);
}

/* 送信 */
.taihei-lp .wpcf7 .lp-submit{
  margin-top:16px;
  display:flex;
  justify-content:center;
}
.taihei-lp .wpcf7 input[type="submit"]{
  appearance:none;
  border:none;
  background:var(--orange);
  color:#fff;
  border-radius:var(--radius-pill);
  padding:14px 26px;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
  transition:background-color .18s ease, box-shadow .18s ease;
  line-height:1;
}
.taihei-lp .wpcf7 input[type="submit"]:hover{
  background:#d85f15;
}

/* ---------- Footer ---------- */
.taihei-lp .lp-footer{
  background:#fff;
}
.taihei-lp .lp-footer__inner{
  padding:26px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}
.taihei-lp .lp-footer__imgRow{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}
.taihei-lp .lp-footer__hours{ font-size:12px; font-weight:700; opacity:.85; text-align:center; }
.taihei-lp .lp-footer__phone{ font-size:16px; font-weight:900; color:var(--head); text-align:center; }

.taihei-lp .lp-copyright{
  background:var(--head);
  color:#fff;
  padding:16px 0;
  margin:0;
}

/* ---------- Back to top (一定スクロールで出す) ---------- */
.taihei-lp .lp-top{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1200;
  width:52px;
  height:52px;
  border-radius:14px;
  background:var(--orange);
  color:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.2);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transform:translateY(6px);
  transition:opacity .2s ease, transform .2s ease, background-color .18s ease;
}
.taihei-lp .lp-top.is-show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.taihei-lp .lp-top:hover{ background:#d85f15; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .taihei-lp .lp-header__tel{ display:none; }
  .taihei-lp .lp-features{ grid-template-columns:repeat(2, 1fr); }
  .taihei-lp .lp-stats{ grid-template-columns:1fr; }
  .taihei-lp .lp-worries{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width: 767px){
  .taihei-lp .lp-header__inner{
    min-height:64px;
    padding:10px 14px;
  }
  .taihei-lp .lp-drawer{ padding-top:64px; }

  .taihei-lp .lp-h1{ font-size:30px; }
  .taihei-lp .lp-h2{ font-size:22px; margin-bottom:28px; }

  .taihei-lp .lp-section{ padding:64px 0; }

  .taihei-lp .lp-hero{ min-height:520px; background-position:right 30% center; }
  .taihei-lp .lp-hero__content{ max-width:100%; }

  .taihei-lp .lp-worries{ grid-template-columns:repeat(2, 1fr); }
  .taihei-lp .lp-voice{ grid-template-columns:1fr; }

  .taihei-lp .lp-features{ grid-template-columns:1fr; }

  .taihei-lp .lp-step__row{ grid-template-columns:92px 1fr; }
}
