/* =========================================================
   合同会社りぼん不動産 — site styles (自作・テンプレ依存なし)
   ========================================================= */

:root{
  --text:    #2b2b2b;
  --muted:   #6b6b6b;
  --bg:      #ffffff;
  --bg-soft: #f6f3ee;   /* 温かみのあるオフホワイト */
  --accent:  #4a7c6f;   /* 落ち着いたグリーン（再生・地域） */
  --accent-d:#3a6358;
  --line:    #e3ddd3;
  --maxw:    1080px;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:'Noto Sans JP', -apple-system, "Hiragino Kaku Gothic ProN",
              "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
  font-weight:300;
  line-height:1.9;
  color:var(--text);
  background:var(--bg);
  -webkit-text-size-adjust:100%;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:var(--accent); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* ---------- ヘッダー / ナビ ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(120%) blur(4px);
}
.brand{
  font-family:'Pacifico', cursive;
  font-size:22px; color:var(--accent-d); line-height:1;
}
.brand:hover{ text-decoration:none; }
.site-nav{ display:flex; gap:6px; flex-wrap:wrap; }
.site-nav a{
  color:var(--text); font-size:14px; padding:6px 10px; border-radius:6px;
  transition:background .2s, color .2s;
}
.site-nav a:hover{ background:var(--accent); color:#fff; text-decoration:none; }

/* ---------- ヒーロー ---------- */
.hero{
  position:relative;
  min-height:78vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:#fff;
  background:linear-gradient(rgba(20,30,26,.38),rgba(20,30,26,.5)),
             url(../images/top.jpg) center/cover no-repeat;
}
.hero-overlay{ padding:0 20px; }
.hero-logo{
  font-family:'Pacifico', cursive;
  font-weight:400; font-size:clamp(34px,7vw,64px);
  margin:0 0 14px; text-shadow:0 2px 16px rgba(0,0,0,.35);
}
.hero-sub{
  font-size:clamp(15px,2.4vw,21px); letter-spacing:.06em; margin:0;
  text-shadow:0 1px 10px rgba(0,0,0,.4);
}

/* ---------- セクション共通 ---------- */
.section{
  max-width:var(--maxw);
  margin:0 auto;
  padding:84px 24px;
  scroll-margin-top:72px;
}
.section-title{
  text-align:center;
  font-size:clamp(22px,3.4vw,28px); font-weight:500;
  margin:0 0 44px; line-height:1.4;
}
.section-title span{
  display:block;
  font-family:'Pacifico', cursive; font-weight:400;
  font-size:14px; color:var(--accent); letter-spacing:.12em;
  margin-top:6px;
}

/* ---------- 私たちについて ---------- */
.about-body{ max-width:760px; margin:0 auto; }
.about-body p{ margin:0 0 22px; }
.about-concept{
  margin-top:34px; padding:24px;
  background:var(--bg-soft); border-left:4px solid var(--accent);
  border-radius:0 8px 8px 0; line-height:2;
}
.about-concept strong{ color:var(--accent-d); font-weight:700; }

/* ---------- サービス ---------- */
.service{ }
.cards{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:30px;
}
.card{
  background:#fff; border:1px solid var(--line); border-radius:12px;
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .25s, box-shadow .25s;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 12px 28px rgba(0,0,0,.08); }
.card-img{ aspect-ratio:4/3; overflow:hidden; }
.card-img img{ width:100%; height:100%; object-fit:cover; }
.card h3{
  font-size:18px; font-weight:500; margin:20px 22px 10px; color:var(--accent-d);
}
.card p{ margin:0 22px 24px; font-size:14px; color:var(--muted); line-height:1.85; }

/* ---------- ブログ ---------- */
.blog[hidden]{ display:none; }
.blog-lead{ text-align:center; color:var(--muted); margin:-28px 0 40px; font-size:15px; }
.blog-card a{ display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; }
.blog-card a:hover{ text-decoration:none; }
.blog-card h3{ line-height:1.55; }
.blog-card p{ margin-top:auto; }
.blog-more{ text-align:center; margin-top:40px; }
.btn{
  display:inline-block; padding:12px 34px; border-radius:999px;
  background:var(--accent); color:#fff; font-size:14px;
  transition:background .2s, transform .2s;
}
.btn:hover{ background:var(--accent-d); color:#fff; text-decoration:none; transform:translateY(-2px); }

/* ---------- 会社概要 ---------- */
.profile-body{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start;
}
.profile-dl{ margin:0; display:grid; grid-template-columns:max-content 1fr; row-gap:14px; column-gap:20px; }
.profile-dl dt{ color:var(--muted); font-size:14px; }
.profile-dl dd{ margin:0; }
.profile-map{
  position:relative; width:100%; padding-bottom:75%;
  border-radius:12px; overflow:hidden; border:1px solid var(--line);
}
.profile-map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------- フッター ---------- */
.site-footer{
  background:var(--accent-d); color:#fff; text-align:center;
  padding:46px 20px;
}
.footer-brand{ font-family:'Pacifico', cursive; font-size:20px; margin:0 0 10px; }
.footer-copy{ margin:0; font-size:12px; opacity:.85; }

/* ---------- レスポンシブ ---------- */
@media (max-width:860px){
  .cards{ grid-template-columns:1fr; max-width:420px; margin:0 auto; }
  .profile-body{ grid-template-columns:1fr; gap:32px; }
}
@media (max-width:560px){
  .site-header{ flex-direction:column; gap:8px; padding:12px 16px; }
  .site-nav a{ padding:5px 8px; font-size:13px; }
  .hero{ min-height:70vh; }
  .section{ padding:60px 20px; }
}
