/* =============================================
   案01「温もりミニマル」style.css
   竹下建設株式会社 HP サンプル
   カラー: 生成りホワイト × 深墨 × 伊勢湾深緑
   フォント: Noto Serif JP（見出し）/ Noto Sans JP（本文）
   ============================================= */

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

/* ── CSS変数 ─── */
:root {
  --bg:         #f8f5ee;
  --fg:         #1c1a17;
  --fg-sub:     #5c5347;
  --accent:     #2e5e52;
  --accent-sub: #c4a46b;
  --accent-sea: #6a9fb5;
  --line:       #d6cfc4;
  --white:      #ffffff;
  --max-w:      880px;
  --py:         96px;
  --f-serif:    "Noto Serif JP", "游明朝", serif;
  --f-sans:     "Noto Sans JP", sans-serif;
  --tr:         0.3s 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;
  letter-spacing: 0.04em;
}
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 24px; }

/* ── ヘッダー ─── */
.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(--line);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; flex-direction: column; gap: 2px; }
.logo-ja {
  font-family: var(--f-serif); font-size: .95rem; font-weight: 600;
  color: var(--white); letter-spacing: .12em;
  transition: color var(--tr);
}
.site-header.scrolled .logo-ja { color: var(--fg); }
.logo-en {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7); 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; letter-spacing: .08em;
  color: rgba(255,255,255,.85); position: relative; transition: color var(--tr);
}
.site-header.scrolled .header-nav a { color: var(--fg-sub); }
.header-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1px; background: var(--accent-sub); transition: right var(--tr);
}
.header-nav a:hover::after { right: 0; }
.header-tel { font-size: .8rem; color: rgba(255,255,255,.9); transition: color var(--tr); }
.site-header.scrolled .header-tel { color: var(--fg); }

