@charset "UTF-8";
/* =========================================================
   にじいろペイント 下層ページ専用CSS
   - トップページの front.css とは独立したファイルです
   - 共通の site-header / drawer / footer / button / container
     のスタイルを含んでいます
   ========================================================= */

/* ============ Reset / Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #2d2a26;
  line-height: 1.8;
  background: #fffaf2;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== WordPress 管理バー対応 =====
   ログイン時のみ <body class="admin-bar"> が付くので、
   sticky ヘッダーを管理バーの分だけ下げる。 */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ============ Header（共通） ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #f0e8d8;
}
.site-header__inner {
  display: flex; align-items: center; gap: 16px;
  height: 72px;
  padding: 0 20px;
  width: min(100% - 0px, 1280px);
  margin-inline: auto;
}
.site-header__logo img { height: 44px; width: auto; }
.site-header__tagline {
  font-size: 13px; color: #6b6358; margin: 0 auto 0 12px;
}
.menu-button {
  width: 48px; height: 48px;
  background: #f7941d; border: 0; border-radius: 8px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  margin-left: auto;
}
.menu-button span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
}
@media (max-width: 768px) {
  .site-header__inner { height: 60px; padding: 0 12px; }
  .site-header__logo img { height: 36px; }
  .site-header__tagline { display: none; }
}

