/* ===================================================
   山陽塗装工業株式会社 style.css
   =================================================== */

/* CSS カスタムプロパティ */
:root {
  --color-blue: #1a5fa8;
  --color-blue-dark: #0e3d6e;
  --color-blue-light: #e8f0fa;
  --color-orange: #e8660a;
  --color-orange-hover: #c9540a;
  --color-text: #333333;
  --color-white: #ffffff;
  --color-gray-bg: #f7f7f7;
  --font-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --container-max: 1100px;
  --transition: 0.25s ease;
}

/* ===================================================
   リセット・ベース
   =================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* ===================================================
   フェードイン
   =================================================== */
.fade-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   ユーティリティ
   =================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 72px 0;
}

.bg-lightblue {
  background: var(--color-blue-light);
}

.bg-blue {
  background: var(--color-blue);
  color: var(--color-white);
}

/* CTA背景画像: assets/images/cta-back.jpg */
.cta-section[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===================================================
   ボタン
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-orange {
  background: var(--color-orange);
  color: var(--color-white);
  border: 2px solid var(--color-orange);
}

.btn-orange:hover {
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
}

.btn-orange:disabled {
  background: #bbb;
  border-color: #bbb;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-tel {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-tel:hover {
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* ===================================================
   見出し共通
   =================================================== */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-blue);
  margin-bottom: 48px;
  line-height: 1.5;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===================================================
   ヘッダー
   =================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: padding var(--transition);
}

.header-top {
  border-bottom: 1px solid #e0e0e0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 4px 16px;
}

.header-catch {
  font-size: 0.7rem;
  color: #666;
  font-weight: 400;
  line-height: 1.4;
  width: 100%;
  order: -1;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-logo {
  display: block;
  line-height: 0;
}

.header-logo-img {
  height: auto;
  max-width: 300px;
  width: 100%;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header-tel-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.2;
}

.header-hours {
  font-size: 0.78rem;
  color: #666;
}

.header-tel {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.03em;
  transition: opacity var(--transition);
}

.header-tel:hover {
  opacity: 0.75;
}

.header-right > .btn {
  font-size: 0.875rem;
  padding: 8px 18px;
  align-self: center;
}

/* グローバルナビ */
.global-nav {
  background: var(--color-blue);
  max-height: 200px;
  overflow: visible;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.global-nav.nav-hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.global-nav .container {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: stretch;
}

.nav-item > a {
  display: block;
  padding: 14px 18px;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition);
}

.nav-item > a:hover,
.nav-item:hover > a {
  background: var(--color-blue-dark);
}

/* メガメニュー */
.nav-item.has-mega {
  position: relative;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-top: 3px solid var(--color-blue);
  min-width: 220px;
  white-space: nowrap;
  z-index: 200;
}

.nav-item.has-mega:hover .mega-menu {
  display: block;
}

.mega-menu ul li a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text);
  font-size: 0.875rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--transition), color var(--transition);
}

.mega-menu ul li a:hover {
  background: var(--color-blue-light);
  color: var(--color-blue);
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* PC用ナビ内ハンバーガー: 白いライン */
.hamburger:not(.hamburger-sp) span {
  background: var(--color-white);
}

/* SP用ヘッダー内ハンバーガー: 青いライン */
.hamburger-sp span {
  background: var(--color-blue);
}

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

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

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

/* ドロワーメニュー(SP) */
.drawer {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: var(--color-white);
  z-index: 300;
  overflow-y: auto;
  transition: right 0.3s ease;
  padding-top: 60px;
  visibility: hidden;
}

.drawer.is-open {
  right: 0;
  visibility: visible;
}

.drawer-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #666;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.drawer-close:hover {
  color: var(--color-blue);
}

.drawer-list {
  padding: 0 0 40px;
}

.drawer-list li {
  border-bottom: 1px solid #e8e8e8;
}

.drawer-list > li > a,
.drawer-list > li > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}

.drawer-list > li > a::after {
  content: '›';
  font-size: 1.2rem;
  color: #aaa;
  flex-shrink: 0;
}

.drawer-child {
  background: var(--color-blue-light);
}

.drawer-child li {
  border-bottom: 1px solid #d0ddf0;
}

.drawer-parent > span {
  cursor: default;
  color: #888;
  font-size: 0.8rem;
  font-weight: 700;
}

.drawer-parent > span::after {
  display: none;
}

