/* =============================================
   案02「地域密着ナチュラル」style.css
   竹下建設株式会社 HP サンプル
   カラー: テラコッタオレンジ × ウォームベージュ
   フォント: Noto Sans JP / M PLUS 1p / Crimson Text
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=M+PLUS+1p:wght@400;700&family=Crimson+Text:ital@0;1&display=swap');

/* ── CSS変数 ─── */
:root {
  --bg:        #ffffff;
  --bg-warm:   #faf6f0;
  --fg:        #2d2520;
  --fg-sub:    #7a6b5e;
  --accent:    #c9703a;
  --accent-s:  #e8d5b0;
  --border:    #e8dfd5;
  --white:     #ffffff;
  --max-w:     1200px;
  --py:        80px;
  --radius:    4px;
  --f-main:    "Noto Sans JP", "M PLUS 1p", sans-serif;
  --f-en:      "Crimson Text", Georgia, serif;
  --tr:        0.25s 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.75;
}
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: rgba(255,255,255,.95);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; gap: 1px; }
.logo-ja {
  font-size: 1.05rem; font-weight: 700; color: var(--fg);
  letter-spacing: .06em;
}
.logo-en {
  font-family: var(--f-en); font-size: .78rem; font-style: italic;
  color: var(--fg-sub);
}
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a {
  font-size: .82rem; font-weight: 500; color: var(--fg-sub);
  padding: 4px 0; position: relative; transition: color var(--tr);
}
.header-nav a:hover { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-tel {
  font-size: 1.1rem; font-weight: 700; color: var(--fg); letter-spacing: .04em;
}
.header-tel small { font-size: .7rem; font-weight: 400; color: var(--fg-sub); display: block; }
.btn-accent {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: .8rem; font-weight: 700; padding: 10px 20px;
  border-radius: var(--radius); transition: opacity var(--tr);
}
.btn-accent:hover { opacity: .85; }

/* ── FV ─── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 0 0 80px 0;
}
.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(135deg, rgba(45,37,32,.55) 0%, rgba(45,37,32,.2) 60%, rgba(45,37,32,.5) 100%);
  z-index: 1;
}
.hero-body {
  position: relative; z-index: 2;
  background: rgba(201,112,58,.9);
  padding: 40px 48px; max-width: 560px;
  margin: 0 64px;
}
.hero-catch {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700; color: var(--white);
  letter-spacing: .06em; line-height: 1.5; margin-bottom: 16px;
}
.hero-sub {
  font-size: .88rem; color: rgba(255,255,255,.88);
  line-height: 1.85; margin-bottom: 28px;
}
.hero-cta {
  display: inline-block; background: var(--white); color: var(--accent);
  font-size: .85rem; font-weight: 700; padding: 14px 32px;
  border-radius: var(--radius); transition: opacity var(--tr);
}
.hero-cta:hover { opacity: .88; }

/* ── セクション共通 ─── */
.section { padding: var(--py) 0; }
.section.bg-warm { background: var(--bg-warm); }
.sec-en {
  font-family: var(--f-en); font-size: 1rem; font-style: italic;
  color: var(--accent); display: block; margin-bottom: 4px;
}
.sec-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700; color: var(--fg); letter-spacing: .04em;
  margin-bottom: 40px; padding-bottom: 16px;
  border-bottom: 3px solid var(--accent-s);
  display: inline-block;
}
.sec-title.center { display: block; text-align: center; }

