/* ============================================================
   GOLD・KEI テーマ本体スタイル — 沖縄ブライト（B案）
   白基調 × 赤メイン(#d32f2f) × 金少々 / 丸み・余白多め
   ============================================================ */

:root {
  --gk-red: #d32f2f;
  --gk-red-deep: #a81f1f;
  --gk-gold: #b08d4f;
  --gk-gold-soft: #c9a96a;
  --gk-ink: #16202b;
  --gk-ink-soft: #45525f;
  --gk-sky: #e8f1f6;
  --gk-sky-mid: #cfe3ee;
  --gk-paper: #ffffff;
  --gk-line: #e6e3dd;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--gk-ink);
  background: #fbfaf7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { font-weight: 700; }

/* ---------- レイアウト ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }
.section.sky { background: linear-gradient(180deg, #eef6fa, #fbfaf7); }
.eyebrow {
  font-family: "Marcellus", serif; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 13px; color: var(--gk-red); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 { font-size: 40px; letter-spacing: 0.02em; margin: 16px 0 0; }

.logo-img { height: 26px; width: auto; display: block; }
.site-foot .logo-img { height: 30px; }

/* 画像プレースホルダ（画像未設定時のフォールバック） */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.035) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, var(--gk-sky) 0%, var(--gk-sky-mid) 100%);
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.ph[data-label]::after {
  content: attr(data-label);
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.08em; color: rgba(20,30,40,0.55);
  background: rgba(255,255,255,0.7); padding: 5px 9px; margin: 12px;
  border-radius: 3px;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #20262e 0%, #11151b 100%);
}
.ph.dark[data-label]::after { color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.35); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  border-radius: 100px; transition: all .25s ease; border: 1px solid transparent;
}
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-red { background: var(--gk-red); color: #fff; box-shadow: 0 6px 20px rgba(211,47,47,0.28); }
.btn-red:hover { background: var(--gk-red-deep); }
.btn-ghost { border-color: currentColor; color: var(--gk-ink); }
.btn-ghost:hover { background: var(--gk-ink); color: #fff; }
.pill-white { background: #fff; color: var(--gk-ink); }
.pill-white:hover { background: var(--gk-sky); }
.pill-line { border: 1px solid rgba(255,255,255,0.6); color: #fff; }
.pill-line:hover { background: rgba(255,255,255,0.15); }

/* ---------- ヘッダー ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50; padding: 16px 0;
  background: rgba(251,250,247,0.86); backdrop-filter: blur(12px);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; margin-left: auto; align-items: center; }
.site-nav-list { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; align-items: center; }
.site-nav a { font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 100px; transition: all .2s; white-space: nowrap; }
.site-nav a:hover,
.site-nav a.current,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.site-nav .nav-cta { background: var(--gk-red); color: #fff; padding: 12px 24px; box-shadow: 0 6px 20px rgba(211,47,47,0.3); }
.site-nav .nav-cta:hover { background: var(--gk-red-deep); box-shadow: 0 6px 20px rgba(211,47,47,0.3); }
.site-nav .nav-cta > a { background: var(--gk-red); color: #fff; padding: 12px 24px; box-shadow: 0 6px 20px rgba(211,47,47,0.3); }
.site-nav .nav-cta > a:hover { background: var(--gk-red-deep); box-shadow: 0 6px 20px rgba(211,47,47,0.3); }
.head-tel { display: none; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gk-ink); transition: .25s; }

/* ---------- ヒーロー / FV ---------- */
.b-hero { padding: 30px 0 0; }
.b-hero .frame {
  max-width: 1320px; margin: 0 auto; position: relative; border-radius: 30px; overflow: hidden;
  min-height: 560px; display: flex; align-items: flex-end;
}
.fv { position: absolute; inset: 0; z-index: 0; }
.fv-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: none; }
.fv-media.on { display: block; }
.fv-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #20262e, #11151b);
}
.b-hero .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,20,30,0.05) 0%, rgba(10,20,30,0.55) 100%); }
.b-hero .inner { position: relative; z-index: 2; padding: 56px; color: #fff; }
.b-hero .inner .eyebrow { color: #fff; }
.b-hero h1 { font-size: 58px; line-height: 1.22; margin: 20px 0 18px; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.b-hero p { font-size: 18px; line-height: 1.9; max-width: 520px; opacity: 0.95; }
.b-hero .cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- クイックカード ---------- */
.b-quick { max-width: 1320px; margin: -44px auto 0; position: relative; z-index: 5; padding: 0 30px; }
.b-quick .card { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.10); display: grid; grid-template-columns: repeat(3,1fr); }
.b-quick .q { padding: 30px 34px; border-left: 1px solid var(--gk-line); display: flex; gap: 16px; align-items: center; }
.b-quick .q:first-child { border-left: none; }
.b-quick .q .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--gk-sky); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gk-red); }
.b-quick .q .q-title { display: block; margin: 0 0 3px; font-size: 16px; line-height: 1.4; }
.b-quick .q p { margin: 0; font-size: 12px; color: var(--gk-ink-soft); }