.drawer-child li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px 11px 24px;
  font-size: 0.875rem;
  color: var(--color-blue);
}

.drawer-child li a::after {
  content: '›';
  font-size: 1.2rem;
  color: #aaa;
  flex-shrink: 0;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 290;
}

.drawer-overlay.is-open {
  display: block;
}

/* ===================================================
   ヒーロー
   =================================================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: url('../images/hero.webp') center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 60, 0.45);
}

.hero-inner {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 24px;
}

.hero-content {
  background: rgba(255,255,255,0.92);
  padding: 48px 48px;
  border-radius: 8px;
  max-width: 680px;
  width: 100%;
  text-align: center;
}

.hero-main {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1rem;
  color: #444;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn-tel {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

.hero-cta .btn-tel:hover {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
}

/* ===================================================
   紹介文
   =================================================== */
.intro {
  background: var(--color-white);
}

.intro-body {
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 780px;
  margin: 0 auto;
}

/* ===================================================
   選ばれる理由
   =================================================== */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reason-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.reason-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.reason-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.reason-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
  text-align: left;
}

/* ===================================================
   CTA セクション
   =================================================== */
.cta-section {
  position: relative;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 61, 110, 0.82);
  z-index: 0;
}

/* 背景画像なし(デフォルト青背景)の場合は疑似要素非表示 */
.cta-section:not([style*="background-image"])::before {
  display: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cta-sub {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 32px;
  opacity: 0.92;
}

.cta-btns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-btn-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 260px;
}

.cta-btn-tel .btn-lg {
  width: 100%;
  text-align: center;
}

.cta-btns > .btn-lg {
  width: 260px;
}

.cta-tel-hours {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ===================================================
   各種工事
   =================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: var(--color-white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  transform: translateY(-2px);
}

.service-img-wrap {
  overflow: hidden;
  height: 280px;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.04);
}

.service-body {
  padding: 24px 28px;
}

.service-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.service-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
}

.service-body::after {
  content: '詳しく見る →';
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-blue);
  text-align: right;
  transition: letter-spacing var(--transition);
}

.service-card:hover .service-body::after {
  letter-spacing: 0.06em;
}

/* ===================================================
   サービスの流れ
   =================================================== */
.flow-list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.flow-step {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.flow-arrow {
  font-size: 1.8rem;
  color: var(--color-blue);
  display: flex;
  align-items: center;
  padding: 0 8px;
  flex-shrink: 0;
  padding-top: 28px;
}

.flow-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.flow-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.flow-caption {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

/* ===================================================
   お問い合わせ
   =================================================== */
.contact-lead-inner {
  max-width: 800px;
}

.contact-lead-inner p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.contact-tel-sub {
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-text);
}

.contact-tel-block {
  text-align: center;
}

.contact-tel-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-blue);
  text-decoration: none;
  margin-bottom: 10px;
}

.contact-tel-link:hover {
  opacity: 0.75;
}