/* ============ Drawer（共通） ============ */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
}
.drawer.is-open { visibility: visible; opacity: 1; }
.drawer__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4);
}
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(420px, 90%);
  background: #fff;
  padding: 24px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateX(100%); transition: transform .3s;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: transparent; border: 0;
}
.drawer__close::before, .drawer__close::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 22px; height: 2px; background: #333;
}
.drawer__close::before { transform: rotate(45deg); }
.drawer__close::after  { transform: rotate(-45deg); }
.drawer__logo { height: 48px; width: auto; margin: 8px 0 4px; }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-bottom: 1px solid #efe7d6; margin-bottom: 12px; }
.drawer__nav a { padding: 10px 8px; font-weight: 600; border-bottom: 1px dashed #eadfc4; }
.drawer__banners { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer__banners img { border-radius: 8px; }
.drawer__cta { display: grid; gap: 8px; margin-top: 12px; }
.drawer__tel { display: block; text-align: center; font-size: 24px; font-weight: 700; color: #f7941d; }
.drawer__hours { text-align: center; font-size: 12px; color: #6b6358; }

/* ============ Buttons（共通） ============ */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; min-width: 220px;
  border-radius: 999px; color: #fff; font-weight: 700; line-height: 1.4;
  box-shadow: 0 6px 0 rgba(0,0,0,.12);
  transition: transform .15s, box-shadow .15s;
}
.button:hover { transform: translateY(2px); box-shadow: 0 4px 0 rgba(0,0,0,.12); opacity: 1; }
.button--orange { background: #f7941d; }
.button--green  { background: #25b34b; }
.button--blue   { background: #2f86c8; }
.button--white  { background: #fff; color: #2f86c8; border: 2px solid #2f86c8; box-shadow: 0 6px 0 rgba(47,134,200,.18); }
.button--cta    { min-width: 260px; padding: 16px 24px; font-size: 16px; }
.button__icon   { width: 22px; height: auto; }
.button__arrow  { margin-left: 6px; font-size: 18px; }
.button-row     { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.section-button { text-align: center; margin-top: 32px; }

/* ============ Sub Hero（下層ページ共通） ============ */
.sub-main { background: #fffaf2; }
.sub-hero {
  background: linear-gradient(135deg, #2f86c8 0%, #56a8dd 100%);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sub-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px;
  background: radial-gradient(circle at 12px 0, transparent 14px, #fffaf2 14px);
  background-size: 24px 24px;
}
.sub-hero__inner { position: relative; z-index: 1; }
.sub-hero__en {
  font-family: "Anton", sans-serif;
  letter-spacing: .15em;
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0 0 8px;
  opacity: .9;
}
.sub-hero__title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  margin: 0;
}
.sub-hero__desc {
  margin: 14px auto 0;
  max-width: 680px;
  font-size: 15px;
  opacity: .95;
}
.sub-hero--404 .sub-hero__en { font-size: 64px; letter-spacing: .05em; opacity: .8; }

/* ============ Breadcrumb ============ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #f0e8d8;
  padding: 10px 0;
  font-size: 13px;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; color: #6b6358; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #b8aa8b; }
.breadcrumb a:hover { color: #2f86c8; }

/* ============ Sub Content 共通 ============ */
.sub-content { padding: 56px 0 72px; }
.sub-content__narrow { max-width: 880px; }

/* 投稿本文（the_content） */
.entry-content { font-size: 16px; }
.entry-content h2 { font-size: 24px; margin: 40px 0 16px; padding: 12px 16px; background: #2f86c8; color: #fff; border-radius: 8px; }
.entry-content h3 { font-size: 20px; margin: 32px 0 12px; padding-left: 12px; border-left: 4px solid #f7941d; }
.entry-content h4 { font-size: 17px; margin: 24px 0 8px; color: #2f86c8; }
.entry-content p  { margin: 0 0 16px; }
.entry-content a  { color: #2f86c8; text-decoration: underline; }
.entry-content img { border-radius: 8px; margin: 16px 0; }
.entry-content ul { list-style: disc; padding-left: 1.5em; margin: 0 0 16px; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin: 0 0 16px; }
.entry-content blockquote {
  margin: 16px 0; padding: 16px 20px;
  background: #f6f1e6; border-left: 4px solid #f7941d; border-radius: 6px;
}

/* =================================================================
   塗装プラン page-paint
   - 黄色背景に白カード／大きな赤の価格表示が特徴
   - 添付サンプルのトンマナを参考に、にじいろペイントの色に調整
   ================================================================= */
.sp-only { display: none; }
@media (max-width: 600px) { .sp-only { display: inline; } }

.paint-section {
  position: relative;
  background: #FFD400;
  padding: 24px 0 64px;
  overflow: hidden;
}
.paint-section__wave {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  height: 32px;
  display: block;
}
.paint-section__wave--top { top: -1px; }
.paint-section__wave--top path { fill: #fffaf2; }
.paint-section__wave--bottom { bottom: -1px; }
.paint-section__wave--bottom path { fill: #fffaf2; }

.paint-section__heading {
  position: relative;
  padding: 24px 16px 28px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}
.paint-section__en {
  font-family: "Anton", "Yu Gothic", sans-serif;
  letter-spacing: .18em;
  font-size: 16px;
  color: #2f86c8;
  margin: 0 0 6px;
}
.paint-section__title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900;
  color: #1d2c54;
  margin: 0 0 16px;
  line-height: 1.25;
  text-shadow: 0 2px 0 #fff;
}
.paint-section__lead {
  font-size: 15px;
  color: #4d463d;
  margin: 0;
  line-height: 1.8;
}
.paint-section__lead strong { color: #c62b2b; font-weight: 700; }

.paint-section__chara {
  position: absolute;
  right: -8px;
  top: -8px;
  width: clamp(80px, 12vw, 130px);
  pointer-events: none;
}
@media (max-width: 600px) { .paint-section__chara { display: none; } }

/* グリッド */
.paint-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 28px;
}
@media (max-width: 600px) {
  .paint-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 380px) {
  .paint-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .paint-grid { grid-template-columns: repeat(3, 1fr); }
}

/* カード本体 */
.paint-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.paint-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

/* 写真エリア（左上の黄色タグつき） */
.paint-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #efe7d6;
  overflow: hidden;
}
.paint-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.paint-card__topbadge {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  background: #FFD400;
  color: #1d2c54;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  padding: 6px 10px;
  border-radius: 6px;
  max-width: 60%;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
  text-align: center;
}

/* テキスト本文 */
.paint-card__body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

/* カテゴリーバッジ（写真下） */
.paint-card__cat {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.paint-card__cat--cyan   { background: #32b9d5; }
.paint-card__cat--navy   { background: #1d76b7; }
.paint-card__cat--orange { background: #ff8424; }

.paint-card__plan {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  color: #1d2c54;
  margin: 2px 0 0;
}
.paint-card__product {
  font-size: 12px;
  color: #6b6358;
  margin: 2px 0 6px;
  line-height: 1.4;
}

/* 価格 */
.paint-card__price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin: 6px 0 4px;
  line-height: 1;
}
.paint-card__price-num {
  font-family: "Anton", "Impact", sans-serif;
  font-size: clamp(40px, 7vw, 56px);
  color: #cf2455;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: .95;
}
.paint-card__price-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 4px;
}
.paint-card__price-tax {
  font-size: 11px;
  color: #6b6358;
  line-height: 1;
  margin-bottom: 2px;
}
.paint-card__price-unit {
  font-size: 16px;
  font-weight: 900;
  color: #1d2c54;
  line-height: 1;
}

.paint-card__sizenote {
  font-size: 12px;
  color: #6b6358;
  margin: 4px 0 0;
}

.paint-card__feature {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #1d2c54;
  background: #fff6dd;
  border-radius: 6px;
  padding: 6px 10px;
  display: inline-flex;
  align-self: flex-start;
  gap: 6px;
  align-items: center;
}
.paint-card__feature span {
  background: #25b34b;
  color: #fff;
  font-size: 10px;
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* セクション下部の注意書きとCTA */
.paint-section__note {
  background: rgba(255, 255, 255, .85);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #4d463d;
  line-height: 1.7;
  margin: 8px 0 24px;
}
.paint-section__note strong { color: #c62b2b; font-weight: 700; }

.paint-section__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* --- 早見表 COMPARISON --- */
.paint-compare {
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px 24px;
  margin: 8px auto 28px;
  max-width: 1100px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.paint-compare__title {
  font-size: 22px; font-weight: 900; color: #1d2c54;
  text-align: center; margin: 0 0 6px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.paint-compare__title-en {
  font-family: "Anton", sans-serif;
  font-size: 14px; color: #2f86c8;
  letter-spacing: .18em; font-weight: 400;
}
.paint-compare__lead { text-align: center; color: #6b6358; font-size: 14px; margin: 0 0 20px; }
.paint-compare__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.paint-compare__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
  font-size: 13px;
}
.paint-compare__table thead th {
  background: #1d2c54; color: #fff;
  font-size: 12px; padding: 10px 12px;
  text-align: left; font-weight: 700; white-space: nowrap;
}
.paint-compare__table thead th:first-child { border-radius: 8px 0 0 0; }
.paint-compare__table thead th:last-child  { border-radius: 0 8px 0 0; }
.paint-compare__table tbody td {
  background: #fdfaf3;
  padding: 12px 12px;
  border-bottom: 1px dashed #e1d9c4;
  vertical-align: middle;
  line-height: 1.6;
}
.paint-compare__table tbody tr:nth-child(even) td { background: #fff; }
.paint-compare__table tbody td strong { color: #1d2c54; font-weight: 700; display: block; }
.paint-compare__cat {
  display: inline-block; padding: 2px 8px; font-size: 11px;
  font-weight: 700; color: #fff; border-radius: 4px; margin-bottom: 4px;
}
.paint-compare__cat--cyan   { background: #32b9d5; }
.paint-compare__cat--navy   { background: #1d76b7; }
.paint-compare__cat--orange { background: #ff8424; }
.paint-compare__price {
  font-family: "Anton", sans-serif;
  font-size: 22px; color: #cf2455;
  font-weight: 900; margin-right: 2px;
}
.paint-compare__note { text-align: center; font-size: 11px; color: #6b6358; margin: 12px 0 0; }
@media (max-width: 768px) {
  .paint-compare { padding: 22px 16px 18px; border-radius: 14px; }
  .paint-compare__wrap { overflow: visible; }
  .paint-compare__table { min-width: 0; display: block; }
  .paint-compare__table thead { display: none; }
  .paint-compare__table tbody, .paint-compare__table tr, .paint-compare__table td { display: block; width: 100%; }
  .paint-compare__table tbody tr {
    background: #fdfaf3; border-radius: 10px; margin-bottom: 14px; padding: 14px;
    border: 1px solid #e1d9c4;
  }
  .paint-compare__table tbody tr:nth-child(even) { background: #fdfaf3; }
  .paint-compare__table tbody td {
    background: transparent !important;
    border-bottom: 1px dashed #e1d9c4;
    padding: 8px 0;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    align-items: center;
  }
  .paint-compare__table tbody td:last-child { border-bottom: 0; }
  .paint-compare__table tbody td::before {
    content: attr(data-label);
    font-weight: 700; color: #1d2c54; font-size: 11px;
  }
}

/* --- カテゴリーページの詳細セクション --- */
.paint-detail {
  background: #fff;
  border-radius: 14px;
  padding: 24px 24px 20px;
  margin: 16px auto 24px;
  max-width: 900px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}
.paint-detail__title {
  font-size: 20px; color: #1d2c54;
  margin: 0 0 14px; padding-left: 12px; border-left: 4px solid #f7941d;
}
.paint-detail__symptoms {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  margin: 0 0 16px;
}
.paint-detail__symptoms li {
  background: #fff8e6; padding: 10px 14px; border-radius: 8px;
  border-left: 4px solid #f7941d; font-size: 14px;
}
@media (min-width: 600px) { .paint-detail__symptoms { grid-template-columns: 1fr 1fr; } }
.paint-detail__lead {
  font-size: 14px; color: #4d463d; margin: 0; line-height: 1.8;
  background: #fff6dd; padding: 12px 16px; border-radius: 8px;
}
.paint-detail__compare {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin: 16px 0;
}
@media (min-width: 700px) { .paint-detail__compare { grid-template-columns: repeat(3, 1fr); } }
.paint-detail__compare > div {
  background: #fdfaf3;
  border-radius: 10px;
  padding: 16px;
  border-top: 4px solid #2f86c8;
}
.paint-detail__compare > div:nth-child(2) { border-top-color: #f7941d; }
.paint-detail__compare > div:nth-child(3) { border-top-color: #6b6358; }
.paint-detail__compare h4 {
  font-size: 16px; color: #1d2c54; margin: 0 0 8px;
}
.paint-detail__compare p {
  font-size: 13px; margin: 0; line-height: 1.7;
}
.paint-detail__compare strong { color: #cf2455; font-weight: 700; }

/* ============ 工事メニュー page-menu ============ */
.sub-menu-note {
  background: #fff8e6;
  border-left: 4px solid #f7941d;
  padding: 14px 18px;
  font-size: 13px;
  color: #6b5b3a;
  border-radius: 6px;
  margin: 0 0 32px;
}

.sub-menu-list {
  display: grid;
  gap: 32px;
}

.sub-menu-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sub-menu-card { grid-template-columns: 320px 1fr; }
}

.sub-menu-card__photo { overflow: hidden; aspect-ratio: 16 / 10; }
.sub-menu-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.sub-menu-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; }
.sub-menu-card__title {
  font-size: 22px; margin: 0 0 6px;
  color: #2f86c8;
  padding-bottom: 8px;
  border-bottom: 2px solid #2f86c8;
}
.sub-menu-card__lead  { font-size: 14px; color: #6b6358; margin: 8px 0 8px; font-weight: 600; }
.sub-menu-card__detail { font-size: 14px; margin: 0 0 16px; }

/* プラン（価格） */
.sub-plan-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.sub-plan {
  background: #fdf7eb;
  border: 1px solid #f0e3c4;
  border-radius: 10px;
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 640px) {
  .sub-plan {
    grid-template-columns: 1fr auto;
    column-gap: 20px;
  }
}
.sub-plan__head { display: flex; flex-direction: column; gap: 2px; }
.sub-plan__type {
  display: inline-block;
  align-self: flex-start;
  background: #2f86c8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0;
}
.sub-plan__name {
  font-size: 16px;
  font-weight: 700;
  color: #1d2c54;
  margin: 4px 0 0;
}
.sub-plan__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  white-space: nowrap;
}
.sub-plan__unit {
  font-size: 11px;
  color: #6b6358;
  background: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.sub-plan__value {
  font-family: "Anton", "Yu Gothic", sans-serif;
  color: #ff6633;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.sub-plan__value .num { font-size: 32px; letter-spacing: .02em; }
.sub-plan__value .yen { font-size: 16px; }
.sub-plan__value .suffix { font-size: 16px; }
.sub-plan__feature {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: #1d2c54;
  font-weight: 600;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  justify-self: start;
}
.sub-plan__feature::before {
  content: "✓";
  color: #25b34b;
  font-weight: 700;
  margin-right: 6px;
}

/* ============ 選ばれる理由 page-reason ============ */
.sub-reason-list { display: grid; gap: 32px; }
.sub-reason-item {
  background: #fff; border-radius: 16px; padding: 28px;
  display: grid; gap: 18px;
  grid-template-columns: 96px 1fr;
  grid-template-areas: "num body" "photo photo";
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.sub-reason-item__num { grid-area: num; }
.sub-reason-item__num img { max-height: 96px; width: auto; }
.sub-reason-item__body { grid-area: body; }
.sub-reason-item__photo { grid-area: photo; }
.sub-reason-item__photo img { width: 100%; border-radius: 10px; }
.sub-reason-item__title { font-size: 22px; margin: 0 0 10px; color: #1d2c54; }
.sub-reason-item__text { font-size: 15px; margin: 0; }
@media (min-width: 768px) {
  .sub-reason-item {
    grid-template-columns: 120px 1fr 320px;
    grid-template-areas: "num body photo";
    align-items: center;
  }
}

/* ============ 店舗案内 page-shop ============ */
.sub-shop-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 48px;
}

/* 単独店舗：PCでは写真左／テキスト右の横並びワンカラム */
.sub-shop-grid--single {
  display: block;
  grid-template-columns: none;
  max-width: none;
}
.sub-shop-card--single {
  display: flex;
  flex-direction: column;
}
.sub-shop-card--single .sub-shop-card__thumb {
  aspect-ratio: 16 / 10;
}
@media (min-width: 900px) {
  .sub-shop-card--single {
    flex-direction: row;
    align-items: stretch;
    min-height: 400px;
  }
  .sub-shop-card--single .sub-shop-card__thumb {
    flex: 0 0 45%;
    aspect-ratio: auto;
    min-height: 100%;
  }
  .sub-shop-card--single .sub-shop-card__thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .sub-shop-card--single .sub-shop-card__body {
    flex: 1 1 55%;
    padding: 32px 40px;
  }
}

/* AREA：単独レイアウト（PC：マップ左／テキスト右） */
.sub-area-grid--single {
  display: block;
  grid-template-columns: none;
  max-width: none;
}
.sub-area-card--single {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sub-area-card--single .sub-area-card__text { text-align: left; }
@media (min-width: 900px) {
  .sub-area-card--single {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 28px 32px;
  }
  .sub-area-card--single .sub-area-card__map {
    flex: 0 0 55%;
  }
  .sub-area-card--single .sub-area-card__text {
    flex: 1 1 45%;
  }
  .sub-area-card--single .sub-area-card__title {
    font-size: 22px;
    margin: 0 0 12px;
  }
  .sub-area-card--single .sub-area-card__desc {
    font-size: 14px; color: #4d463d; line-height: 1.95;
    margin: 0;
  }
}
.sub-area-card__desc { font-size: 14px; color: #4d463d; margin: 8px 0 14px; }
.sub-shop-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.sub-shop-card__thumb { position: relative; aspect-ratio: 16 / 10; background: #efe7d6; }
.sub-shop-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sub-shop-card__thumb--placeholder {
  display: grid;
  place-items: center;
  padding: 52px;
  background:
    linear-gradient(rgba(255,255,255,.86), rgba(255,255,255,.86)),
    repeating-linear-gradient(0deg, transparent 0 31px, #e4edf3 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, #e4edf3 31px 32px),
    #eaf5fa;
}
.sub-shop-card__thumb--placeholder img { object-fit: contain !important; }
.sub-shop-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: #f7941d; color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.sub-shop-card__body { padding: 20px 24px 24px; }
.sub-shop-card__name { font-size: 22px; margin: 0 0 8px; color: #2f86c8; }
.sub-shop-card__desc { font-size: 14px; color: #6b6358; margin: 0 0 16px; }
.sub-shop-card__info { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; font-size: 14px; margin: 0; }
.sub-shop-card__info dt { color: #6b6358; font-weight: 600; }
.sub-shop-card__info dd { margin: 0; }

.sub-shop-story {
  position: relative;
  margin: 56px 0;
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29, 44, 84, .09);
}

.sub-shop-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, #2f86c8, #69c8df 50%, #f7941d);
}

.sub-shop-story__head { margin-bottom: 28px; }
.sub-shop-story__en {
  display: block;
  margin-bottom: 4px;
  color: #2f86c8;
  font-family: "Anton", "Yu Gothic", sans-serif;
  font-size: 16px;
  letter-spacing: .14em;
}
.sub-shop-story__head h2 {
  margin: 0;
  color: #1d2c54;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
}

.sub-shop-message {
  display: grid;
  grid-template-columns: minmax(220px, 30%) 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.sub-shop-message__figure {
  margin: 0;
  padding: 24px 20px 0;
  border-radius: 18px;
  background: linear-gradient(145deg, #e7f7fb, #fff4dc);
  text-align: center;
}
.sub-shop-message__figure img {
  width: min(260px, 100%);
  margin: 0 auto;
  display: block;
}
.sub-shop-message__figure figcaption {
  margin: 0 -20px;
  padding: 12px 14px;
  border-radius: 0 0 18px 18px;
  background: #1d2c54;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.sub-shop-message__body p,
.sub-showroom-copy p {
  margin: 0 0 1em;
  color: #34435d;
  font-size: 15px;
  line-height: 2;
}
.sub-shop-message__body p:last-child,
.sub-showroom-copy p:last-child { margin-bottom: 0; }

.sub-shop-story--showroom {
  background:
    linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.96)),
    repeating-linear-gradient(0deg, transparent 0 31px, #ddeef4 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, #ddeef4 31px 32px),
    #fff;
}
.sub-showroom-photo {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(29, 44, 84, .14);
}
.sub-showroom-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.sub-showroom-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.sub-showroom-points li {
  min-height: 112px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border-radius: 14px;
  background: #eef9fc;
  border: 1px solid #cce9f1;
  list-style: none;
}
.sub-showroom-points li:nth-child(2) { background: #fff8e9; border-color: #f4dfb0; }
.sub-showroom-points li:nth-child(3) { background: #f5f1fc; border-color: #ddd2ef; }
.sub-showroom-points strong { color: #1d2c54; font-size: 16px; }
.sub-showroom-points span { color: #6b6358; font-size: 13px; line-height: 1.65; }

@media (max-width: 767px) {
  .sub-shop-grid { margin-bottom: 36px; }
  .sub-shop-story { margin: 36px 0; padding: 30px 22px; border-radius: 16px; }
  .sub-shop-story__head { margin-bottom: 22px; }
  .sub-shop-message { grid-template-columns: 1fr; gap: 26px; }
  .sub-shop-message__figure { width: min(280px, 100%); margin: 0 auto; box-sizing: border-box; }
  .sub-shop-message__body p,
  .sub-showroom-copy p { font-size: 14px; line-height: 1.9; }
  .sub-showroom-points { grid-template-columns: 1fr; gap: 10px; }
  .sub-showroom-points li { min-height: 0; padding: 15px 17px; }
}

.sub-area-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.sub-area-card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.sub-area-card__title { font-size: 18px; margin: 0 0 12px; color: #2f86c8; }
.sub-area-card__map img { border-radius: 8px; }
.sub-area-card__map iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #eef2f6;
}
.sub-area-note { text-align: center; font-size: 13px; color: #6b6358; margin-top: 24px; }

/* ============ お客様の声 page-voice ============ */
.sub-voice-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 48px;
}
.sub-voice-card {
  background: #fff; border-radius: 14px; padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: flex; flex-direction: column; gap: 12px;
}
.sub-voice-card__stars { font-size: 18px; color: #f5b400; margin: 0; }
.sub-voice-card__count { font-size: 13px; color: #6b6358; margin-left: 6px; }
.sub-voice-card__text { font-size: 14px; margin: 0; flex: 1; }
.sub-voice-card__name { font-size: 13px; color: #6b6358; margin: 0; text-align: right; }

.sub-google-review {
  background: #fff; border-radius: 14px; padding: 32px;
  text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.sub-google-review__logo { width: 80px; margin: 0 auto 12px; }
.sub-google-review__lead { font-size: 20px; margin: 0 0 8px; }
.sub-google-review__text { font-size: 14px; color: #6b6358; margin: 0 0 16px; }

/* ============ イベント情報 page-events ============ */
.sub-events-month {
  text-align: center; margin-bottom: 32px;
}
.sub-events-month__label {
  display: inline-block; background: #f7941d; color: #fff;
  padding: 4px 18px; border-radius: 999px; font-size: 13px; margin: 0 0 8px;
}
.sub-events-month__date { font-family: "Anton", sans-serif; font-size: 40px; margin: 0; color: #2f86c8; letter-spacing: .04em; }
.sub-events-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 32px;
}
.sub-events-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.sub-events-card a { display: block; color: inherit; }
.sub-events-card__thumb { aspect-ratio: 16 / 10; background: #efe7d6; }
.sub-events-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sub-events-card__body { padding: 18px 20px 22px; }
.sub-events-card__date { font-size: 12px; color: #6b6358; }
.sub-events-card__title { font-size: 17px; margin: 6px 0 8px; }
.sub-events-card__excerpt { font-size: 14px; color: #4d463d; margin: 0; }
.sub-events-card--empty { padding: 32px; text-align: center; }
.sub-events-banner { text-align: center; margin: 24px 0; }
.sub-events-banner img { display: inline-block; max-height: 80px; width: auto; border-radius: 8px; }

/* ============ 施工事例 一覧 ============ */
.sub-works-filter {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 32px;
}
.sub-works-filter li a {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: #fff; border: 1px solid #d8cdb1; color: #6b6358; font-size: 13px;
}
.sub-works-filter li a:hover,
.sub-works-filter li a.is-active { background: #2f86c8; color: #fff; border-color: #2f86c8; }

.sub-works-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 32px;
}
.sub-works-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.sub-works-card a { display: block; color: inherit; }
.sub-works-card__thumb { position: relative; aspect-ratio: 16 / 10; background: #efe7d6; }
.sub-works-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sub-works-card__label {
  position: absolute; top: 12px; left: 12px;
  background: #f7941d; color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.sub-works-card__body { padding: 18px 20px 22px; }
.sub-works-card__title { font-size: 17px; margin: 0 0 8px; }
.sub-works-card__excerpt { font-size: 14px; color: #4d463d; margin: 0; }

/* ============ 施工事例 個別 ============ */
.sub-works-single__head { text-align: center; margin-bottom: 24px; }
.sub-works-single__label { display: inline-block; background: #f7941d; color: #fff; padding: 4px 14px; border-radius: 999px; font-size: 13px; }
.sub-works-single__title { font-size: 26px; margin: 12px 0 0; }
.sub-works-single__thumb { margin: 24px 0; }
.sub-works-single__thumb img { width: 100%; border-radius: 12px; }
.sub-works-single__meta {
  display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px;
  background: #fff; padding: 20px; border-radius: 10px;
  margin: 0 0 32px; font-size: 14px;
}
.sub-works-single__meta dt { color: #6b6358; font-weight: 600; }
.sub-works-single__meta dd { margin: 0; }
.sub-works-single__nav {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid #efe7d6;
  font-size: 14px;
}
.sub-works-single__nav .prev { text-align: left; }
.sub-works-single__nav .next { text-align: right; }
.sub-works-single__nav .back { padding: 8px 18px; background: #2f86c8; color: #fff; border-radius: 999px; font-size: 13px; }

/* ============ ブログ一覧・個別 ============ */
.sub-blog-filter {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 32px;
}
.sub-blog-filter li a {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: #fff; border: 1px solid #d8cdb1; color: #6b6358; font-size: 13px;
}
.sub-blog-filter li a:hover { background: #6c4ba7; color: #fff; border-color: #6c4ba7; }
.sub-blog-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 32px;
}
.sub-blog-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.sub-blog-card a { display: block; color: inherit; }
.sub-blog-card__thumb { aspect-ratio: 16 / 10; background: #efe7d6; }
.sub-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sub-blog-card__body { padding: 18px 20px 22px; }
.sub-blog-card__meta { font-size: 12px; color: #6b6358; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sub-blog-card__cat { background: #6c4ba7; color: #fff; padding: 2px 10px; border-radius: 999px; font-size: 11px; }
.sub-blog-card__title { font-size: 16px; margin: 0; line-height: 1.5; }

.sub-blog-single__head { margin-bottom: 16px; }
.sub-blog-single__meta { font-size: 13px; color: #6b6358; margin: 0 0 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sub-blog-single__cat { background: #6c4ba7; color: #fff; padding: 2px 12px; border-radius: 999px; font-size: 12px; }
.sub-blog-single__title { font-size: 26px; margin: 0; }
.sub-blog-single__thumb { margin: 20px 0 28px; }
.sub-blog-single__thumb img { width: 100%; border-radius: 12px; }
.sub-blog-single__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.sub-blog-single__tags a { background: #f6f1e6; padding: 4px 12px; border-radius: 999px; font-size: 12px; color: #6b6358; }
.sub-blog-single__nav {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid #efe7d6;
  font-size: 14px;
}
.sub-blog-single__nav .prev { text-align: left; }
.sub-blog-single__nav .next { text-align: right; }
.sub-blog-single__nav .back { padding: 8px 18px; background: #6c4ba7; color: #fff; border-radius: 999px; font-size: 13px; }

/* ============ 雨漏り調査 page-leak ============ */
.sub-leak-intro {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
.sub-leak-intro__photo img { border-radius: 12px; }
.sub-leak-intro__title { font-size: 22px; margin: 0 0 12px; color: #1d2c54; }
@media (min-width: 768px) {
  .sub-leak-intro { grid-template-columns: 360px 1fr; align-items: center; }
}

.sub-leak-checks {
  background: #fff; border-radius: 14px; padding: 28px; margin-bottom: 40px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.sub-leak-checks__title { font-size: 20px; margin: 0 0 16px; color: #c62b2b; text-align: center; }
.sub-leak-checks__list { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 0; }
.sub-leak-checks__list li {
  background: #fff4f4; padding: 10px 14px; border-radius: 8px;
  border-left: 4px solid #c62b2b;
}
@media (min-width: 768px) { .sub-leak-checks__list { grid-template-columns: 1fr 1fr; } }
.sub-leak-checks__note { text-align: center; font-size: 14px; color: #c62b2b; margin: 16px 0 0; }

.sub-leak-methods { margin-bottom: 40px; }
.sub-leak-methods__title { font-size: 22px; margin: 0 0 20px; color: #1d2c54; text-align: center; }
.sub-leak-methods__grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.sub-leak-methods__grid article {
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.sub-leak-methods__grid h4 { font-size: 16px; margin: 0 0 8px; color: #2f86c8; }
.sub-leak-methods__grid p { font-size: 14px; margin: 0; }

.sub-leak-flow__title { font-size: 22px; margin: 0 0 20px; color: #1d2c54; text-align: center; }
.sub-leak-flow__list { counter-reset: flow; display: grid; gap: 12px; }
.sub-leak-flow__list li {
  background: #fff; padding: 16px 20px 16px 56px;
  border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
  position: relative;
}
.sub-leak-flow__list li::before {
  content: counter(flow); counter-increment: flow;
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: #2f86c8; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ============ 問い合わせフォーム ============ */
.sub-contact-lead { background: #fff; border-radius: 14px; padding: 24px; margin-bottom: 32px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.sub-contact-lead__tel { font-size: 15px; margin: 16px 0 0; }
.sub-contact-lead__tel a { font-size: 24px; font-weight: 700; color: #f7941d; }
.sub-contact-lead__tel span { display: block; font-size: 12px; color: #6b6358; }

.sub-contact-msg { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-weight: 600; }
.sub-contact-msg--success { background: #e6f7ec; color: #1f7a3e; border: 1px solid #25b34b; }
.sub-contact-msg--error   { background: #fdecec; color: #b1231e; border: 1px solid #c62b2b; }

.sub-contact-form {
  background: #fff; border-radius: 14px; padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  display: grid; gap: 20px;
}
.sub-contact-form__hp { position: absolute; left: -9999px; }
.sub-contact-form__row { display: grid; gap: 6px; }
.sub-contact-form__row label { font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sub-contact-form__row .required { background: #c62b2b; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.sub-contact-form__row .optional { background: #6b6358; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }

/* ラジオボタン群（来店 / 現調 など）
   - テーマ標準フォームと Contact Form 7 (CF7) の両方に対応 */
.sub-contact-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
/* テーマ標準フォーム用 */
.sub-contact-form__radio,
/* CF7 の use_label_element 出力に対応 */
.sub-contact-form__radios .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fdfaf3;
  border: 1px solid #d8cdb1;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  margin: 0;
}
.sub-contact-form__radio:hover,
.sub-contact-form__radios .wpcf7-list-item label:hover {
  background: #fff;
  border-color: #2f86c8;
}
.sub-contact-form__radio input[type="radio"],
.sub-contact-form__radios .wpcf7-list-item label input[type="radio"] {
  accent-color: #2f86c8;
  margin: 0;
}
/* チェック中の見た目（モダンブラウザ） */
.sub-contact-form__radio:has(input[type="radio"]:checked),
.sub-contact-form__radios .wpcf7-list-item label:has(input[type="radio"]:checked) {
  background: #2f86c8;
  border-color: #2f86c8;
  color: #fff;
}
/* CF7 ラッパーのリセット */
.sub-contact-form__radios .wpcf7-form-control.wpcf7-radio { display: contents; }
.sub-contact-form__radios .wpcf7-list-item {
  margin: 0;
  display: inline-flex;
}
.sub-contact-form__radios .wpcf7-list-item-label { font-weight: 600; }

/* =================================================================
   Contact Form 7（CF7）出力の見た目調整
   既存の .sub-contact-form 系スタイルを CF7 出力にも適用
   ================================================================= */

/* CF7 のフォーム本体を既存 .sub-contact-form と同じ見た目に */
.wpcf7-form {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  display: grid;
  gap: 20px;
}

/* CF7 の入力要素を既存スタイルと統一 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8cdb1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: #fdfaf3;
  box-sizing: border-box;
}
.wpcf7-form textarea { resize: vertical; min-height: 160px; }

/* CF7 の form-control-wrap（自動付与のラッパー）の余白制御 */
.wpcf7-form .wpcf7-form-control-wrap { display: block; }

/* 送信ボタンを既存 .button--orange と同じ見た目に */
.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 28px;
  background: #f7941d;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .12);
  transition: transform .15s, box-shadow .15s;
}
.wpcf7-form input[type="submit"]:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}
.wpcf7-form input[type="submit"]:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* 送信ボタンを中央寄せ */
.wpcf7-form .sub-contact-form__submit { text-align: center; margin: 8px 0 0; }

/* バリデーションエラー */
.wpcf7-form .wpcf7-not-valid {
  border-color: #c62b2b !important;
  background: #fdecec !important;
}
.wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  color: #c62b2b;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* CF7 の状態メッセージ（成功/失敗）— 既存 .sub-contact-msg と同じ見た目 */
.wpcf7-response-output {
  padding: 16px 20px !important;
  border-radius: 10px !important;
  margin: 12px 0 0 !important;
  font-weight: 600;
  border: 0 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #e6f7ec;
  color: #1f7a3e;
  border: 1px solid #25b34b !important;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  background: #fdecec;
  color: #b1231e;
  border: 1px solid #c62b2b !important;
}

/* CF7 送信中スピナー */
.wpcf7 .wpcf7-spinner {
  vertical-align: middle;
  margin-left: 12px;
}
.sub-contact-form input[type="text"],
.sub-contact-form input[type="email"],
.sub-contact-form input[type="tel"],
.sub-contact-form select,
.sub-contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid #d8cdb1; border-radius: 8px;
  font-family: inherit; font-size: 15px;
  background: #fdfaf3;
}
.sub-contact-form textarea { resize: vertical; min-height: 160px; }
.sub-contact-form__privacy { font-size: 13px; color: #6b6358; margin: 0; }
.sub-contact-form__privacy a { color: #2f86c8; text-decoration: underline; }
.sub-contact-form__submit { text-align: center; margin: 8px 0 0; }
.sub-contact-form__submit button { min-width: 240px; }

/* ============ Pagination ============ */
.nav-links, .page-numbers {
  display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.nav-links { display: flex; justify-content: center; margin: 32px 0 0; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  background: #fff; border: 1px solid #d8cdb1; border-radius: 8px;
  color: #6b6358; font-weight: 600;
}
.page-numbers.current,
.page-numbers:hover { background: #2f86c8; color: #fff; border-color: #2f86c8; opacity: 1; }

/* ============ Sub CTA ============ */
.sub-cta {
  background: linear-gradient(135deg, #fdebd0 0%, #fef7e6 100%);
  padding: 56px 0 64px;
  text-align: center;
}
.sub-cta__title { font-size: 24px; margin: 0 0 16px; color: #1d2c54; }
.sub-cta__text { font-size: 14px; color: #4d463d; margin: 0 0 24px; }

/* ============ Search Form ============ */
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 16px auto 0; }
.search-form__field { flex: 1; padding: 10px 14px; border: 1px solid #d8cdb1; border-radius: 8px; background: #fff; font-size: 15px; }
.search-form__submit { padding: 10px 20px; border-radius: 8px; background: #2f86c8; color: #fff; border: 0; font-weight: 600; }
.search-form-wrap { margin-top: 24px; }

/* ============ Footer（共通） ============ */
.site-footer {
  background: #1d2c54; color: #fff; padding: 56px 0 24px;
  position: relative;
}
.site-footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.2fr 2fr auto; align-items: start; }
}
.site-footer__logo { height: 48px; width: auto; margin-bottom: 12px; }
.site-footer__name { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.site-footer__addr { font-size: 13px; color: #d2d8e8; margin: 0 0 16px; }
.site-footer__info { display: grid; grid-template-columns: 90px 1fr; gap: 4px 12px; font-size: 13px; margin: 0; color: #d2d8e8; }
.site-footer__info dt { color: #8ea0c8; }
.site-footer__info dd { margin: 0; }

.site-footer__nav { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .site-footer__nav { grid-template-columns: 1fr; } }
.site-footer__nav ul li a { display: inline-block; padding: 4px 0; font-size: 13px; color: #d2d8e8; }
.site-footer__nav ul li a:hover { color: #f7941d; }
.site-footer__col-title { font-size: 14px; color: #fff; font-weight: 700; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #2e3f6b; }

.site-footer__chara { max-width: 140px; }

.site-footer__makers { background: #16234a; margin-top: 40px; padding: 24px 0; font-size: 12px; color: #b8c1da; }
.copyright { text-align: center; margin: 24px 0 0; padding-top: 16px; border-top: 1px solid #2e3f6b; font-size: 12px; color: #8ea0c8; }
