/* =============================================
   案04「クラフト×自然」style.css
   竹下建設株式会社 HP サンプル
   カラー: クリームホワイト×森グリーン×木目ゴールド×ブルーグリーン
   フォント: Noto Serif JP / Noto Sans JP / EB Garamond
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@400;600&family=EB+Garamond:ital,wght@0,400;1,400&display=swap');

/* ── CSS変数 ─── */
:root {
  --bg:     #f9f4ed;
  --bg-2:   #ede8de;
  --fg:     #2f2419;
  --fg-sub: #7a6347;
  --accent: #3d6e4a;
  --acc-sea:#5b8fa3;
  --acc-2:  #b5854a;
  --border: #d4c9b2;
  --white:  #fff8ef;
  --max-w:  1120px;
  --py:     88px;
  --f-ser:  "Noto Serif JP", serif;
  --f-sans: "Noto Sans JP", sans-serif;
  --f-en:   "EB Garamond", Georgia, serif;
  --tr:     0.35s 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-sans);
  font-weight: 300;
  line-height: 1.85;
}
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 40px; }

/* ── ヘッダー ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--tr);
}
.site-header.scrolled {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; gap: 2px; }
.logo-main {
  font-family: var(--f-ser); font-size: 1rem; font-weight: 600;
  color: var(--white); letter-spacing: .1em; transition: color var(--tr);
}
.site-header.scrolled .logo-main { color: var(--fg); }
.logo-en {
  font-family: var(--f-en); font-style: italic; font-size: .72rem;
  color: rgba(255,255,255,.65); transition: color var(--tr);
}
.site-header.scrolled .logo-en { color: var(--fg-sub); }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-size: .8rem; color: rgba(255,255,255,.8); letter-spacing: .06em;
  transition: color var(--tr);
}
.site-header.scrolled .header-nav a { color: var(--fg-sub); }
.header-nav a:hover { color: var(--acc-2); }
.header-cta {
  display: inline-block; font-family: var(--f-ser); font-size: .78rem;
  color: var(--fg); background: var(--acc-2);
  padding: 9px 20px; letter-spacing: .06em;
  transition: opacity var(--tr);
}
.header-cta:hover { opacity: .85; }

/* ── FV ─── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 640px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.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(to top, rgba(47,36,25,.72) 0%, rgba(47,36,25,.2) 50%, rgba(47,36,25,.1) 100%);
  z-index: 1;
}
.hero-body {
  position: relative; z-index: 2;
  padding: 0 40px 72px;
  max-width: 680px;
}
.hero-catch {
  font-family: var(--f-ser);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 600; color: var(--white);
  letter-spacing: .08em; line-height: 1.55;
  margin-bottom: 16px;
}
.hero-sub {
  font-family: var(--f-en); font-style: italic;
  font-size: 1.05rem; color: rgba(255,248,239,.75);
  margin-bottom: 32px; letter-spacing: .04em;
}
.hero-cta {
  display: inline-block; font-family: var(--f-ser);
  font-size: .85rem; letter-spacing: .12em;
  color: var(--fg); background: var(--acc-2);
  padding: 14px 32px; transition: opacity var(--tr);
  border: none;
}
.hero-cta:hover { opacity: .88; }

/* ── セクション共通 ─── */
.section { padding: var(--py) 0; }
.section.bg-2 { background: var(--bg-2); }
.sec-label {
  font-family: var(--f-en); font-style: italic;
  font-size: 1rem; color: var(--acc-2);
  display: block; margin-bottom: 4px;
}
.sec-title {
  font-family: var(--f-ser);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600; color: var(--fg);
  letter-spacing: .06em; line-height: 1.5; margin-bottom: 48px;
}
.sec-title.center { text-align: center; }

/* ── 業務4軸（リフォームカード倍幅） ─── */
.service-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
}
.svc-card {
  background: var(--white); padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
}
.svc-card.main {
  background: var(--accent); border-color: var(--accent);
}
.svc-card.main .svc-en,
.svc-card.main .svc-name,
.svc-card.main .svc-desc { color: rgba(255,248,239,.9); }
.svc-card.main .svc-en { color: rgba(255,248,239,.6); }
.svc-en {
  font-family: var(--f-en); font-style: italic; font-size: .85rem;
  color: var(--acc-2); display: block; margin-bottom: 12px;
}
.svc-name {
  font-family: var(--f-ser); font-size: 1rem; font-weight: 600;
  color: var(--fg); line-height: 1.5; margin-bottom: 12px;
}
.svc-desc { font-size: .8rem; color: var(--fg-sub); line-height: 1.9; }

