/*
Theme Name: matsunaga_lp
Theme URI: https://matsugaya-denki.jp/
Author: Codex
Author URI: https://matsugaya-denki.jp/
Description: Renewed local electrical service theme for Matsugaya Denki.
Version: 1.6.42
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: matsunaga-lp
*/

:root {
  --blue: #0b55c8;
  --blue-dark: #063f98;
  --blue-soft: #eef5ff;
  --text: #151923;
  --muted: #5f6b7a;
  --line: #dfe6f0;
  --paper: #fff;
  --bg: #f7f9fc;
  --shadow: 0 18px 42px rgba(11, 46, 94, 0.09);
  --radius: 10px;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.72;
}

body.is-menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(21, 25, 35, 0.06);
  backdrop-filter: blur(16px);
}

body.page-template-template-contact .site-header {
  position: static;
  top: auto;
}

.header-inner {
  width: min(calc(100% - 40px), 1280px);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  clip-path: inset(0 0 24% 0);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 32px);
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a {
  padding: 25px 0;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 14px 6px 12px;
  border: 1px solid #cfe0f6;
  border-radius: 5px;
  color: #111722;
  background: #fff;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(11, 85, 200, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.phone-link:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 85, 200, 0.45);
  box-shadow: 0 14px 28px rgba(11, 85, 200, 0.14);
}

.phone-link svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.phone-link span {
  display: grid;
  gap: 3px;
  font-size: 18px;
  letter-spacing: 0;
}

.phone-link small {
  display: block;
  order: -1;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 28px rgba(11, 85, 200, 0.22);
}

.btn-outline {
  color: var(--blue);
  background: #fff;
}

.btn-small {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 5px;
  font-size: 13px;
}