.contact-tel-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.contact-tel-number {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.contact-tel-hours {
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
}

.contact-form-note {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-required-mark {
  color: #c0392b;
  font-weight: 700;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.form-label {
  flex: 0 0 220px;
  font-weight: 700;
  font-size: 0.95rem;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-required {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
}

.form-optional {
  display: inline-block;
  background: #888;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
}

.form-field {
  flex: 1;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #c8d4e0;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(10, 56, 120, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-row-check {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-row-check .form-field {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-blue);
  cursor: pointer;
}

.form-check-label a {
  color: var(--color-blue);
  text-decoration: underline;
}

.form-error {
  font-size: 0.82rem;
  color: #c0392b;
  margin-top: 6px;
  min-height: 1.2em;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .form-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  .form-label {
    flex: none;
    padding-top: 0;
  }

  .form-field {
    width: 100%;
  }

  .contact-tel-number {
    font-size: 1.8rem;
  }
}

/* ===================================================
   対応エリア
   =================================================== */
.area-map {
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
}

.area-map img {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  max-width: 80%;
  margin: 0 auto;
  padding: 20px 60px;
}

.area-cards {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.area-card {
  background: var(--color-blue);
  color: var(--color-white);
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.area-footer {
  text-align: center;
  margin-top: 36px;
}

.area-body {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #555;
}

/* ===================================================
   FAQ
   =================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 4px solid var(--color-blue);
  overflow: hidden;
}

.faq-q {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  position: relative;
  line-height: 1.5;
  user-select: none;
}

.faq-q::after {
  content: '＋';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-blue);
}

.faq-item.is-open .faq-q::after {
  content: '－';
}

.faq-a {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 20px 18px 0px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  border-top: 1px solid #e0eaf5;
  margin: 0 20px;
}

.faq-item.is-open .faq-a {
  display: flex;
}

.faq-a::before {
  content: 'A.';
  font-weight: 700;
  color: var(--color-orange);
  flex-shrink: 0;
  line-height: 1.8;
}


/* ===================================================
   フッター
   =================================================== */
.site-footer {
  background: var(--color-blue-dark);
  color: var(--color-white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
}

.footer-intro {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 12px;
  opacity: 0.88;
}

.footer-license {
  font-size: 0.78rem;
  opacity: 0.75;
}

/* フッターナビ */
.footer-sitemap ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-sitemap > ul > li {
  padding: 4px 0;
}

.footer-sitemap > ul > li > a,
.footer-nav-parent {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  opacity: 0.9;
}

.footer-sitemap > ul > li > a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-nav-parent {
  margin-top: 8px;
}

.footer-nav-parent ul {
  margin-top: 4px;
  gap: 2px;
}

.footer-nav-parent ul li a {
  font-size: 0.82rem;
  font-weight: 400;
  padding-left: 14px;
  opacity: 0.8;
  position: relative;
}

.footer-nav-parent ul li a::before {
  content: '└';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-nav-parent ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* フッター拠点 */
.footer-office {
  margin-bottom: 24px;
}

.footer-office-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
}

.footer-address p {
  font-size: 0.82rem;
  line-height: 1.7;
  opacity: 0.85;
}

.footer-address a {
  opacity: 0.85;
}

.footer-address a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* コピーライト */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 16px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-privacy {
  font-size: 0.82rem;
  opacity: 0.8;
}

.footer-privacy:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ===================================================
   下層ページ共通: ページタイトルエリア
   =================================================== */
.page-hero {
  position: relative;
  background: var(--color-blue);
  background-size: cover;
  background-position: center;
  padding-top: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 60, 0.62);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  line-height: 1.4;
}

/* 背景画像なしバリアント */
.page-hero-simple {
  background: var(--color-blue);
}

/* パンくず */
.breadcrumb {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 0;
  margin-top: auto;
}

.breadcrumb-list {
  display: flex;
  gap: 0;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li + li::before {
  content: '›';
  margin: 0 8px;
  opacity: 0.6;
}

.breadcrumb-list a {
  color: rgba(255,255,255,0.82);
  text-decoration: underline;
}

.breadcrumb-list a:hover {
  color: var(--color-white);
}

/* ナビ アクティブ */
.global-nav .nav-list a[aria-current="page"] {
  color: var(--color-white);
  font-weight: 700;
  border-bottom: 3px solid var(--color-orange);
  padding-bottom: 2px;
}

/* メガメニュー内アクティブ */
.global-nav .nav-list .mega-menu a[aria-current="page"] {
  color: var(--color-blue);
  font-weight: 700;
  background: var(--color-blue-light);
  border-bottom: 1px solid #f0f0f0;
}

/* ドロワー アクティブ */
.drawer-current {
  color: var(--color-orange) !important;
  font-weight: 700;
}

/* ===================================================
   下層ページ共通: リード文
   =================================================== */
.lead-section {
  text-align: center;
}

.lead-body {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
  max-width: 760px;
  margin: 0 auto;
}

/* FAQ専用ページ: リスト幅拡張 */
.faq-list-full {
  max-width: 860px;
}

/* ===================================================
   選ばれる理由: 交互レイアウト
   =================================================== */
.reasons-section .container {
  max-width: var(--container-max);
}

.reason-row {
  display: flex;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid #dde5ef;
}

.reason-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reason-row.reverse {
  flex-direction: row-reverse;
}

.reason-row-img {
  flex: 0 0 46%;
}

.reason-row-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  object-fit: cover;
}

.reason-row-body {
  flex: 1;
}

.reason-number {
  display: inline-block;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.reason-row h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 20px;
  line-height: 1.5;
}

.reason-row p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.reason-row p + p {
  margin-top: 12px;
}

/* ===================================================
   対応エリア
   =================================================== */
.area-map {
  text-align: center;
  margin-bottom: 40px;
}

.area-map img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  padding: 20px 60px;
  margin: 0 auto;
}

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

.area-city-card {
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 6px;
  text-align: center;
  min-width: 120px;
}

@media (min-width: 768px) {
  .area-map img {
    max-width: 40%;
  }
}

.area-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.9;
}

.area-climate-lead {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.9;
}

.area-climate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.area-climate-item {
  background: var(--color-white);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.area-climate-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-blue-light);
}

.area-climate-item p {
  font-size: 0.95rem;
  line-height: 1.9;
}

.area-outside-inner {
  max-width: 800px;
}

.area-outside-inner p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

@media (max-width: 1023px) {
  .area-climate-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .area-city-card {
    min-width: 100px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ===================================================
   代表あいさつ
   =================================================== */
.greeting-section .container {
  max-width: 760px;
}

.greeting-portrait {
  text-align: center;
  margin-bottom: 48px;
}

.greeting-portrait img {
  width: 55%;
  max-width: 420px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  display: inline-block;
}

.greeting-body p {
  font-size: 1rem;
  line-height: 2;
  color: #333;
  margin-bottom: 20px;
}

.greeting-signature {
  text-align: right;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #dde5ef;
}

.signature-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 6px;
}

.signature-name {
  font-family: 'Yuji Syuku', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: 2rem;
  color: var(--color-text);
  line-height: 1.4;
}

.signature-name-img {
  max-height: 60px;
  width: auto;
  display: block;
  margin-left: auto;
}

@media (max-width: 767px) {
  .greeting-portrait img {
    width: 90%;
  }

  .signature-name {
    font-size: 1.6rem;
  }
}

/* ===================================================
   会社概要: テーブル・リスト
   =================================================== */
.company-table {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid #d0d9e6;
}

.company-row {
  display: flex;
  border-bottom: 1px solid #d0d9e6;
}

.company-row dt {
  flex: 0 0 200px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-blue);
  background: var(--color-blue-light);
  display: flex;
  align-items: center;
}

.company-row dd {
  flex: 1;
  padding: 18px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
}

.company-row dd a {
  color: var(--color-blue);
  text-decoration: underline;
}

.company-row dd a:hover {
  color: var(--color-orange);
}

.company-history .company-row dt {
  flex: 0 0 220px;
}

.company-business-list {
  max-width: 760px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company-business-list li {
  padding: 14px 20px 14px 48px;
  background: var(--color-white);
  border-radius: 6px;
  border-left: 4px solid var(--color-blue);
  font-size: 0.95rem;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.company-business-list li::before {
  content: '●';
  position: absolute;
  left: 18px;
  color: var(--color-blue);
  font-size: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
}

.company-sub-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-blue);
  max-width: 760px;
  margin: 0 auto 10px;
}

.company-area-text {
  font-size: 0.95rem;
  color: #555;
  max-width: 760px;
  margin: 0 auto;
}

/* ===================================================
   サービスの流れ(下層ページ詳細版)
   =================================================== */
.flow-lead-section {
  text-align: center;
}

.flow-detail-section .container {
  max-width: 860px;
}

.flow-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.flow-card-img {
  flex: 0 0 280px;
  align-self: stretch;
}

.flow-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flow-card-body {
  flex: 1;
  padding: 32px 32px 32px 0;
}

.flow-card-body p.flow-card-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.08em;
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-blue-light);
}

.flow-card-body p.flow-card-num span {
  font-size: 2rem;
  line-height: 1;
  vertical-align: middle;
  margin-left: 4px;
}

.flow-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 14px;
  margin-bottom: 16px;
}

