/* hacoLab 新デザイン「木と余白」。header.php から読み込む。wp/_build_theme.pl が作るので直接書き換えない（20261001） */
/* hacolab.net 追加CSS（WordPress「外観 > カスタマイズ > 追加CSS」に貼る）
   デザイン「木と余白」（トンマナの決まりごとに準拠）
   ・すべての指定を .hl の中だけに限定しているので、テーマの既存デザインには影響しません
   ・貼り付け用HTMLの一番外側にある <div class="hl"> の中だけに効きます
   ・色を変えるときは、このすぐ下の変数（--bg など）だけを直してください
   ・このファイルは wp/_build.sh が作ります。直接書き換えず、assets/style.css を直してください */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/* hacoLab サイト改修 試作（2026-09-17） */
.hl {
  --bg: #faf8f4;
  --bg-alt: #f1ede5;
  --surface: #ffffff;
  --ink: #2b2925;
  --ink-soft: #5d5850;
  --line: #e2ddd3;
  --accent: #9a6b43;      /* 木の色。ロゴの色規定が決まったら差し替え */
  --accent-dark: #7a5233;
  --line-green: #06c755;  /* LINE公式の色 */
  --line-green-dark: #05a847;
  --todo-bg: #fff3b0;
  --todo-ink: #6b5500;
  --radius: 14px;
  --max: 1080px;
  --gutter: 16px;
  --bar-h: 64px;
}

.hl *,
.hl *::before,
.hl *::after { box-sizing: border-box; }

.hl { scroll-behavior: smooth; }

.hl {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
  padding-bottom: var(--bar-h);
}
@media (min-width: 900px) { .hl { padding-bottom: 0; } }

.hl img { max-width: 100%; height: auto; display: block; }
.hl a { color: inherit; }
.hl svg.ic { display: block; flex: none; fill: none; }

.hl .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { .hl .wrap { padding: 0 32px; } }

/* 試作の注意書き */
.hl .proto-note {
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-size: 13px;
  line-height: 1.6;
  padding: 8px var(--gutter);
  text-align: center;
}
.hl .todo {
  background: var(--todo-bg);
  color: var(--todo-ink);
  border-radius: 4px;
  padding: 0 4px;
  font-size: 0.92em;
}
.hl .todo-block {
  background: var(--todo-bg);
  color: var(--todo-ink);
  border: 1px dashed #d4b94a;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
}

/* ヘッダー */
.hl .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.hl .site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.hl .logo img { height: 32px; width: auto; }
.hl .global-nav { display: none; }
.hl .global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.hl .global-nav a { text-decoration: none; font-size: 14px; font-weight: 500; }
.hl .global-nav a:hover { color: var(--accent); }
.hl .header-cta { display: none; gap: 8px; }
@media (min-width: 900px) {
  .hl .global-nav, .hl .header-cta { display: flex; align-items: center; }
  .hl .menu-btn { display: none; }
}
.hl .menu-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.hl .drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.hl .drawer.open { display: block; }
.hl .drawer ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.hl .drawer li a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

/* ボタン */
.hl .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.3;
  text-align: center;
}
.hl .btn-sm { min-height: 38px; padding: 6px 14px; font-size: 13px; }
.hl .btn-line { background: var(--line-green); color: #fff; }
.hl .btn-line:hover { background: var(--line-green-dark); }
.hl .btn-main { background: var(--accent); color: #fff; }
.hl .btn-main:hover { background: var(--accent-dark); }
.hl .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.hl .btn-ghost:hover { background: var(--bg-alt); }
.hl .btn small { display: block; font-weight: 500; font-size: 12px; opacity: 0.9; }

/* セクション共通 */
.hl section { padding: 64px 0; }
@media (min-width: 900px) { .hl section { padding: 96px 0; } }
.hl .alt { background: var(--bg-alt); }
.hl .sec-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.hl h1, .hl h2, .hl h3 { line-height: 1.45; margin: 0; font-weight: 700; }
.hl h2 { font-size: 26px; margin-bottom: 16px; }
@media (min-width: 900px) { .hl h2 { font-size: 32px; } }
.hl h3 { font-size: 18px; }
.hl .lead { color: var(--ink-soft); margin: 0 0 32px; max-width: 40em; }
.hl p { margin: 0 0 1em; }

/* ファーストビュー */
.hl .hero {
  position: relative;
  padding: 0;
  color: #fff;
  background: #3a342c;
}
.hl .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center; /* スマホでは食卓と台所が入る位置に寄せる */
}
/* 写真全体は暗くせず、文字のある側だけを暗くする（スマホ＝下から、PC＝左から） */
.hl .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 28, 22, 0.10) 0%, rgba(34, 28, 22, 0.45) 38%, rgba(34, 28, 22, 0.82) 100%);
}
@media (min-width: 900px) {
  .hl .hero-img { object-position: center; }
  .hl .hero::after { background: linear-gradient(90deg, rgba(34, 28, 22, 0.80) 0%, rgba(34, 28, 22, 0.62) 38%, rgba(34, 28, 22, 0.12) 72%, rgba(34, 28, 22, 0) 100%); }
}
.hl .hero .wrap {
  z-index: 1;
  position: relative;
  min-height: min(78svh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 64px;
  padding-bottom: 48px;
}
@media (min-width: 900px) { .hl .hero .wrap { min-height: 640px; justify-content: center; } }
.hl .hero h1 {
  font-size: clamp(34px, 9vw, 60px);
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.hl .hero .hero-sub1 { font-size: clamp(18px, 4.6vw, 24px); font-weight: 700; margin-bottom: 8px; }
.hl .hero .hero-sub2 { font-size: 15px; opacity: 0.95; margin-bottom: 28px; }
.hl .hero-cta { display: grid; gap: 10px; max-width: 560px; }
@media (min-width: 600px) { .hl .hero-cta { grid-template-columns: 1fr 1fr; } }
.hl .hero-cta .btn { border-radius: 12px; min-height: 60px; flex-direction: column; gap: 0; }

/* 14周年バナー */
.hl .anniv { padding: 24px 0; background: var(--ink); color: #fff; }
.hl .anniv .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.hl .anniv-num { font-size: 40px; font-weight: 700; line-height: 1; color: #e8c9a6; }
.hl .anniv-text { flex: 1 1 280px; }
.hl .anniv-text strong { display: block; font-size: 18px; }
.hl .anniv .todo { font-size: 13px; }

/* 相談できること */
.hl .consult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 700px) { .hl .consult-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.hl .consult-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-decoration: none;
  min-height: 108px;
}
.hl .consult-item:hover { border-color: var(--accent); }
.hl .consult-item .ic { width: 26px; height: 26px; color: var(--accent); stroke-width: 1.6; }
.hl .consult-item b { font-size: 15px; line-height: 1.45; }
.hl .consult-item span { font-size: 12px; color: var(--ink-soft); line-height: 1.5; margin-top: auto; }
.hl .consult-item.is-line span { color: var(--line-green-dark); font-weight: 700; }
.hl .consult-foot { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }

/* hacoLabとは */
.hl .about-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hl .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.hl .about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.hl .about-img img { width: 100%; height: 100%; object-fit: cover; }
.hl .team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0; }
.hl .team-row div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}
.hl .team-row b { display: block; font-size: 15px; color: var(--accent); }
.hl .stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.hl .stats div { font-size: 13px; color: var(--ink-soft); }
.hl .stats b { display: block; font-size: 32px; color: var(--ink); line-height: 1.2; }

/* サービス */
.hl .service-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .hl .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .hl .service-grid { grid-template-columns: repeat(4, 1fr); } }
.hl .service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hl .service-card:hover { border-color: var(--accent); }
.hl .service-card .tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--accent-dark);
}
.hl .service-card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.7; }
.hl .service-card .more { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* 選ばれる理由 */
.hl .reason-list { display: grid; gap: 16px; }
@media (min-width: 900px) { .hl .reason-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.hl .reason {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--line);
}
.hl .reason .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.hl .reason h3 { margin: 4px 0 12px; font-size: 20px; }
.hl .reason p { font-size: 15px; }
.hl .reason ul { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--ink-soft); }
.hl .reason li { margin-bottom: 6px; }

/* 施工事例 */
.hl .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.hl .tab {
  font: inherit;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.hl .tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.hl .works-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .hl .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .hl .works-grid { grid-template-columns: repeat(3, 1fr); } }
.hl .work { text-decoration: none; display: block; }
.hl .work .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.hl .work .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.hl .work:hover .ph img { transform: scale(1.03); }
.hl .work .meta { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }
.hl .work .cat { font-weight: 700; color: var(--accent); margin-right: 8px; }
.hl .work h3 { font-size: 16px; margin-top: 2px; }
.hl .work[hidden] { display: none; }
.hl .center { text-align: center; margin-top: 32px; }

/* LINE相談（2026年9月18日 代表決定：薄緑をやめ、地の色＋緑の線） */
.hl .line-sec { background: var(--bg-alt); }
.hl .line-box { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hl .line-box { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hl .line-box > div:first-child { border-left: 4px solid var(--line-green); padding-left: 18px; }
.hl .line-sec .sec-label { color: var(--line-green-dark); }
.hl .steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.hl .steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--surface);
  border-radius: 12px;
  padding: 14px;
}
.hl .steps .n {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--line-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.hl .steps b { display: block; }
.hl .steps span { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.hl .line-examples { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.hl .line-examples li {
  background: var(--surface);
  border: 1px solid #cfe9d8;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
}
.hl .chat-mock {
  background: #8cabd9;
  border-radius: 20px;
  padding: 20px 16px;
  max-width: 360px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.hl .bubble { padding: 10px 14px; border-radius: 16px; max-width: 85%; }
.hl .bubble.me { background: #7ee27a; justify-self: end; border-bottom-right-radius: 4px; }
.hl .bubble.us { background: #fff; justify-self: start; border-bottom-left-radius: 4px; }
.hl .bubble.photo {
  background: #e9e4da;
  justify-self: end;
  width: 60%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 12px;
}

/* 対応エリア */
.hl .area-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .hl .area-grid { grid-template-columns: repeat(3, 1fr); } }
.hl .area-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.hl .area-card h3 { font-size: 16px; margin-bottom: 6px; }
.hl .area-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* イベント */
.hl .event-list { display: grid; gap: 12px; }
.hl .event {
  display: grid;
  gap: 4px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
@media (min-width: 700px) { .hl .event { grid-template-columns: 180px 1fr; } }
.hl .event .date { font-weight: 700; color: var(--accent); }

/* 最終導線 */
.hl .contact-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .hl .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.hl .contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hl .contact-card .who { font-size: 13px; font-weight: 700; color: var(--accent); }
.hl .contact-card.is-line .who { color: var(--line-green-dark); }
.hl .contact-card h3 { font-size: 19px; }
.hl .contact-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 6px; }
.hl .contact-card .btns { margin-top: auto; display: grid; gap: 8px; }
.hl .hours { margin-top: 24px; font-size: 14px; color: var(--ink-soft); text-align: center; }

/* 下層ページ */
.hl .page-head { padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
.hl .page-head h1 { font-size: clamp(26px, 6vw, 38px); margin-bottom: 8px; }
.hl .breadcrumb { font-size: 12px; color: var(--ink-soft); margin-bottom: 12px; }
.hl .breadcrumb a { text-decoration: none; }
.hl .svc-block {
  display: grid;
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}
@media (min-width: 900px) { .hl .svc-block { grid-template-columns: 320px 1fr; gap: 40px; } }
.hl .svc-block .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.hl .svc-block .ph img { width: 100%; height: 100%; object-fit: cover; }
.hl .ph-empty {
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--todo-ink);
  background: var(--todo-bg) !important;
  border: 1px dashed #d4b94a;
  padding: 12px;
}
.hl .svc-block h2 { font-size: 24px; margin-bottom: 8px; }
.hl .svc-block dl { margin: 12px 0 16px; display: grid; gap: 10px; }
.hl .svc-block dt { font-size: 13px; font-weight: 700; color: var(--accent); }
.hl .svc-block dd { margin: 0; font-size: 15px; }
.hl .svc-block .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hl .jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hl .jump a {
  font-size: 13px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.hl .note { font-size: 13px; color: var(--ink-soft); }

.hl .faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.hl .faq summary { font-weight: 700; cursor: pointer; }
.hl .faq details p { margin: 10px 0 0; font-size: 15px; color: var(--ink-soft); }

.hl .send-list { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .hl .send-list { grid-template-columns: repeat(2, 1fr); } }
.hl .send-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.hl .send-list b { display: block; }
.hl .send-list span { font-size: 14px; color: var(--ink-soft); }

/* フッター */
.hl .site-footer { background: var(--ink); color: #d9d4ca; padding: 48px 0 32px; font-size: 14px; }
.hl .site-footer a { color: #fff; }
.hl .footer-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .hl .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.hl .site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.hl .site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.hl .site-footer .copy { margin-top: 32px; font-size: 12px; opacity: 0.7; text-align: center; }
.hl .site-footer .todo { color: var(--todo-ink); }

/* スマホ下部の固定ボタン */
.hl .fixed-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  padding-bottom: env(safe-area-inset-bottom);
}
.hl .fixed-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  gap: 2px;
  line-height: 1.2;
}
.hl .fixed-bar .ic { width: 20px; height: 20px; stroke-width: 1.7; }
.hl .fixed-bar .fb-line { background: var(--line-green); color: #fff; }
.hl .fixed-bar .fb-line small { font-weight: 500; font-size: 10px; }
@media (min-width: 900px) { .hl .fixed-bar { display: none; } }

/* 相談できること：写真つきのカード（2026年9月19日） */
.hl .ask-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .hl .ask-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.hl .ask {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}
.hl .ask:hover { border-color: var(--accent); }
.hl .ask .ph { aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.hl .ask .ph img { width: 100%; height: 100%; object-fit: cover; }
.hl .ask .ph-icon { display: grid; place-items: center; }
.hl .ask .ph-icon .ic { width: 44px; height: 44px; color: var(--accent); stroke-width: 1.3; }
.hl .ask b { padding: 12px 14px 0; font-size: 15px; line-height: 1.45; }
.hl .ask span { padding: 2px 14px 14px; font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
@media (min-width: 700px) { .hl .ask b { font-size: 17px; } }
@media (min-width: 700px) { .hl .ask span { font-size: 13px; } }

/* 大切にしていること：写真を入れたとき */
.hl .reason .ph { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: var(--bg-alt); }
.hl .reason .ph img { width: 100%; height: 100%; object-fit: cover; }

/* ご相談の入口：#build #visit へ飛んだとき、上のヘッダーに隠れないように */
.hl .contact-card { scroll-margin-top: 90px; }

/* 仮の写真（ハコラボの施工写真をイメージとして使っている場所）。自社の写真に入れ替えたら class の is-image を外す（2026年10月1日） */
.hl .ph.is-image { position: relative; }
.hl .ph.is-image::after {
  content: "イメージ";
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(43, 41, 37, 0.62);
  color: #fff;
  letter-spacing: 0.05em;
}

/* 14周年の帯：期間と費用の一文 */
.hl .anniv-text span { display: block; font-size: 14px; line-height: 1.7; color: #e9e3d8; }

/* イベントの本文 */
.hl .event p { font-size: 15px; }

/* ご相談の入口：地図 */
.hl .map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-alt); }
.hl .map iframe { width: 100%; height: 100%; border: 0; display: block; }


/* ============================================================
   テーマ（rega）との調整　2026年9月19日
   テーマのCSSを読んで、試作の見た目を崩す指定だけを打ち消す。
   どれも .hl の中、または「.hl を含むページ」だけに効く。
   ============================================================ */

/* テーマが見出しの色を黒に固定している（最初の画面の白い見出しが黒くなる） */
.hl h1, .hl h2, .hl h3 { color: inherit; }

/* テーマが section に上の余白（幅の10%）を付けている */
.hl section { margin: 0; }

/* テーマの .wrap はスマホで幅90%になる。試作の中の .wrap は幅を指定しない */
.hl .wrap { width: auto; }

/* テーマがリンクの色と、押したときの色・画像の半透明を指定している */
.hl a:hover { color: inherit; }
.hl a:hover img { opacity: 1; }

/* テーマが全体で大文字への変換を止めている（英字の小見出し） */
.hl .sec-label { text-transform: uppercase !important; }

/* テーマが ul の黒丸を消している（「大切にしていること」の箇条書き） */
.hl .reason ul { list-style: disc; }

/* 固定ページのテンプレートが自動で出すページ名の見出しと、本文の前後に入る段落（余白が幅の5%付く）を隠す
   （新しい4ページだけ。今までのページには効かない） */

/* 固定ページの枠（テーマの .wrap）を画面の幅いっぱいにする。
   上の余白は、上に固定されたテーマのヘッダーの高さの分だけ残す */

/* テーマがリンクの下線を消している。文章の中のリンクだけ下線を戻す */
.hl p a, .hl dd a { text-decoration: underline; }


/* ---- テーマ差し替え方式：上に固定されたヘッダー（PC 65px／スマホ 55px）の分だけ下げる ---- */
body > .hl { padding-top: 65px; }
@media (max-width: 767px) { header ~ .hl { padding-top: 55px; } }

/* ============================================================
   今のお問い合わせページ（/contact/）と、ヘッダーのボタンの色を
   「木と余白」に合わせる　2026年9月19日
   貼る場所：外観 > カスタマイズ > 追加CSS の一番下（追加CSS.css の後ろ）
   ・テーマのファイルは触らない。色・枠・角の丸みだけを上書きする
   ・文章（営業時間、「LINE無料相談」の文字）はCSSでは変えられない
   ・やめたいときは、この塊を消せば元の色に戻る
   ============================================================ */

/* --- お問い合わせページの本文 --- */
article.contact { background: #faf8f4; color: #2b2925; }
article.contact h2.topic,
article.contact h2.topic span { color: #2b2925; }

/* 飾りの図形（水色の丸・灰色の三角と四角）を隠す。残したい場合はこの3行を消す */
article.contact .contact-main .circle-img,
article.contact .contact-main .triangle-img,
article.contact .contact-main .contact-img { display: none; }

/* LINEの枠：黒い枠線をやめ、白地＋左に緑の線（新しいページと同じ見せ方） */
section.contact-line {
  background: #fff;
  border: 1px solid #e2ddd3;
  border-left: 4px solid #06c755;
  border-radius: 14px;
}
section.contact-line h3 { color: #2b2925; }
section.contact-line p { color: #5d5850; }
section.contact-line a {
  background: #06c755 !important;
  color: #fff !important;
  border-radius: 12px;
}
section.contact-line a:hover { background: #05a847 !important; color: #fff !important; }

/* フォーム */
section.contact-form table.contact-box tbody tr { border-bottom-color: #e2ddd3; }
section.contact-form table.contact-box tbody tr.top-title.hope-detail:before { border-bottom-color: #e2ddd3; }
section.contact-form table.contact-box tbody tr th span { color: #2b2925; }
/* 「必須」の赤を、木の色（濃いほう）に。赤はエラー表示のために取っておく */
section.contact-form table.contact-box tbody tr th small { background-color: #7a5233; }
section.contact-form table.contact-box tbody tr th small.color-grey { background-color: #8c867c; }
section.contact-form table.contact-box tbody tr td input,
section.contact-form table.contact-box tbody tr td textarea,
section.contact-form textarea {
  background-color: #fff !important;
  border: 1px solid #cfc8bb !important;
  border-radius: 8px;
  color: #2b2925;
}
section.contact-form table.contact-box tbody tr td input:focus,
section.contact-form table.contact-box tbody tr td textarea:focus { border-color: #9a6b43; outline: 2px solid rgba(154, 107, 67, .25); }

/* 送信ボタン：白地＋黒枠 → 木の色の塗り */
section.contact-form .send-button .wpcf7-submit,
section.contact-form .send-button .wpcf7c-btn-confirm {
  background: #9a6b43;
  border-color: #9a6b43;
  color: #fff;
  border-radius: 12px;
}
section.contact-form .send-button .wpcf7-submit:hover { background: #7a5233; border-color: #7a5233; color: #fff; }
section.contact-form .send-button::after { border-bottom-color: #fff; border-right-color: #fff; }

/* 電話の枠：黒い枠線と水色の番号 → 白地＋木の色 */
section.contact-tel { background: #fff; border: 1px solid #e2ddd3; border-radius: 14px; }
section.contact-tel h3.topic { color: #2b2925; }
section.contact-tel .detail-box p.tel,
section.contact-tel .detail-box p.tel a { color: #7a5233; }
section.contact-tel .detail-box p.text { color: #5d5850; }

/* --- ヘッダーの「お問い合わせ」ボタン（全ページに出る）：オレンジ → 木の色 --- */
.contact-button { background-color: #9a6b43; }
.contact-button:hover { background-color: #7a5233; }
.contact-button a, .contact-button a:hover { color: #fff; }
@media (max-width: 767px) { .contact-sp { background-color: #9a6b43; } }


/* ============================================================
   フッターの上の「contact」の帯（全ページに出る水色の部分）
   2026年9月19日
   ・水色 #479FBF → 「木と余白」の色に
   ・A案（おすすめ）と B案のどちらか片方だけを残す。今は A案が有効
   ============================================================ */

/* --- A案：生成りの濃いほう＋墨の文字＋電話番号は濃い木の色（飾りを足さない） --- */
section.contact-footer { background-color: #f1ede5; }
section.contact-footer .contact-box { color: #2b2925; }
section.contact-footer .contact-box p.title { color: #7a5233; }
section.contact-footer .contact-box p.text { font-weight: 500; color: #5d5850; }
section.contact-footer .contact-box p.tel { color: #7a5233; }
section.contact-footer a .stickarrow { background-color: #9a6b43; }
section.contact-footer a .stickarrow:before { border-bottom-color: #fff; border-right-color: #fff; }

/* --- B案：木の色の塗り＋白い文字（帯として目立たせる）。使うときは A案の7行を消して、下のコメントを外す ---
section.contact-footer { background-color: #9a6b43; }
section.contact-footer .contact-box { color: #fff; }
section.contact-footer .contact-box p.text { font-weight: 500; }
section.contact-footer a .stickarrow { background-color: #fff; }
section.contact-footer a .stickarrow:before { border-bottom-color: #7a5233; border-right-color: #7a5233; }
*/

/* --- 新しい4ページ（トップ・できること・LINE相談・ご相談の入口）では、この帯を出さない ---
   ページの最後に「ご相談の入口」のボタンがあり、同じ案内が2回続くため。
   出したい場合は、次の1行を消す */

/* ---- ヘッダーの「ご相談の入口」ボタン（スマホ）：2行目 ---- */
.contact-sp a span { display: block; }
