/* ===========================
   Variables & Reset
=========================== */
:root {
  --black:   #163B5C;
  --text:    #3F4852;
  --muted:   #777777;
  --light:   #f5f5f5;
  --border:  #dedede;
  --white:   #ffffff;
  --accent:  #1a6bb5;
  --line:    #00B900;
  --line-dk: #009400;
  --max-w:   1100px;
  --hh:      72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kochi ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; background-color: var(--light); }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ===========================
   Layout
=========================== */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--gray { background: var(--light); }

.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-en {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--black);
}
.section-lead {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--hh);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.header-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
  min-width: 172px;
}
.logo__mark {
  width: 168px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
.logo__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.04em;
}
.logo__sub {
  display: none;
}

.header-nav { display: none; }
.header-nav ul { display: flex; align-items: center; gap: 2px; }
.header-nav a {
  display: block;
  padding: 8px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--accent); }

.header-cta { display: none; }
.btn-line-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--line);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 18px;
  transition: background 0.2s;
}
.btn-line-header:hover { background: var(--line-dk); }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 0 0 16px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list li a {
  display: block;
  padding: 16px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav__list li a:hover { color: var(--accent); }
.mobile-nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 24px 0;
  background: var(--line);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px;
  transition: background 0.2s;
}
.mobile-nav__cta:hover { background: var(--line-dk); }

@media (min-width: 768px) {
  .hamburger { display: none; }
  .header-nav { display: flex; align-items: center; }
  .header-cta { display: flex; align-items: center; }
  .mobile-nav { display: none !important; }
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  margin-top: var(--hh);
  height: calc(90vh - var(--hh));
  min-height: 520px;
  max-height: 820px;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.30) 50%,
    rgba(0,0,0,0.10) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.hero__tag {
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  max-width: max-content;
  border: 1px solid rgba(255,255,255,0.55);
  color: rgba(255,255,255,0.9);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero__sub {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
  max-width: 440px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-hero-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--line);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 28px;
  transition: background 0.2s, transform 0.2s;
}
.btn-hero-line:hover { background: var(--line-dk); transform: translateY(-2px); }
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 24px;
  transition: background 0.2s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.12); }
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.hero__point {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero__point::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--line);
  border-radius: 50%;
}

@media (min-width: 768px) {
  .hero { height: calc(88vh - var(--hh)); }
  .hero__content { padding: 0 24px 64px; }
}

/* ===========================
   SERVICES（サービス一覧）
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-item__link {
  display: block;
  color: var(--text);
}
.service-item__link:hover .service-item__img { transform: scale(1.04); }
.service-item__img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 14px;
  background: var(--light);
}
.service-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-item__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.service-item__name {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.35;
  color: var(--black);
}
.service-item__price {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.service-item__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.service-item__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: gap 0.2s;
}
.service-item__link:hover .service-item__more { gap: 9px; }

@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) {
  .services-grid { gap: 32px; }
}

/* ===========================
   WHY CHOOSE（選ばれる理由）
=========================== */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.reason-item {
  padding: 32px 20px 32px 0;
  border-bottom: 1px solid var(--border);
}
.reason-item:nth-child(even) {
  padding-left: 20px;
  padding-right: 0;
  border-left: 1px solid var(--border);
}
.reason-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}
.reason-title {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--black);
  line-height: 1.4;
}
.reason-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}

@media (min-width: 768px) {
  .reasons-grid { grid-template-columns: repeat(4, 1fr); }
  .reason-item { padding: 32px 24px 32px 0; }
  .reason-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
  .reason-item:not(:first-child) {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }
}