.btn-small svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--blue);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.breadcrumbs {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.breadcrumbs .inner {
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
  padding: 12px 0;
  overflow-x: auto;
  overflow-y: hidden;
  color: #607086;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.breadcrumbs .inner::-webkit-scrollbar {
  display: none;
}

.breadcrumbs .inner > * {
  white-space: nowrap;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #607086;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.breadcrumbs li {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.breadcrumbs li + li::before {
  content: ">";
  color: #9aa9bc;
  font-size: 11px;
  font-weight: 900;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumbs span[aria-current="page"] {
  display: inline-block;
  max-width: none;
  overflow: visible;
  color: var(--text);
  white-space: nowrap;
}

.mobile-nav,
.mobile-menu {
  display: grid;
  gap: 0;
  padding: 0 20px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-menu__inner {
  display: grid;
}

.mobile-nav a,
.mobile-menu__link {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.mobile-menu__ctas {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.mobile-menu__cta {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mobile-menu__cta svg {
  width: 48px;
  height: 48px;
  color: var(--blue);
}

.mobile-menu__cta span,
.mobile-menu__cta small,
.mobile-menu__cta strong {
  display: block;
  min-width: 0;
}

.mobile-menu__cta small {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.mobile-menu__cta strong {
  margin-top: 4px;
  color: var(--text);
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.mobile-menu__cta--form small {
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.05;
}

.mobile-menu__cta--form strong {
  font-size: 15px;
  line-height: 1.35;
}

.mobile-menu__cta--form {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 28px rgba(11, 85, 200, 0.18);
}

.mobile-menu__cta--form svg,
.mobile-menu__cta--form small,
.mobile-menu__cta--form strong {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(28px, 1fr) minmax(0, 560px) minmax(0, 600px) minmax(28px, 1fr);
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0.62) 57%, rgba(255,255,255,0.08) 100%),
    #f6f8fb;
}

.hero-copy {
  grid-column: 2;
  z-index: 2;
  padding: 58px 0 56px;
}

.area-label {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 4px 12px;
  border: 1px solid #91b8f2;
  border-radius: 4px;
  color: var(--blue);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: clamp(31px, 4.2vw, 48px);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: 0;
}

.lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: #2e3745;
  font-weight: 600;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 610px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 10px 20px rgba(25, 46, 75, 0.04);
}

.hero-badges svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: 0 0 auto;
}

.hero-badges li > span {
  display: block;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions .btn {
  min-width: 220px;
}

.hero-visual {
  position: absolute;
  inset: 0 0 0 46%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.72) 26%, rgba(255,255,255,0.2) 48%, rgba(255,255,255,0.03) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.16));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.section,
.about-section,
.contact-section {
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 34px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2,
.section-title-row h2,
.about-copy h2,
.contact-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.35;
  font-weight: 900;
}

.section-heading p,
.contact-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 146px;
  padding: 18px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 18px rgba(32, 55, 87, 0.04);
  cursor: default;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card--link {
  border-color: #74aaf0;
  background:
    linear-gradient(180deg, rgba(238, 245, 255, 0.92), rgba(255, 255, 255, 1)),
    #fff;
  box-shadow: 0 14px 30px rgba(11, 85, 200, 0.12);
  cursor: pointer;
}

.service-card--link::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
}

.service-card--link:hover {
  border-color: #8bb5ee;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 35px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}

.service-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.service-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.price-list {
  display: grid;
  gap: 4px;
  width: 100%;
  margin-top: 3px;
  padding-top: 8px;
  border-top: 1px solid #dce9f8;
  color: var(--blue-dark);
  font-size: 10px;
  line-height: 1.45;
  font-weight: 900;
}

.price-list span {
  display: block;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  margin-top: 2px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.center-link {
  margin: 18px 0 0;
  text-align: center;
}

.center-link a,
.section-title-row a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.area-section {
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
}

.area-layout {
  display: block;
}

.area-copy {
  max-width: 920px;
  margin: 0 auto;
}

.area-heading {
  text-align: center;
  margin-bottom: 22px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.area-list li {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #b6cef5;
  border-radius: 999px;
  color: var(--blue-dark);
  background: linear-gradient(180deg, #fff, #f4f8ff);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(32, 55, 87, 0.04);
}

.reasons {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 30px;
}

.section-heading-line {
  margin-bottom: 18px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.reason-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 12px;
  align-items: start;
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reason-card span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--blue);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.reason-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.reason-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.case-card,
.column-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(32, 55, 87, 0.05);
}

.case-card > a,
.column-card > a {
  display: grid;
  height: 100%;
  color: inherit;
}

.case-image,
.column-image {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: #e9eef6;
}

.case-image img,
.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-image span,
.column-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 9px;
  border-radius: 4px;
  color: var(--blue);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.case-image-aircon {
  background-image: url("assets/images/hero-aircon-main.png");
  background-size: 620px auto;
  background-position: right 24% center;
}

.case-image-antenna {
  background:
    linear-gradient(rgba(11, 85, 200, 0.08), rgba(11, 85, 200, 0.08)),
    url("assets/images/chiba-area-map.png");
  background-size: cover;
  background-position: center;
}

.case-image-light {
  background:
    radial-gradient(circle at 55% 35%, #fff 0 12%, #dce7f6 13% 15%, transparent 16%),
    linear-gradient(135deg, #fafbfe, #dbe3ee);
}

.case-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  min-width: 0;
  padding: 16px;
}

.case-body h3 {
  grid-column: 1 / -1;
  margin: 0;
  min-width: 0;
  font-size: 16px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.case-body p,
.case-body time,
.column-card time {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  gap: 22px 40px;
  align-items: center;
  padding: 26px 0 42px;
}

.about-copy p {
  margin: 14px 0 0;
  font-weight: 600;
}

.about-button {
  grid-column: 1;
  justify-self: start;
  min-height: 46px;
}

.about-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #f4f7fb;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.8) brightness(1.03);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

details {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "⌄";
  margin-left: auto;
  color: var(--blue);
  font-size: 18px;
}

details[open] summary::after {
  transform: rotate(180deg);
}

summary span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #a9c5ee;
  border-radius: 50%;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 16px 16px 48px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.single-page--faq .entry-article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    #fff;
}

.entry-article--faq .entry-article__header {
  max-width: 760px;
  margin: 0 auto 20px;
  text-align: left;
}

.entry-article--faq .entry-article__header h1 {
  font-size: clamp(34px, 4vw, 48px);
}

.faq-page-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 34px auto 0;
}

.faq-page-item {
  overflow: hidden;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(11, 46, 94, 0.06);
}

.faq-page-item summary {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.faq-page-item summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 20px;
  line-height: 1;
  transform: none;
}

.faq-page-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--blue-soft);
}

.faq-page-item[open] summary::after {
  content: "-";
  transform: none;
}

.faq-page-item summary span,
.faq-page-answer span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.faq-page-item summary span {
  border: 1px solid #9ec0f2;
  color: var(--blue);
  background: #fff;
}

.faq-page-answer {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px 22px 22px;
  color: #314255;
}

.faq-page-answer span {
  color: #fff;
  background: #0d376e;
}

.faq-page-answer p {
  margin: 0;
  padding: 0;
  color: #314255;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.faq-page-content {
  max-width: 920px;
  margin: 28px auto 0;
}

.faq-page-content h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.faq-page-content > p:first-child {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.faq-page-content h3 {
  margin: 44px 0 18px;
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.45;
}

.faq-page-content h3:first-child {
  margin-top: 0;
}

.faq-page-content h4 {
  position: relative;
  margin: 18px 0 0;
  padding: 18px 20px 18px 78px;
  border: 1px solid #cfe0f7;
  border-radius: 8px 8px 0 0;
  color: var(--text);
  background: var(--blue-soft);
  font-size: 18px;
  line-height: 1.55;
}

.faq-page-content h4::before {
  content: "Q";
  position: absolute;
  top: 50%;
  left: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #9ec0f2;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-page-content h4 b,
.faq-page-content h4 strong {
  font-weight: 900;
}

.faq-page-content h4 + p {
  position: relative;
  margin: 0;
  padding: 20px 22px 20px 78px;
  border: 1px solid #cfe0f7;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  color: #314255;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.faq-page-content h4 + p::before {
  content: "A";
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0d376e;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.faq-page-content h4 + p b,
.faq-page-content h4 + p strong {
  color: var(--text);
  font-weight: 900;
}

.faq-page-content h4 + p + p {
  margin: 0 0 18px 56px;
  padding: 14px 18px;
  border-left: 3px solid #cfe0f7;
  color: var(--muted);
  background: #fbfdff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.column-card h3 {
  margin: 0;
  padding: 13px 14px 4px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.column-card time {
  display: block;
  padding: 0 14px 14px;
}

.column-image.outlet {
  background:
    linear-gradient(130deg, rgba(255,255,255,0.82), rgba(255,255,255,0.25)),
    url("assets/images/hero-aircon-main.png");
  background-size: 560px auto;
  background-position: left 35% center;
}

.column-image.led {
  background:
    radial-gradient(circle at 62% 38%, rgba(255,255,255,0.95) 0 8%, rgba(255,255,255,0.42) 9% 17%, transparent 18%),
    linear-gradient(135deg, #8fc65d, #dff2c6);
}

.column-image.camera {
  background:
    linear-gradient(135deg, rgba(244,248,255,0.95), rgba(172,190,216,0.84)),
    linear-gradient(90deg, transparent 0 42%, #65758b 43% 67%, transparent 68%);
}

.column-image.ac {
  background-image: url("assets/images/hero-aircon-main.png");
  background-size: 520px auto;
  background-position: right 20% center;
}

.contact-section {
  padding: 34px 0 42px;
}

.contact-heading {
  margin-bottom: 14px;
}

.contact-layout {
  display: block;
}

.contact-ctas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-box svg {
  width: 38px;
  height: 38px;
  color: var(--blue);
  flex: 0 0 auto;
}

.contact-box span,
.contact-box small {
  display: block;
}

.contact-box span {
  font-size: 12px;
  font-weight: 800;
}

.contact-box strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.25;
  font-weight: 900;
  white-space: nowrap;
}

.contact-box small {
  color: var(--muted);
  font-size: 10px;
}

.contact-box-blue {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-color: transparent;
}

.contact-box-blue svg {
  color: #fff;
}

.contact-box-blue small {
  color: rgba(255, 255, 255, 0.86);
}

.contact-box-line {
  color: #fff;
  background: #06c755;
  border-color: transparent;
}

.contact-box-line svg {
  color: #fff;
}

.contact-form {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

label {
  display: grid;
  gap: 5px;
  color: #3c4655;
  font-size: 12px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  background: #fff;
}

textarea {
  resize: vertical;
  margin-top: 12px;
}

.submit-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
}

.site-footer {
  background: #f1f4f8;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 42px;
  padding: 32px 0 26px;
}

.footer-inner h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
}

.footer-inner a,
.footer-inner p {
  display: block;
  margin: 0;
  color: #283342;
  font-size: 13px;
  font-weight: 700;
}

.footer-services {
  display: block;
}

.footer-services .footer-service-link,
.footer-services .footer-service-text {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 20px;
  margin: 0;
  color: #283342;
  font-size: 13px;
  font-weight: 700;
}

.footer-services .footer-service-link {
  gap: 6px;
  color: var(--blue-dark);
}

.footer-services .footer-service-link::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #b8d1f5;
  border-radius: 50%;
  color: var(--blue);
  font-size: 10px;
  line-height: 1;
}

.footer-phone {
  margin-top: 8px !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.site-footer .footer-contact {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(11, 85, 200, 0.16);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 10px 20px;
  background: #e3e9f1;
  color: #495464;
  font-size: 12px;
}

.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: #0d376e;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(13, 55, 110, 0.3);
}

.grecaptcha-badge {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

body.matsunaga-contact-page .grecaptcha-badge {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

body.matsunaga-contact-page .pagetop {
  bottom: 100px;
}

.single-page--column {
  padding-bottom: 0;
}

.column-sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 58px;
  padding-bottom: env(safe-area-inset-bottom);
  overflow: hidden;
  background: var(--blue-dark);
  box-shadow: 0 -12px 30px rgba(0, 20, 65, 0.2);
}

.column-sticky-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  padding: 8px 14px;
  color: #fff;
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.column-sticky-cta__link svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: currentColor;
}

.column-sticky-cta__link--estimate {
  background: var(--blue);
}

.column-sticky-cta__link--line {
  background: #178bdc;
}

.column-sticky-cta__link--phone {
  background: var(--blue-dark);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .desktop-nav {
    display: none;
  }

  .phone-link {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 39px;
  }
}

@media (max-width: 860px) {
  .single-page--column {
    padding-bottom: 66px;
  }

  .column-sticky-cta {
    display: grid;
  }

  .column-sticky-cta + .pagetop {
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .header-inner {
    width: min(calc(100% - 28px), 1280px);
    min-height: 62px;
  }

  .breadcrumbs .inner {
    width: min(calc(100% - 28px), var(--max));
    padding: 10px 0;
  }

  .breadcrumbs ol {
    font-size: 11px;
  }

  .brand {
    font-size: 20px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .header-actions .btn-small {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(18px, 1fr) minmax(0, 620px) minmax(18px, 1fr);
    min-height: 680px;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.74) 48%, rgba(255,255,255,0.24) 78%, rgba(255,255,255,0.06) 100%),
      #f6f8fb;
  }

  .hero-copy {
    grid-column: 2;
    width: auto;
    margin: 0;
    padding: 88px 0 250px;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    height: auto;
    margin-left: 0;
    border-radius: 0;
  }

  .hero-visual::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.62) 42%, rgba(255,255,255,0.18) 100%),
      linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.58) 54%, rgba(255,255,255,0.06) 100%);
  }

  .hero-visual img {
    object-position: 58% bottom;
  }

  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .mobile-menu {
    padding-bottom: 22px;
  }

  .section,
  .about-section,
  .contact-section {
    width: min(calc(100% - 32px), var(--max));
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reason-grid,
  .faq-grid,
  .about-section,
  .contact-ctas,
  .form-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  #cases .card-grid,
  #ev-cases .card-grid,
  #columns .card-grid {
    display: flex;
    gap: 14px;
    width: calc(100% + 32px);
    margin-right: -16px;
    padding: 0 16px 12px 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  #cases .card-grid::-webkit-scrollbar,
  #ev-cases .card-grid::-webkit-scrollbar,
  #columns .card-grid::-webkit-scrollbar {
    display: none;
  }

  #cases .case-card,
  #ev-cases .case-card,
  #columns .column-card {
    flex: 0 0 min(82vw, 360px);
    scroll-snap-align: start;
  }

  #cases .case-body,
  #ev-cases .case-body {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-section {
    gap: 22px;
  }

  .about-image {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .about-button {
    grid-column: auto;
    justify-self: start;
  }

  .contact-ctas {
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .column-sticky-cta {
    min-height: 54px;
  }

  .column-sticky-cta__link {
    gap: 6px;
    min-height: 54px;
    padding: 6px 5px;
    font-size: 12px;
  }

  .column-sticky-cta__link svg {
    width: 19px;
    height: 19px;
  }

  .column-sticky-cta + .pagetop {
    bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .mobile-menu__cta {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    min-height: 92px;
    padding: 16px;
  }

  .mobile-menu__cta svg {
    width: 42px;
    height: 42px;
  }

  .mobile-menu__cta small {
    font-size: 14px;
  }

  .mobile-menu__cta strong {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-badges {
    gap: 9px;
  }

  .hero-badges li {
    justify-content: flex-start;
    font-size: 12px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 150px;
    padding: 14px 8px 12px;
  }

  .service-card--link {
    padding-top: 20px;
  }

  .price-list {
    font-size: 9px;
  }

  .service-card__cta {
    min-height: 26px;
    padding: 0 10px;
    font-size: 10px;
  }

  .reason-card {
    grid-template-columns: 48px 1fr;
  }

  .reason-card span {
    width: 46px;
    height: 46px;
    font-size: 30px;
  }

  .pagetop {
    right: 16px;
    bottom: 16px;
  }

  body.matsunaga-contact-page .pagetop {
    bottom: 92px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 27px;
  }

  .lead {
    font-size: 14px;
  }

  .hero-badges,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 138px;
  }
}

/* WordPress theme pages */
.wp-site-blocks,
.site-main {
  background: #fff;
}

.wrap {
  width: min(calc(100% - 44px), var(--max));
  margin-inline: auto;
}

.archive-page,
.single-page,
.contact-page {
  width: 100%;
  padding: 64px 0 86px;
}

.page-intro,
.entry-article,
.surface-card,
.case-entry,
.contact-hero,
.contact-form-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.page-intro {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  padding: clamp(30px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(238, 245, 255, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 4px 12px;
  border: 1px solid #91b8f2;
  border-radius: 4px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.page-intro h1,
.entry-article__header h1,
.case-hero__title,
.contact-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: 0;
}

.page-intro p,
.entry-article__header p,
.case-hero__lead,
.contact-page__lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.post-grid,
.case-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.case-filter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 20px;
  align-items: end;
  margin: 0 0 28px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(11, 46, 94, 0.06);
}

.case-filter::before {
  display: none;
}

.case-filter__head {
  display: grid;
  align-content: center;
}

.case-filter__head span {
  width: fit-content;
  padding: 2px 8px;
  border: 1px solid #cfe0f6;
  border-radius: 4px;
  color: var(--blue);
  background: #f7fbff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.case-filter__head strong {
  color: var(--text);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
  line-height: 1.35;
}

.case-filter__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.case-filter label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.case-filter label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.case-filter select {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 0 38px 0 14px;
  border: 1px solid #cbd8e7;
  border-radius: 6px;
  color: var(--text);
  background:
    linear-gradient(135deg, transparent 0 calc(100% - 40px), #f2f7fd calc(100% - 40px)),
    #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.case-filter select:focus {
  outline: 3px solid rgba(11, 85, 200, 0.12);
  border-color: var(--blue);
}

.case-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.case-filter__actions button,
.case-filter__actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.case-filter__actions button {
  border: 1px solid var(--blue);
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(11, 85, 200, 0.12);
  cursor: pointer;
}

.case-filter__actions button:hover {
  transform: translateY(-1px);
  background: var(--blue-dark);
  box-shadow: 0 12px 22px rgba(11, 85, 200, 0.16);
}

.case-filter__actions a {
  border: 1px solid #cbd8e7;
  color: var(--blue);
  background: #fff;
}

.archive-layout--with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.archive-layout--with-sidebar .post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card,
.case-archive-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.post-card__link,
.case-archive-card__link {
  display: grid;
  height: 100%;
}

.case-archive-card__image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card__thumb,
.case-archive-card__visual {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #e9f1fb, #dce8f6);
}

.post-card__thumb--placeholder {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.post-card__thumb img,
.case-archive-card__visual img,
.entry-article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body,
.case-archive-card__body {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.post-card__meta,
.case-archive-card__meta,
.entry-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.entry-article__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.entry-date-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5b6b7e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.entry-date-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.entry-date-card time {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.post-card__meta span,
.case-archive-card__meta span,
.entry-article__meta span {
  color: var(--blue);
}

.case-archive-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.case-tag--region {
  color: #0a56be;
  background: #eef5ff;
  border: 1px solid #b9d4f7;
}

.case-tag--service {
  color: #1b7f5a;
  background: #e9f7f1;
  border: 1px solid #bbe5d2;
}

.column-term-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.column-term-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #b9d4f7;
  border-radius: 999px;
  color: var(--blue);
  background: #f5f9ff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

a.column-term-link:hover {
  color: #fff;
  background: var(--blue);
}

.post-card__title,
.case-archive-card__title {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.38;
}

.case-archive-card__title a {
  color: inherit;
  text-decoration: none;
}

.case-archive-card__title a:hover {
  color: var(--blue);
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--blue);
}

.post-card__excerpt,
.case-archive-card__excerpt,
.case-archive-card__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.post-card__more,
.case-archive-card__more,
.button-secondary {
  align-self: end;
  justify-self: start;
  color: var(--blue);
  font-weight: 900;
}

.pager {
  margin-top: 34px;
  text-align: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}

.page-numbers.current {
  background: var(--blue);
  color: #fff;
}

.single-back {
  margin-bottom: 18px;
}

.entry-article {
  padding: clamp(26px, 5vw, 54px);
  min-width: 0;
}

.entry-article__header {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.entry-article__thumb {
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--blue-soft);
}

.entry-article__content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: #263243;
  font-size: 17px;
  font-weight: 600;
  line-height: 2;
}

.entry-article__content > * {
  box-sizing: border-box;
  max-width: 100%;
}

.entry-article__content h2 {
  margin: 44px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
}

.entry-article__content h3 {
  margin: 34px 0 12px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.45;
}

.entry-article__content p,
.entry-article__content ul,
.entry-article__content ol {
  margin: 0 0 20px;
}

.entry-article__content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-article__content .entry-table-scroll {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 26px 0 40px;
  overflow-x: auto;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  -webkit-overflow-scrolling: touch;
}

.entry-article__content .entry-table-scroll table,
.entry-article__content table {
  width: 100% !important;
  max-width: none;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
  table-layout: auto;
}

.entry-article__content .entry-table-scroll table {
  min-width: 660px;
}

.entry-article__content > table {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  margin: 26px 0 40px;
  overflow-x: auto;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  box-shadow: none;
  -webkit-overflow-scrolling: touch;
}

.entry-article__content table tbody {
  display: table-row-group;
}

.entry-article__content table tr {
  background: #fff;
}

.entry-article__content table tr:first-child,
.entry-article__content table tr:nth-child(even) {
  background: #fff;
}

.entry-article__content table td,
.entry-article__content table th {
  padding: 17px 20px;
  height: auto !important;
  border: 0 !important;
  border-right: 1px solid #e1e8f0 !important;
  border-bottom: 1px solid #e7edf5 !important;
  box-shadow: none !important;
  color: #1f2b3d;
  background: transparent;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-article__content table th,
.entry-article__content table thead td,
.entry-article__content table > tr:first-child td,
.entry-article__content table > tbody:first-child tr:first-child td {
  border-bottom: 2px solid #ccd8e6 !important;
  color: #1f2b3d;
  background: #f4f7fb;
  font-weight: 900;
}

.entry-article__content table thead + tbody tr:first-child td {
  border-top: 0 !important;
}

.entry-article__content table tbody tr + tr td,
.entry-article__content table tbody tr + tr th {
  border-top: 0 !important;
}

.entry-article__content table td:last-child,
.entry-article__content table th:last-child {
  border-right: 0 !important;
}

.entry-article__content table tbody tr:last-child td,
.entry-article__content table tbody tr:last-child th {
  border-bottom: 0 !important;
}

.entry-article__content table td:first-child,
.entry-article__content table th:first-child {
  width: 26%;
  min-width: 150px;
  color: #1f2b3d;
  background: transparent;
  font-weight: 900;
}

.entry-article__content table thead td:first-child,
.entry-article__content table th:first-child,
.entry-article__content table > tr:first-child td:first-child,
.entry-article__content table > tbody:first-child tr:first-child td:first-child {
  background: #f4f7fb;
}

.entry-article__content table td:first-child strong,
.entry-article__content table th:first-child strong {
  color: inherit;
}

.entry-article__content table td:nth-child(2) {
  color: #263243;
  font-weight: 600;
}

.entry-article__content table tbody tr:hover td {
  background: #fbfdff;
}

.single-page--column .entry-article {
  padding: clamp(24px, 4.8vw, 58px);
}

.single-page--column .entry-article__content {
  color: #263243;
  font-size: 17px;
  line-height: 2.05;
}

.single-page--column .entry-article__content h2 {
  position: relative;
  margin: 58px 0 22px;
  padding: 20px 22px 20px 28px;
  border: 1px solid #cfe0f7;
  border-left: 7px solid var(--blue);
  border-radius: 8px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(238, 245, 255, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 12px 28px rgba(11, 46, 94, 0.07);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.45;
}

.single-page--column .entry-article__content h2::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -7px;
  width: 7px;
  height: calc(100% - 36px);
  border-radius: 999px;
  background: var(--blue);
}

.single-page--column .entry-article__content h3 {
  position: relative;
  margin: 42px 0 16px;
  padding: 0 0 12px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
}

.single-page--column .entry-article__content h3::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.single-page--column .entry-article__content h4 {
  position: relative;
  margin: 30px 0 12px;
  padding-left: 16px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.55;
}

.single-page--column .entry-article__content h4::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 4px;
  height: 1.25em;
  border-radius: 999px;
  background: var(--blue);
}

.single-page--column .entry-article__content p + h2,
.single-page--column .entry-article__content ul + h2,
.single-page--column .entry-article__content ol + h2,
.single-page--column .entry-article__content table + h2 {
  margin-top: 64px;
}

.single-page--column .entry-article__content ul,
.single-page--column .entry-article__content ol {
  padding: 18px 22px 18px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.single-page--column .entry-article__content li ul,
.single-page--column .entry-article__content li ol {
  margin: 8px 0 0;
  padding: 0 0 0 1.25em;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.single-page--column .entry-article__content li + li {
  margin-top: 8px;
}

.single-page--column .entry-article__content #toc_container {
  width: 100% !important;
  max-width: 820px;
  margin: 34px auto 42px;
  padding: 22px 24px;
  border: 1px solid #cfe0f7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(11, 46, 94, 0.06);
}

.single-page--column .entry-article__content #toc_container .toc_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0;
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
}

.single-page--column .entry-article__content #toc_container .toc_title::before {
  content: "目次";
  font-size: 19px;
}

.single-page--column .entry-article__content #toc_container .toc_toggle {
  display: none;
}

.single-page--column .entry-article__content #toc_container .toc-collapse-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #b9d4f7;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.single-page--column .entry-article__content #toc_container .toc-collapse-button:hover {
  color: #fff;
  background: var(--blue);
}

.single-page--column .entry-article__content #toc_container.is-collapsed > ul,
.single-page--column .entry-article__content #toc_container.is-collapsed > ol {
  display: none;
}

.single-page--column .entry-article__content #toc_container ul,
.single-page--column .entry-article__content #toc_container ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  list-style: none;
}