/* ── リフォームギャラリー（木素材感・EB Garamondラベル） ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 48px 40px;
}
.gallery-card {}
.gallery-pair {
  display: flex; border: 1px solid var(--border); overflow: hidden;
}
.gallery-side { flex: 1; position: relative; overflow: hidden; }
.gallery-sep {
  width: 1px; background: var(--border); flex-shrink: 0;
}
.gallery-side img { width: 100%; height: 190px; object-fit: cover; display: block; }
.g-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--f-en); font-style: italic; font-size: .78rem;
  color: var(--fg-sub); background: rgba(249,244,237,.92); padding: 2px 10px;
}
.g-badge.after { color: var(--accent); }
.gallery-caption { padding: 14px 0 0; }
.g-work {
  font-family: var(--f-ser); font-size: .88rem; color: var(--fg);
  display: block; margin-bottom: 6px;
}
.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); }
.gallery-more { text-align: center; margin-top: 48px; }
.btn-craft {
  display: inline-block; font-family: var(--f-ser); font-size: .8rem;
  letter-spacing: .12em; color: var(--accent);
  border: 1px solid var(--accent); padding: 11px 36px;
  transition: background var(--tr), color var(--tr);
}
.btn-craft:hover { background: var(--accent); color: var(--white); }

/* ── こだわり（2分割） ─── */
.craft-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.craft-body { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.craft-body .sec-label { margin-bottom: 8px; }
.craft-body .sec-title { margin-bottom: 20px; }
.craft-text { font-size: .85rem; color: var(--fg-sub); line-height: 2; }
.craft-photo { overflow: hidden; }
/* 素材: [こだわり写真1] - ファイル名: craft-01.jpg - サイズ: 1200x800 - 縦横比: 3:2 - 用途: こだわりセクション（木材加工・実写前提・AI画像NG） */
.craft-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* ── About ─── */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.about-lead {
  font-family: var(--f-ser); font-size: 1.05rem; line-height: 1.9;
  color: var(--fg); margin-bottom: 18px;
}
.about-text { font-size: .84rem; color: var(--fg-sub); line-height: 2; margin-bottom: 24px; }
.about-info {
  font-size: .76rem; color: var(--fg-sub); line-height: 2.2;
  border-top: 1px solid var(--border); padding-top: 16px;
}

/* ── 施工事例 ─── */
.works-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.work-card {}
.work-thumb { overflow: hidden; margin-bottom: 14px; }
.work-thumb img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .6s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-tag {
  font-family: var(--f-en); font-style: italic; font-size: .8rem;
  color: var(--acc-2); display: block; margin-bottom: 4px;
}
.work-title {
  font-family: var(--f-ser); font-size: .88rem; color: var(--fg); line-height: 1.6;
}

/* ── お客様の声 ─── */
.voices-list { display: flex; flex-direction: column; gap: 32px; }
.voice-card {
  padding: 28px 36px;
  background: var(--white); border: 1px solid var(--border);
  border-left: 3px solid var(--acc-sea);
}
.voice-text {
  font-family: var(--f-ser); font-size: .95rem; line-height: 1.95;
  color: var(--fg); margin-bottom: 14px;
}
.voice-name { font-size: .76rem; color: var(--fg-sub); }
.voice-type {
  font-family: var(--f-en); font-style: italic; font-size: .78rem;
  color: var(--acc-sea); margin-left: 10px;
}

/* ── リフォーム導線CTA ─── */
.reform-cta {
  margin-top: 56px; padding: 44px 56px;
  background: var(--bg-2); border: 1px solid var(--border);
  text-align: center;
}
.reform-cta-label {
  font-family: var(--f-en); font-style: italic; font-size: .9rem;
  color: var(--acc-2); display: block; margin-bottom: 10px;
}
.reform-cta-title {
  font-family: var(--f-ser); font-size: 1.2rem; font-weight: 600;
  color: var(--fg); margin-bottom: 10px;
}
.reform-cta-desc { font-size: .84rem; color: var(--fg-sub); margin-bottom: 28px; }

/* ── お問い合わせ ─── */
.contact { background: var(--bg-2); }
.contact .container { text-align: center; padding: var(--py) 40px; }
.contact .sec-label { margin-bottom: 8px; }
.contact .sec-title { margin-bottom: 16px; }
.contact-sub { font-size: .85rem; color: var(--fg-sub); margin-bottom: 36px; }
.contact-tel {
  font-size: 1.9rem; color: var(--fg); letter-spacing: .1em;
  display: block; margin-bottom: 8px;
}
.contact-hours { font-size: .73rem; color: var(--fg-sub); margin-bottom: 32px; }
.btn-earth {
  display: inline-block; font-family: var(--f-ser); font-size: .82rem;
  letter-spacing: .1em; color: var(--white); background: var(--accent);
  padding: 14px 48px; transition: opacity var(--tr);
}
.btn-earth:hover { opacity: .88; }

/* ── フッター ─── */
.site-footer { background: var(--fg); padding: 52px 0 28px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.footer-logo {
  font-family: var(--f-ser); font-size: .98rem; font-weight: 600;
  color: rgba(255,248,239,.8); letter-spacing: .1em; margin-bottom: 4px;
}
.footer-address { font-size: .76rem; color: rgba(255,248,239,.4); line-height: 2.1; margin-bottom: 28px; }
.footer-bottom {
  border-top: 1px solid rgba(255,248,239,.1); padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: .69rem; color: rgba(255,248,239,.3); }
.footer-license { font-size: .69rem; color: rgba(255,248,239,.25); }

/* ============================================
   販売中物件 (properties.html / detail) 追加CSS
   案04「クラフト×自然」テイスト
   ============================================ */

/* ── btn-outline（クラフト枠ボタン） ─── */
.btn-outline {
  display: inline-block;
  font-family: var(--f-ser);
  font-size: .8rem; letter-spacing: .12em;
  color: var(--accent); background: transparent;
  border: 1px solid var(--accent); padding: 13px 36px;
  transition: background var(--tr), color var(--tr);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

/* ── ページタイトル帯 ─── */
.page-hero {
  background: var(--bg-2); padding: 80px 0 64px;
  border-bottom: 1px solid var(--border); margin-top: 72px;
}
.page-hero .sec-label { margin-bottom: 10px; }
.page-hero-title {
  font-family: var(--f-ser);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 600;
  letter-spacing: .1em; line-height: 1.45; color: var(--fg); margin: 0 0 16px;
}
.page-hero-sub { font-size: .88rem; color: var(--fg-sub); line-height: 1.95; max-width: 540px; }

/* ── 物件グリッド ─── */
.properties-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px;
}

/* ── 物件カード ─── */
.property-card {
  background: var(--white); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: box-shadow var(--tr);
}
.property-card:hover { box-shadow: 0 8px 28px rgba(47,36,25,.09); }

.property-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
}
.property-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.property-card:hover .property-thumb img { transform: scale(1.03); }

.property-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--white);
  font-size: .72rem; font-weight: 500; letter-spacing: .1em; padding: 5px 12px;
}
.property-badge.ask { background: var(--fg-sub); }
.property-tag-corner {
  position: absolute; top: 14px; right: 14px;
  background: var(--acc-2); color: var(--white);
  font-size: .7rem; font-weight: 500; padding: 4px 10px;
}

