/*
 Theme Name: Tax Audit LP Child
 Theme URI: https://example.com/
 Description: 税務調査緊急サポートセンター北九州 LP 子テーマ
 Author: Sol Alliance
 Template: twentytwentyfive
 Version: 1.0.0
*/

/* ここから下に、既存の style.css の中身をそのまま置く */


@charset "utf-8";


/* =========================================================
   Variables
   ========================================================= */
   :root {
    /* Color Palette */
    --color-bg: #f8f9fa;
    --color-bg-light: #ffffff;
    --color-bg-colored: #f0f6ff;

    --color-primary: #1a365d; /* 信頼の濃紺 */
    --color-primary-light: #2c5282;
    --color-primary-dark: #102a4e;

    --color-accent: #d97706; /* 活力・解決のオレンジゴールド */
    --color-accent-hover: #b45309;

    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e5e7eb;

    /* UI Elements */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --header-height: 70px;
    --emergency-height: 44px;

    --font-base: "Noto Sans JP", sans-serif;
  }

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

  html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--emergency-height) + 20px);
  }

  body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    /* header.phpでの余白調整のためpadding-topは削除または調整推奨ですが、
       デザイン崩れを防ぐためそのままにします */
    padding-top: calc(var(--emergency-height) + var(--header-height));
    -webkit-font-smoothing: antialiased;
  }

  img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }

  a {
    color: var(--color-primary);
    transition: all 0.2s ease;
  }

/* =========================================================
   Utilities
   ========================================================= */
   .container {
    width: min(1080px, 100% - 40px);
    margin-inline: auto;
  }

  .u-hide-sm { display: none; }
  .u-show-sm { display: block; }
  .text-highlight {
    background: linear-gradient(transparent 60%, #fff176 60%);
    font-weight: 700;
    padding-inline: 4px;
  }

  @media (min-width: 768px) {
    .u-hide-sm { display: inline; }
    .u-show-sm { display: none; }
  }

/* =========================================================
   Components: Buttons
   ========================================================= */
   .btn {
    display: flex;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
  }

  .btn--primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 6px rgba(26, 54, 93, 0.2);
  }
  .btn--primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(26, 54, 93, 0.3);
  }

  .btn--accent {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.2);
  }
  .btn--accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.3);
  }

  .btn--secondary {
    background-color: #fff;
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  .btn--secondary:hover {
    background-color: #f0f6ff;
  }

  .btn--white-outline {
    background: transparent;
    border-color: #fff;
    color: #fff;
  }
  .btn--white-outline:hover {
    background: rgba(255,255,255,0.1);
  }

  .btn--ghost {
    background: transparent;
    border-color: var(--color-text-light);
    color: var(--color-text);
  }
  .btn--ghost:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: var(--color-primary);
  }

  .btn--lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  .btn--sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .btn--block {
    width: 100%;
    display: flex;
  }

/* =========================================================
   Section Common
   ========================================================= */
   .section {
    padding: 4rem 0;
  }
  .section--light { background-color: var(--color-bg-light); }
  .section--colored { background-color: var(--color-bg-colored); }

  .section__head { margin-bottom: 3rem; }
  .section__head--center { text-align: center; }

  .section__en-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-family: sans-serif;
  }

  .section__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem;
    line-height: 1.4;
  }
  .section__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
  }
  .section__head:not(.section__head--center) .section__title::after {
    margin-inline: 0;
  }

  .section__lead {
    margin: 0;
    color: var(--color-text-light);
    font-size: 1rem;
  }

