/* ============================================
   リノーズ株式会社 コーポレートサイト
   ============================================ */
:root {
  --navy: #0f2a4a;
  --navy-deep: #0a1f38;
  --navy-light: #1c3f6e;
  --accent: #e8862e;
  --accent-dark: #d6741c;
  --gold: #c9a227;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-navy-tint: #eef3f9;
  --text: #22303f;
  --text-sub: #5a6b7d;
  --line: #dde5ee;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 42, 74, .08);
  --shadow-hover: 0 12px 32px rgba(15, 42, 74, .16);
  --font-head: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-light); text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: linear-gradient(160deg, var(--navy-deep), var(--navy-light)); color: #fff; }

/* ---------- 見出し ---------- */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .en {
  display: block; font-size: 13px; letter-spacing: .35em;
  color: var(--accent); font-weight: 700; margin-bottom: 10px; text-transform: uppercase;
}
.sec-head h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600; color: var(--navy); line-height: 1.4;
}
.section--navy .sec-head h2 { color: #fff; }
.sec-head .lead { margin-top: 18px; color: var(--text-sub); font-size: 15.5px; }
.section--navy .sec-head .lead { color: rgba(255,255,255,.8); }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 74px;
}
.logo { display: flex; flex-direction: column; line-height: 1.3; }
.logo strong { font-family: var(--font-head); font-size: 22px; color: var(--navy); letter-spacing: .05em; }
.logo span { font-size: 10.5px; color: var(--text-sub); letter-spacing: .12em; }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav a { font-size: 14.5px; font-weight: 500; color: var(--navy); position: relative; padding: 6px 0; }
.gnav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .25s;
}
.gnav a:not(.btn):hover::after { width: 100%; }
.header__tel { text-align: right; line-height: 1.35; margin-right: 4px; }
.header__tel a { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: .03em; }
.header__tel small { display: block; font-size: 11px; color: var(--text-sub); }

/* ハンバーガー */
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 110; }
.menu-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); margin: 5.5px 0; transition: .3s; border-radius: 2px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; border: 0;
  text-align: center; line-height: 1.4;
}
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 6px 18px rgba(232,134,46,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,134,46,.45); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05b34c; transform: translateY(-2px); }
.btn--lg { padding: 19px 48px; font-size: 17px; }
.btn--sm { padding: 10px 22px; font-size: 13.5px; }

/* ---------- ヒーロー ---------- */
.hero {
  margin-top: 74px;
  background:
    radial-gradient(ellipse 900px 500px at 85% 20%, rgba(201,162,39,.18), transparent 60%),
    radial-gradient(ellipse 700px 600px at 10% 90%, rgba(28,63,110,.55), transparent 65%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 59h60M59 0v60' stroke='%23ffffff' stroke-opacity='.04' fill='none'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 96px 24px 110px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 8px 22px; font-size: 13.5px; letter-spacing: .06em; margin-bottom: 28px;
}
.hero__badge b { color: var(--gold); }
.hero h1 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(30px, 5.2vw, 52px); line-height: 1.5; letter-spacing: .04em;
}
.hero h1 em { font-style: normal; color: #f3c96b; }
.hero__lead { margin-top: 24px; font-size: clamp(15px, 2vw, 17.5px); color: rgba(255,255,255,.88); max-width: 620px; }
.hero__cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-width: 720px; border-radius: var(--radius); overflow: hidden; }
.hero__stats div { background: rgba(255,255,255,.1); backdrop-filter: blur(4px); padding: 20px 12px; text-align: center; }
.hero__stats .num { font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 34px); color: #f3c96b; line-height: 1.2; }
.hero__stats .num small { font-size: .5em; }
.hero__stats .label { font-size: 12.5px; color: rgba(255,255,255,.85); margin-top: 4px; }

/* ---------- メインビジュアルバナー ---------- */
.mv-banner { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.mv-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.mv-banner img { width: 100%; height: auto; display: block; }

/* ---------- お悩み ---------- */
.worries { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.worry {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 26px 22px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow);
}
.worry__icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-navy-tint); display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-family: var(--font-head); font-size: 19px; font-weight: 700;
}
.worry p { font-weight: 600; font-size: 15.5px; line-height: 1.7; }
.worries-close { text-align: center; margin-top: 48px; }
.worries-close p {
  display: inline-block; font-family: var(--font-head); font-size: clamp(20px, 3vw, 28px);
  color: var(--navy); border-bottom: 3px solid var(--accent); padding: 0 8px 8px; line-height: 1.6;
}