/* ===========================
   GREETING（ごあいさつ）
=========================== */
.greeting {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.greeting__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light);
}
.greeting__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.greeting__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 10px 0 22px;
  color: var(--black);
  line-height: 1.3;
}
.greeting__body {
  font-size: 0.92rem;
  line-height: 2.1;
  color: var(--text);
}
.greeting__body p + p {
  margin-top: 16px;
}
.greeting__sign {
  margin-top: 28px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

@media (min-width: 768px) {
  .greeting {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* ===========================
   BEFORE / AFTER（施工実績）
=========================== */
.ba-set {
  padding-bottom: 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--border);
}
.ba-set:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.ba-set__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ba-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ba-photo__wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 8px;
  background: var(--light);
}
.ba-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Before: 実際の施工前写真に差し替えたらこのfilterは削除してください */
.ba-photo--before .ba-photo__img {
  filter: brightness(0.52) saturate(0.22) sepia(0.35) contrast(1.1);
}
.ba-photo__caption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ba-photo--before .ba-photo__caption { color: var(--muted); }
.ba-photo--after  .ba-photo__caption { color: var(--accent); }

@media (min-width: 768px) { .ba-photos { gap: 20px; } }

/* ===========================
   PROCESS（作業の流れ）
=========================== */
.process-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.process-step__num {
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  padding-top: 3px;
  min-width: 36px;
}
.process-step__title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--black);
}
.process-step__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.85;
}
.process-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--light);
  border-left: 3px solid var(--accent);
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: none;
    border-bottom: 1px solid var(--border);
  }
  .process-step {
    flex-direction: column;
    gap: 14px;
    padding: 0 24px 32px 0;
    border-bottom: none;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  .process-step + .process-step {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }
}

/* ===========================
   TESTIMONIALS（お客様の声）
=========================== */
.reviews-list {
  border-top: 1px solid var(--border);
}
.review-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.review-item__service {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.review-item__stars {
  color: #b8962a;
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.review-item__name {
  font-size: 0.8rem;
  color: var(--muted);
}
.review-item__text {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text);
}
.review-item__text::before {
  content: '\201C';
  font-size: 2.8rem;
  line-height: 0;
  vertical-align: -0.45em;
  color: var(--border);
  font-family: Georgia, "Times New Roman", serif;
  margin-right: 4px;
}

@media (min-width: 640px) {
  .review-item { grid-template-columns: 180px 1fr; }
}

/* ===========================
   SNS
=========================== */
.sns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.sns-block {
  border: 1px solid var(--border);
}
.sns-block__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 700;
}
.sns-ico {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.sns-ico--yt { background: #FF0000; }
.sns-ico--ig { background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888); }
.sns-embed {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--light);
}
.sns-embed__text {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}
.sns-embed code {
  font-size: 0.72rem;
  background: var(--border);
  padding: 1px 6px;
}

@media (min-width: 768px) { .sns-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===========================
   FAQ（よくある質問）
=========================== */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q__body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  flex: 1;
  line-height: 1.6;
}
.faq-q__q {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 3px;
}
.faq-q__arrow {
  flex-shrink: 0;
  font-size: 0.6rem;
  color: var(--muted);
  transition: transform 0.3s;
  padding-top: 5px;
}
.faq-item.is-open .faq-q__arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a__inner {
  display: flex;
  gap: 12px;
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.95;
  border-top: 1px solid var(--border);
  padding: 18px 0 22px;
}
.faq-a__a {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--muted);
  padding-top: 3px;
}

/* ===========================
   LINE CTA
=========================== */
.line-cta {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px;
  text-align: center;
}
.line-cta__inner { max-width: 520px; margin: 0 auto; }
.line-cta__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--black);
  line-height: 1.4;
}
.line-cta__text {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.95;
}
.btn-line-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--line);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 40px;
  transition: background 0.2s, transform 0.2s;
}
.btn-line-cta:hover { background: var(--line-dk); transform: translateY(-2px); }
.line-cta__note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted);
}
.line-perks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.line-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.line-perk::before {
  content: '✓';
  width: 18px;
  height: 18px;
  background: var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand__addr {
  font-size: 0.78rem;
  line-height: 2.1;
  font-style: normal;
}
.footer-col__title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col__list { display: flex; flex-direction: column; gap: 10px; }
.footer-col__list a { font-size: 0.8rem; transition: color 0.2s; }
.footer-col__list a:hover { color: var(--white); }
.footer-line-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--line);
  color: var(--white);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.footer-line-btn:hover { background: var(--line-dk); }
.footer-line-btn__sub {
  font-size: 0.68rem;
  opacity: 0.8;
  font-weight: 400;
  margin-top: 2px;
}
.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 0.72rem;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.72rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1.6fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ===========================
   Floating LINE ボタン
   ページトップボタンは Snow Monkey 標準を使用するため、
   標準ボタン（右下）と重ならない位置に配置する。