.flow-card-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.flow-card-body p + p {
  margin-top: 10px;
}

.flow-card-arrow {
  text-align: center;
  font-size: 2rem;
  color: var(--color-blue);
  margin: 12px 0;
  line-height: 1;
}

/* ===================================================
   建設業許可
   =================================================== */
.license-section {
  text-align: center;
}

.license-lead {
  font-size: 1rem;
  color: #555;
  margin-bottom: 32px;
}

.license-box {
  display: inline-block;
  border: 2px solid var(--color-blue);
  border-radius: 8px;
  padding: 28px 48px;
  margin-bottom: 28px;
  background: var(--color-white);
}

.license-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.04em;
}

.license-note {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
  max-width: 640px;
  margin: 0 auto;
}

/* ===================================================
   レスポンシブ: タブレット (768px〜1023px)
   =================================================== */
@media (max-width: 1023px) {
  .section-title {
    font-size: 1.45rem;
    margin-bottom: 36px;
  }

  /* ヘッダー */
  .header-logo-img {
    max-width: 240px;
  }

  .header-tel {
    font-size: 1.4rem;
  }

  /* 選ばれる理由 */
  .reason-grid {
    gap: 20px;
  }

  .reason-card {
    padding: 28px 20px;
  }

  /* サービスグリッド */
  .service-grid {
    gap: 20px;
  }

  /* フロー */
  .flow-list {
    gap: 0;
  }

  .flow-step {
    padding: 20px 10px;
  }

  .flow-num {
    font-size: 1.8rem;
  }

  /* フッター */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-address {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-office {
    margin-bottom: 0;
  }

  /* 選ばれる理由 タブレット */
  .reason-row {
    gap: 36px;
    padding: 48px 0;
  }

  .reason-row h3 {
    font-size: 1.2rem;
  }

  /* サービスの流れ タブレット */
  .flow-card-img {
    flex: 0 0 220px;
  }
}

/* ===================================================
   レスポンシブ: スマートフォン (〜767px)
   =================================================== */
@media (max-width: 767px) {

  .section-pad {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }

  /* ヘッダー */
  .header-top-inner {
    padding: 10px 16px;
  }

  .header-logo-img {
    max-width: 240px;
  }

  .header-catch {
    font-size: 0.65rem;
  }

  .header-hours {
    display: none;
  }

  .header-tel {
    font-size: 1.1rem;
  }

  /* SP: グローバルナビ非表示、ハンバーガーはheader内に表示 */
  .global-nav {
    display: none;
  }

  .hamburger-sp {
    display: flex;
  }

  /* SP: header-right非表示 */
  .header-right {
    display: none;
  }

  /* SP: ロゴ左 / ハンバーガー右 */
  .header-top-inner {
    justify-content: space-between;
    align-items: center;
  }

  .header-left {
    flex: 1;
  }

  .header-right .btn {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  /* ヒーロー */
  .hero {
    min-height: 360px;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .hero-main {
    font-size: 1.4rem;
  }

  .hero-sub {
    font-size: 0.875rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta .btn-lg {
    padding: 14px 20px;
    font-size: 0.95rem;
    width: 100%;
  }

  /* 紹介文 */
  .intro-body {
    text-align: left;
    font-size: 0.9rem;
  }

  /* 選ばれる理由 */
  .reason-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* CTA */
  .cta-title {
    font-size: 1.6rem;
  }

  .cta-tel-number {
    font-size: 2rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-btns .btn-lg {
    width: 100%;
    max-width: 360px;
  }

  /* サービス */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* フロー */
  .flow-list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .flow-step {
    flex: none;
    width: 100%;
    height: auto;
    padding: 20px 16px;
  }

  .flow-arrow {
    font-size: 1.4rem;
    transform: rotate(90deg);
    padding: 8px 0;
  }

  /* 対応エリア */


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

  /* ページタイトルエリア SP */
  .page-hero-inner {
    padding: 36px 20px 32px;
  }

  .page-hero-title {
    font-size: 1.45rem;
  }

  /* 選ばれる理由 SP */
  .reason-row,
  .reason-row.reverse {
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
  }

  .reason-row-img {
    flex: none;
    width: 100%;
  }

  .reason-row h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
  }

  /* 会社概要 SP */
  .company-row {
    flex-direction: column;
  }

  .company-row dt {
    flex: none;
    padding: 10px 16px;
  }

  .company-row dd {
    padding: 12px 16px;
  }

  .company-history .company-row dt {
    flex: none;
  }

  /* サービスの流れ SP */
  .flow-card {
    flex-direction: column;
    gap: 0;
  }

  .flow-card-img {
    flex: none;
    width: 100%;
    height: 200px;
    align-self: auto;
  }

  .flow-card-body {
    padding: 24px 20px;
  }

  .flow-card-title {
    font-size: 1.1rem;
  }

  /* 建設業許可 SP */
  .license-box {
    padding: 20px 24px;
    width: 100%;
  }

  .license-number {
    font-size: 1.05rem;
  }

  /* FAQ */
  .faq-q {
    font-size: 0.9rem;
    padding: 16px 40px 16px 16px;
  }

  /* フッター */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-logo-img {
    max-width: 240px;
  }

  .footer-address {
    display: block;
  }

  .footer-office {
    margin-bottom: 20px;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* サンクスページ SP */
  .thanks-phone-wrap {
    padding: 24px 20px;
  }

  .thanks-phone-number {
    font-size: 2rem;
  }
}


/* ===================================================
   サンクスページ
   =================================================== */
.thanks-section {
  text-align: center;
}

.thanks-lead {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}

.thanks-lead p + p {
  margin-top: 16px;
}

.thanks-check-list {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 16px 0 0;
  padding: 0;
}

.thanks-check-list li {
  padding: 4px 0 4px 24px;
  position: relative;
  font-size: 0.95rem;
  color: #555;
}

.thanks-check-list li::before {
  content: '・';
  position: absolute;
  left: 4px;
  color: var(--color-blue);
}

.thanks-phone-wrap {
  background: var(--color-blue-light);
  border: 1px solid #c8d8ef;
  border-radius: 8px;
  padding: 32px 40px;
  max-width: 560px;
  margin: 32px auto 0;
  text-align: center;
}

.thanks-phone-intro {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 16px;
}

.thanks-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-blue);
  text-decoration: none;
  margin-bottom: 8px;
}

.thanks-phone-link:hover {
  opacity: 0.75;
}

.thanks-phone-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.thanks-phone-number {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.thanks-phone-hours {
  font-size: 0.88rem;
  color: #666;
  margin-top: 6px;
}

.thanks-back {
  text-align: center;
  margin-top: 48px;
}

/* ===================================================
   プライバシーポリシーページ
   =================================================== */
.privacy-section {
  max-width: 860px;
  margin: 0 auto;
}

.privacy-lead {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 48px;
}

.privacy-article {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #dde5ef;
}

.privacy-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.privacy-article h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--color-blue);
}

.privacy-article p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: #444;
}

.privacy-article p + p {
  margin-top: 12px;
}

.privacy-article ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.privacy-article ul li {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #444;
  padding-left: 18px;
  position: relative;
}

.privacy-article ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-blue);
}