/* ── 業務4軸 ─── */
.service-cards {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.svc-card {
  padding: 28px 24px;
  border-top: 4px solid var(--accent);
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border-radius: 0 0 var(--radius) var(--radius);
}
.svc-icon {
  width: 40px; height: 40px;
  background: var(--accent-s);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.1rem;
}
.svc-name {
  font-size: 1rem; font-weight: 700; color: var(--fg);
  margin-bottom: 10px;
}
.svc-desc { font-size: .8rem; color: var(--fg-sub); line-height: 1.8; }

/* ── リフォームギャラリー ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 40px;
}
.gallery-card {}
.gallery-pair {
  display: flex; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-side { flex: 1; position: relative; overflow: hidden; }
.gallery-divider { width: 2px; background: var(--accent); flex-shrink: 0; }
.gallery-side img {
  width: 100%; height: 190px; object-fit: cover; display: block;
}
.g-badge {
  position: absolute; top: 8px; left: 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 2px;
  background: var(--fg-sub); color: var(--white);
}
.g-badge.after { background: var(--accent); }
.gallery-caption { padding: 16px 0 0; }
.g-work { font-size: .92rem; font-weight: 700; color: var(--fg); display: block; margin-bottom: 8px; }
.g-meta { display: flex; gap: 0; flex-wrap: wrap; }
.g-meta span {
  font-size: .73rem; color: var(--fg-sub);
  padding: 3px 10px; background: var(--bg-warm);
  border-radius: 2px; margin: 0 6px 4px 0;
}
.gallery-more { text-align: center; margin-top: 40px; }
.btn-outline {
  display: inline-block; font-size: .82rem; font-weight: 700;
  color: var(--accent); border: 2px solid var(--accent);
  padding: 12px 36px; border-radius: var(--radius);
  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: 60px; align-items: center;
}
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.about-photo-caption {
  position: absolute; bottom: 16px; right: 16px;
  background: var(--accent); color: var(--white);
  font-size: .7rem; padding: 6px 12px;
}
.about-lead { font-size: 1.1rem; font-weight: 700; color: var(--fg); margin-bottom: 16px; line-height: 1.7; }
.about-text { font-size: .85rem; color: var(--fg-sub); line-height: 1.9; margin-bottom: 24px; }
.about-table { width: 100%; font-size: .8rem; border-collapse: collapse; }
.about-table tr { border-bottom: 1px solid var(--border); }
.about-table th {
  text-align: left; padding: 8px 12px 8px 0;
  color: var(--accent); font-weight: 700; white-space: nowrap; width: 7em;
}
.about-table td { padding: 8px 0; color: var(--fg-sub); }

/* ── 施工事例 ─── */
.works-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.work-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.work-thumb { overflow: hidden; }
.work-thumb img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .5s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-body { padding: 16px; }
.work-tags { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.work-tag {
  font-size: .67rem; font-weight: 700; color: var(--accent);
  background: rgba(201,112,58,.1); padding: 2px 8px; border-radius: 2px;
}
.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: 28px; margin-bottom: 0; }
.voice-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px;
  position: relative;
}
.voice-card::before {
  content: '\201C';
  font-family: var(--f-en); font-size: 4rem; color: var(--accent-s);
  position: absolute; top: 8px; left: 16px; line-height: 1;
}
.voice-text {
  font-size: .85rem; line-height: 1.9; color: var(--fg);
  margin-bottom: 16px; padding-top: 24px;
}
.voice-name { font-size: .8rem; font-weight: 700; color: var(--fg-sub); }
.voice-type {
  font-size: .68rem; color: var(--white); background: var(--accent);
  padding: 2px 8px; border-radius: 2px; margin-left: 8px;
}

/* ── リフォーム導線CTA ─── */
.reform-cta {
  background: var(--accent); padding: 36px 48px;
  border-radius: var(--radius); text-align: center;
  margin-top: 48px;
}
.reform-cta-label {
  font-family: var(--f-en); font-style: italic; font-size: .9rem;
  color: rgba(255,255,255,.75); display: block; margin-bottom: 8px;
}
.reform-cta-title {
  font-size: 1.2rem; font-weight: 700; color: var(--white);
  margin-bottom: 8px;
}
.reform-cta-desc { font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.btn-white {
  display: inline-block; background: var(--white); color: var(--accent);
  font-size: .85rem; font-weight: 700; padding: 14px 40px;
  border-radius: var(--radius); transition: opacity var(--tr);
}
.btn-white:hover { opacity: .9; }

/* ── お問い合わせCTA（全幅バナー） ─── */
.cta-banner {
  background: var(--fg); padding: 56px 0;
  text-align: center;
}
.cta-banner .sec-en { color: var(--accent); }
.cta-banner .sec-title { color: var(--white); border-bottom-color: rgba(255,255,255,.2); }
.cta-tel {
  font-size: 2.2rem; font-weight: 700; color: var(--white);
  letter-spacing: .08em; display: block; margin: 0 0 8px;
}
.cta-hours { font-size: .75rem; color: rgba(255,255,255,.55); margin-bottom: 32px; }

/* ── フッター ─── */
.site-footer { background: var(--bg-warm); border-top: 2px solid var(--accent-s); padding: 48px 0 28px; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 32px;
}
.footer-logo { font-size: 1.1rem; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.footer-address { font-size: .78rem; color: var(--fg-sub); line-height: 2; }
.footer-nav ul { list-style: none; }
.footer-nav ul li a { font-size: .82rem; color: var(--fg-sub); display: block; padding: 3px 0; }
.footer-nav ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 20px 32px 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: .71rem; color: var(--fg-sub); }
.footer-license { font-size: .71rem; color: var(--fg-sub); }

/* ── レスポンシブ ─── */
@media (max-width: 960px) {
  .service-cards { grid-template-columns: repeat(2,1fr); }
  .works-grid { grid-template-columns: repeat(2,1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --py: 56px; }
  .header-nav { display: none; }
  .hero-body { margin: 0 16px; padding: 28px 24px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 32px; }
  .voices-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .reform-cta { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .service-cards { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; padding-bottom: 40px; }
  .hero-body { margin: 0 16px; }
}

/* ============================================
   販売中物件 (properties.html / detail) 追加CSS
   案02「地域密着ナチュラル」テイスト
   テラコッタオレンジ × ウォームベージュ
   ============================================ */

/* ── btn-solid（物件ページ専用アクセント） ─── */
.btn-solid {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  color: var(--white); background: var(--accent);
  border: 2px solid var(--accent); padding: 13px 36px;
  border-radius: var(--radius);
  transition: opacity var(--tr);
}
.btn-solid:hover { opacity: .85; }

/* ── ページタイトル帯 ─── */
.page-hero {
  background: var(--bg-warm); padding: 80px 0 64px;
  border-bottom: 2px solid var(--accent-s); margin-top: 72px;
}
.page-hero .sec-en { margin-bottom: 10px; }
.page-hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700;
  letter-spacing: .06em; line-height: 1.4; color: var(--fg); margin: 0 0 16px;
}
.page-hero-sub { font-size: .88rem; color: var(--fg-sub); line-height: 1.85; max-width: 560px; }

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

/* ── 物件カード ─── */
.property-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--tr), transform var(--tr);
}
.property-card:hover {
  box-shadow: 0 8px 28px rgba(45,37,32,.1);
  transform: translateY(-2px);
}