=========================== */
.float-line {
  position: fixed;
  right: 72px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--line);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 12px 18px 12px 14px;
  box-shadow: 0 4px 16px rgba(0,185,0,0.35);
  transition: background 0.2s, transform 0.2s;
}
/* スマホのホームバー等セーフエリアを考慮 */
@supports (bottom: env(safe-area-inset-bottom)) {
  .float-line {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}
.float-line:hover { background: var(--line-dk); transform: translateY(-2px); }
/* 1279px 以下（SP・狭いPC）は固定LINEボタンを非表示にし、本文・表・FAQ への
   重なりを回避する。ヘッダー・モバイルメニュー・ページ内 LINE CTA に予約導線が
   あるため、固定ボタンを消しても導線は維持される。1280px 以上では右下（Snow
   Monkey 標準のページトップボタンと非重複の位置）に固定表示を継続する。 */
@media (max-width: 1279px) {
  .float-line { display: none; }
}


/* ===========================
   SNS link cards / Staff / Policy tables
=========================== */
.sns-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.sns-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.sns-card h3 {
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 8px;
}
.sns-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.sns-card span:last-child {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}
.staff-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.staff-profile__img-wrap {
  overflow: hidden;
  background: var(--light);
}
.staff-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-profile__title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin: 10px 0 20px;
  color: var(--black);
}
.staff-profile__text {
  font-size: 0.92rem;
  line-height: 2;
}
.staff-profile__text p + p {
  margin-top: 14px;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.9rem;
}
.policy-table th,
.policy-table td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
}
.policy-table thead th {
  background: var(--black);
  color: var(--white);
}
@media (min-width: 768px) {
  .staff-profile {
    grid-template-columns: 0.9fr 1.1fr;
  }
}


/* ===========================
   Detail button / Top refinements
=========================== */
.btn-detail {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  padding: 12px 20px;
  border: 1px solid var(--black);
  color: var(--black);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.btn-detail:hover {
  background: var(--black);
  color: var(--white);
}
.greeting--teaser {
  align-items: center;
}
.works-showcase--photos-only .showcase-item__wrap {
  margin-bottom: 0;
}

/* ===========================
   施工イメージ（旧 Before/After）※ index.html head から移設
=========================== */
.works-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.showcase-item__wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light);
}
.showcase-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.showcase-item__wrap:hover .showcase-item__img { transform: scale(1.04); }
.showcase-item__service {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 12px;
}
.showcase-item__note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
}
@media (min-width: 640px) {
  .works-showcase { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ==========================================================
   コアブロック対応の補助スタイル（my-snow-monkey 追加分）
   - core/image は <figure class="wp-block-image"> でラップされるため、
     img-wrap 内で高さ100%・余白0にして元デザインの比率を維持する。
   - サービスカードは元の <a> ラップを廃し <div> 化したため、
     ホバー時の画像ズームを .service-item:hover 起点で再現する。
========================================================== */
.service-item__img-wrap > .wp-block-image,
.greeting__img-wrap > .wp-block-image,
.showcase-item__wrap > .wp-block-image,
.staff-profile__img-wrap > .wp-block-image {
  margin: 0;
  height: 100%;
}
.service-item__img-wrap > .wp-block-image > img,
.greeting__img-wrap > .wp-block-image > img,
.showcase-item__wrap > .wp-block-image > img,
.staff-profile__img-wrap > .wp-block-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-item__img-wrap > .wp-block-image > img {
  transition: transform 0.4s ease;
}
.service-item:hover .service-item__img-wrap > .wp-block-image > img {
  transform: scale(1.04);
}
.showcase-item__wrap > .wp-block-image > img {
  transition: transform 0.4s ease;
}
.showcase-item__wrap:hover > .wp-block-image > img {
  transform: scale(1.04);
}

/* コアブロックの既定余白がレイアウトに干渉しないよう、
   セクション内のグループ・見出し・段落の上下マージンを抑制。
   元デザインは各要素に個別マージンを持つため衝突を避ける。 */
.section .wp-block-group,
.hero .wp-block-group {
  margin-top: 0;
  margin-bottom: 0;
}

/* ==========================================================
   全幅（alignfull）セクションの調整（my-snow-monkey 追加分）
   各パターンの最上位グループを alignfull にしているため、
   Snow Monkey のコンテンツ幅による左右余白を打ち消し、
   背景を画面幅いっぱいに広げる。文章・カードは各セクション内の
   .wrap / .hero__content / .line-cta__inner が最大幅を維持する。
========================================================== */
.alignfull.hero,
.alignfull.section,
.alignfull.line-cta {
  max-width: none;
}
/* ヒーローは背景を左右余白なしで画面幅いっぱいに広げる。
   内側の .hero__content が container 最大幅を保持する。 */
.alignfull.hero {
  padding-left: 0;
  padding-right: 0;
}

/* ==========================================================
   エアコンクリーニングページ用スタイル（aircon.html から移植）
   ※ 共通CSSと重複するクラス（.section / .wrap / .process-* /
     .line-cta* / .faq* / .float-line 等）は再利用し、
     この節では詳細ページ固有のクラスのみ定義する。
========================================================== */

/* --- グローバルナビ 現在ページ表示（共通ヘッダーの aria-current 用） --- */
.header-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
}

/* --- サブページヒーロー --- */
/* 固定ヘッダー分をサブヒーロー先頭でオフセット（TOP の .hero と同様）。
   Snow Monkey 側でページヘッダー/パンくずを本文上部に表示する場合は、
   この margin-top を調整してください。 */
.sub-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  margin-top: var(--hh);
}
.sub-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.sub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.70) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.10) 100%
  );
}
.sub-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.sub-hero__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.sub-hero__title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.sub-hero__copy {
  font-size: 0.92rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  max-width: 400px;
}
.sub-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--line);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 26px;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}
.sub-hero__cta:hover { background: var(--line-dk); transform: translateY(-2px); }
@media (min-width: 768px) { .sub-hero { height: 500px; } }