/* =========================================================
   Emergency Bar
   ========================================================= */
   .emergency-bar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    height: var(--emergency-height);
    background-color: #b91c1c; /* 緊急色（赤） */
    color: #fff;
    z-index: 1000;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }

  .emergency-bar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .emergency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #fff;
    color: #b91c1c;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    margin-right: 6px;
  }

  .emergency-bar__text {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .emergency-bar__tel {
    display: none; /* SPでは非表示 */
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    background: rgba(0,0,0,0.15);
    padding: 2px 12px;
    border-radius: 99px;
  }

  .emergency-bar__tel-number { font-size: 1.1rem; font-weight: 700; }
  .emergency-bar__tel-time { font-size: 0.75rem; opacity: 0.9; }

  @media (min-width: 768px) {
    .emergency-bar__inner { justify-content: space-between; }
    .emergency-bar__tel { display: flex; }
  }

/* =========================================================
   Header
   ========================================================= */
   .site-header {
    position: fixed;
    inset-inline: 0;
    top: var(--emergency-height);
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 900;
  }

  .site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header__logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .site-header__logo-sub {
    font-size: 0.7rem;
    color: var(--color-text-light);
  }
  .site-header__logo-main {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
  }

/* Desktop Nav */
.site-nav--desktop { display: none; }

@media (min-width: 960px) {
  .site-nav--desktop { display: block; }
  .site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }
  .site-nav__list a:not(.btn) {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
  }
  .site-nav__list a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s;
  }
  .site-nav__list a:not(.btn):hover::after {
    width: 100%;
  }
  .btn--nav {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    background-color: var(--color-accent);
    color: #fff;
  }
  .btn--nav:hover {
    background-color: var(--color-accent-hover);
  }
}

/* Hamburger */
.nav-toggle {
  border: none;
  background: none;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
}
.nav-toggle__line {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle__label {
  font-size: 0.6rem;
  color: var(--color-primary);
}
@media (min-width: 960px) { .nav-toggle { display: none; } }

/* SP Drawer */
.sp-nav {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.98);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    height: 100vh;
}
.sp-nav.is-open { transform: translateX(0); }

.sp-nav__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.sp-nav__list li { border-bottom: 1px solid #eee; }
.sp-nav__list a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  font-weight: 700;
  color: var(--color-primary);
}

/* =========================================================
   Hero Section
   ========================================================= */
   .section--hero {
    padding-top: 3rem;
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
    overflow: hidden;
  }

  .hero__inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .hero__label {
    display: inline-block;
    margin: 0 0 0.5rem;
  }
  .hero__label-inner {
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
  }

  .hero__title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 0 0 1rem;
    color: var(--color-primary);
  }

  .hero__subtitle {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0 0 2rem;
  }
  .hero__subtitle strong {
    color: var(--color-accent);
    font-size: 1.1em;
  }

  .hero__cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .hero__cta-main {
    flex-direction: column;
  }
  .hero__cta-text { font-size: 0.8rem; opacity: 0.9; font-weight: 500; }
  .hero__cta-tel { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.05em; }

  .hero__cta-sub-group { display: flex; flex-direction: column; gap: 0.5rem; }
  .hero__note { font-size: 0.75rem; color: var(--color-text-light); margin: 0; }

  .hero__badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .hero__badges li {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: #fff;
    border: 1px solid #bfdbfe;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }
  .hero__badges li::before {
    content: "✔";
    margin-right: 4px;
    color: var(--color-accent);
  }

  .hero__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
  }
  .hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }
  .hero__visual:hover img { transform: scale(1.02); }

  @media (min-width: 768px) {
    .hero__inner {
      flex-direction: column;
      align-items: center;
    }
    .hero__content { flex: 1; }
    .hero__visual {
      flex: 1;
      justify-content: center;
      align-items: center;
      min-height: auto;
      aspect-ratio: 4 / 3;
    }
    .hero__visual img {width: 80%; height: 80%;}

    .hero__title { font-size: 2.5rem; }
    .hero__cta { flex-direction: row; align-items: center; }
    .hero__cta-text { font-size: 1rem; }
  }

  @media (min-width: 1023px) {
    .hero__cta-tel { font-size: 1.4rem; font-size: clamp(1rem, 1.6vw, 1.4rem);}
    .hero__inner {flex-direction: row;}
    .hero__visual img {width: 100%; height: 100%;}
  }