.property-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.property-meta-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .74rem; color: var(--fg-sub); margin-bottom: 8px; gap: 8px;
}
.property-type {
  background: var(--bg-2); padding: 3px 8px;
  color: var(--accent); font-weight: 500; flex-shrink: 0;
}
.property-area { letter-spacing: .04em; text-align: right; }

.property-title {
  font-family: var(--f-ser); font-size: 1.1rem; font-weight: 600;
  color: var(--fg); letter-spacing: .06em; margin: 0 0 12px;
}
.property-price {
  font-family: var(--f-ser); font-size: 1.7rem; font-weight: 600;
  color: var(--accent); letter-spacing: .02em; margin-bottom: 14px; line-height: 1.15;
}
.property-price span {
  font-size: .85rem; margin-left: 4px; color: var(--fg-sub);
  font-weight: 400; font-family: var(--f-sans);
}

.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 18px;
}
.property-spec > div { display: flex; flex-direction: column; font-size: .8rem; }
.property-spec dt { color: var(--fg-sub); font-size: .7rem; margin-bottom: 2px; letter-spacing: .06em; }
.property-spec dd { color: var(--fg); margin: 0; font-weight: 500; }

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

/* ── index.html 物件抜粋 ─── */
.properties-pickup { background: var(--bg-2); }
.properties-pickup .properties-grid { grid-template-columns: repeat(2, 1fr); }
.properties-pickup-more { text-align: center; margin-top: 40px; }