/* ---------- 事業 ---------- */
.b-biz { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.b-biz .card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.05); transition: all .3s; }
.b-biz .card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,0.12); }
.b-biz .ph { height: 220px; }
.b-biz .body { padding: 28px; }
.b-biz h3 { font-size: 22px; margin: 0 0 6px; }
.b-biz .en { font-family: "Marcellus", serif; font-size: 12px; letter-spacing: 0.12em; color: var(--gk-gold); }
.b-biz p { font-size: 14px; line-height: 1.85; color: var(--gk-ink-soft); margin: 14px 0 0; }
.b-biz .body a.biz-more {
  display: inline-block;
  margin-top: 20px;
  color: var(--gk-red);
  font-family: "Shippori Mincho", "Marcellus", serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.b-biz .body a.biz-more:visited { color: var(--gk-red); }
.b-biz .body a.biz-more:hover { color: var(--gk-red-deep); }
.b-biz .body a.biz-more .arr { display: inline-block; transition: transform .25s ease; }
.b-biz .body a.biz-more:hover .arr { transform: translateX(4px); }
.tag-mil { display: inline-block; background: var(--gk-red); color: #fff; font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 100px; margin-bottom: 10px; }

/* ---------- 取扱物件ギャラリー ---------- */
.works-archive-section { padding-top: 20px; }
.finder-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; justify-content: center; }
.finder-bar button, .finder-bar a {
  border: 1px solid var(--gk-line); background: #fff; color: var(--gk-ink-soft);
  padding: 11px 20px; border-radius: 100px; font-size: 13px; font-weight: 600; transition: all .2s; white-space: nowrap;
}
.finder-bar button:hover, .finder-bar a:hover { border-color: var(--gk-ink); color: var(--gk-ink); }
.finder-bar button.on, .finder-bar a.on { background: var(--gk-red); border-color: var(--gk-red); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-tile { margin: 0; background: #fff; border: 1px solid var(--gk-line); border-radius: 14px; overflow: hidden; transition: all .3s; }
.gal-tile:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.10); transform: translateY(-3px); }
.gal-tile .ph { position: relative; aspect-ratio: 4/3; }
.gal-tile .pin { position: absolute; top: 12px; left: 12px; background: var(--gk-ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 5px 11px; border-radius: 100px; z-index: 2; }
.gal-tile .pin.military { background: var(--gk-red); }
.gal-tile .pin.sale-development { background: var(--gk-gold); }
.gal-tile figcaption { padding: 14px 18px; font-size: 13.5px; color: var(--gk-ink-soft); letter-spacing: 0.02em; }
.gal-link { display: block; height: 100%; }
.gal-body { padding: 18px; }
.gal-body h2, .gal-body h3 { font-size: 16px; line-height: 1.5; margin: 0 0 12px; }
.property-mini { display: grid; gap: 7px; margin: 0; }
.property-mini div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: baseline; }
.property-mini dt { font-size: 11px; color: var(--gk-ink-soft); white-space: nowrap; }
.property-mini dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--gk-ink); line-height: 1.5; }
.property-section { margin-top: 44px; }
.property-section h2 { font-size: 24px; margin: 0 0 18px; padding-left: 16px; border-left: 4px solid var(--gk-red); }
.property-table { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--gk-line); border-left: 1px solid var(--gk-line); margin: 0; background: #fff; }
.property-table div { display: grid; grid-template-columns: 130px 1fr; border-right: 1px solid var(--gk-line); border-bottom: 1px solid var(--gk-line); min-width: 0; }
.property-table dt { padding: 14px 16px; background: #f6f3ee; color: var(--gk-ink-soft); font-size: 13px; font-weight: 600; }
.property-table dd { margin: 0; padding: 14px 16px; font-size: 14px; color: var(--gk-ink); min-width: 0; overflow-wrap: anywhere; }
.property-lead { margin-bottom: 36px; }

/* ---------- 代表メッセージ ---------- */
.b-msg { background: var(--gk-ink); color: #fff; padding: 100px 0; }
.b-msg .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.b-msg .ph { aspect-ratio: 4/3; border-radius: 22px; }
.b-msg .ph > img { object-position: left center; }
.b-msg .eyebrow { color: var(--gk-gold-soft); }
.b-msg .lead { font-size: 30px; line-height: 1.6; font-weight: 600; margin: 18px 0 22px; }
.b-msg .lead .g { color: var(--gk-gold-soft); }
.b-msg p { font-size: 15px; line-height: 2; color: rgba(255,255,255,0.78); }
.b-msg .msg-link { display: inline-block; margin-top: 18px; color: var(--gk-gold-soft); font-size: 14px; font-weight: 600; }
.b-msg .msg-link .arr { display: inline-block; transition: transform .25s; }
.b-msg .msg-link:hover .arr { transform: translateX(4px); }
.b-msg .sign { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,0.6); }
.b-msg .sign b { font-size: 22px; color: #fff; margin-left: 12px; }

/* ---------- 会社目標 ---------- */
#philosophy,
#greeting,
#mission,
#outline { scroll-margin-top: 92px; }
.company-mission { background: #fff; }
.mission-box {
  max-width: 760px; margin: 0 auto; padding: 34px 40px;
  border: 1px solid var(--gk-line); border-radius: 16px; background: #fbfaf7;
  color: var(--gk-ink-soft); font-size: 16px; line-height: 2;
}
.mission-box p:last-child { margin-bottom: 0; }

/* ---------- 経営理念カード ---------- */
#management { scroll-margin-top: 92px; }
.mgmt-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.mgmt-card {
  position: relative;
  padding: 32px 28px; border: 1px solid var(--gk-line); border-radius: 16px;
  background: #fbfaf7; text-align: center;
}
.mgmt-num {
  position: absolute; top: -16px; left: 24px;
}
.mgmt-num span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gk-red); color: #fff;
  font-family: "Marcellus", serif; font-size: 15px; font-weight: 700;
}
.mgmt-icon {
  color: var(--gk-red); margin-bottom: 12px;
}
.mgmt-card h3 {
  font-size: 18px; font-weight: 700; margin: 0 0 12px; color: var(--gk-ink);
}
.mgmt-card p {
  font-size: 14px; line-height: 1.9; color: var(--gk-ink-soft); margin: 0;
}

/* ---------- 会社の歩み ---------- */
.timeline { border-left: 2px solid var(--gk-line); margin-left: 8px; }
.timeline .row { position: relative; padding: 0 0 38px 40px; }
.timeline .row::before { content:""; position:absolute; left:-9px; top:4px; width:16px; height:16px; border-radius:50%; background:#fff; border:3px solid var(--gk-red); }
.timeline .yr { font-family: "Marcellus", serif; font-size: 18px; color: var(--gk-red); letter-spacing: 0.04em; }
.timeline h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline p { font-size: 14px; color: var(--gk-ink-soft); line-height: 1.8; margin: 0; }
.timeline .row > div:last-child { font-size: 14px; color: var(--gk-ink-soft); line-height: 1.8; }
.timeline .row > div:last-child p { margin: 0; }

/* ---------- お知らせ ---------- */
.news-group { margin-bottom: 40px; }
.news-group:last-of-type { margin-bottom: 0; }
.news-group-label { font-size: 14px; font-weight: 600; color: var(--gk-ink); margin: 0 0 16px; letter-spacing: 0.02em; }
.news-row { display: flex; align-items: center; gap: 28px; padding: 24px 12px; margin: 0 -12px; border-bottom: 1px solid var(--gk-line); transition: transform .2s, background .2s, box-shadow .2s; }
.news-row:first-child { border-top: 1px solid var(--gk-line); }
.news-row:hover { background: #fff; border-radius: 12px; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.news-row .date { font-family: "Marcellus", serif; font-size: 15px; color: var(--gk-ink-soft); white-space: nowrap; letter-spacing: 0.04em; }
.news-row .cat { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 100px; white-space: nowrap; }
.news-row .cat.notice { background: var(--gk-sky); color: #2a6177; }
.news-row .cat.press  { background: rgba(211,47,47,0.1); color: var(--gk-red); }
.news-row .cat.blog   { background: rgba(176,141,79,0.14); color: var(--gk-gold); }
.news-row .ttl { font-size: 16px; font-weight: 500; flex: 1; }
.news-row .arr { color: var(--gk-ink-soft); }

/* ---------- SNS・公式ブログ ---------- */
.sns-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: stretch; text-align: left; }
.ig-card { background: #fff; border: 1px solid var(--gk-line); border-radius: 16px; overflow: hidden; }
.ig-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--gk-line); }
.ig-head .ig-ic { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ig-head .nm { font-weight: 700; font-size: 15px; }
.ig-head .nm span { display: block; font-size: 12px; color: var(--gk-ink-soft); font-weight: 400; }
.ig-head .follow { margin-left: auto; background: var(--gk-red); color: #fff; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 100px; white-space: nowrap; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-grid .ph { aspect-ratio: 1; }
.ig-grid .ig-item { display: block; position: relative; aspect-ratio: 1; overflow: hidden; }
.ig-grid .ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ig-grid .ig-item:hover img { transform: scale(1.05); }
.ig-item-time {
  position: absolute; bottom: 8px; left: 8px; z-index: 2;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px; line-height: 1.4; letter-spacing: 0.02em;
}
.ig-item-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px; background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s; color: #fff;
}
.ig-grid .ig-item:hover .ig-item-overlay { opacity: 1; }
.ig-grid .ig-item:hover .ig-item-time { opacity: 0; }
.ig-item-caption {
  margin: 0; font-size: 12px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sns-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gk-line); border-radius: 16px; padding: 22px 24px; }
.sns-card .ttl-row { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.sns-card .ttl-row .ic { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.sns-card.blog .ic { background: var(--gk-gold); }
.sns-card .ttl-row b, .sns-card .ttl-row strong { font-size: 15px; }
.sns-card .ttl-row .en { font-size: 11px; color: var(--gk-ink-soft); font-family: "Marcellus", serif; letter-spacing: 0.1em; display: block; }
.sns-card .go { font-size: 13px; font-weight: 600; color: var(--gk-red); margin-top: auto; padding-top: 14px; display: inline-block; }
.sns-card .go .arr { display: inline-block; transition: transform .25s; }
.sns-card .go:hover .arr { transform: translateX(4px); }

/* ブログカード（IGカードと高さ揃え） */
.sns-blog-full { align-self: stretch; }
.blog-list { display: flex; flex-direction: column; gap: 0; flex: 1; }
.blog-row {
  display: flex; gap: 14px; align-items: center; padding: 10px 0;
  border-top: 1px solid var(--gk-line); transition: background .2s;
}
.blog-row:first-child { border-top: none; }
.blog-row:hover { background: var(--gk-sky); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.blog-row-thumb {
  width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--gk-sky);
}
.blog-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-row-thumb .ph { width: 100%; height: 100%; margin: 0; border-radius: 0; }
.blog-row-body { flex: 1; min-width: 0; }
.blog-row-date {
  display: block; font-family: "Marcellus", serif; font-size: 12px; color: var(--gk-gold); letter-spacing: 0.04em; margin-bottom: 2px;
}
.blog-row-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--gk-ink);
}

/* ---------- お問い合わせフォーム ---------- */
.b-contact { background: linear-gradient(180deg, #eef6fa, #fbfaf7); }
.contact-card { background: #fff; border-radius: 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.08); padding: 56px; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; text-align: left; }
.contact-info .big { font-family: "Marcellus", serif; font-size: 38px; color: var(--gk-red); letter-spacing: 0.02em; }
.contact-info .lbl { font-size: 12px; color: var(--gk-ink-soft); letter-spacing: 0.08em; margin-bottom: 6px; }
.contact-info .blk { padding: 26px 0; border-bottom: 1px solid var(--gk-line); }
.contact-info .blk:first-of-type { border-top: 1px solid var(--gk-line); }
.contact-info address.blk { font-style: normal; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-row label .req { color: var(--gk-red); font-size: 11px; margin-left: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--gk-line); border-radius: 8px;
  font-family: inherit; font-size: 15px; background: #fff; transition: border .2s; color: var(--gk-ink);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--gk-red); }
.form-seg { display: flex; gap: 10px; flex-wrap: wrap; }
.form-seg label { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--gk-line); border-radius: 100px; cursor: pointer; font-weight: 500; font-size: 14px; margin: 0; transition: all .2s; }
.form-seg input { width: auto; }
.form-seg label:has(input:checked) { border-color: var(--gk-red); background: rgba(211,47,47,0.06); color: var(--gk-red); }
.form-note { font-size: 12px; color: var(--gk-ink-soft); margin-top: 4px; }
.form-ok { padding: 18px 22px; background: rgba(34,139,87,0.08); border: 1px solid rgba(34,139,87,0.3); color: #1f7a52; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }

/* ---------- 下層ページ：ページヘッダー／パンくず ---------- */
.page-head { background: linear-gradient(180deg, #eef6fa, #fbfaf7); padding: 54px 0 48px; }
body.post-type-archive-works .page-head,
body.tax-works_cat .page-head { padding-bottom: 20px; }
body:not(.home) .section { padding-top: 20px; }
body:not(.home) .section.b-msg { padding-top: 100px; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--gk-ink-soft); margin-bottom: 18px; flex-wrap: wrap; }
.crumb a, .crumb span { white-space: nowrap; }
.crumb a:hover { color: var(--gk-red); }
.crumb .sep { opacity: 0.5; }
.page-head .en-label { font-family: "Marcellus", serif; letter-spacing: 0.2em; font-size: 13px; color: var(--gk-red); }
.page-head h1 { font-size: 42px; margin: 8px 0 0; letter-spacing: 0.02em; }
.page-lead { text-align: center; color: var(--gk-ink-soft); font-size: 15px; line-height: 1.9; margin: 0 0 40px; }

/* ---------- 本文（記事・固定ページ） ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article .meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.article .meta .date { font-family: "Marcellus", serif; color: var(--gk-ink-soft); }
.article > h1 { font-size: 32px; line-height: 1.5; margin: 0 0 28px; }
.article .hero-img { aspect-ratio: 16/9; border-radius: 16px; margin-bottom: 36px; }
.article .body, .entry-content { font-size: 16px; line-height: 2; color: #2c3742; }
.article .body h2, .entry-content h2 { font-size: 24px; margin: 44px 0 16px; padding-left: 16px; border-left: 4px solid var(--gk-red); }
.article .body .wp-block-list, .entry-content .wp-block-list,
.article .body ul, .article .body ol,
.entry-content ul, .entry-content ol { margin-top: 0 !important; margin-bottom: 0 !important; }
.article .body h3, .entry-content h3 { font-size: 20px; margin: 32px 0 12px; }
.article .body p, .entry-content p { margin: 0 0 22px; }
.entry-content img { border-radius: 12px; }

/* ---------- セミナー記事：登壇者プロフィール ---------- */
.entry-content .seminar-speakers { margin: 24px 0 42px; }
.entry-content .seminar-speaker-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  margin: 0 0 22px;
  border: 1px solid var(--gk-line);
  border-top: 4px solid var(--gk-red);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(35, 48, 58, 0.08);
}
.entry-content .seminar-speaker-card:last-child { margin-bottom: 0; }
.entry-content .seminar-speaker-photo {
  width: 180px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #eef2f4;
}
.entry-content .seminar-speaker-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.entry-content .seminar-speaker-role {
  margin: 0 0 5px;
  color: var(--gk-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.entry-content .seminar-speaker-card h3 {
  margin: 0 0 5px;
  color: var(--gk-ink);
  font-size: 24px;
  line-height: 1.45;
}
.entry-content .seminar-speaker-title {
  margin: 0 0 14px;
  color: var(--gk-ink-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
.entry-content .seminar-speaker-bio {
  margin: 0;
  color: #45535e;
  font-size: 14px;
  line-height: 1.9;
}
.back-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 48px; font-weight: 600; color: var(--gk-red); }

/* ---------- ページャ（独自 .pager ＋ WP標準 .pagination） ---------- */
.pager, .pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination { margin-top: 48px; }
.pager a, .pager .on,
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  padding: 0 12px; border: 1px solid var(--gk-line); border-radius: 100px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--gk-ink-soft); transition: all .2s;
}
.pager a:hover, .pagination a.page-numbers:hover { border-color: var(--gk-ink); color: var(--gk-ink); }
.pager .on, .pagination .page-numbers.current { background: var(--gk-red); border-color: var(--gk-red); color: #fff; }

/* ---------- 会社概要テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 20px 8px; border-bottom: 1px solid var(--gk-line); font-size: 15px; vertical-align: top; }
.info-table th { width: 200px; font-weight: 600; color: var(--gk-ink); }
.info-table td { color: var(--gk-ink-soft); }

/* ---------- CTA帯 ---------- */
.cta-band { background: var(--gk-red); color: #fff; padding: 70px 0; text-align: center; }
.cta-band h2 { font-size: 32px; margin: 0 0 10px; }
.cta-band p { margin: 0 0 28px; opacity: 0.9; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-red { background: #fff; color: var(--gk-red); }
.cta-band .btn-red:hover { background: var(--gk-sky); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ---------- フッター ---------- */
.site-foot { background: var(--gk-ink); color: rgba(255,255,255,0.82); padding: 70px 0 170px; }
.site-foot .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-foot .lede { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 12px; max-width: 280px; line-height: 1.8; }
.site-foot .cols { display: flex; gap: 56px; flex-wrap: wrap; }
.site-foot .foot-nav-label { font-family: "Marcellus", serif; font-size: 12px; letter-spacing: 0.14em; color: var(--gk-gold-soft); margin: 0 0 16px; }
.site-foot .foot-nav-list { list-style: none; margin: 0; padding: 0; }
.site-foot .col a { display: block; font-size: 13px; padding: 6px 0; color: rgba(255,255,255,0.7); transition: color .2s; }
.site-foot .col a:hover { color: #fff; }
.site-foot .bot { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 12px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 16px; }
.site-foot .sns { display: flex; gap: 12px; }
.site-foot .sns a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.site-foot .sns a:hover { background: var(--gk-red); border-color: var(--gk-red); }

/* ---------- FAQ ---------- */
.section-faq { background: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--gk-line);
  border-radius: 8px; margin: 0 -12px; padding: 0 12px;
  transition: background .2s;
}
.faq-item:first-child { border-top: 1px solid var(--gk-line); }
.faq-item:hover { background: rgba(232,241,246,0.4); }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  display: flex; align-items: center; gap: 18px; padding: 24px 0;
  cursor: pointer;
}
.faq-icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Marcellus", serif; font-size: 16px; font-weight: 700;
  background: var(--gk-red); color: #fff;
}
.faq-icon-a { background: var(--gk-sky); color: var(--gk-red); }
.faq-q-text { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.6; margin: 0; }
.faq-toggle {
  width: 20px; height: 20px; flex-shrink: 0; position: relative;
}
.faq-toggle::before,
.faq-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--gk-ink-soft); border-radius: 1px; transition: transform .3s;
}
.faq-toggle::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-toggle::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a-wrap {
  overflow: hidden; height: 0; transition: height .35s ease;
}
.faq-a {
  display: flex; gap: 18px; padding: 0 0 28px;
}
.faq-a p {
  margin: 0; font-size: 15px; line-height: 1.9; color: var(--gk-ink-soft);
  padding-top: 6px;
}

/* ---------- 物件一覧LPテキスト ---------- */
.works-lp-content { margin-top: 56px; }
.works-lp-content .entry-content { max-width: 820px; margin: 0 auto; text-align: center; }
.works-lp-content .entry-content p { text-align: left; }
.works-lp-content .entry-content h2 {
  border-left: none; padding-left: 0; text-align: center;
  padding-bottom: 18px; position: relative; margin: 56px 0 24px;
}
.works-lp-content .entry-content h2::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gk-gold), var(--gk-red), var(--gk-gold));
  border-radius: 2px;
}
.works-lp-content .entry-content h3 { text-align: center; }
.works-lp-content .entry-content .has-global-padding,
.works-lp-content .entry-content .wp-block-group,
.works-lp-content .entry-content .wp-block-cover { background: transparent; }

/* ---------- WordPress 標準クラス ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.aligncenter { margin-left: auto; margin-right: auto; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 12px; color: var(--gk-ink-soft); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .article { width: calc(100% - 44px); }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 16px 22px; box-shadow: 0 20px 40px rgba(0,0,0,0.12); margin-left: 0;
  }
  .site-nav.open .site-nav-list { flex-direction: column; width: 100%; align-items: stretch; }
  .site-nav.open a { width: 100%; }
  .nav-toggle { display: flex; }
  .b-hero h1 { font-size: 38px; }
  .b-hero .inner { padding: 32px; }
  .b-quick .card, .b-biz, .b-msg .wrap, .contact-grid, .gallery-grid, .sns-layout { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .sec-head h2 { font-size: 30px; }
  .page-head h1 { font-size: 30px; }
  .contact-card { padding: 28px; }
  .mission-box { padding: 26px 22px; }
  .mgmt-grid { grid-template-columns: 1fr; }
  .info-table th { width: auto; display: block; padding-bottom: 4px; }
  .info-table td { display: block; padding-top: 4px; }
  .property-table { grid-template-columns: 1fr; }
  .property-table div { grid-template-columns: 112px 1fr; }
  .news-row { gap: 14px; flex-wrap: wrap; }
  .notfound-links { grid-template-columns: 1fr; }
}

/* ---------- 記事詳細：スマホ表示 ---------- */
@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: clip; }
  #main-content { width: 100%; max-width: 100%; overflow: hidden; }
  .wrap { padding: 0 20px; }

  .site-head { width: 100%; max-width: 100%; padding: 12px 0; overflow: visible; }
  .site-head .wrap { position: relative; min-height: 40px; gap: 12px; }
  .logo-img { height: 24px; }
  .nav-toggle { display: flex !important; position: absolute; top: 0; right: 0; z-index: 60; }
  .site-nav {
    display: flex;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 55;
    flex-direction: column;
    gap: 4px;
    margin-left: 0;
    padding: 12px 20px;
    background: #fff;
    border-top: 1px solid var(--gk-line);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .site-nav.open {
    top: calc(100% + 12px);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .22s ease, transform .22s ease;
  }
  .site-nav .site-nav-list { flex-direction: column; width: 100%; align-items: stretch; }
  .site-nav a { width: 100%; }
  .site-nav .nav-cta,
  .site-nav .nav-cta > a { text-align: center; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .b-hero { width: 100%; max-width: 100%; padding: 0; overflow: hidden; }
  .b-hero .frame { width: 100%; max-width: 100%; min-width: 0; min-height: 610px; border-radius: 0; }
  .b-hero .inner { width: 100%; max-width: 100%; min-width: 0; padding: 120px 22px 32px; }
  .b-hero .eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .b-hero h1 {
    max-width: 10em;
    font-size: 32px;
    line-height: 1.38;
    margin: 16px 0 14px;
    overflow-wrap: anywhere;
  }
  .b-hero p { max-width: none; font-size: 15px; line-height: 1.8; margin: 0; }
  .b-hero .cta { display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 24px; }
  .b-hero .btn { min-width: 0; justify-content: center; padding: 13px 16px; font-size: 14px; white-space: nowrap; }
  .b-hero .pill-white, .b-hero .pill-line { width: auto; }

  .b-quick { margin-top: -18px; padding: 0 20px; }
  .b-quick .card { border-radius: 18px; }
  .b-quick .q { gap: 14px; padding: 19px 18px; border-left: none; border-top: 1px solid var(--gk-line); }
  .b-quick .q:first-child { border-top: none; }
  .b-quick .q .ic { width: 44px; height: 44px; border-radius: 12px; }
  .b-quick .q .q-title { font-size: 15px; }

  .section { padding: 56px 0; }
  .page-head { padding: 38px 0 34px; }
  .page-head h1 { font-size: 28px; line-height: 1.45; }
  .crumb { gap: 6px; margin-bottom: 14px; font-size: 11px; }
  .page-lead { font-size: 14px; line-height: 1.85; margin-bottom: 28px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 26px; line-height: 1.45; }

  .finder-bar { justify-content: flex-start; gap: 8px; margin-bottom: 26px; }
  .finder-bar button, .finder-bar a { padding: 9px 14px; font-size: 12px; }
  .b-biz, .gallery-grid { gap: 16px; }
  .b-biz .ph { height: 200px; }
  .b-biz .body { padding: 22px; }
  .b-msg .wrap { gap: 32px; }
  .b-msg .lead { font-size: 25px; line-height: 1.55; }
  .b-msg .ph { border-radius: 16px; }
  .mission-box { padding: 22px 18px; font-size: 15px; line-height: 1.9; }

  .property-section { margin-top: 34px; }
  .property-section h2 { font-size: 20px; margin-bottom: 14px; padding-left: 12px; border-left-width: 3px; }
  .property-table div { grid-template-columns: 96px minmax(0, 1fr); }
  .property-table dt, .property-table dd { padding: 12px; font-size: 13px; }
  .works-lp-content { margin-top: 38px; }
  .works-lp-content .entry-content h2 { font-size: 22px; margin: 42px 0 20px; }

  .contact-card { padding: 24px 20px; border-radius: 20px; }
  .contact-grid { gap: 38px; }
  .contact-info .big { font-size: 30px; overflow-wrap: anywhere; }
  .form-seg { gap: 8px; }
  .form-seg label, .form-seg .wpcf7-list-item label { padding: 10px 14px; font-size: 13px; }

  .news-row { gap: 10px; padding: 18px 0; margin: 0; }
  .news-row .date { font-size: 13px; }
  .news-row .cat { font-size: 10px; padding: 4px 9px; }
  .news-row .ttl { flex-basis: 100%; font-size: 15px; }
  .news-row .arr { display: none; }

  .faq-item { margin: 0; padding: 0; }
  .faq-q { gap: 12px; padding: 18px 0; }
  .faq-icon { width: 30px; height: 30px; font-size: 14px; }
  .faq-q-text { font-size: 15px; line-height: 1.6; }
  .faq-a { gap: 12px; padding-bottom: 22px; }
  .faq-a p { font-size: 14px; line-height: 1.85; }

  .cta-band { padding: 52px 0; }
  .cta-band h2 { font-size: 25px; line-height: 1.5; }
  .cta-band .btns { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .cta-band .btn { justify-content: center; }
  .site-foot { padding: 52px 0 26px; }
  .site-foot .top { gap: 30px; padding-bottom: 30px; }
  .site-foot .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 26px 18px; }
  .site-foot .bot { padding-top: 22px; align-items: flex-start; }

  .article .meta { gap: 10px; margin-bottom: 12px; }
  .article > h1 { font-size: 24px; line-height: 1.55; margin-bottom: 22px; }
  .article .hero-img { border-radius: 12px; margin-bottom: 28px; }

  .article .body,
  .entry-content { font-size: 15px; line-height: 2; }
  .article .body p,
  .entry-content p { margin-bottom: 20px; }
  .article .body h2,
  .entry-content h2 {
    font-size: 20px;
    line-height: 1.6;
    margin: 36px 0 14px;
    padding-left: 12px;
    border-left-width: 3px;
  }
  .article .body h3,
  .entry-content h3 { font-size: 18px; line-height: 1.6; margin: 28px 0 10px; }

  .entry-content .seminar-speakers { margin: 20px 0 34px; }
  .entry-content .seminar-speaker-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    margin-bottom: 18px;
    border-radius: 12px;
  }
  .entry-content .seminar-speaker-photo { width: 112px; }
  .entry-content .seminar-speaker-card h3 { margin: 0 0 4px; font-size: 20px; }
  .entry-content .seminar-speaker-title { margin-bottom: 10px; font-size: 13px; }
  .entry-content .seminar-speaker-bio { grid-column: 1 / -1; font-size: 14px; line-height: 1.85; }

  .entry-content figure,
  .entry-content .wp-block-image { margin: 28px 0; }
  .entry-content img { width: 100%; border-radius: 10px; }
  .entry-content figcaption,
  .entry-content .wp-element-caption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
  }
  .entry-content table { display: block; width: 100%; overflow-x: auto; }
  .entry-content pre { max-width: 100%; overflow-x: auto; }
  .back-link { margin-top: 36px; }
}

/* ---------- 404 ---------- */
.notfound-message { text-align: center; margin-bottom: 48px; }
.notfound-code { font-family: "Marcellus", serif; font-size: 96px; letter-spacing: 0.08em; color: var(--gk-line); line-height: 1; margin: 0 0 20px; }
.notfound-message p:last-child { font-size: 15px; color: var(--gk-ink-soft); line-height: 2; }
.notfound-heading { font-size: 15px; font-weight: 700; margin: 0 0 16px; padding-left: 14px; border-left: 3px solid var(--gk-red); line-height: 1.4; }
.notfound-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0 0 44px; }
.notfound-links a { display: block; text-align: center; padding: 16px; border: 1px solid var(--gk-line); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--gk-ink); transition: all .2s; }
.notfound-links a:hover { border-color: var(--gk-red); color: var(--gk-red); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.notfound-recent { margin-bottom: 8px; }

/* ============================================================
   Contact Form 7 連携スタイル（GOLD・KEI）
   ============================================================ */
.wpcf7 .form-row .wpcf7-form-control-wrap { display: block; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--gk-line); border-radius: 8px;
  font-family: inherit; font-size: 15px; background: #fff; color: var(--gk-ink); transition: border .2s;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--gk-red); }

.form-seg .wpcf7-radio { display: flex; gap: 10px; flex-wrap: wrap; }
.form-seg .wpcf7-list-item { margin: 0; }
.form-seg .wpcf7-list-item label {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  border: 1px solid var(--gk-line); border-radius: 100px; cursor: pointer;
  font-weight: 500; font-size: 14px; transition: all .2s;
}
.form-seg .wpcf7-list-item label:has(input:checked) {
  border-color: var(--gk-red); background: rgba(211,47,47,0.06); color: var(--gk-red);
}
.form-seg .wpcf7-list-item input { width: auto; }

.wpcf7 .btn.btn-red,
.wpcf7 input.wpcf7-submit {
  width: 100%; justify-content: center; padding: 16px; border: none;
  background: var(--gk-red); color: #fff; font-weight: 600; font-size: 15px;
  border-radius: 100px; box-shadow: 0 6px 20px rgba(211,47,47,0.28); transition: background .25s; cursor: pointer;
}
.wpcf7 .btn.btn-red:hover,
.wpcf7 input.wpcf7-submit:hover { background: var(--gk-red-deep); }

.wpcf7 .wpcf7-spinner { margin: 14px auto 0; display: block; }
.wpcf7-not-valid-tip { color: var(--gk-red); font-size: 12px; margin-top: 6px; }
.wpcf7 .wpcf7-not-valid { border-color: var(--gk-red) !important; }
.wpcf7-response-output {
  margin: 20px 0 0 !important; padding: 16px 20px !important; border-radius: 8px; font-size: 14px;
  border: 1px solid var(--gk-line) !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(34,139,87,0.08); border-color: rgba(34,139,87,0.3) !important; color: #1f7a52;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: rgba(211,47,47,0.08); border-color: rgba(211,47,47,0.3) !important; color: var(--gk-red);
}

/* ============================================================
   Sticky CTA
   ============================================================ */
.sticky-cta {
  width: 100vw;
  background-color: rgba(245, 245, 245, 0.8);
  height: auto;
  display: block;
  align-items: center;
  position: fixed;
  z-index: 9999;
  bottom: 0;
  padding: 15px 0;
}
.sticky-cta-sp { display: none; }
.sticky-wrapper {
  display: flex;
  margin: 0 auto;
  width: fit-content;
  min-width: 600px;
}
.sticky-cta-container {
  width: 60%;
  max-width: 300px;
  margin: 0 auto;
  height: fit-content;
  display: block;
  align-items: center;
  justify-content: space-around;
}
.sticky-cta-container2 {
  width: 50%;
  max-width: 300px;
}
.sticky-cta-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #4169e1;
  color: #fff;
  border-radius: 9999px;
  padding: 0.5rem 2rem;
  font-weight: 900;
  margin-bottom: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 15px;
  height: 70px;
  text-decoration: none;
}
.sticky-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: #5a7be0;
}
.sticky-cta-btn svg {
  margin-right: 0.25rem;
  vertical-align: middle;
}
.sticky-mail {
  position: relative;
  width: 270px;
}
.sticky-mail span {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  margin: auto;
  display: block;
  width: fit-content;
  height: fit-content;
}
.sticky-cta-container2 .sticky-cta-btn {
  background-color: #f4a460;
}
.sticky-cta-container2 .sticky-cta-btn:hover {
  background-color: #ffac63;
}
.sticky-cta-container svg {
  margin-right: 0.25rem;
  animation: shake 2s infinite;
}
@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
  50% { transform: rotate(0deg); }
}
.phone-number-wrapper {
  line-height: 1.25rem;
}
.phone-number {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-weight: 900;
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 12px;
}
.no-opening-hours {
  font-weight: 900;
  font-size: 12px;
  margin: 0 auto;
  width: fit-content;
  display: block;
}
.tel-text {
  text-align: center;
  padding-bottom: 10px;
}
.tel-text span {
  font-size: 15px;
  font-weight: 900;
}
.tel-text-red {
  color: #d32f2f;
}
.opening-hours-pc {
  font-size: 9px;
  font-weight: 900;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .sticky-cta-container { width: 80%; }
}

@media screen and (max-width: 768px) {
  .sticky-cta-pc { display: none; }
  .sticky-cta-sp {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    height: auto;
    width: 100vw;
    z-index: 9990;
    background-color: rgba(245, 245, 245, 0.9);
    padding: 10px 0;
  }
  .sticky-cta-btn-sp {
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background-color: #4169e1;
    color: #fff;
    font-weight: 900;
    border-radius: 9999px;
    font-size: 12px;
    text-align: center;
    padding: 0.25rem 0;
    text-decoration: none;
    margin-bottom: 4px;
  }
  .sticky-cta-btn-sp svg {
    margin-right: 4px;
    vertical-align: middle;
  }
  .sticky-cta-btn-sp-mail {
    background-color: #f4a460;
  }
  .tel-text-sp span {
    font-size: 13px;
    font-weight: 900;
  }
  .tel-text-sp { text-align: center; padding-bottom: 4px; }
  .sticky-cta-sp-container {
    height: 100%;
    width: fit-content;
    margin: 0 auto;
  }
  .opening-hours-sp {
    display: block;
    font-size: 8px;
    width: fit-content;
    margin: 0 auto;
  }

  /* フッターの下にCTA分の余白 */
  .site-foot { padding-bottom: 140px; }
}