/* =========================================================
   Section CTA
   ========================================================= */
   .section--cta {
    background: linear-gradient(to right, #1e3a8a, #172554);
    color: #fff;
    text-align: center;
  }
  .section-cta__title { margin: 0 0 1rem; font-size: 1.5rem; }
  .section-cta__text { margin: 0 0 1.5rem; font-size: 1rem; opacity: 0.9; }
  .section-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }
  @media (min-width: 768px) {
    .section-cta__buttons { flex-direction: row; }
  }

/* =========================================================
   Problem (Checklist)
   ========================================================= */
   .checklist-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
  }

  .checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
  }

  .checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .checklist__icon {
    background: var(--color-accent);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }
  .checklist__icon::after {
    content: "✓";
    font-size: 14px;
    font-weight: bold;
  }

  .checklist__text {
    font-size: 1rem;
    line-height: 1.5;
  }
  .checklist__text strong {
    background: linear-gradient(transparent 70%, #fde68a 70%);
  }

  .problem-solution {
    text-align: center;
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #bfdbfe;
  }
  .problem-solution__text {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin: 0;
  }

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

/* =========================================================
   Strength
   ========================================================= */
   .features-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .feature-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--color-primary);
  }
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

  .feature-card__icon {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 2rem;
    font-weight: 900;
    color: #1a365c;
    line-height: 1;
    z-index: 0;
    background-color: #ffffff;
    border-radius: 999px;
    padding: 20px;
    box-sizing: border-box;
  }

  .feature-card__title {
    position: relative;
    font-size: 1.2rem;
    margin: 0 0 1rem;
    color: var(--color-primary);
    z-index: 1;
  }

  .feature-card__text {
    position: relative;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
    z-index: 1;
  }

/* Strength Section Background Modification */
#strength {
  position: relative;
  /* WordPress用にパスを調整、必要に応じてカスタムCSSで上書きしてください */
  background-image: url('images/bg-strength.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

#strength::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

#strength .container {
  position: relative;
  z-index: 2;
}

#strength .section__en-title {
  color: rgba(255, 255, 255, 0.8);
}
#strength .section__title {
  color: #fff;
}
#strength .section__title::after {
  background-color: var(--color-accent);
}

/* =========================================================
   Voice
   ========================================================= */
   .voices-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .voice-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
  }

  .voice-card__head {
    background: #f8fafc;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .voice-card__company { margin: 0; font-size: 1rem; font-weight: 700; }
  .voice-card__badge {
    font-size: 0.7rem;
    background: #3b82f6;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
  }
  .voice-card__badge--personal { background: #10b981; }

  .voice-card__body { padding: 1.5rem 1.2rem; }
  .voice-card__summary {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem;
    line-height: 1.4;
    border-bottom: 2px dotted #e2e8f0;
    padding-bottom: 1rem;
  }
  .voice-card__detail {
    font-size: 0.9rem;
    color: var(--color-text);
    margin: 0;
  }

/* =========================================================
   Price
   ========================================================= */
   .price-container {
    max-width: 800px;
    margin: 0 auto;
  }

  .price-table {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
  }
  .price-table table {
    width: 100%;
    border-collapse: collapse;
  }
  .price-table th, .price-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
  }
  .price-table th {
    background: #f1f5f9;
    color: var(--color-primary);
    width: 30%;
    font-weight: 700;
  }
  .price-table td { font-size: 1rem; }

  .price-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
  }

  .price-desc { display: block; font-size: 0.85rem; color: var(--color-text-light); margin-bottom: 4px; }
  .price-percent { font-size: 1.5rem; color: var(--color-accent); font-weight: 700; }

  .price-notes {
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding-left: 1.5rem;
  }

/* =========================================================
   Flow
   ========================================================= */
   .flow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .flow-item {
    display: flex;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
  }

.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 39px;
  top: 60px;
  bottom: -24px;
  width: 2px;
  background-image: linear-gradient(to bottom, #cbd5e1 50%, transparent 50%);
  background-size: 2px 10px;
  z-index: 0;
}