.single-page--column .entry-article__content #toc_container li {
  margin: 0;
  border-top: 1px solid #e5edf7;
}

.single-page--column .entry-article__content #toc_container a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
  padding: 11px 0;
  border: 0;
  border-radius: 0;
  color: #243247;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  text-decoration: none;
  text-underline-offset: 0;
}

.single-page--column .entry-article__content #toc_container a:hover {
  color: var(--blue);
  background: transparent;
}

.single-page--column .entry-article__content #toc_container .toc_number {
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--blue);
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  line-height: inherit;
}

.entry-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.entry-nav a,
.button-primary,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
}

.single-layout--with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.column-category-widget,
.related-sidebar__inner,
.supervisor-card,
.case-comparison,
.case-detail-card,
.case-single .case-body,
.cta-band__box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.column-category-widget,
.related-sidebar__inner,
.supervisor-card,
.case-comparison,
.case-detail-card,
.case-single .case-body,
.cta-band__box {
  padding: 24px;
}

.case-single .case-body .entry-article__content {
  color: var(--text);
  font-size: 20px;
  font-weight: 400;
  line-height: 2.05;
}

.case-single .case-body .entry-article__content p,
.case-single .case-body .entry-article__content ul,
.case-single .case-body .entry-article__content ol {
  color: var(--text);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 26px;
}

.case-single .case-body .entry-article__content li,
.case-single .case-body .entry-article__content p strong,
.case-single .case-body .entry-article__content p b,
.case-single .case-body .entry-article__content li strong,
.case-single .case-body .entry-article__content li b {
  color: var(--text);
  font-size: inherit;
  font-weight: 400;
}

.case-single .case-body .entry-article__content li + li {
  margin-top: 14px;
}

.case-single .case-body .entry-article__content strong,
.case-single .case-body .entry-article__content b {
  color: inherit;
  font-weight: 700;
}

.column-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 24px;
  align-content: start;
}

.column-category-widget h2 {
  margin: 0 0 24px;
  color: #2b2b2b;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.column-category-widget__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.column-category-widget__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #e0e3e7;
  border-radius: 0;
  color: #2f3135;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

a.column-category-widget__link:hover,
.column-category-widget__link.is-current {
  border-color: var(--blue);
  color: var(--blue);
  background: #f5f9ff;
}

.related-sidebar__list,
.supervisor-card__credentials-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.related-sidebar__item a {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
}

.related-sidebar__thumb {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: var(--blue-soft);
}

.related-sidebar__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-entry {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 54px);
}

.case-hero {
  display: grid;
  gap: 12px;
}

.case-comparison__title,
.case-detail-card__title,
.supervisor-card h2,
.related-sidebar h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}