/* ── 物件ページ レスポンシブ ─── */
@media (max-width: 960px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .properties-pickup .properties-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .properties-grid { grid-template-columns: 1fr; }
  .properties-pickup .properties-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero-title { font-size: 1.5rem; }
}

/* ── 物件詳細ページ ─── */
.property-detail-hero {
  background: var(--bg-2); padding: 56px 0 48px;
  border-bottom: 1px solid var(--border); margin-top: 72px;
}
.property-breadcrumb { font-size: .76rem; color: var(--fg-sub); letter-spacing: .04em; margin-bottom: 20px; }
.property-breadcrumb a { color: var(--accent); text-decoration: none; }
.property-breadcrumb a:hover { text-decoration: underline; }

.property-detail-head {
  display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start;
}
.property-detail-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.property-detail-meta .badge {
  background: var(--accent); color: var(--white);
  font-size: .74rem; font-weight: 500; letter-spacing: .08em; padding: 5px 12px;
}
.property-detail-meta .badge.tag { background: var(--acc-2); color: var(--white); }
.property-detail-meta .badge.area {
  background: transparent; color: var(--fg-sub);
  border: 1px solid var(--border);
}

.property-detail-title {
  font-family: var(--f-ser);
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600;
  color: var(--fg); letter-spacing: .06em; line-height: 1.45; margin: 0 0 18px;
}
.property-detail-price {
  font-family: var(--f-ser); font-size: 2.4rem; font-weight: 600;
  color: var(--accent); line-height: 1.15; margin: 0 0 6px;
}
.property-detail-price span {
  font-size: .95rem; margin-left: 6px; color: var(--fg-sub);
  font-weight: 400; font-family: var(--f-sans);
}

.property-detail-quick {
  background: var(--white); border: 1px solid var(--border); padding: 22px 24px;
}
.property-detail-quick dl {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; font-size: .86rem;
}
.property-detail-quick dt { color: var(--fg-sub); font-size: .74rem; font-weight: 500; letter-spacing: .04em; }
.property-detail-quick dd { color: var(--fg); margin: 0; font-weight: 500; }

.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: 18px; margin: 32px 0 0; }
.property-interior-grid figure {
  margin: 0; background: var(--white); 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: .8rem; color: var(--fg-sub);
  padding: 10px 0; letter-spacing: .06em; font-family: var(--f-ser);
}

.property-description {
  background: var(--bg-2); padding: 36px; margin: 36px 0 0;
  border: 1px solid var(--border);
}
.property-description h3 {
  font-family: var(--f-ser); font-size: 1.05rem; font-weight: 600;
  color: var(--acc-2); letter-spacing: .1em; margin: 0 0 18px;
}
.property-description p { font-size: .88rem; line-height: 2; color: var(--fg); margin: 0 0 14px; }
.property-description p:last-child { margin-bottom: 0; }

.property-full-spec { border: 1px solid var(--border); margin: 36px 0 0; }
.property-full-spec dl { display: grid; grid-template-columns: 200px 1fr; margin: 0; }
.property-full-spec div { display: contents; }
.property-full-spec dt,
.property-full-spec dd { padding: 13px 20px; border-bottom: 1px solid var(--border); margin: 0; font-size: .86rem; }
.property-full-spec dt { background: var(--bg-2); color: var(--fg-sub); font-weight: 500; letter-spacing: .04em; }
.property-full-spec dd { color: var(--fg); }

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

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

/* ── レスポンシブ ─── */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .svc-card.main { grid-column: span 2; }
  .craft-split { grid-template-columns: 1fr; }
  .craft-photo { min-height: 260px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --py: 60px; }
  .header-nav { display: none; }
  .gallery-grid { grid-template-columns: 1fr; gap: 36px; }
  .reform-cta { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .svc-card.main { grid-column: span 1; }
  .works-grid { grid-template-columns: 1fr; }
  .hero-body { padding: 0 24px 56px; }
}