/* alignfull のサブヒーローを画面幅いっぱいに（左右余白を打ち消す） */
.alignfull.sub-hero {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* --- こんなお悩みありませんか？ --- */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.problem-item {
  background: var(--white);
  padding: 24px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.section--gray .problem-item { background: var(--light); }
.problem-item__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--accent);
  margin-top: 1px;
}
.problem-item__text {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--black);
}
.problem-item__sub {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}
.problems-cta {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.problems-cta__text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--black);
}
.problems-cta__sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}
.btn-line-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--line);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 22px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-line-sm:hover { background: var(--line-dk); }

/* --- サービス内容（作業ステップ） --- */
.service-steps {
  border-top: 1px solid var(--border);
}
.service-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.service-step__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--black);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-step__title {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 5px;
  line-height: 1.3;
}
.service-step__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.85;
}
@media (min-width: 640px) {
  .service-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: none;
    border-bottom: 1px solid var(--border);
  }
  .service-step {
    border-bottom: none;
    border-top: 1px solid var(--border);
    padding-right: 24px;
  }
  .service-step:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }
}

/* --- 料金目安 --- */
/* 料金表はコア table ブロックで実装（figure.wp-block-table.price-table）。
   キャプションは段落 .price-table__caption で表現。
   行見出し（1列目）・金額（最終列）の見た目は CSS で再現する。 */
.price-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.price-table__caption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.price-wrap .price-col > .price-table__caption { margin-top: 32px; }
.price-wrap .price-col > .price-table__caption:first-child { margin-top: 0; }
figure.price-table {
  margin: 0;
  overflow-x: auto;
}
figure.price-table > table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}
.price-table th,
.price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.6;
  vertical-align: middle;
}
.price-table thead th {
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-bottom: none;
}
.price-table tbody td:first-child {
  background: var(--light);
  font-weight: 700;
  color: var(--text);
  width: 55%;
}
.price-table tbody td:last-child {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  white-space: nowrap;
}
.price-table tbody tr:last-child td {
  border-bottom: none;
}
.price-note {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.95;
  border-left: 3px solid var(--border);
  padding-left: 14px;
}
@media (min-width: 768px) {
  .price-wrap { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* --- 施工実績（ギャラリー） --- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.work-item__wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light);
}
.work-item__wrap > .wp-block-image {
  margin: 0;
  height: 100%;
}
.work-item__wrap > .wp-block-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.work-item__wrap:hover > .wp-block-image > img { transform: scale(1.04); }
.work-item__caption {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}
@media (min-width: 640px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* --- 作業の流れ（5ステップ用オーバーライド） --- */
@media (min-width: 768px) {
  .process-list--five {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ==========================================================
   修正: 「こんなお悩みありませんか？」の表示崩れ
   .problem-item はコア Group ブロック(.wp-block-group)のため、
   テーマの constrained layout が直下要素へ max-width と
   margin-left/right:auto を付与し、グリッドセル内でコンテンツが
   中央寄せ・余白化して左側に大きな灰色の四角が出ていた。
   その自動マージン/最大幅のみを打ち消す最小限の上書き。
   （既存の .problems-grid / .problem-item / .problem-item__check
     の基本定義は変更せず、ここでは上書きだけを行う）
========================================================== */
.problems-grid > .problem-item {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.problem-item > .wp-block-group {
  flex: 1;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
}
.problem-item > .problem-item__check {
  flex: 0 0 20px;
  max-width: none !important;
  margin: 1px 0 0 !important;
  box-sizing: border-box;
}
/* PCは2列（既存 .problems-grid のまま）、スマホは1列にして横はみ出しを防ぐ */
@media (max-width: 639px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   会社案内ページ用スタイル（about.html から移植・不足分のみ）
   ※ .sub-hero* / .staff-profile* / .policy-table（基本定義）は
     既存を再利用。ここでは about 固有の不足クラスと、
     コア Table/List ブロック構造への適合のみを追記する。
========================================================== */

/* --- 会社概要 / 対応エリア（company-wrap + コア Table） --- */
.company-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 768px) {
  .company-wrap { grid-template-columns: 3fr 2fr; gap: 48px; }
}
figure.company-table {
  margin: 0;
  overflow-x: auto;
}
.company-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}
.company-table th,
.company-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.75;
  vertical-align: top;
}
/* 1列目（項目名）を見出し風に。コア Table では tbody は td のみ */
.company-table tbody td:first-child {
  background: var(--light);
  font-weight: 700;
  color: var(--text);
  width: 32%;
  white-space: nowrap;
}
.company-table tbody tr:last-child td {
  border-bottom: none;
}

/* --- 店長からのご挨拶（company-message） --- */
.company-message {
  border-left: 3px solid var(--black);
  padding: 20px 24px;
  background: var(--white);
}
.company-message__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 14px;
}
.company-message__text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 2;
}
.company-message__text p { margin: 0; }

