/* =============================================
   タカハシ塗装 メインスタイルシート
   基準幅: 1440px / SP対応
   ============================================= */

/* --- CSS Variables --- */
:root {
  --color-primary:    #1B3D6E;
  --color-secondary:  #2B7BBF;
  --color-accent:     #6BBD45;
  --color-accent-dark:#5AA635;
  --color-bg-light:   #EFF7FC;
  --color-bg-mid:     #D6ECFA;
  --color-text:       #333333;
  --color-text-light: #666666;
  --color-white:      #FFFFFF;
  --color-border:     #D0E4F0;
  --font-sans:        'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --max-width:        1200px;
  --section-pad:      80px 20px;
  --section-pad-sp:   60px 16px;
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.7;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Anchor offset（固定ヘッダーぶん下げる） --- */
#paint, #roofpaint, #otherpaint, #area, #faq {
  scroll-margin-top: 100px;
}

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .en {
  display: block;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-secondary);
  margin: 12px auto 0;
}

/* 左寄せ見出し＋短いバー（左カラム用） */
.heading-bar {
  position: relative;
  display: inline-block;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-primary);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.heading-bar::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--color-secondary);
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: #1A6FA8;
  color: #fff;
}
.btn-primary:hover { background: #15598a; }

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { background: var(--color-accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--color-primary);
}
.btn-white:hover { background: var(--color-bg-light); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #2B77BE 0%, #E1EAF2 100%);
  border-top: 2px solid #1A6FA8;
  border-bottom: 2px solid #1A6FA8;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 78px;            /* ロゴ上31px=上下中心 */
}
.site-logo a {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
  line-height: normal;
}

/* Global Nav */
.global-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* WordPressメニュー(li)のマーカー（●）を除去 */
.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  padding: 6px 12px;
  color: #434343;
  transition: opacity .2s;
  white-space: nowrap;
  line-height: normal;
}
.global-nav a:hover { opacity: .7; }

.global-nav a.header-cta {
  margin-left: 16px;
  width: 120px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: #1A6FA8;
  color: #FFF;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s;
}
.global-nav a.header-cta:hover { background: #15598a; color: #FFF; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all .3s;
}
.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 menu drawer */
.sp-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 99;
  overflow-y: auto;
  padding: 24px 24px 48px;
}
.sp-nav.is-open { display: block; }
.sp-nav ul { display: flex; flex-direction: column; gap: 0; list-style: none; margin: 0; padding: 0; }
.sp-nav li { list-style: none; margin: 0; padding: 0; }
.sp-nav li a {
  display: block;
  padding: 16px 0;
  color: #fff;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.sp-nav .sp-cta {
  display: block;
  margin-top: 24px;
  text-align: center;
  padding: 16px;
  background: var(--color-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
}

/* =============================================
   HERO / FV (page hero) — TOP MV と同サイズ・斜め青三角
   ============================================= */
.page-fv {
  position: relative;
  height: clamp(480px, 60vw, 700px);   /* TOP の .mv と同じ高さ */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}
.page-fv img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 左上の三角（850×126 / #1A6FA8 opacity .7） */
.page-fv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 59.03%;
  max-width: 850px;
  aspect-ratio: 850 / 126;
  background: #1A6FA8;
  opacity: .7;
  clip-path: polygon(100% 0, 0 100%, 0 0);
  z-index: 1;
}
/* 右下の三角（1440×234 / #1A6FA8 opacity .7） */
.page-fv::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1440 / 234;
  background: #1A6FA8;
  opacity: .7;
  clip-path: polygon(0 91.24%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.page-fv-content {
  position: relative;
  z-index: 2;
  padding: 0 100px 44px;
  text-align: right;
}
.page-fv-content h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.page-fv-content p {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  margin-top: 10px;
}

/* =============================================
   FRONT PAGE — MV (メインビジュアル)
   ============================================= */
.mv {
  position: relative;
  height: clamp(480px, 60vw, 700px);
  overflow: hidden;
}
.mv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左上の三角（SVG 850×126 / M849.8 0 L0 126 L0 0 Z, #1A6FA8 opacity .7） */
.mv-tri-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 59.03%;            /* 850 / 1440 */
  max-width: 850px;
  aspect-ratio: 850 / 126;
  background: #1A6FA8;
  opacity: .7;
  clip-path: polygon(100% 0, 0 100%, 0 0);
  z-index: 1;
}
/* 右下の三角（SVG 1440×234 / M0 213.5 L1440 0 V234 H0 Z, #1A6FA8 opacity .7） */
.mv-tri-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1440 / 234;
  background: #1A6FA8;
  opacity: .7;
  clip-path: polygon(0 91.24%, 100% 0, 100% 100%, 0 100%); /* 213.5/234 */
  z-index: 1;
}

