/* =============================================
   案03「モダン職人」style.css
   竹下建設株式会社 HP サンプル
   カラー: 白×濃ネイビー×スチールブルー×アンバー
   フォント: Noto Sans JP / Barlow / Inter
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Barlow:wght@500;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── CSS変数 ─── */
:root {
  --bg:       #ffffff;
  --bg-dark:  #1a2740;
  --bg-mid:   #f4f6f9;
  --fg:       #1a2740;
  --fg-sub:   #5a6e87;
  --accent:   #1e6fa8;
  --acc-sea:  #4da6d6;
  --acc-warm: #e8a83a;
  --border:   #dce3eb;
  --white:    #ffffff;
  --max-w:    1200px;
  --py:       80px;
  --f-main:   "Noto Sans JP", sans-serif;
  --f-num:    "Barlow", "Inter", sans-serif;
  --tr:       0.2s ease;
}

/* ── リセット ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-main);
  font-weight: 400;
  line-height: 1.7;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ── ヘッダー ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg-dark);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; gap: 1px; }
.logo-ja {
  font-size: .98rem; font-weight: 700; color: var(--white); letter-spacing: .08em;
}
.logo-en {
  font-family: var(--f-num); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.7);
  transition: color var(--tr); letter-spacing: .04em;
}
.header-nav a:hover { color: var(--acc-sea); }
.header-ctas { display: flex; gap: 10px; }
.btn-tel {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-num); font-size: .85rem; font-weight: 700;
  color: var(--white); background: rgba(255,255,255,.1);
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.2);
}
.btn-reform {
  display: inline-block; font-size: .78rem; font-weight: 700;
  color: var(--bg-dark); background: var(--acc-warm);
  padding: 9px 18px; transition: opacity var(--tr);
}
.btn-reform:hover { opacity: .88; }

/* ── FV ─── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center; justify-content: flex-start;
  padding-top: 70px;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video,
.hero-video-wrap .hero-poster {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,39,64,.85) 0%, rgba(26,39,64,.4) 55%, rgba(26,39,64,.2) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 64px;
  max-width: 680px;
}
.hero-tagline {
  font-family: var(--f-num); font-size: .7rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--acc-warm); margin-bottom: 16px;
}
.hero-catch {
  font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 700;
  color: var(--white); letter-spacing: .05em; line-height: 1.45;
  margin-bottom: 20px;
}
.hero-stats {
  display: flex; gap: 32px; margin-bottom: 28px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.hero-stat-val {
  font-family: var(--f-num); font-size: 1.8rem; font-weight: 800;
  color: var(--acc-warm); line-height: 1;
}
.hero-stat-label { font-size: .7rem; color: rgba(255,255,255,.6); margin-top: 4px; }
.hero-sub {
  font-size: .86rem; color: rgba(255,255,255,.75); line-height: 1.85; margin-bottom: 32px;
}
.btn-hero {
  display: inline-block; font-size: .85rem; font-weight: 700;
  color: var(--bg-dark); background: var(--white);
  padding: 14px 40px; transition: background var(--tr), color var(--tr);
}
.btn-hero:hover { background: var(--acc-warm); }

/* ── セクション共通 ─── */
.section { padding: var(--py) 0; }
.section.bg-mid { background: var(--bg-mid); }
.section.bg-dark { background: var(--bg-dark); }
.sec-en {
  font-family: var(--f-num); font-size: .65rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 8px;
}
.section.bg-dark .sec-en { color: var(--acc-sea); }
.sec-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700;
  color: var(--fg); letter-spacing: .04em; margin-bottom: 48px;
}
.section.bg-dark .sec-title { color: var(--white); }
.sec-title.center { text-align: center; }