.privacy-article ul li a {
  color: var(--color-blue);
  text-decoration: underline;
  word-break: break-all;
}

.privacy-article ul li a:hover {
  opacity: 0.75;
}

.privacy-contact-block {
  background: var(--color-blue-light);
  border: 1px solid #c8d8ef;
  border-radius: 6px;
  padding: 20px 24px;
  margin-top: 14px;
  font-size: 0.97rem;
  line-height: 2;
  color: #444;
}

.privacy-contact-block a {
  color: var(--color-blue);
}

.privacy-date {
  text-align: right;
  font-size: 0.9rem;
  color: #666;
  margin-top: 48px;
}

/* ===================================================
   共通: リード文ブロック
   =================================================== */
.lead-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}

.lead-text p + p {
  margin-top: 16px;
}

/* ===================================================
   戸建て塗装: 対応工事カード
   =================================================== */
.house-work-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.house-work-card {
  display: flex;
  gap: 0;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.house-work-card-img {
  flex: 0 0 280px;
}

.house-work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.house-work-card-body {
  flex: 1;
  padding: 32px 36px;
}

.house-work-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-blue-light);
}

.house-work-card-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

/* ===================================================
   戸建て塗装: カラーシミュレーション
   =================================================== */
.house-color-lead {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  text-align: center;
}

.house-color-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.house-color-ba-item {
  position: relative;
  display: flex;
  justify-content: center;
}

.house-color-ba-item img {
  width: 60%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.house-color-ba-label {
  display: inline-block;
  position: absolute;
  top: 12px;
  left: calc(20% + 12px);
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.house-color-ba-label.after {
  background: var(--color-orange);
}

.house-color-samples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.house-color-sample img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.house-color-sample-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 8px;
}

.house-color-desc {
  font-size: 0.97rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
  text-align: center;
}

.house-color-notes p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.8;
}

/* ===================================================
   戸建て塗装: 施工の流れ(画像なし)
   =================================================== */
.house-flow-lead {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  text-align: center;
}

.house-step-list {
  max-width: 860px;
  margin: 0 auto;
}

.house-step-card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.14);
  padding: 28px 40px;
}

.house-step-card p.house-step-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.08em;
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-blue-light);
}

.house-step-card p.house-step-num span {
  font-size: 2rem;
  line-height: 1;
  vertical-align: middle;
  margin-left: 4px;
}

.house-step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 14px;
  margin-bottom: 12px;
}

.house-step-card p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.house-step-arrow {
  text-align: center;
  font-size: 2rem;
  color: var(--color-blue);
  margin: 12px 0;
  line-height: 1;
}

