/*
Theme Name: ReRoom Corporate V2
Theme URI: https://example.com/
Author: ReRoom LLC
Description: 合同会社リルーム向けの写真入り1ページ完結型コーポレートサイトテーマです。
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: rerroom-corporate-v2
*/

:root {
  --bg: #f5f7fa;
  --text: #18202b;
  --muted: #637081;
  --line: #e4e8ef;
  --card: #ffffff;
  --dark: #0f1724;
  --accent: #1d5fa7;
  --accent-dark: #123a66;
  --soft: #edf4fb;
  --shadow: 0 18px 44px rgba(15,23,36,0.08);
}
* { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display:block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top:0; z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner {
  min-height: 78px; display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.brand {
  display:flex; align-items:center; gap:14px; font-weight:800; font-size:22px;
}
.brand-mark {
  width:44px; height:44px; border-radius:14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900;
  box-shadow: 0 12px 28px rgba(29,95,167,.32);
}
.brand-text small { display:block; font-size:11px; color:var(--muted); letter-spacing:.15em; margin-top:-4px; }
.nav { display:flex; align-items:center; gap:26px; font-size:14px; color:#415066; }
.nav a:hover { color: var(--accent); }
.nav-contact {
  padding:11px 18px; border-radius:999px; background: var(--dark); color:#fff; font-weight:700;
}
.hero {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 26%),
    linear-gradient(135deg, #0f1724 0%, #16395d 48%, #1d5fa7 100%);
  color:#fff; padding: 90px 0 84px;
}
.hero-grid {
  display:grid; grid-template-columns: 1.05fr .95fr; gap:42px; align-items:center;
}
.eyebrow {
  display:inline-flex; gap:10px; align-items:center; color: rgba(255,255,255,.76); font-size:13px;
  letter-spacing:.14em; font-weight:700; margin-bottom:22px;
}
.eyebrow::before {
  content:""; width:34px; height:1px; background: rgba(255,255,255,.5);
}
.hero h1 {
  font-size: clamp(38px, 5.8vw, 70px);
  line-height:1.12; letter-spacing: -.04em; margin-bottom: 22px;
}
.hero-copy { font-size: clamp(16px, 1.9vw, 19px); color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero-points { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; margin-bottom:30px; }
.hero-point {
  background: rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.14); border-radius:16px; padding:14px 16px;
  font-size:14px;
}
.hero-buttons { display:flex; flex-wrap:wrap; gap:14px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; border-radius:999px; padding:14px 22px; font-weight:800;
  transition: .2s ease;
}
.btn-primary { background:#fff; color: var(--dark); }
.btn-secondary { border:1px solid rgba(255,255,255,.28); color:#fff; }
.btn:hover { transform: translateY(-2px); opacity:.95; }
.hero-visual { position:relative; }
.hero-image-card {
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:28px; padding:16px; box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.hero-image {
  aspect-ratio: 4 / 5; border-radius:22px; overflow:hidden; background: linear-gradient(135deg, #dbe8f6, #8db5de 75%, #5f88b1);
}
.hero-image img { width:100%; height:100%; object-fit:cover; }
.hero-placeholder {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center; text-align:center; color:#244b78;
  font-weight:700; padding:24px; font-size:18px;
  background: linear-gradient(160deg, #dbe9f6, #aac6e3 50%, #7299c0 100%);
}
.floating-card {
  position:absolute; left:-20px; bottom:24px; background:#fff; color:var(--text); padding:18px 20px; border-radius:20px; box-shadow: var(--shadow); width:min(250px, 72%);
}
.floating-card span { display:block; font-size:12px; letter-spacing:.1em; color: var(--muted); font-weight:700; margin-bottom:6px; }
.floating-card strong { font-size:18px; line-height:1.45; }
section { padding: 88px 0; }
.section-head { margin-bottom: 38px; }
.section-label { color: var(--accent); font-size:13px; letter-spacing:.18em; font-weight:900; margin-bottom:10px; }
section h2 { font-size: clamp(28px, 4vw, 44px); line-height:1.28; letter-spacing:-.03em; margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 760px; }
.about-grid { display:grid; grid-template-columns: 1fr 1fr; gap:28px; align-items:stretch; }
.card {
  background:var(--card); border:1px solid var(--line); border-radius:26px; box-shadow: var(--shadow);
}
.about-copy { padding:36px; }
.about-copy p + p { margin-top: 18px; }
.about-visual { overflow:hidden; }
.about-visual .media {
  aspect-ratio: 16 / 12; background: linear-gradient(135deg, #d7e6f4, #8bb4db 65%, #6f8eae);
}
.about-visual img { width:100%; height:100%; object-fit:cover; }
.placeholder-center {
  display:flex; width:100%; height:100%; align-items:center; justify-content:center; text-align:center; color:#234972; font-weight:700; padding:20px;
}
.stats-grid { margin-top: 22px; display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.stat-box { background: var(--dark); color:#fff; border-radius:22px; padding:26px; }
.stat-box span { display:block; font-size:12px; color:rgba(255,255,255,.66); letter-spacing:.12em; margin-bottom:6px; font-weight:800; }
.stat-box strong { font-size:26px; }
.service-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.service-card { padding:28px 24px; }
.service-no {
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background: var(--soft); color:var(--accent); font-weight:900; margin-bottom:18px;
}
.service-card h3 { font-size:20px; margin-bottom:10px; line-height:1.45; }
.service-card p { font-size:14.8px; color: var(--muted); }
.gallery-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.gallery-item { overflow:hidden; }
.gallery-image { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #dfeaf5, #abc5de 60%, #7a98b4); }
.gallery-image img { width:100%; height:100%; object-fit:cover; }
.gallery-caption { padding:18px 20px 20px; font-size:14px; color:var(--muted); }
.strong-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.strong-item { padding:28px 24px; }
.strong-item h3 { font-size:20px; margin-bottom:10px; }
.strong-item p { color:var(--muted); font-size:15px; }
.flow-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.flow-item { padding:28px 24px; position:relative; }
.flow-step { display:inline-block; font-size:12px; font-weight:900; letter-spacing:.1em; color:var(--accent); margin-bottom:10px; }
.company-wrap { display:grid; grid-template-columns: .9fr 1.1fr; gap:24px; }
.company-note { padding:34px; }
.company-note h3 { font-size:26px; line-height:1.4; margin-bottom: 10px; }
.company-note p { color:var(--muted); }
.company-table { overflow:hidden; }
.company-row { display:grid; grid-template-columns: 210px 1fr; border-bottom:1px solid var(--line); }
.company-row:last-child { border-bottom:none; }
.company-row dt, .company-row dd { padding:22px 24px; }
.company-row dt { background:#f8fbfe; font-weight:800; color:#394a5c; }
.company-row dd { color:var(--muted); }
.cta {
  background: linear-gradient(135deg, #0f1724 0%, #14395f 42%, #1d5fa7 100%); color:#fff; text-align:center;
}
.cta .section-label { color: rgba(255,255,255,.74); }
.cta .section-lead { color: rgba(255,255,255,.8); margin: 0 auto 28px; }
.contact-box {
  display:inline-flex; flex-direction:column; gap:10px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14);
  padding:28px 34px; border-radius:24px; min-width: min(540px, 100%);
}
.contact-box span { font-size:12px; letter-spacing:.12em; color: rgba(255,255,255,.68); font-weight:800; }
.contact-box a { font-size:22px; font-weight:800; }
.site-footer { background:#0b1019; color:rgba(255,255,255,.66); padding:28px 0; font-size:13px; }
.footer-inner { display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; }
@media (max-width: 980px) {
  .nav { display:none; }
  .hero-grid, .about-grid, .company-wrap { grid-template-columns:1fr; }
  .service-grid, .gallery-grid, .strong-grid, .flow-grid, .stats-grid { grid-template-columns:1fr; }
  .hero { padding:76px 0 68px; }
  section { padding: 72px 0; }
  .floating-card { position:static; width:100%; margin-top:16px; }
  .company-row { grid-template-columns: 1fr; }
  .company-row dt, .company-row dd { padding:16px 18px; }
  .company-row dt { padding-bottom:6px; }
  .company-row dd { padding-top:6px; }
}