/* ---------- 強み ---------- */
.strengths { display: grid; gap: 28px; }
.strength {
  display: grid; grid-template-columns: 96px 1fr; gap: 28px;
  background: #fff; border-radius: var(--radius); padding: 38px 40px;
  box-shadow: var(--shadow); border-top: 4px solid var(--accent);
  transition: transform .25s, box-shadow .25s;
}
.strength:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.strength__num { font-family: var(--font-head); font-size: 58px; color: var(--bg-navy-tint); line-height: 1; font-weight: 700;
  -webkit-text-stroke: 1.5px var(--navy-light); }
.strength h3 { font-family: var(--font-head); font-size: clamp(19px, 2.6vw, 24px); color: var(--navy); margin-bottom: 12px; line-height: 1.5; }
.strength p { color: var(--text-sub); font-size: 15px; }

/* ---------- 仲介 vs 買取 ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare__card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.compare__head { padding: 26px 30px; color: #fff; text-align: center; }
.compare__head--chukai { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.compare__head--kaitori { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); }
.compare__head .tag { font-size: 13px; opacity: .9; letter-spacing: .1em; }
.compare__head h3 { font-family: var(--font-head); font-size: 24px; margin-top: 4px; }
.compare__body { padding: 28px 30px 34px; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.compare__body h4 {
  font-size: 14px; letter-spacing: .08em; color: var(--navy);
  border-left: 4px solid var(--accent); padding-left: 10px; margin-bottom: 8px;
}
.compare__body ul li { position: relative; padding-left: 24px; font-size: 14.5px; margin-bottom: 6px; }
.compare__body ul.good li::before { content: "◎"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.compare__body ul.bad li::before { content: "△"; position: absolute; left: 0; color: var(--text-sub); }
.compare__note { font-size: 13px; color: var(--text-sub); background: var(--bg-soft); border-radius: 8px; padding: 12px 16px; }

/* ---------- 流れ ---------- */
.flow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.flow-col h3 {
  font-family: var(--font-head); text-align: center; font-size: 21px; color: var(--navy);
  margin-bottom: 24px; padding-bottom: 10px; border-bottom: 2px solid var(--accent);
}
.flow-steps { display: flex; flex-direction: column; gap: 0; }
.flow-step { display: flex; gap: 18px; align-items: flex-start; position: relative; padding-bottom: 22px; }
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px;
  background: linear-gradient(var(--line), var(--line));
}
.flow-step__num {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; position: relative; z-index: 1;
}
.flow-step:first-child .flow-step__num,
.flow-step:last-child .flow-step__num { background: var(--accent); }
.flow-step__body { padding-top: 7px; }
.flow-step__body b { font-size: 15.5px; color: var(--navy); }
.flow-step__body span { display: block; font-size: 13px; color: var(--text-sub); margin-top: 2px; }
.flow-badge {
  text-align: center; margin-top: 18px; font-size: 14px; font-weight: 700;
  color: var(--accent-dark); background: #fdf1e3; border-radius: 999px; padding: 10px 18px;
}

/* ---------- お客様の声 ---------- */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.voice { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; }
.voice::before { content: "“"; position: absolute; top: 6px; left: 18px; font-family: Georgia, serif; font-size: 64px; color: var(--bg-navy-tint); line-height: 1; }
.voice__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; font-size: 15px; position: relative; }
.voice p { font-size: 14.5px; color: var(--text); position: relative; }
.voice__meta { margin-top: 16px; font-size: 13px; color: var(--text-sub); border-top: 1px dashed var(--line); padding-top: 12px; }