.flow-item__num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
}

.flow-item__content { flex: 1; }

.flow-item__title { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--color-primary); }
.flow-item__text { margin: 0; font-size: 0.95rem; color: var(--color-text-light); }

.flow-item--highlight {
  border: 2px solid var(--color-accent);
  background: #fff7ed;
}
.flow-item--highlight .flow-item__num { background: var(--color-accent); }

.flow-note-text { text-align: center; margin-top: 2rem; font-size: 0.9rem; color: #b91c1c; }

/* =========================================================
   Area / Note
   ========================================================= */
   .cols {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .col-box {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    flex: 1;
  }
  .col-box__title { margin: 0 0 1rem; border-left: 4px solid var(--color-primary); padding-left: 0.8rem; font-size: 1.1rem; }
  .bullet-list { margin: 0; padding-left: 1.2rem; color: var(--color-text-light); }
  @media (min-width: 768px) { .cols { flex-direction: row; } }

/* =========================================================
   FAQ
   ========================================================= */
   .faq-list { max-width: 800px; margin: 0 auto; }
   .faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .faq-item__question {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
  }
  .faq-item__question::-webkit-details-marker { display: none; }

  .faq-icon {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-right: 0.8rem;
  }
  .faq-toggle-icon {
    margin-left: auto;
    width: 20px;
    height: 20px;
    position: relative;
  }
  .faq-toggle-icon::before, .faq-toggle-icon::after {
    content: "";
    position: absolute;
    background: var(--color-primary);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .faq-toggle-icon::before { width: 12px; height: 2px; }
  .faq-toggle-icon::after { width: 2px; height: 12px; transition: transform 0.2s; }
  .faq-item[open] .faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

  .faq-item__answer {
    padding: 0 1.2rem 1.2rem 3.2rem;
    color: var(--color-text-light);
    line-height: 1.6;
  }

/* =========================================================
   Office
   ========================================================= */
   .office {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .office__map-placeholder {
    background: #ddd;
    height: 250px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
  }
  .office__map-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    border-radius: 4px;
  }
  .office__list-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 0.8rem 0;
  }
  .office__list dt { width: 100px; font-weight: 700; color: var(--color-primary); }
  .office__list dd { margin: 0; flex: 1; }
  @media (min-width: 768px) {
    .office { flex-direction: row; }
    .office__info { flex: 1; }
    .office__map { flex: 1; }
    .office__map-placeholder { height: 100%; min-height: 300px; }
  }

.staff-wrapper {
  margin-bottom: 4rem;
}

.staff-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.staff-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.staff-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #eee;
  overflow: hidden;
}

.staff-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s;
}

.staff-card:hover .staff-card__img img {
  transform: scale(1.05);
}

.staff-card__body {
  padding: 1.5rem 1.5rem 2rem;
}

.staff-card__role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  background: #fff7ed;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.staff-card__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}

.staff-card__name span {
  font-size: 0.9rem;
  margin-left: 0.5rem;
  font-weight: normal;
  color: var(--color-text-light);
}

.staff-card__text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  margin: 0;
}

/* =========================================================
   Contact
   ========================================================= */
   .section--contact { background: #fdfdfd; }
   .contact-cols {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .contact-phone-box {
    background: #f0f6ff;
    border: 2px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
  }
  .contact-cols__title { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--color-primary); }
  .contact-cols__desc { margin: 0 0 1.5rem; font-size: 0.9rem; }
  .contact-cols__tel {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
  }
  .contact-cols__tel-icon { font-size: 1rem; margin-right: 0.5rem; color: var(--color-text); }
  .contact-cols__time { font-size: 0.9rem; opacity: 0.8; }

  .contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .contact-cols__title-form { margin: 0 0 1.5rem; font-size: 1.2rem; border-left: 4px solid var(--color-accent); padding-left: 0.8rem; }
  .contact-form__row { margin-bottom: 1.2rem; }
  .contact-form__row label { display: block; font-weight: 700; margin-bottom: 0.5rem; font-size: 0.9rem; }
  .contact-form__required { background: #ef4444; color: #fff; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }

  .contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
  }
  .contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: 2px solid var(--color-primary);
    border-color: transparent;
  }
  .select-wrap { position: relative; }

  @media (min-width: 960px) {
    .contact-cols { flex-direction: row; align-items: flex-start; }
    .contact-cols__phone { flex: 1; position: sticky; top: 100px; }
    .contact-cols__form { flex: 1.5; }
  }