/* ── 業務4軸 ─── */
.service-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border);
}
.svc-col {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.svc-col:last-child { border-right: none; }
.svc-col::before {
  content: '';
  display: block; width: 48px; height: 3px;
  background: var(--accent); margin-bottom: 20px;
}
.svc-col:first-child::before { background: var(--acc-warm); }
.svc-name {
  font-size: 1rem; font-weight: 700; color: var(--fg);
  margin-bottom: 10px; line-height: 1.4;
}
.svc-desc { font-size: .8rem; color: var(--fg-sub); line-height: 1.8; }

/* ── 実績数字バー ─── */
.merit-bar {
  background: var(--bg-dark);
  padding: 48px 0;
  position: relative; overflow: hidden;
}
/* 素材: [実績バー背景] - ファイル名: merit-bg.jpg - サイズ: 1920x600 - 縦横比: 16:5 - 用途: 実績数字セクション背景（暗オーバーレイ用・実写前提・AI画像NG） */
.merit-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.merit-item {
  text-align: center; padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.merit-item:last-child { border-right: none; }
.merit-num {
  font-family: var(--f-num); font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; color: var(--acc-warm); line-height: 1; display: block;
}
.merit-num span { font-size: .45em; vertical-align: middle; }
.merit-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 10px; }

/* ── リフォームギャラリー ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 40px;
}
.gallery-card {}
.gallery-pair {
  display: flex; border: 1px solid var(--border); overflow: hidden;
}
.gallery-side { flex: 1; position: relative; overflow: hidden; }
.gallery-divider { width: 2px; background: var(--accent); flex-shrink: 0; }
.gallery-side img { width: 100%; height: 185px; object-fit: cover; display: block; }
.g-badge {
  position: absolute; top: 8px; left: 8px;
  font-family: var(--f-num); font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px;
  background: var(--bg-dark); color: var(--white);
}
.g-badge.after { background: var(--accent); color: var(--white); }
.gallery-caption { padding: 14px 0 0; }
.g-work {
  font-size: .9rem; font-weight: 700; color: var(--fg);
  display: block; margin-bottom: 8px;
}
.g-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.g-meta span { font-size: .73rem; color: var(--fg-sub); }
.g-meta span::before { content: attr(data-label) " "; color: var(--accent); font-weight: 700; }
.gallery-more { text-align: center; margin-top: 48px; }
.btn-outline {
  display: inline-block; font-size: .82rem; font-weight: 700;
  color: var(--accent); border: 2px solid var(--accent); padding: 12px 36px;
  transition: background var(--tr), color var(--tr);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

/* ── About ─── */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-lead { font-size: 1.1rem; font-weight: 700; color: var(--fg); margin-bottom: 16px; line-height: 1.6; }
.about-text { font-size: .85rem; color: var(--fg-sub); line-height: 1.9; margin-bottom: 24px; }
.about-dl { }
.about-dl dt { font-size: .72rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; margin-top: 12px; }
.about-dl dd { font-size: .82rem; color: var(--fg-sub); }

/* ── 施工事例 ─── */
.works-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.work-card { position: relative; overflow: hidden; }
.work-thumb { overflow: hidden; }
.work-thumb img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  transition: transform .5s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-body {
  padding: 16px; background: var(--bg); border: 1px solid var(--border); border-top: none;
}
.work-tag {
  font-family: var(--f-num); font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); background: rgba(30,111,168,.1);
  padding: 2px 8px; display: inline-block; margin-bottom: 6px;
}
.work-title { font-size: .9rem; font-weight: 700; color: var(--fg); line-height: 1.5; }

/* ── お客様の声 ─── */
.voices-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.voice-card {
  padding: 28px; background: var(--bg-mid); border-left: 4px solid var(--accent);
}
.voice-text { font-size: .85rem; line-height: 1.9; color: var(--fg); margin-bottom: 14px; }
.voice-name { font-size: .8rem; font-weight: 700; color: var(--fg-sub); }
.voice-type {
  font-family: var(--f-num); font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  color: var(--white); background: var(--accent); padding: 2px 8px; margin-left: 8px;
}