/* ---------- お役立ちコラム（note） ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; color: var(--text);
  transition: transform .25s, box-shadow .25s;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.post__img { position: relative; aspect-ratio: 1.91 / 1; background: var(--bg-navy-tint); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 12px;
  border-radius: 999px; padding: 4px 14px; box-shadow: 0 2px 8px rgba(15,42,74,.15);
}
.post__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__body time { font-size: 13px; color: var(--text-sub); letter-spacing: .05em; }
.post__body h3 { font-size: 16.5px; line-height: 1.6; color: var(--navy); font-weight: 700; flex: 1; }
.post__more { font-size: 14px; font-weight: 700; color: var(--navy-light); }
.post:hover .post__more { color: var(--accent-dark); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ---------- 会社について ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.about__message h3 { font-family: var(--font-head); font-size: clamp(20px, 3vw, 26px); color: var(--navy); line-height: 1.7; margin-bottom: 20px; }
.about__message p { color: var(--text-sub); font-size: 15px; margin-bottom: 14px; }
.about__rep { margin-top: 22px; font-size: 14px; }
.about__rep b { font-family: var(--font-head); font-size: 18px; color: var(--navy); margin-left: 8px; }
.about table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about table th, .about table td { padding: 15px 18px; font-size: 14.5px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.about table th { width: 34%; background: var(--bg-navy-tint); color: var(--navy); font-weight: 600; white-space: nowrap; }
.about table tr:last-child th, .about table tr:last-child td { border-bottom: 0; }

/* ---------- CTA帯 ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(24px, 3.6vw, 34px); line-height: 1.6; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 36px; font-size: 15.5px; }
.cta-band__btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cta-band__tel { font-size: 14px; color: rgba(255,255,255,.8); }
.cta-band__tel a { color: #fff; font-family: var(--font-head); font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: .04em; display: inline-block; margin: 6px 0 2px; }

/* ---------- フッター ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.85); padding: 64px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .logo strong { color: #fff; }
.footer .logo span { color: rgba(255,255,255,.6); }
.footer__addr { margin-top: 16px; font-size: 13.5px; line-height: 2; color: rgba(255,255,255,.75); }
.footer h4 { font-size: 13px; letter-spacing: .15em; color: var(--gold); margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,.85); font-size: 14px; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ---------- 下層ページ共通 ---------- */
.page-hero {
  margin-top: 74px; padding: 72px 0 56px; text-align: center;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy-light)); color: #fff;
}
.page-hero .en { display: block; font-size: 13px; letter-spacing: .35em; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(26px, 4.4vw, 40px); font-weight: 600; }
.page-hero p { margin-top: 14px; color: rgba(255,255,255,.85); font-size: 15px; }

/* ---------- フォーム ---------- */
.form-wrap { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px; }
.form-row { margin-bottom: 26px; }
.form-row label { display: block; font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.req, .opt { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.req { background: #e04f4f; color: #fff; }
.opt { background: var(--line); color: var(--text-sub); }
.form-row input[type="text"], .form-row input[type="tel"], .form-row input[type="email"],
.form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 16px; font-family: var(--font-body); background: var(--bg-soft); transition: border .2s, background .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-check { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form-check label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--text); margin: 0; cursor: pointer; }
.form-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-agree { text-align: center; font-size: 14px; margin: 30px 0 22px; }
.form-agree a { text-decoration: underline; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 300px; }
.form-msg { display: none; text-align: center; padding: 16px; border-radius: 10px; margin-bottom: 22px; font-weight: 600; }
.form-msg.ok { display: block; background: #e8f6ec; color: #1b7a3d; }
.form-msg.ng { display: block; background: #fdecec; color: #c0392b; }

/* ---------- 査定3ステップ ---------- */
.satei-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 860px; margin: 0 auto 56px; }
.satei-step { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 20px; text-align: center; }
.satei-step .n { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.satei-step b { color: var(--navy); font-size: 15.5px; display: block; margin-bottom: 6px; }
.satei-step p { font-size: 13px; color: var(--text-sub); }

/* ---------- 固定CTA（モバイル） ---------- */
.fixed-cta { display: none; }

/* ---------- アクセス ---------- */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- プライバシー ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-family: var(--font-head); font-size: 21px; color: var(--navy); margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid var(--accent); }
.legal p, .legal li { font-size: 14.5px; color: var(--text); margin-bottom: 10px; }
.legal ol { padding-left: 24px; }
.legal ol li { list-style: decimal; }

/* ---------- アニメーション ---------- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ レスポンシブ ============ */
@media (max-width: 960px) {
  .gnav {
    position: fixed; inset: 0; background: var(--navy-deep);
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateX(100%); transition: transform .35s ease; z-index: 105;
  }
  .gnav.open { transform: none; }
  .gnav a { color: #fff; font-size: 18px; }
  .menu-toggle { display: block; }
  .header__tel { display: none; }
  .about, .compare, .flow-cols { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .strength { grid-template-columns: 1fr; gap: 10px; padding: 30px 26px; }
  .strength__num { font-size: 44px; }
  .satei-steps { grid-template-columns: 1fr; max-width: 420px; }
  .form-wrap { padding: 32px 22px; }
  .section { padding: 64px 0; }
  body { padding-bottom: 74px; }
  .fixed-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: rgba(255,255,255,.97); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(15,42,74,.12);
  }
  .fixed-cta a { border-radius: 10px; padding: 13px 8px; font-size: 14px; }
}