.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.04); }

.property-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 12px; border-radius: var(--radius);
}
.property-badge.ask { background: var(--fg-sub); }
.property-tag-corner {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent-s); color: var(--fg);
  font-size: .7rem; font-weight: 700; padding: 4px 10px;
  border-radius: var(--radius);
}

.property-body { padding: 20px 20px 24px; 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: rgba(201,112,58,.1); padding: 3px 9px;
  color: var(--accent); font-weight: 700; border-radius: 2px; flex-shrink: 0;
}
.property-area { letter-spacing: .04em; text-align: right; }

.property-title {
  font-size: 1.08rem; font-weight: 700;
  color: var(--fg); letter-spacing: .04em; margin: 0 0 10px;
}
.property-price {
  font-family: var(--f-en); font-size: 1.8rem; font-weight: 400;
  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-main);
}

.property-spec {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px;
  padding: 12px 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: .8rem; }
.property-spec dt { color: var(--fg-sub); font-size: .7rem; margin-bottom: 2px; letter-spacing: .04em; }
.property-spec dd { color: var(--fg); margin: 0; font-weight: 700; }

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

/* ── index.html 物件抜粋 ─── */
.properties-pickup { background: var(--bg-warm); }
.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-warm); padding: 56px 0 48px;
  border-bottom: 2px solid var(--accent-s); 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: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.property-detail-meta .badge {
  background: var(--accent); color: var(--white);
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  padding: 5px 12px; border-radius: var(--radius);
}
.property-detail-meta .badge.tag { background: var(--accent-s); color: var(--fg); }
.property-detail-meta .badge.area {
  background: transparent; color: var(--fg-sub);
  border: 1px solid var(--border);
}

.property-detail-title {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700;
  color: var(--fg); letter-spacing: .04em; line-height: 1.45; margin: 0 0 16px;
}
.property-detail-price {
  font-family: var(--f-en); font-size: 2.6rem; font-weight: 400;
  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-main);
}

.property-detail-quick {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  border-top: 3px solid var(--accent);
}
.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: 700; }

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

.property-interior-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0 0;
}
.property-interior-grid figure {
  margin: 0; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.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: .04em;
}

.property-description {
  background: var(--bg-warm); padding: 32px 36px; margin: 36px 0 0;
  border-radius: var(--radius); border-left: 4px solid var(--accent);
}
.property-description h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--accent); letter-spacing: .06em; margin: 0 0 16px;
}
.property-description p { font-size: .9rem; line-height: 1.95; color: var(--fg); margin: 0 0 14px; }
.property-description p:last-child { margin-bottom: 0; }

.property-full-spec { border: 1px solid var(--border); border-radius: var(--radius); margin: 36px 0 0; overflow: hidden; }
.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: 12px 20px; border-bottom: 1px solid var(--border); margin: 0; font-size: .86rem; }
.property-full-spec dt { background: var(--bg-warm); color: var(--fg-sub); font-weight: 700; letter-spacing: .04em; }
.property-full-spec dd { color: var(--fg); }

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

/* ── お問い合わせCTA（物件ページ用） ─── */
.property-contact {
  background: var(--fg); padding: 56px 0; text-align: center;
}
.property-contact .sec-en { color: var(--accent-s); }
.property-contact .sec-title { color: var(--white); border-bottom-color: rgba(255,255,255,.2); }
.property-contact-tel {
  font-family: var(--f-en); font-size: 2.4rem; color: var(--white);
  letter-spacing: .08em; display: block; margin: 0 0 8px;
}
.property-contact-hours { font-size: .75rem; color: rgba(255,255,255,.55); margin-bottom: 32px; }

@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: 100px 1fr; }
  .property-full-spec dt, .property-full-spec dd { padding: 11px 14px; font-size: .82rem; }
  .property-description { padding: 24px 20px; }
  .property-detail-hero { padding: 40px 0 36px; }
}