/* --- 規約 / プライバシー / 決済（policy-body） --- */
.policy-body { max-width: 760px; }
.policy-body h3 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--black);
  margin: 32px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--black);
}
.policy-body h3:first-child { margin-top: 0; }
.policy-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 12px;
}
.policy-body ul {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2;
  padding-left: 1.5em;
  margin-bottom: 12px;
}
.policy-body ul li { margin-bottom: 4px; }
/* 施行日・最終更新日。コア段落(.policy-body p)より優先させる */
.policy-body p.policy-updated,
.policy-updated {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 28px;
}

/* --- キャンセル料表（既存 .policy-table をコア Table 構造へ適合） --- */
.policy-table { overflow-x: auto; }
.policy-table table {
  width: 100%;
  border-collapse: collapse;
}
.policy-table tbody td:first-child { font-weight: 700; }

/* --- ページ内アンカーナビ（page-nav） --- */
.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-nav a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: background 0.2s, color 0.2s;
}
.page-nav a:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ==========================================================
   修正1: エアコン施工実績の正式画像（1200×960 / 5:4）
   画像内に見出し・説明文があるため全体を contain で表示。
   画像内文字を読みやすくするため 767px以下1列・768px以上2列・1024px以上3列。
   白背景・hover拡大無効。セレクタは --aircon 限定で、
   洗濯機ページ等の .work-grid には影響しない。
========================================================== */
.work-grid--aircon { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .work-grid--aircon { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .work-grid--aircon { grid-template-columns: repeat(3, 1fr); }
}
.work-grid--aircon .work-item__wrap {
  aspect-ratio: 5 / 4;
  background: #fff;
}
.work-grid--aircon .work-item__wrap > .wp-block-image,
.work-grid--aircon .work-item__wrap > .wp-block-image > img {
  height: 100%;
}
.work-grid--aircon .work-item__wrap > .wp-block-image > img {
  object-fit: contain;
  transition: none;
}
.work-grid--aircon .work-item__wrap:hover > .wp-block-image > img {
  transform: none;
}

/* ==========================================================
   修正2: 会社案内の導入文(section-lead)を policy-body と揃える
   #payment / #cancel-policy / #terms / #privacy の section-lead だけを
   policy-body と同じ最大幅760px・同じ左右位置(中央寄せ)に揃える。
   既存の margin-top・文字サイズ・色・行間は維持（左右marginのみ指定）。
   会社概要・スタッフ・対応エリア等の他 section-lead は対象外。
========================================================== */
#payment .section-header .section-lead,
#cancel-policy .section-header .section-lead,
#terms .section-header .section-lead,
#privacy .section-header .section-lead {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
