/* リミー（RE:Me）サイト共通スタイル 2026-09 */
:root {
  --navy: #2D2D6B; --navy-deep: #1E1E4A; --ink: #1F2340; --muted: #6B6B8A;
  --line: #E0DDF0; --soft: #F5F4FA; --ground: #FFFFFF;
  --accent: #7B3F78; --accent-soft: #F3EEF5; --good: #1F7A57; --warn: #B5452B;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP','Hiragino Sans','Yu Gothic',sans-serif; color: var(--ink); background: var(--ground); line-height: 1.9; font-size: 16px; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Noto Serif JP','Hiragino Mincho ProN',serif; line-height: 1.35; color: var(--navy); }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
section h2 { border-left: 5px solid var(--accent); padding-left: 16px; }   /* 見出しの左の縦線（フライヤーと同じ） */
.legal h2 { border-left: 0; padding-left: 0; }
p { max-width: 40em; }
a { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.soft { background: var(--soft); }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.lead { font-size: 17px; color: var(--muted); margin-bottom: 24px; }
.src { font-size: 12px; color: var(--muted); margin-top: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 4px; font-weight: 700; text-decoration: none; font-size: 15px; transition: background .2s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--soft); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 56px 0; } }
.card { background: var(--accent-soft); border: 1px solid transparent; border-radius: 10px; padding: 22px; }
.card h3 { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; font-weight: 700; color: var(--accent); }
section.soft .card { background: var(--ground); }
.card p { font-size: 14px; color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--ground); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--navy); background: var(--soft); font-size: 14px; white-space: nowrap; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
ul.plain { list-style: none; }
ul.plain li { padding-left: 1.4em; position: relative; margin-bottom: 8px; }
ul.plain li::before { content: ''; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.frame { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

/* nav */
nav.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
nav.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
nav.site .logo img { height: 34px; width: auto; display: block; }
nav.site ul { list-style: none; display: flex; gap: 22px; align-items: center; }
nav.site ul a { text-decoration: none; font-size: 14px; color: var(--ink); opacity: .85; }
nav.site ul a:hover { opacity: 1; }
nav.site ul a.btn { opacity: 1; color: #fff; }
nav.site .btn { padding: 9px 16px; font-size: 13px; }
nav.site .burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
nav.site .burger span { display: block; height: 2px; background: var(--navy); margin: 6px 8px; }
@media (max-width: 900px) {
  nav.site .burger { display: block; }
  nav.site ul { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 0 16px; }
  nav.site ul.open { display: flex; }
  nav.site ul li { padding: 10px 24px; }
}

/* page hero */
.page-hero { background: var(--soft); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); margin-top: 10px; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0; font-size: 13px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer.site ul { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site .logo img { height: 30px; width: auto; display: block; margin-bottom: 8px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::after { content: '+'; color: var(--accent); font-size: 20px; }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* legal */
.legal h2 { font-size: 18px; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--ink); }
.legal ul, .legal ol { padding-left: 1.4em; margin-bottom: 8px; }
.legal dl { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; font-size: 15px; }
.legal dt { font-weight: 700; color: var(--navy); }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; } }

/* forms */
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px var(--soft); }
.form label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin: 14px 0 6px; }
.form textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.req { display: inline-block; font-size: 10px; color: #fff; background: var(--accent); padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* news cards */
.news { display: grid; grid-template-columns: 340px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news:last-child { border-bottom: 0; }
.news-media { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--soft); }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }
