/*
Theme Name:   SWELL Reform Child
Theme URI:    https://your-domain.co.jp
Description:  SWELLを親テーマとしたリフォーム会社用チャイルドテーマ
Author:       Your Company
Template:     swell
Version:      1.0.0
Tags:         reform, construction, business
Text Domain:  swell-reform-child
*/

/* ============================================
   Google Fonts
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ============================================
   CSS Variables（カラー・フォント定義）
   ============================================ */
:root {
  --color-primary:    #1b3a6b;   /* 深紺：信頼・誠実さ */
  --color-primary-dk: #0f2244;
  --color-accent:     #c8922a;   /* ゴールド：高品質・温もり */
  --color-accent-lt:  #e8b864;
  --color-bg:         #f8f6f2;   /* オフホワイト */
  --color-bg-gray:    #f0ede8;
  --color-text:       #2c2c2c;
  --color-text-sub:   #5a5a5a;
  --color-white:      #ffffff;
  --color-border:     #ddd9d2;

  --font-serif: 'Noto Serif JP', 'ヒラギノ明朝 Pro', 'HiraMinPro-W3', serif;
  --font-sans:  'Noto Sans JP', 'ヒラギノ角ゴ Pro', 'HiraKakuPro-W3', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --max-width: 1100px;
  --section-py: 80px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .2s, opacity .2s;
}
a:hover { color: var(--color-accent); }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.4;
  letter-spacing: .05em;
  color: var(--color-primary-dk);
}

/* ============================================
   Container
   ============================================ */
.reform-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Section Header（共通）
   ============================================ */
.reform-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.reform-section-header .en-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.reform-section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 16px;
}
.reform-section-header .section-desc {
  color: var(--color-text-sub);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}
.reform-section-header .deco-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.reform-section-header .deco-line::before,
.reform-section-header .deco-line::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
}
.reform-section-header .deco-line span {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  transform: rotate(45deg);
}

/* ============================================
   Button
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-white) !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  transition: background .2s, transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #b07e22;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-primary) !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  padding: 13px 34px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-primary);
  transition: all .2s;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white) !important;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-white) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 34px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,.7);
  transition: all .2s;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: white;
}

/* ============================================
   Header（ヘッダー）
   ============================================ */
.reform-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.reform-header-top {
  background: var(--color-primary-dk);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  text-align: right;
  padding: 6px 24px;
}
.reform-header-top a { color: rgba(255,255,255,.85); }
.reform-header-top a:hover { color: var(--color-accent-lt); }
.reform-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.reform-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.reform-logo .logo-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-dk);
  letter-spacing: .1em;
}
.reform-logo .logo-sub {
  font-size: 11px;
  color: var(--color-text-sub);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reform-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.reform-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: .06em;
  position: relative;
  padding-bottom: 2px;
}
.reform-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width .25s;
}
.reform-nav a:hover::after { width: 100%; }
.reform-header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-tel {
  text-align: right;
}
.header-tel .tel-label {
  font-size: 10px;
  color: var(--color-text-sub);
  letter-spacing: .1em;
}
.header-tel .tel-number {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: .03em;
}
.header-tel .tel-number::before {
  content: '📞';
  font-size: 16px;
  margin-right: 4px;
}
.header-tel .tel-hours {
  font-size: 10px;
  color: var(--color-text-sub);
}

/* ============================================
   Hero Section
   ============================================ */
.reform-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary-dk);
}
.reform-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15,34,68,.92) 0%, rgba(27,58,107,.75) 55%, rgba(27,58,107,.45) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1400&q=80') center/cover no-repeat;
}
.reform-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
}
.reform-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,146,42,.2);
  border: 1px solid rgba(200,146,42,.5);
  color: var(--color-accent-lt);
  font-size: 12px;
  letter-spacing: .15em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.reform-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
  letter-spacing: .08em;
  margin: 0 0 24px;
}
.reform-hero h1 em {
  font-style: normal;
  color: var(--color-accent-lt);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}
.reform-hero .hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 680px;
}
.reform-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.reform-hero-features {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}
.hero-feature-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200,146,42,.25);
  border: 1px solid rgba(200,146,42,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.reform-hero-numbers {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-num-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 20px 32px;
  text-align: center;
  border-right: none;
  border-radius: 8px 0 0 8px;
}
.hero-num-card .num {
  font-family: 'Georgia', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}
.hero-num-card .num span {
  font-size: 18px;
  color: var(--color-accent-lt);
}
.hero-num-card .label {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  letter-spacing: .1em;
  margin-top: 4px;
}

/* ============================================
   Reasons Section（選ばれる理由）
   ============================================ */
.reform-reasons {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reason-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.reason-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent);
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.reason-card .number {
  font-family: 'Georgia', serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(27,58,107,.08);
  position: absolute;
  top: 12px; right: 20px;
  line-height: 1;
}
.reason-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.reason-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--color-primary-dk);
}
.reason-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   Services Section（サービス）
   ============================================ */
.reform-services {
  padding: var(--section-py) 0;
  background: var(--color-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform .25s, box-shadow .25s;
  background: var(--color-white);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--color-accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 2px;
}
.service-card-body {
  padding: 24px;
}
.service-card-body h3 {
  font-size: 18px;
  margin: 0 0 10px;
}
.service-card-body p {
  font-size: 14px;
  color: var(--color-text-sub);
  margin: 0 0 16px;
  line-height: 1.75;
}
.service-card-body .price-hint {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 700;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}
.service-card-body .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 8px;
}
.service-card-body .link-arrow::after {
  content: '→';
  transition: transform .2s;
}
.service-card-body .link-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   Cases Section（施工事例）
   ============================================ */
.reform-cases {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.case-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform .25s, box-shadow .25s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-card-img {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.case-card:hover .case-card-img img {
  transform: scale(1.06);
}
.case-card-category {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,34,68,.85), transparent);
  padding: 20px 14px 10px;
}
.case-card-category span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--color-accent-lt);
  background: rgba(200,146,42,.2);
  border: 1px solid rgba(200,146,42,.4);
  padding: 3px 10px;
  border-radius: 2px;
}
.case-card-body {
  padding: 18px 20px;
}
.case-card-body h3 {
  font-size: 16px;
  margin: 0 0 8px;
  line-height: 1.4;
}
.case-card-body .case-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}
.case-card-body .case-price {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 700;
}
.cases-cta {
  text-align: center;
}

/* ============================================
   Flow Section（工事の流れ）
   ============================================ */
.reform-flow {
  padding: var(--section-py) 0;
  background: var(--color-primary-dk);
  position: relative;
  overflow: hidden;
}
.reform-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.reform-flow .reform-section-header h2,
.reform-flow .reform-section-header .en-label { color: rgba(255,255,255,.9); }
.reform-flow .reform-section-header .section-desc { color: rgba(255,255,255,.65); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(10% + 28px);
  width: calc(80% - 56px);
  height: 2px;
  background: rgba(200,146,42,.4);
}
.flow-step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.flow-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(200,146,42,.4);
  position: relative;
  z-index: 2;
}
.flow-step-num .step-label {
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
}
.flow-step-num .step-number {
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.flow-step-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.flow-step h3 {
  font-size: 14px;
  color: var(--color-white);
  margin: 0 0 8px;
}
.flow-step p {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   Voice Section（お客様の声）
   ============================================ */
.reform-voices {
  padding: var(--section-py) 0;
  background: var(--color-bg-gray);
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
}
.voice-card::before {
  content: '"';
  position: absolute;
  top: -10px; left: 20px;
  font-family: 'Georgia', serif;
  font-size: 80px;
  color: var(--color-accent);
  line-height: 1;
  opacity: .3;
}
.voice-stars {
  color: #f4b400;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.voice-card blockquote {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text);
  margin: 0 0 20px;
  font-style: normal;
}
.voice-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}
.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.voice-info .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dk);
}
.voice-info .detail {
  font-size: 12px;
  color: var(--color-text-sub);
}

/* ============================================
   Company Section（会社概要）
   ============================================ */
.reform-company {
  padding: var(--section-py) 0;
  background: var(--color-white);
}
.company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.company-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.company-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-content h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 0 0 20px;
}
.company-content .company-desc {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.9;
  margin-bottom: 28px;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 28px;
}
.company-table tr {
  border-bottom: 1px solid var(--color-border);
}
.company-table th,
.company-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 100px;
  color: var(--color-text-sub);
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}
.company-table td {
  color: var(--color-text);
  font-weight: 500;
}

/* ============================================
   CTA Banner
   ============================================ */
.reform-cta-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, #a07020 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reform-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.reform-cta-banner .en-label {
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.reform-cta-banner h2 {
  color: var(--color-white);
  font-size: clamp(22px, 3vw, 34px);
  margin: 0 0 12px;
}
.reform-cta-banner .cta-sub {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.reform-footer {
  background: var(--color-primary-dk);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.reform-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
}
.footer-brand .logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 4px;
}
.footer-brand .logo-sub {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  display: block;
  margin-bottom: 16px;
}
.footer-brand .brand-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.footer-brand .footer-tel {
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent-lt);
  letter-spacing: .03em;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: .1em;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '›';
  color: var(--color-accent);
}
.footer-col ul li a:hover {
  color: var(--color-accent-lt);
}
.reform-footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}
.reform-footer-bottom .copyright {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.reform-footer-bottom .footer-links {
  display: flex;
  gap: 24px;
}
.reform-footer-bottom .footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

/* ============================================
   Breadcrumb（パンくず）
   ============================================ */
.reform-breadcrumb {
  background: var(--color-bg);
  padding: 10px 24px;
  font-size: 12px;
  color: var(--color-text-sub);
}
.reform-breadcrumb a { color: var(--color-text-sub); }
.reform-breadcrumb a:hover { color: var(--color-accent); }
.reform-breadcrumb span + span::before { content: '›'; margin: 0 6px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .reasons-grid,
  .services-grid,
  .cases-grid,
  .voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .flow-steps::before { display: none; }
  .company-inner { grid-template-columns: 1fr; }
  .reform-footer-inner { grid-template-columns: 1fr 1fr; }
  .reform-hero-numbers { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .reform-header-inner { flex-wrap: wrap; gap: 12px; }
  .reform-nav { display: none; }
  .reasons-grid,
  .services-grid,
  .cases-grid,
  .voices-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .reform-footer-inner { grid-template-columns: 1fr; }
  .reform-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .reform-hero-btns { flex-direction: column; }
}

/* ============================================
   Animation（スクロールアニメ用）
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }

/* ============================================
   施工事例 Archive Page（/cases/）
   ============================================ */
.cases-archive-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-text-sub);
  transition: all .2s;
}
.filter-btn.is-active,
.filter-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