/* ── リフォーム導線CTA ─── */
.reform-cta {
  margin-top: 48px; padding: 36px 40px;
  background: var(--bg-dark); text-align: center;
}
.reform-cta-label {
  font-family: var(--f-num); font-size: .65rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc-sea); display: block; margin-bottom: 10px;
}
.reform-cta-title { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.reform-cta-desc { font-size: .84rem; color: rgba(255,255,255,.7); margin-bottom: 24px; }
.btn-accent {
  display: inline-block; font-size: .84rem; font-weight: 700;
  color: var(--bg-dark); background: var(--acc-warm); padding: 13px 40px;
  transition: opacity var(--tr);
}
.btn-accent:hover { opacity: .88; }

/* ── お問い合わせ ─── */
.contact { background: var(--bg-dark); }
.contact .container { text-align: center; padding: var(--py) 32px; }
.contact .sec-en { color: var(--acc-sea); }
.contact .sec-title { color: var(--white); }
.contact-tel {
  font-family: var(--f-num); font-size: 2.4rem; font-weight: 800;
  color: var(--white); letter-spacing: .08em; display: block; margin-bottom: 8px;
}
.contact-hours { font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: 32px; }
.btn-contact {
  display: inline-block; font-size: .84rem; font-weight: 700;
  color: var(--bg-dark); background: var(--acc-warm); padding: 14px 48px;
  transition: opacity var(--tr);
}
.btn-contact:hover { opacity: .88; }

/* ── フッター ─── */
.site-footer { background: #0f1825; padding: 48px 0 28px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.footer-logo {
  font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.8);
  letter-spacing: .08em; margin-bottom: 4px;
}
.footer-address { font-size: .76rem; color: rgba(255,255,255,.38); line-height: 2; margin-bottom: 28px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: .69rem; color: rgba(255,255,255,.3); }
.footer-license { font-size: .69rem; color: rgba(255,255,255,.25); }

/* ── レスポンシブ ─── */
@media (max-width: 960px) {
  .service-bar { grid-template-columns: repeat(2,1fr); }
  .svc-col:nth-child(2) { border-right: none; }
  .svc-col:nth-child(3) { border-top: 1px solid var(--border); }
  .svc-col:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .merit-bar-inner { grid-template-columns: repeat(2,1fr); gap: 24px 0; }
  .merit-item:nth-child(2) { border-right: none; }
  .merit-item { padding: 16px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .works-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --py: 56px; }
  .header-nav { display: none; }
  .hero-content { padding: 0 24px; }
  .hero-stats { gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 32px; }
  .voices-list { grid-template-columns: 1fr; }
  .reform-cta { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .service-bar { grid-template-columns: 1fr; }
  .svc-col { border-right: none; border-bottom: 1px solid var(--border); }
  .svc-col:last-child { border-bottom: none; }
  .merit-bar-inner { grid-template-columns: repeat(2,1fr); }
}

/* ── 販売中物件 (properties.html + index 抜粋) ─── */
.page-title {
  background: var(--bg-mid);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-title .sec-en {
  display: block;
  font-family: "Barlow", "Inter", sans-serif;
  font-size: .78rem;
  letter-spacing: .25em;
  color: var(--accent);
  text-transform: uppercase;
}
.page-title-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  margin: 8px 0 12px;
  letter-spacing: .02em;
}
.page-title-sub {
  color: var(--fg-sub);
  font-size: .94rem;
  line-height: 1.7;
}

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

.property-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease;
}
.property-card:hover {
  box-shadow: 0 8px 24px rgba(26,39,64,.08);
}

.property-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 6px 12px;
}
.property-badge.sold {
  background: var(--fg-sub);
}
.property-tag-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-warm);
  color: var(--fg);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
}

.property-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.property-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .76rem;
  color: var(--fg-sub);
  margin-bottom: 6px;
}
.property-type {
  background: var(--bg-mid);
  padding: 3px 8px;
  color: var(--accent);
  font-weight: 600;
}
.property-area {
  letter-spacing: .04em;
}
.property-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin: 4px 0 12px;
}
.property-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  font-family: "Barlow", "Inter", sans-serif;
  letter-spacing: .01em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.property-price span {
  font-size: .9rem;
  margin-left: 4px;
  color: var(--fg);
  font-weight: 600;
}

