:root{
  --brand:#0b5dc5;
  --brand-ink:#0a2a55;
  --ink:#0f172a;
  --muted:#64748b;
  --bg:#f1f5f9;
  --panel:#ffffff;
  --accent:#16a34a;
  --radius:14px;
  --shadow:0 10px 30px rgba(2,6,23,.08);
}

*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family:"Noto Sans JP", system-ui, -apple-system, Segoe UI, sans-serif;
  color:var(--ink); background:#fff; line-height:1.7; letter-spacing:.02em;
}

/* Layout */
.container{ width:min(1200px,100%); margin:0 auto; padding:0 20px; }
.nowrap{ white-space:nowrap; }

/* Header */
.site-header{
  position:sticky; top:0; z-index:20; background:#fff;
  border-bottom:1px solid rgba(2,6,23,.06);
  backdrop-filter:saturate(140%) blur(4px);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; }
.brand img{ width:200px; }
.brand-link{ text-decoration:none; }
.brand-mark{ display:inline-block; font-weight:800; color:var(--brand-ink); letter-spacing:.04em; }
.nav a{ margin-left:18px; text-decoration:none; color:var(--ink); font-weight:600; font-size:14px; }
.nav .btn{ margin-left:12px; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 20px; border-radius:999px; text-decoration:none; font-weight:700;
  border:2px solid transparent; box-shadow:var(--shadow);
}
.btn--primary{ background:linear-gradient(180deg, var(--brand) 0%, #0a4aa1 100%); color:#fff !important; }
.btn--ghost{ background:#fff; color:var(--brand-ink); border-color:rgba(2,6,23,.12); }
.btn--xl{ padding:14px 26px; font-size:16px; }
.btn--sm{ padding:8px 14px; font-size:13px; }

/* Hero（右カラム廃止→単一カラム中央配置に統一） */
.hero{
  position:relative;
  background:radial-gradient(1200px 600px at 10% 10%, #e8f1ff 0%, #ffffff 60%);
  overflow:hidden; padding:2em 0;
}
.hero-inner{ display:flex; justify-content:center; padding:56px 0 28px; }
.hero-copy{ max-width:760px; margin:0 auto; text-align:center; }
.eyebrow{
  display:inline-block; font-weight:700; color:var(--brand);
  background:#eaf2ff; padding:6px 10px; border-radius:999px; font-size:12px;
}
.hero h1{ margin:10px 0 14px; font-size:clamp(26px, 4.6vw, 44px); line-height:1.25; }
.hero .em{ color:var(--brand-ink); text-decoration:underline 6px #dbeafe; text-underline-offset:4px; }
.lead{ color:var(--muted); font-size:15.5px; }
.hero-ctas{ display:flex; gap:12px; margin:18px 0 10px; flex-wrap:wrap; justify-content:center; }
.trust-points{
  display:flex; gap:14px; padding:0; margin:10px 0 0; list-style:none;
  color:#0a3a75; font-weight:700; font-size:13px; flex-wrap:wrap; justify-content:center;
}

/* Sections */
.section{ padding:64px 0; scroll-margin-top:84px; }
.section--alt{ background:var(--bg); }
.section--tight{ padding:40px 0; }
.section-title{ font-size:clamp(22px, 4vw, 32px); margin:0 0 24px; text-align:center; }

/* Grid & Cards */
.grid{ display:grid; gap:18px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.card{
  background:#fff; border:1px solid rgba(2,6,23,.06); border-radius:var(--radius);
  padding:18px; box-shadow:var(--shadow);
}
.card h3{ margin-top:0; font-size:18px; }
.card p{ color:var(--muted); }

/* Case */
.case{
  background:#fff; border:1px solid rgba(2,6,23,.06); border-radius:var(--radius);
  padding:18px; box-shadow:var(--shadow);
}
.case header h3{ margin:0 0 4px; font-size:17px; }
.case .meta{ color:var(--muted); font-size:13px; margin:0 0 8px; }
.bullets{ padding-left:18px; margin:0 0 6px; }
.small{ font-size:12px; }
.muted{ color:var(--muted); }

/* Split layout */
.split{ display:grid; grid-template-columns:1.1fr .9fr; gap:26px; align-items:start; }

/* Checklist / Number list */
.checklist{ list-style:none; padding:0; margin:0 0 10px; }
.checklist li{ padding-left:28px; position:relative; margin:10px 0; font-weight:600; }
.checklist li::before{
  content:"✓"; position:absolute; left:0; top:0; color:var(--accent);
  background:#eaf7ef; border-radius:50%; width:20px; height:20px;
  display:grid; place-items:center; font-size:12px; font-weight:900;
}
.number-list{ counter-reset:num; padding-left:0; margin:0; list-style:none; }
.number-list li{ counter-increment:num; padding-left:34px; margin:10px 0; position:relative; }
.number-list li::before{ content:counter(num) "."; position:absolute; left:0; top:0; font-weight:800; color:var(--brand); }

/* Replaced block: 安心できる理由 */
.reason{
  display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:28px;
}
.reason-item{
  display:flex; align-items:flex-start; gap:14px; background:#fff;
  border:1px solid rgba(2,6,23,.06); border-radius:12px; padding:18px; box-shadow:var(--shadow);
}
.reason-icon{
  flex:0 0 28px; height:28px; border-radius:50%;
  display:grid; place-items:center; font-weight:900; color:#fff; background:var(--accent);
}
.reason-body h3{ margin:0 0 6px; font-size:1.08rem; color:var(--brand-ink); font-weight:800; }
.reason-body p{ margin:0; color:var(--ink); }

/* Steps（使っていなければ削除可） */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.step{
  background:#fff; border:1px solid rgba(2,6,23,.06); border-radius:var(--radius);
  padding:18px; box-shadow:var(--shadow);
}
.step-no{
  display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%;
  background:#eaf2ff; color:var(--brand); font-weight:800; margin-bottom:6px;
}

/* Form */
.form{
  background:#fff; border:1px solid rgba(2,6,23,.06);
  border-radius:var(--radius); padding:20px; box-shadow:var(--shadow);
}
.form-row{ margin-bottom:14px; }
.form-row label{ display:block; font-weight:700; margin-bottom:6px; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="datetime-local"],
.form-row select,
.form-row textarea{
  width:100%; padding:12px; border-radius:10px; border:1px solid rgba(2,6,23,.15);
  font:inherit; background:#fff;
}
.form-row .choices{ display:flex; gap:16px; }
.checkbox{ display:flex; gap:10px; align-items:center; cursor:pointer; }
.req{
  background:#fde68a; color:#7a5200; font-size:11px; padding:2px 6px; border-radius:999px; margin-left:6px;
}
.form-actions{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }

/* Contact card */
.contact-card{
  background:#0b2240; color:#e5eeff; border-radius:var(--radius);
  padding:20px; box-shadow:var(--shadow);
}
.contact-card h3{ margin-top:0; color:#fff; }
.contact-card .tel{ display:inline-block; margin:6px 0; font-weight:800; font-size:20px; color:#fff; text-decoration:none; }
.contact-card .hours{ color:#bcd0ff; margin-top:0; }
.contact-card hr{ border:0; border-top:1px solid rgba(255,255,255,.2); margin:12px 0; }
.contact-card h4{ margin:8px 0 6px; }

/* FAQ */
.faq{
  background:#fff; border:1px solid rgba(2,6,23,.06);
  border-radius:var(--radius); padding:14px 16px; box-shadow:var(--shadow);
  margin:10px 0;
}
.faq summary{ cursor:pointer; font-weight:700; }
.faq p{ margin:8px 0 0; color:var(--muted); }

/* Footer */
.site-footer{ border-top:1px solid rgba(2,6,23,.06); padding:22px 0; background:#fff; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brand-foot{ color:var(--muted); font-size:13px; margin:0; }
.foot-nav a{ color:var(--muted); text-decoration:none; margin-left:14px; font-size:13px; }

/* Responsive helpers */
.responsive-img{ display:block; max-width:100%; height:auto; }

/* =========================== ワンルーム投資 =========================== */
#one-room .section-title{ margin-bottom:.5rem; }
#one-room .section__lead{ color:var(--muted); max-width:900px; } /* ここは既存HTMLがsection__leadなら活かす */

.benefit-grid{
  display:grid; grid-template-columns:repeat(5,1fr); gap:20px; margin-top:28px;
}
@media (max-width:1024px){ .benefit-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .benefit-grid{ grid-template-columns:1fr; } }

.benefit-card{
  background:var(--panel,#fff); border-radius:var(--radius,14px);
  box-shadow:var(--shadow, 0 8px 24px rgba(2,6,23,.08));
  padding:20px; transition:transform .2s ease, box-shadow .2s ease;
}
.benefit-card:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(2,6,23,.12); }
.benefit-card h3{ font-size:1.05rem; margin:10px 0 8px; }
.benefit-card p{ color:var(--muted,#64748b); margin:0; }

.benefit-icon{
  width:44px; height:44px; display:grid; place-items:center;
  border-radius:12px; background:linear-gradient(135deg,#0ea5e9,#10b981); color:#fff;
}
.benefit-icon svg{ width:26px; height:26px; }

.summary-callout{
  margin-top:32px; padding:22px; background:linear-gradient(180deg,#f0fdfa,#ecfeff);
  border:1px solid rgba(14,165,233,.18); border-radius:var(--radius,14px);
}
.summary-callout h4{ margin:0 0 10px; font-size:1.1rem; }
.summary-callout .checklist{ display:grid; gap:8px; margin:0 0 10px 0; padding:0; list-style:none; }
.summary-callout .checklist li{ position:relative; padding-left:28px; line-height:1.6; }
.summary-callout .checklist li::before{
  content:""; position:absolute; left:0; top:.3em; width:18px; height:18px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%, #10b981 0 40%, #0ea5e9 41% 100%);
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox=\'0 0 24 24\'><path fill=\'%23fff\' d=\'M9 16.2l-3.5-3.5L4 14.2 9 19l11-11-1.5-1.5z\'/></svg>') center / contain no-repeat;
          mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox=\'0 0 24 24\'><path fill=\'%23fff\' d=\'M9 16.2l-3.5-3.5L4 14.2 9 19l11-11-1.5-1.5z\'/></svg>') center / contain no-repeat;
  background-color:#10b981;
}
.summary-callout .summary-note{ color:#0f172a; font-weight:600; margin:0; }

/* =========================== プロフィール枠 =========================== */
.profile-card{
  display:flex; align-items:flex-start; gap:24px; background:#fff;
  border-radius:var(--radius,14px); box-shadow:var(--shadow, 0 8px 24px rgba(2,6,23,.08));
  padding:24px; margin-top:20px;
}
.profile-photo img{
  max-width:180px; width:100%; height:auto; border-radius:50%;
  object-fit:cover; box-shadow:0 4px 12px rgba(0,0,0,.1);
}
.profile-text{ flex:1; }
.profile-name{ font-size:1.3rem; margin:0 0 8px; }
.profile-role{ font-size:.9rem; color:var(--muted,#64748b); }
.profile-lead{ font-weight:600; margin:0 0 10px; color:#0f172a; }
@media (max-width:768px){
  .profile-card{ flex-direction:column; text-align:center; }
  .profile-photo img{ max-width:140px; margin:0 auto 16px; }
  .profile-text{ text-align:left; }
}

/* =========================== 勤務医の不安（Troubles） =========================== */
#troubles .section-title{ margin-bottom:1.5rem; text-align:center; } /* ← クラス統一 */

.trouble-box{
  background:#fef2f2; border-left:6px solid #ef4444;
  border-radius:8px; padding:16px 20px; margin-bottom:24px;
}
.trouble-quote{ font-size:1.1rem; font-style:italic; color:#b91c1c; margin:0 0 8px; }

.trouble-story p{ margin-bottom:16px; line-height:1.8; }
.trouble-story .highlight{ background:linear-gradient(transparent 60%, #fef08a 60%); font-weight:600; }

.trouble-callout{
  margin-top:24px; padding:20px; text-align:center;
  background:linear-gradient(90deg,#e0f2fe,#f0f9ff); border-radius:12px;
}
.trouble-callout strong{ color:#0c4a6e; font-size:1.15rem; }

/* 日程の土日限定バッジ/エラー */
.badge-weekend{
  display:inline-block; margin-left:.5em; padding:.15em .5em; font-size:.8em; font-weight:700; line-height:1;
  color:#065f46; background:#d1fae5; border:1px solid #34d399; border-radius:999px;
}
.field-help{ margin:.4rem 0 0; font-size:.9rem; color:#64748b; }
.field-error{ margin:.3rem 0 0; font-size:.95rem; font-weight:600; color:#b91c1c; }

/* Responsive */
@media (max-width:1024px){
  .split{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px){
  .reason{ grid-template-columns:1fr; }
}
@media (max-width:720px){
  .grid-3{ grid-template-columns:1fr; }
  .nav{ display:none; } /* 必要に応じてモバイルナビ実装 */
  .section{ padding:52px 0; }
  .hero-inner{ padding:40px 0 14px; }
  .trust-points{ font-size:12px; }
}

/* ===== Hero 背景画像（医師×不動産投資LP用） ===== */
.hero {
  position: relative;
  background: 
    linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0.2)),
    url("https://linx-osaka.co.jp/lp/wp-content/uploads/2025/10/DRアイキャッチ.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 3.5em 0;
}

@media (max-width: 768px) {
  .hero {
    background-position: center top;
    background-attachment: scroll;
    padding: 2.5em 0;
  }
}
/* ===== Hero 見出し＆リード文の白フチ効果 ===== */
.hero h1,
.hero .lead {
  text-shadow:
    0 0 10px rgba(255,255,255,0.9)
}

/* ===== Hero 背景画像（PC・SP切替対応） ===== */
.hero {
  position: relative;
  background:
    linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0.2)),
    url("https://linx-osaka.co.jp/lp/wp-content/uploads/2025/10/DRアイキャッチ.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 3.5em 0;
}

/* ===== 780px以下：スマホ版画像に切り替え ===== */
@media (max-width: 780px) {
  .hero {
    background:
      linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0.2)),
      url("https://linx-osaka.co.jp/lp/wp-content/uploads/2025/10/DRアイキャッチ_780-1.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 2.5em 0;
  }
}
/* =========================== 勤務医の不安セクション（改） =========================== */
.trouble-box {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #f1f5f9;
  border-left: 6px solid #0ea5e9;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

.trouble-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.trouble-img {
  max-width: 160px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}
.trouble-text {
  flex: 1;
}

.trouble-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: #e2e8f0;
  margin: 0 0 8px;
  position: relative;
  padding-left: 1.2em;
}
.trouble-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: 0;
  color: #93c5fd;
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .trouble-inner {
    flex-direction: column;
    text-align: center;
  }
  .trouble-img {
    max-width: 200px;
    margin-bottom: 16px;
  }
}
#community .section-title {
  color: var(--brand-ink);
  text-align: center;
}
#community .section__lead {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 32px;
  color: var(--muted);
}
#community {
  background: linear-gradient(180deg, #e8f1ff 0%, #f9fbff 100%);
}



/* 会社概要 */
.company {
  padding-block: clamp(48px, 6vw, 88px);
}
.company__card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.company__brand {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.company__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.company__name {
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: .02em;
}
.company__list {
  display: grid;
  gap: 12px;
  margin: 0;
}
.company__row {
  display: grid;
  grid-template-columns: minmax(96px, 180px) 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.company__row:first-child { border-top: none; }
.company__row dt { font-weight: 600; color: #333; }
.company__row dd { margin: 0; color: #222; line-height: 1.8; }

@media (max-width: 768px) {
  .company__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }
  .company__brand {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }
  .company__logo { width: 48px; height: 48px; }
}

/* 会社写真（任意） */
.company__photo {
  margin-top: 32px;
  text-align: center;
}
.company__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ========== Access Section ========== */
.access-section { padding: clamp(32px, 4vw, 56px) 0; }

/* 2カラム: 左=地図 / 右=情報カード */
.map-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 960px) {
  .map-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

/* タブ */
.map-tabs {
  display: inline-flex; border: 1px solid #e5e7eb; border-radius: 999px; padding: 4px;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 10px rgba(0,0,0,.04);
  margin-bottom: 12px;
}
.map-tab {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.map-tab.is-active { background: #0ea5e9; color: #fff; }

/* 地図埋め込み */
.map-embed {
  position: relative; width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.map-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none;
}
.map-frame.is-active { display: block; }
.map-note { font-size: 12px; color: #6b7280; margin-top: 8px; }

/* 情報カード */
.map-cards { display: grid; gap: 16px; }
.addr-card {
  background: #fff; border: 1px solid #eef2f7; border-radius: 16px;
  padding: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.addr-card h3 { margin: 0 0 8px; font-size: 18px; }
.addr-card p { margin: 6px 0; line-height: 1.7; }
.addr-card a { color: #0ea5e9; text-underline-offset: 3px; }
.addr-card.is-hidden { display: none; }

/* ルートボタン */
.btn-route {
  display: inline-block; margin-top: 10px; font-weight: 700;
  padding: 10px 14px; border-radius: 12px; border: 1px solid #0ea5e9;
}
.btn-route:hover { background: #0ea5e9; color: #fff; }

/* ダーク背景用（必要なら） */
:where(.dark) .addr-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
:where(.dark) .map-tabs { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }


/* =========================== 実績メトリクス（画像統一型） =========================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}

.metric {
  background: #fff;
  padding: 32px 20px;
  border:3px solid #666;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.1);
}

.metric-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 14px;
}

.metric-value {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--brand-ink);
  line-height: 1.1;
}
.metric-value span {
  font-size: 0.6em;
  font-weight: 600;
  margin-left: 4px;
  color: var(--muted);
}
.metric-label {
  margin-top: 6px;
  font-weight: 600;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 768px) {
  .metrics {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .metric {
    padding: 26px 18px;
  }
}
.metric-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* FAQ summary 背景色変更 */
.faq summary {
  background: #e3e3e3;          /* ←お好みの色に変更可 */
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--brand-ink);
  transition: background 0.2s ease;
}

.faq summary:hover {
  background: #d2d2d2;          /* ホバー時に少し濃く */
}

/* 開いているときの状態 */
.faq[open] summary {
  background: #d2d2d2;
}