/* 上部見出し＋タグ */
.mv-top {
  position: absolute;
  top: 18px;
  left: 35px;
  z-index: 2;
}
.mv-headline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #FFF;
  line-height: normal;
}
.mv-tags {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.mv-tags li {
  min-width: 140px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: #AAC4DD;
  border-radius: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #1A6FA8;
  line-height: normal;
}

/* 右下キャッチ */
.mv-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 100px 44px;
}
.mv-copy { text-align: left; }
.mv-content .catch {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #FFF;
  line-height: normal;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.mv-content .sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #FFF;
  margin-top: 12px;
  line-height: normal;
}

/* =============================================
   SECTION: サービス (TOP)
   ============================================= */
.sec-services {
  padding: var(--section-pad);
  background: var(--color-bg-light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.services-more {
  text-align: center;
  margin-top: 48px;
}
.services-more .btn {
  width: 256px;
  height: 56px;
  max-width: 100%;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,61,110,.08);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(27,61,110,.14);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-body {
  padding: 24px;
}
.service-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.service-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}
.service-card-body .more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
  padding-bottom: 2px;
}

/* =============================================
   SECTION: 強み (選ばれる3つの理由)
   ============================================= */
.sec-strengths {
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
/* 背景画像はそのまま（青などの加工なし） */
.sec-strengths .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec-strengths .container { position: relative; z-index: 1; }

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strength-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  color: var(--color-text);
  box-shadow: 0 4px 20px rgba(27,61,110,.08);
}
.strength-item .num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.strength-item .num span {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
}
.strength-item .label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 8px;
}
.strength-item .desc {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* =============================================
   SECTION: 対応エリア
   ============================================= */
.sec-area {
  padding: var(--section-pad);
  background: rgba(215, 235, 255, .5);   /* #D7EBFF opacity .5 */
}
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.area-img img {
  border-radius: 8px;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.area-text h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.area-text .en {
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--color-secondary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.area-text p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.area-tags span {
  background: var(--color-bg-light);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 13px;
}
.area-map img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

/* =============================================
   SECTION: 会社について (TOP)
   ============================================= */
.sec-about {
  padding: var(--section-pad);
  background: var(--color-bg-light);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .en {
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--color-secondary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.about-text h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.about-text p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-img img {
  border-radius: 8px;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* =============================================
   SECTION: FAQ
   ============================================= */
.sec-faq {
  padding: var(--section-pad);
  background: #fff;
}
/* デザイン準拠: Q1./A1. テキスト形式・アイコンなし・常時オープン */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}
.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.faq-question .q-mark {
  margin-right: 4px;
}
.faq-answer {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}
.faq-answer .a-mark {
  margin-right: 4px;
  color: var(--color-secondary);
  font-weight: 700;
}

/* =============================================
   SECTION: CTA バナー
   ============================================= */
.sec-cta {
  padding: 64px 20px;
  background: var(--color-primary);
  text-align: center;
}
.sec-cta h2 {
  font-size: clamp(20px, 3vw, 28px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.sec-cta p {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-hours {
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}

/* =============================================
   SERVICE PAGE
   ============================================= */
.sec-service-list {
  padding: var(--section-pad);
}
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.service-item:last-child { margin-bottom: 0; }
.service-item.reverse { direction: rtl; }
.service-item.reverse > * { direction: ltr; }

.service-item img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  border-radius: 8px;
}
.service-item-text .num {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.service-item-text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.service-item-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}
.service-item-text p + p { margin-top: 16px; }
/* 「〜サイン」ボックス（紺背景） */
.sign-box {
  margin-top: 24px;
  background: var(--color-primary);
  border-radius: 8px;
  padding: 24px 28px;
}
.sign-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.sign-box p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,.9);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.sec-company-info {
  position: relative;
  padding: var(--section-pad);
  background: #DCEBF8;
  overflow: hidden;
}
.sec-company-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(../images/about-company-info-back.webp) center/cover no-repeat;
  opacity: .18;
  z-index: 0;
}
.sec-company-info .container { position: relative; z-index: 1; }
.company-info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.map-block {
  background: transparent;
}
.map-block iframe,
.map-block .map-placeholder {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}
.map-placeholder {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 400;
  color: #9FBBD4;
  letter-spacing: .05em;
}
.map-caption {
  padding: 12px 4px 0;
  font-size: 13px;
  color: var(--color-text);
  text-align: center;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
}
.info-table th,
.info-table td {
  padding: 16px 20px;
  font-size: 14px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}
.info-table th {
  width: 230px;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
}
.info-table td {
  color: var(--color-text);
}

.sec-greeting {
  padding: var(--section-pad);
  background: #DCEBF8;
}
.greeting-inner {
  max-width: 1000px;
  margin: 24px auto 0;
  padding-left: 40px;
}
.greeting-inner p {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 20px;
}
.greeting-inner .greeting-lead {
  font-weight: 700;
}
.greeting-sig {
  text-align: right;
  font-size: 15px;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 32px;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.sec-contact-options {
  padding: 80px 20px 0;
  background: #DCEBF8;
}
.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;   /* margin相殺による白い隙間を防止（間隔はフォーム側のpaddingで確保） */
}
.contact-option {
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
}
a.contact-option {
  display: block;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s ease;
}
a.contact-option:hover { opacity: .85; }
.contact-option.mail { background: #fff; border: 2px solid var(--color-border); }
.contact-option.tel  { background: var(--color-primary); color: #fff; }
.contact-option.line { background: var(--color-accent); color: #fff; }

.contact-option h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; letter-spacing: .08em; }
.contact-option.mail h3 { color: var(--color-primary); }
.contact-option .opt-lead { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.contact-option p  { font-size: 13px; line-height: 1.8; }
.contact-option .tel-num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: .05em;
  margin: 8px 0 10px;
}
.contact-option .tel-note { font-size: 12px; opacity: .85; line-height: 1.7; }

/* CF7 カスタムスタイル（背景は淡いブルー・カードなし） */
.sec-contact-form {
  padding: 56px 20px 96px;
  background: #DCEBF8;
}
.contact-form-wrap {
  max-width: 880px;
  margin: 0 auto;
}

/* CF7 field overrides */
.wpcf7-form .form-group {
  margin-bottom: 24px;
}
.wpcf7-form label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  margin-bottom: 6px;
}
/* CF7 が field を囲む span の余白をリセット（ラベルと入力欄を密着） */
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
  line-height: 0;
}
/* CF7 が改行を自動変換して入れる <br>（ラベル↔入力欄の余分な空行）を除去 */
.wpcf7-form .form-group br { display: none; }
.wpcf7-form .form-group { line-height: 1.2; }
.wpcf7-form .req {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-left: 6px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 2px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--color-text);
  transition: box-shadow .2s;
  background: #fff;
}
.wpcf7-form select { height: 52px; 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='%23434343' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,111,168,.25);
}
.wpcf7-form textarea { min-height: 180px; resize: vertical; }
.wpcf7-form .privacy-note {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.9;
  margin: 28px 0 56px;   /* ボタンとの間隔を広げる */
}
.wpcf7-form .privacy-note a { color: var(--color-secondary); text-decoration: underline; }
/* CF7 が注意書きを2段落に分割した場合のフォールバック（サイズ統一・空行除去） */
.wpcf7-form .privacy-note + p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  margin: -44px 0 56px;
}
.wpcf7-form .privacy-note + p a { color: var(--color-secondary); text-decoration: underline; }

/* reCAPTCHA バッジ（右下のフローティング）を非表示
   ※Googleの規約上、フォーム内に「reCAPTCHA／プライバシーポリシー・利用規約」の
     表記がある場合に限り非表示が認められます（本フォームは privacy-note に記載済み）。 */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* CF7 バリデーション・確認メッセージ */
.wpcf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
}
.wpcf7-not-valid-tip { color: #e53e3e; font-size: 12px; margin-top: 4px; display: block; }
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid { box-shadow: 0 0 0 2px #e53e3e; }

.form-submit { text-align: center; }
.wpcf7-form input[type="submit"] {
  width: 360px;
  max-width: 100%;
  padding: 18px;
  background: #1A6FA8;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font-sans);
}
.wpcf7-form input[type="submit"]:hover { background: #15598a; }

/* =============================================
   PRIVACY POLICY PAGE
   ============================================= */
.sec-privacy {
  padding: var(--section-pad);
  background: #fff;
}
.privacy-body {
  max-width: 1000px;
  margin: 0 auto;
}
/* 個人情報保護方針／お問い合わせ窓口（紺ボックス） */
.privacy-lead,
.privacy-contact {
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  padding: 28px 32px;
}
.privacy-lead { margin-bottom: 48px; }
.privacy-contact { margin-top: 48px; }
.privacy-lead h2,
.privacy-contact h2 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.privacy-lead p,
.privacy-contact p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,.92);
  margin-bottom: 6px;
}
.privacy-contact p:last-child { margin-bottom: 0; }
.privacy-contact a { color: #fff; text-decoration: underline; }

/* 本文セクション（番号付き見出し） */
.privacy-section { margin-bottom: 36px; padding: 0 8px; }
.privacy-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.privacy-section p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-text);
  margin-bottom: 10px;
}
.privacy-section p:last-child { margin-bottom: 0; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  padding: 12px 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb ul {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb li + li::before {
  content: '›';
  color: var(--color-border);
}
.breadcrumb a { color: var(--color-secondary); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.85);
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
}
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-info {
  font-style: normal;
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,.65);
}
.footer-info a { color: rgba(255,255,255,.65); }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}
/* WordPressメニュー(li)のマーカー（●）を除去 */
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  transition: color .2s;
  display: block;
  padding: 4px 0;
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* =============================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
  :root { --section-pad: 64px 20px; }

  .header-inner { padding: 0 20px; }
  .global-nav a { font-size: 12px; padding: 6px 7px; }

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

  .area-inner,
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .area-img img,
  .about-img img { height: 280px; }

  .service-item { grid-template-columns: 1fr; gap: 32px; }
  .service-item.reverse { direction: ltr; }

  .company-info-inner { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================
   RESPONSIVE — SP (max 768px)
   ============================================= */
@media (max-width: 768px) {
  :root { --section-pad: var(--section-pad-sp); }

  /* Header */
  .global-nav,
  .header-cta { display: none; }
  .hamburger   { display: flex; }

  /* MV / FV — SPでも同サイズ・右下キャッチ維持 */
  .mv { height: clamp(320px, 80vw, 480px); }
  .mv-content { padding: 0 24px 32px; }
  .mv-content .catch { font-size: 26px; }
  .mv-content .sub   { font-size: 13px; }
  .mv-top { top: 14px; left: 16px; }
  .mv-headline { font-size: 18px; }
  .mv-tags { flex-wrap: wrap; gap: 8px; }
  .mv-tags li { min-width: 0; font-size: 11px; padding: 0 10px; }
  .page-fv { height: clamp(320px, 80vw, 480px); }
  .page-fv-content { padding: 0 24px 32px; }

  /* MV/FV テキストの黒い影を強める（SP） */
  .mv-content .catch,
  .mv-headline,
  .page-fv-content h1 {
    text-shadow: 0 2px 8px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.5);
  }
  .mv-content .sub,
  .page-fv-content p {
    text-shadow: 0 1px 6px rgba(0,0,0,.55);
  }

  /* SPヘッダー: ハンバーガーを濃色に */
  .hamburger span { background: var(--color-primary); }

  /* Services */
  .services-grid  { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Contact */
  .contact-options-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 0; }
  /* SPの入力欄は16px（iOSのフォーカス時自動ズーム防止） */
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form select,
  .wpcf7-form textarea {
    font-size: 16px;
  }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; padding: 40px 20px 24px; }
  .footer-nav   { display: none; }   /* SPではフッターメニュー非表示 */
  .footer-bottom { padding: 16px 20px; text-align: center; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }
}