/* =========================================================
   Fixed CTA (SP)
   ========================================================= */
   .fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0; inset-inline: 0;
    height: 70px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 950;
  }
  .fixed-cta__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
  }
  .fixed-cta__sub { font-size: 0.7rem; font-weight: normal; margin-bottom: 2px; }
  .fixed-cta__btn--tel { background: var(--color-accent); color: #fff; }
  .fixed-cta__btn--mail { background: #fff; color: var(--color-primary); border-top: 1px solid #eee; }

  @media (min-width: 768px) { .fixed-cta { display: none; } }

/* =========================================================
   Footer
   ========================================================= */
   .site-footer { margin-top: 0; background-color: var(--color-primary-dark); color: #cbd5e1; }
   .site-footer__top { padding: 4rem 0 3rem; }
   .footer-cols {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .footer-col__title { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 0.5rem; }
  .footer-col__text { font-size: 0.9rem; line-height: 1.6; }
  .footer-nav { list-style: none; padding: 0; margin: 0; }
  .footer-nav li { margin-bottom: 0.5rem; }
  .footer-nav a { color: #cbd5e1; text-decoration: none; transition: color 0.2s; }
  .footer-nav a:hover { color: #fff; text-decoration: underline; }
  .footer-dl { margin: 0; font-size: 0.9rem; }
  .footer-dl dt { float: left; width: 4.5em; clear: left; color: rgba(255,255,255,0.6); }
  .footer-dl dd { margin-left: 4.5em; margin-bottom: 0.5rem; color: #fff; }

  .btn--footer { background: #fff; color: var(--color-primary); margin-bottom: 0.8rem; }
  .btn--footer-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }

  .site-footer__bottom { background-color: #0f172a; padding: 1rem 0; font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; }
  .site-footer__totop { color: inherit; }


/* =========================================================
   Custom: 画像付きレイアウト（お困りごと・お客様の声）
   ========================================================= */

/* --- Problem: お困りごと（写真付きカード） --- */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.problem-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.problem-card__img {
  width: 100%;
  height: 200px;
  background-color: #eee;
  flex-shrink: 0;
}

.problem-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.problem-card__check {
  color: var(--color-accent);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.problem-card__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}


/* --- Voice: お客様の声（カード上部全面画像デザイン） --- */
.voices-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.voice-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.voice-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.voice-card__image {
  width: 100%;
  height: 220px;
  background-color: #eee;
  border-bottom: 1px solid var(--color-border);
}

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

.voice-card__head {
  padding: 1.5rem 1.5rem 0.5rem;
  background: #fff;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voice-card__company {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.voice-card__badge {
  font-size: 0.75rem;
  background: #3b82f6;
  color: #fff;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 700;
  white-space: nowrap;
}
.voice-card__badge--personal {
  background: #10b981;
}

.voice-card__body {
  padding: 1rem 1.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.voice-card__summary {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1rem;
  line-height: 1.5;
  border-bottom: 2px dotted #e2e8f0;
  padding-bottom: 1rem;
}

.voice-card__detail {
  font-size: 0.95rem;
  color: var(--color-text);
  margin: 0;
  line-height: 1.7;
}

/* 追加：WordPress用スタイル調整 */
/* アドミンバーがある場合の調整 */
body.admin-bar .emergency-bar {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .emergency-bar {
        top: 0;
    }
}