.supervisor-card h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.supervisor-card__body {
  display: grid;
  gap: 24px;
}

.supervisor-card__profile {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.supervisor-card__summary,
.supervisor-card__copy {
  min-width: 0;
}

.supervisor-card__photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7fb;
}

.supervisor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.supervisor-card__summary h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(21px, 1.75vw, 25px);
  line-height: 1.45;
  font-weight: 900;
  word-break: keep-all;
}

.supervisor-card__role {
  margin: 8px 0 0;
  color: #2f3b4c;
  font-size: 18px;
  font-weight: 700;
}

.supervisor-card__copy {
  display: grid;
  gap: 16px;
  color: #26364a;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
}

.supervisor-card__copy p {
  margin: 0;
}

.supervisor-card__link {
  justify-self: end;
  gap: 8px;
  margin-top: 2px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.supervisor-card__link::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.supervisor-card__link:hover {
  background: var(--blue-soft);
}

.supervisor-card__credentials {
  margin-top: 6px;
}

.supervisor-card__credentials-heading {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.supervisor-card__credentials-list {
  gap: 8px;
  margin: 0;
  padding: 0;
}

.supervisor-card__credentials-list li {
  position: relative;
  padding-left: 1.2em;
  color: #26364a;
  font-weight: 900;
  line-height: 1.7;
}

.supervisor-card__credentials-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.case-comparison__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.case-compare-card {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.case-compare-card__image {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--blue-soft);
}

.case-compare-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-compare-card__placeholder,
.case-archive-card__placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 20px;
  color: var(--blue);
  font-weight: 900;
  text-align: center;
  background: var(--blue-soft);
}

.case-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.case-detail-table th,
.case-detail-table td {
  padding: 16px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.case-detail-table th {
  width: 28%;
  color: var(--blue);
  font-weight: 900;
}

.cta-band__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px;
  border-color: #bfdbfe;
  background: var(--blue-soft);
  box-shadow: none;
}

.cta-band__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.cta-band__actions {
  display: flex;
  flex: 0 0 auto;
}

.cta-band .cta-button {
  flex-direction: column;
  gap: 4px;
  min-width: 196px;
  min-height: 64px;
  padding: 10px 22px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.cta-band .cta-button span,
.cta-band .cta-button strong {
  display: block;
}

.cta-band__copy strong {
  display: block;
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
}

.cta-band__lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  padding: clamp(28px, 5vw, 54px);
}

.contact-hero__copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.contact-hero .contact-page__lead {
  max-width: 920px;
}

.contact-form-shell {
  padding: clamp(22px, 4vw, 38px);
}

.contact-field {
  display: grid;
  gap: 10px;
}

.contact-field + .contact-field {
  margin-top: 24px;
}

.contact-field__head {
  display: block;
}

.contact-field__head p,
.contact-field__head label,
.contact-field__head .contact-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

.contact-badge {
  order: 2;
  display: inline-flex;
  align-items: baseline;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.contact-badge::before {
  content: "※";
}

.contact-badge--required {
  color: #d93025;
}

.contact-badge--optional {
  color: #7b8490;
}

.wpcf7 form {
  display: grid;
  gap: 18px;
}

.contact-form-status {
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 900;
}

.contact-form-status--error {
  border: 1px solid #f0b4ae;
  color: #a5261d;
  background: #fff4f3;
}

.wpcf7 label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #9aa5b1;
  opacity: 1;
}

.contact-field--choices {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-field--choices legend {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

.contact-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-choice-list .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-choice-list .wpcf7-list-item {
  margin: 0;
}

.contact-choice {
  display: inline-flex !important;
  width: auto;
  min-height: 44px;
  align-items: center;
  gap: 8px !important;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.contact-choice-list .wpcf7-list-item label {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
}

.contact-choice-list .wpcf7-list-item-label {
  display: inline-block;
}

.wpcf7 .contact-choice input[type="radio"],
.wpcf7 .contact-choice-list input[type="radio"],
.matsunaga-native-contact-form input[type="radio"] {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wpcf7-submit {
  border-color: var(--blue) !important;
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 900 !important;
  cursor: pointer;
}

.thanks-card {
  text-align: center;
}

.thanks-card__actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .post-grid,
  .case-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-filter,
  .case-filter__fields {
    grid-template-columns: 1fr;
  }

  .case-filter__actions {
    align-items: stretch;
  }

  .archive-layout--with-sidebar,
  .single-layout--with-sidebar,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .column-sidebar {
    position: static;
  }

  .supervisor-card__profile {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 860px) {
  .archive-page,
  .single-page,
  .contact-page {
    padding: 42px 0 64px;
  }

  .wrap {
    width: min(calc(100% - 32px), var(--max));
  }

  .post-grid,
  .archive-layout--with-sidebar .post-grid,
  .case-archive-grid,
  .case-comparison__grid {
    grid-template-columns: 1fr;
  }

  .case-filter {
    padding: 18px;
  }

  .case-filter__actions {
    flex-direction: column;
  }

  .case-filter__actions button,
  .case-filter__actions a {
    width: 100%;
  }

  .entry-article,
  .case-entry,
  .contact-hero,
  .contact-form-shell {
    padding: 22px;
  }

  .entry-nav,
  .cta-band__box {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .cta-button {
    width: 100%;
    min-width: 0;
  }

  .supervisor-card__profile {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .supervisor-card__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .supervisor-card__copy {
    font-size: 16px;
  }

  .supervisor-card__link {
    justify-self: start;
  }

  .case-detail-table,
  .case-detail-table tbody,
  .case-detail-table tr,
  .case-detail-table th,
  .case-detail-table td {
    display: block;
    width: 100%;
  }

  .case-detail-table tr {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .case-detail-table th,
  .case-detail-table td {
    padding: 0;
    border: 0;
  }

  .case-detail-table th {
    margin-bottom: 8px;
  }

  .entry-article__content .entry-table-scroll,
  .entry-article__content > table {
    max-width: none;
    margin: 22px 0 34px;
  }

  .entry-article__content .entry-table-scroll table {
    min-width: 620px;
    margin: 0;
  }

  .entry-article__content table td,
  .entry-article__content table th {
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.7;
  }

  .entry-article__content table td:first-child,
  .entry-article__content table th:first-child {
    min-width: 150px;
  }

  .single-page--column .entry-article__content h2 {
    margin-top: 42px;
    padding: 16px 16px 16px 20px;
    font-size: 24px;
  }

  .single-page--column .entry-article__content h3 {
    margin-top: 34px;
    font-size: 21px;
  }

  .single-page--column .entry-article__content h4 {
    font-size: 18px;
  }

  .single-page--column .entry-article__content ul,
  .single-page--column .entry-article__content ol {
    padding: 14px 16px 14px 28px;
  }

  .single-page--column .entry-article__content li ul,
  .single-page--column .entry-article__content li ol {
    padding: 0 0 0 1.15em;
  }

  .single-page--column .entry-article__content #toc_container {
    margin: 26px auto 34px;
    padding: 16px 18px;
  }

  .single-page--column .entry-article__content #toc_container .toc_title::before {
    font-size: 17px;
  }

  .single-page--column .entry-article__content #toc_container a {
    padding: 10px 0;
    font-size: 14px;
  }

  .single-page--column .entry-article__content #toc_container .toc_number {
    min-width: 0;
    height: auto;
    font-size: 12px;
  }

  .faq-page-list {
    margin-top: 24px;
  }

  .faq-page-item summary {
    grid-template-columns: 34px 1fr auto;
    gap: 10px;
    padding: 16px;
    font-size: 16px;
  }

  .faq-page-item summary span,
  .faq-page-answer span {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .faq-page-item summary::after {
    width: 26px;
    height: 26px;
    font-size: 18px;
  }

  .faq-page-answer {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 16px;
  }

  .faq-page-answer p {
    font-size: 15px;
  }

  .faq-page-content {
    margin-top: 22px;
  }

  .faq-page-content > p:first-child {
    margin-bottom: 24px;
    text-align: left;
  }

  .faq-page-content h3 {
    margin-top: 34px;
    padding: 12px 14px;
    font-size: 20px;
  }

  .faq-page-content h4,
  .faq-page-content h4 + p {
    padding: 15px 15px 15px 59px;
  }

  .faq-page-content h4 {
    font-size: 16px;
  }

  .faq-page-content h4::before,
  .faq-page-content h4 + p::before {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .faq-page-content h4::before {
    left: 15px;
  }

  .faq-page-content h4 + p::before {
    top: 15px;
    left: 15px;
  }

  .faq-page-content h4 + p {
    font-size: 15px;
  }

  .faq-page-content h4 + p + p {
    margin-left: 44px;
    padding: 12px 14px;
  }
}

/* FAQ page hard reset: keep editor content intact and prevent grid text splitting. */
.single-page--faq .entry-article {
  background: #fff !important;
}

.single-page--faq .entry-article__header {
  max-width: 920px !important;
  margin: 0 auto 28px !important;
  text-align: left !important;
}

.single-page--faq .entry-article__header h1 {
  margin: 0 !important;
  font-size: clamp(34px, 4vw, 48px) !important;
  line-height: 1.25 !important;
}

.single-page--faq .faq-page-content,
.single-page--faq .faq-page-content * {
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

.single-page--faq .faq-page-content p,
.single-page--faq .faq-page-content h2,
.single-page--faq .faq-page-content h3,
.single-page--faq .faq-page-content h4,
.single-page--faq .faq-page-content b,
.single-page--faq .faq-page-content strong {
  grid-template-columns: none !important;
}

.single-page--faq .faq-page-content p,
.single-page--faq .faq-page-content h3,
.single-page--faq .faq-page-content h4 {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}

.single-page--faq .faq-page-content b,
.single-page--faq .faq-page-content strong {
  display: inline !important;
}

.single-page--faq .faq-page-content h3 {
  margin: 42px 0 18px !important;
  padding: 13px 18px !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  font-size: clamp(22px, 3vw, 28px) !important;
  line-height: 1.45 !important;
}

.single-page--faq .faq-page-content h3,
.single-page--faq .faq-page-content h3 *,
.single-page--faq .faq-page-content h3 b,
.single-page--faq .faq-page-content h3 strong {
  color: #fff !important;
}

.single-page--faq .faq-page-content h4 {
  position: relative !important;
  margin: 18px 0 0 !important;
  padding: 18px 20px 18px 78px !important;
  border: 1px solid #cfe0f7 !important;
  border-radius: 8px 8px 0 0 !important;
  color: var(--text) !important;
  background: var(--blue-soft) !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.single-page--faq .faq-page-content h4::before {
  content: "Q" !important;
  position: absolute !important;
  top: 50% !important;
  left: 20px !important;
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  place-items: center !important;
  border: 1px solid #9ec0f2 !important;
  border-radius: 50% !important;
  color: var(--blue) !important;
  background: #fff !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  transform: translateY(-50%) !important;
}

.single-page--faq .faq-page-content h4 + p {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 20px 22px 20px 78px !important;
  border: 1px solid #cfe0f7 !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
  color: #314255 !important;
  background: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
}

.single-page--faq .faq-page-content h4 + p::before {
  content: "A" !important;
  position: absolute !important;
  top: 20px !important;
  left: 22px !important;
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #0d376e !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.single-page--faq .faq-page-content h4 + p + p {
  display: block !important;
  width: calc(100% - 78px) !important;
  margin: 0 0 18px 78px !important;
  padding: 14px 18px !important;
  border-left: 3px solid #cfe0f7 !important;
  color: var(--muted) !important;
  background: #fbfdff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  box-sizing: border-box !important;
}

@media (max-width: 860px) {
  .single-page--faq .faq-page-content h4,
  .single-page--faq .faq-page-content h4 + p {
    padding-left: 59px !important;
  }

  .single-page--faq .faq-page-content h4::before,
  .single-page--faq .faq-page-content h4 + p::before {
    left: 15px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 14px !important;
  }

  .single-page--faq .faq-page-content h4 + p::before {
    top: 15px !important;
  }

  .single-page--faq .faq-page-content h4 + p + p {
    width: calc(100% - 59px) !important;
    margin-left: 59px !important;
  }
}