/* ── FV ─── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.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; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(28,26,23,.32); z-index: 1;
}
.hero-body {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px; max-width: 720px;
}
.hero-catch {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600; color: var(--white);
  letter-spacing: .14em; line-height: 1.65;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: .88rem; color: rgba(255,255,255,.82);
  letter-spacing: .05em; line-height: 2; margin-bottom: 40px;
}
.hero-cta {
  display: inline-block; font-family: var(--f-serif);
  font-size: .85rem; letter-spacing: .14em; color: var(--white);
  border-bottom: 1px solid var(--accent-sub); padding-bottom: 4px;
  transition: color var(--tr);
}
.hero-cta:hover { color: var(--accent-sub); }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span {
  font-size: .63rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}
.scroll-line {
  width: 1px; height: 48px; background: rgba(255,255,255,.4);
  animation: ln 1.8s ease-in-out infinite;
}
@keyframes ln {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── セクション共通 ─── */
.section { padding: var(--py) 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-label {
  font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.sec-title {
  font-family: var(--f-serif);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 600; color: var(--fg);
  letter-spacing: .08em; line-height: 1.5; margin-bottom: 48px;
}
.sec-title.center { text-align: center; }

/* ── 業務4軸 ─── */
.service-list {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
}
.service-item {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
}
.service-item:last-child { border-right: none; }
.svc-num {
  font-size: .62rem; letter-spacing: .2em; color: var(--accent);
  display: block; margin-bottom: 14px;
}
.svc-name {
  font-family: var(--f-serif); font-size: .95rem; font-weight: 600;
  color: var(--fg); line-height: 1.5; margin-bottom: 10px;
}
.svc-desc { font-size: .78rem; color: var(--fg-sub); line-height: 1.9; }

/* ── リフォームギャラリー ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 48px 40px;
}
.gallery-pair {
  display: flex; border: 1px solid var(--line); overflow: hidden;
}
.gallery-side { flex: 1; position: relative; overflow: hidden; }
.gallery-divider { width: 1px; background: var(--line); flex-shrink: 0; }
.gallery-side img {
  width: 100%; height: 180px; object-fit: cover; display: block;
}
.g-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--f-serif); font-size: .62rem; letter-spacing: .12em;
  color: var(--fg-sub); background: var(--bg); padding: 2px 8px;
}
.g-badge.after { background: var(--accent); color: var(--white); }
.gallery-caption { padding: 14px 0 0; }
.g-work { font-family: var(--f-serif); font-size: .88rem; color: var(--fg); display: block; margin-bottom: 6px; }
.g-meta { display: flex; gap: 14px; 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-ghost {
  display: inline-block; font-size: .8rem; letter-spacing: .14em;
  color: var(--accent); border: 1px solid var(--accent); padding: 11px 36px;
  transition: background var(--tr), color var(--tr);
}
.btn-ghost: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: 3/2; object-fit: cover; }
.about-lead {
  font-family: var(--f-serif); font-size: 1.05rem; line-height: 1.9;
  color: var(--fg); margin-bottom: 20px;
}
.about-text { font-size: .83rem; color: var(--fg-sub); line-height: 2; margin-bottom: 28px; }
.about-info {
  font-size: .76rem; color: var(--fg-sub); line-height: 2.2;
  border-top: 1px solid var(--line); padding-top: 18px;
}

/* ── 施工事例 ─── */
.works-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.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-size: .67rem; letter-spacing: .12em; color: var(--accent);
  border: 1px solid var(--accent); padding: 2px 10px;
  display: inline-block; margin-bottom: 7px;
}
.work-title { font-family: var(--f-serif); font-size: .9rem; color: var(--fg); line-height: 1.6; }

/* ── お客様の声 ─── */
.voices-list { display: flex; flex-direction: column; gap: 36px; }
.voice-item { padding: 28px 32px; border-left: 2px solid var(--accent-sea); }
.voice-text {
  font-family: var(--f-serif); font-size: .98rem; line-height: 1.9;
  color: var(--fg); margin-bottom: 14px;
}
.voice-name { font-size: .76rem; color: var(--fg-sub); letter-spacing: .08em; }
.voice-type { font-size: .67rem; color: var(--accent); margin-left: 10px; }

/* ── リフォーム導線CTA ─── */
.reform-cta {
  margin-top: 56px; padding: 40px 48px;
  border: 1px solid var(--line);
  background: rgba(46,94,82,.04);
  text-align: center;
}
.reform-cta-label {
  font-size: .7rem; letter-spacing: .2em; color: var(--accent);
  text-transform: uppercase; display: block; margin-bottom: 10px;
}
.reform-cta-title {
  font-family: var(--f-serif); font-size: 1.15rem; color: var(--fg);
  margin-bottom: 8px; line-height: 1.7;
}
.reform-cta-desc { font-size: .82rem; color: var(--fg-sub); margin-bottom: 28px; }

/* ── お問い合わせ ─── */
.contact { background: var(--accent); }
.contact .container { text-align: center; padding: var(--py) 24px; }
.contact .sec-label { color: rgba(255,255,255,.65); }
.contact .sec-title { color: var(--white); margin-bottom: 14px; }
.contact-sub { font-size: .84rem; color: rgba(255,255,255,.78); margin-bottom: 36px; }
.contact-tel { font-size: 1.9rem; color: var(--white); letter-spacing: .1em; display: block; margin-bottom: 8px; }
.contact-hours { font-size: .73rem; color: rgba(255,255,255,.65); margin-bottom: 32px; }
.btn-white {
  display: inline-block; font-size: .82rem; letter-spacing: .14em;
  color: var(--accent); background: var(--white); padding: 14px 48px;
  transition: opacity var(--tr);
}
.btn-white:hover { opacity: .88; }

/* ── フッター ─── */
.site-footer { background: var(--fg); padding: 56px 0 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer-logo {
  font-family: var(--f-serif); font-size: 1rem;
  color: rgba(255,255,255,.85); letter-spacing: .12em; margin-bottom: 4px;
}
.footer-address { font-size: .76rem; color: rgba(255,255,255,.45); line-height: 2.1; margin-bottom: 32px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: .69rem; color: rgba(255,255,255,.32); }
.footer-license { font-size: .69rem; color: rgba(255,255,255,.28); }

/* ── レスポンシブ ─── */
@media (max-width: 768px) {
  :root { --py: 64px; }
  .header-nav { display: none; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .service-item { border-right: none; border-bottom: 1px solid var(--line); }
  .service-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .service-item:nth-last-child(-n+2) { border-bottom: none; }
  .gallery-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .reform-cta { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .service-list { grid-template-columns: 1fr; }
  .service-item { border-right: none; border-bottom: 1px solid var(--line); }
  .service-item:last-child { border-bottom: none; }
  .works-grid { grid-template-columns: 1fr; }
}

/* ============================================
   販売中物件 (properties.html / detail) 追加CSS
   案01「温もりミニマル」テイスト
   ============================================ */

:root { --bg-pale: #eee9dd; }

/* ── btn-outline ─── */
.btn-outline {
  display: inline-block;
  font-size: .8rem; letter-spacing: .14em;
  color: var(--accent); background: transparent;
  border: 1px solid var(--accent); padding: 13px 36px;
  transition: background var(--tr), color var(--tr);
  font-family: var(--f-sans);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

/* ── ページタイトル帯 ─── */
.page-hero {
  background: var(--bg-pale); padding: 80px 0 64px;
  border-bottom: 1px solid var(--line); margin-top: 68px;
}
.page-hero .sec-label { margin-bottom: 14px; }
.page-hero-title {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 600;
  letter-spacing: .1em; 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: 520px; }

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

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

.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(--accent-sub); color: var(--fg);
  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-pale); 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-serif); font-size: 1.1rem; font-weight: 600;
  color: var(--fg); letter-spacing: .06em; margin: 0 0 12px;
}
.property-price {
  font-size: 1.7rem; font-weight: 600; color: var(--accent);
  font-family: var(--f-serif); 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(--line); border-bottom: 1px solid var(--line); 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-pale); }
.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-pale); padding: 56px 0 48px;
  border-bottom: 1px solid var(--line); margin-top: 68px;
}
.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(--accent-sub); color: var(--fg); }
.property-detail-meta .badge.area { background: transparent; color: var(--fg-sub); border: 1px solid var(--line); }

.property-detail-title {
  font-family: var(--f-serif);
  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-serif); 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(--line); 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(--line); }
.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; }

.property-description { background: var(--bg-pale); padding: 36px; margin: 36px 0 0; }
.property-description h3 {
  font-family: var(--f-serif); font-size: 1.1rem; font-weight: 600;
  color: var(--accent); letter-spacing: .08em; margin: 0 0 18px;
}
.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(--line); 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(--line); margin: 0; font-size: .86rem; }
.property-full-spec dt { background: var(--bg-pale); 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; }
}