.house-step-note {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.8;
  margin-top: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   戸建て塗装: レスポンシブ タブレット
   =================================================== */
@media (max-width: 1023px) {
  .house-work-card-img {
    flex: 0 0 220px;
  }

  .house-work-card-body {
    padding: 24px 28px;
  }
}

/* ===================================================
   戸建て塗装: レスポンシブ SP
   =================================================== */
@media (max-width: 767px) {
  .house-work-card {
    flex-direction: column;
  }

  .house-work-card-img {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .house-work-card-body {
    padding: 20px;
  }

  .house-color-ba-item img {
    width: 100%;
  }

  .house-color-ba-label {
    left: 12px;
  }

  .house-color-samples {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .house-step-card {
    padding: 20px;
  }
}

/* ===================================================
   マンション・アパート塗装ページ
   =================================================== */

/* リード文 */
.apt-lead {
  max-width: 760px;
  margin: 0 auto 48px;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  text-align: center;
}

/* 大規模修繕 */
.apt-renovation {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.apt-renovation-item {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 32px 40px;
}

.apt-renovation-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-blue-light);
}

.apt-renovation-item p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.apt-renovation-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.apt-renovation-list li {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
  padding-left: 1.2em;
  position: relative;
}

.apt-renovation-list li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.apt-renovation-note {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.8;
  margin-top: 12px;
}

/* 入居者・テナントへの配慮 */
.apt-consideration {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 36px 40px;
}

.apt-consideration-lead {
  font-size: 0.97rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 24px;
}

.apt-consideration-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apt-consideration-list li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  padding: 12px 16px 12px 44px;
  background: var(--color-blue-light);
  border-radius: 6px;
  position: relative;
}

.apt-consideration-list li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: var(--color-blue);
  font-weight: 700;
}

/* タブレット */
@media (max-width: 1023px) {
  .apt-renovation-item {
    padding: 24px 28px;
  }

  .apt-consideration {
    padding: 28px;
  }
}

/* SP */
@media (max-width: 767px) {
  .apt-renovation-item {
    padding: 20px;
  }

  .apt-consideration {
    padding: 20px;
  }
}

/* ===================================================
   鋼橋塗装ページ
   =================================================== */

/* 塗装系テーブル */
.bridge-paint-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bridge-paint-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.bridge-paint-table th {
  background: var(--color-blue-dark);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
}

.bridge-paint-table td {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  padding: 14px 20px;
  border-bottom: 1px solid #e8eef6;
  vertical-align: top;
}

.bridge-paint-table tbody tr:last-child td {
  border-bottom: none;
}

.bridge-paint-table tbody tr:nth-child(even) {
  background: var(--color-blue-light);
}

.bridge-paint-note {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* SP */
@media (max-width: 767px) {
  .bridge-paint-table th,
  .bridge-paint-table td {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}

/* ===================================================
   404エラーページ
   =================================================== */

.error-404-section {
  text-align: center;
  padding: 80px 20px;
}

.error-404-number {
  font-size: 160px;
  font-weight: 900;
  color: var(--color-blue);
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 24px;
}

.error-404-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 20px;
}

.error-404-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 40px;
}

.error-404-btn {
  display: flex;
  justify-content: center;
}

/* タブレット */
@media (max-width: 1023px) {
  .error-404-number {
    font-size: 120px;
  }
}

/* SP */
@media (max-width: 767px) {
  .error-404-section {
    padding: 60px 20px;
  }

  .error-404-number {
    font-size: 88px;
    letter-spacing: -2px;
  }

  .error-404-title {
    font-size: 1.2rem;
  }
}

/* ===================================================
   公共建築物塗装ページ
   =================================================== */

/* 施工体制・品質管理 2×2グリッド */
.public-mgmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.public-mgmt-card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 32px 36px;
}

.public-mgmt-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-blue-light);
}

.public-mgmt-card p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

/* タブレット */
@media (max-width: 1023px) {
  .public-mgmt-card {
    padding: 24px;
  }
}

/* SP */
@media (max-width: 767px) {
  .public-mgmt-grid {
    grid-template-columns: 1fr;
  }

  .public-mgmt-card {
    padding: 20px;
  }
}