.property-spec {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 0 16px;
}
.property-spec > div {
  display: flex;
  flex-direction: column;
  font-size: .82rem;
}
.property-spec dt {
  color: var(--fg-sub);
  font-size: .72rem;
  margin-bottom: 2px;
  letter-spacing: .04em;
}
.property-spec dd {
  color: var(--fg);
  margin: 0;
  font-weight: 600;
}

.property-card .btn-outline {
  margin-top: auto;
  text-align: center;
  display: block;
}

/* index.html 抜粋セクション用 */
.properties-pickup {
  background: var(--bg-mid);
}
.properties-pickup-more {
  text-align: center;
  margin-top: 36px;
}

/* 販売中物件レスポンシブ */
@media (max-width: 960px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .properties-grid { grid-template-columns: 1fr; }
  .page-title-text { font-size: 1.6rem; }
  .page-title { padding: 48px 0 40px; }
}

/* ── 物件詳細ページ ─── */
.property-detail-hero {
  background: var(--bg-mid);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.property-breadcrumb {
  font-size: .78rem;
  color: var(--fg-sub);
  margin-bottom: 16px;
}
.property-breadcrumb a { color: var(--accent); text-decoration: none; }
.property-breadcrumb a:hover { text-decoration: underline; }

.property-detail-head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.property-detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  margin: 8px 0 16px;
  letter-spacing: .02em;
}
.property-detail-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.property-detail-meta .badge {
  background: var(--accent);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 12px;
}
.property-detail-meta .badge.tag {
  background: var(--accent-warm);
  color: var(--fg);
}
.property-detail-meta .badge.area {
  background: transparent;
  color: var(--fg-sub);
  border: 1px solid var(--border);
}
.property-detail-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  font-family: "Barlow", "Inter", sans-serif;
  line-height: 1.1;
  margin: 8px 0 4px;
}
.property-detail-price span {
  font-size: 1rem;
  margin-left: 6px;
  color: var(--fg);
  font-weight: 600;
}
.property-detail-quick {
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px;
}
.property-detail-quick dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 0;
  font-size: .88rem;
}
.property-detail-quick dt {
  color: var(--fg-sub);
  font-size: .76rem;
  font-weight: 600;
}
.property-detail-quick dd {
  color: var(--fg);
  margin: 0;
  font-weight: 600;
}

.property-main-image {
  margin-top: 0;
}
.property-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.property-interior-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 0;
}
.property-interior-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
}
.property-interior-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.property-interior-grid figcaption {
  text-align: center;
  font-size: .82rem;
  color: var(--fg-sub);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-mid);
}

.property-description {
  background: var(--bg-mid);
  padding: 36px 32px;
  margin: 32px 0 0;
}
.property-description h3 {
  font-size: 1.15rem;
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .04em;
}
.property-description p {
  font-size: .92rem;
  line-height: 1.85;
  color: var(--fg);
  margin: 0 0 14px;
}
.property-description p:last-child { margin-bottom: 0; }

.property-full-spec {
  border: 1px solid var(--border);
  margin: 32px 0 0;
}
.property-full-spec dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  margin: 0;
}
.property-full-spec dt,
.property-full-spec dd {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  margin: 0;
  font-size: .88rem;
}
.property-full-spec dt {
  background: var(--bg-mid);
  color: var(--fg-sub);
  font-weight: 600;
}
.property-full-spec dd {
  color: var(--fg);
}

.property-back-link {
  text-align: center;
  margin: 40px 0 0;
}

@media (max-width: 768px) {
  .property-detail-head { grid-template-columns: 1fr; gap: 24px; }
  .property-detail-title { font-size: 1.6rem; }
  .property-detail-price { font-size: 2.1rem; }
  .property-interior-grid { grid-template-columns: 1fr; gap: 12px; }
  .property-full-spec dl { grid-template-columns: 120px 1fr; }
  .property-full-spec dt, .property-full-spec dd { padding: 12px 14px; font-size: .82rem; }
  .property-description { padding: 24px 20px; }
}
