/*---------------------------------------------------------
  Version: 2026-02-17-r7-red-text-fix
  File: /var/www/mietou/public/css/style.css
  Purpose: 赤強調テキスト .em-red を正式追加
---------------------------------------------------------*/

:root{
  --navy: #0F1E3A;
  --blue: #1E3A8A;
  --accent: #2563EB;
  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --text: #0B1220;
  --muted: #5B677A;
  --line: rgba(15,30,58,0.12);
  --shadow-soft: 0 10px 25px rgba(15,30,58,0.08);
  --shadow-mid: 0 20px 40px rgba(15,30,58,0.12);
  --shadow-strong: 0 30px 60px rgba(15,30,58,0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1080px;

  --deep-red: #8B1E2D;
  --deep-red-soft: rgba(139,30,45,0.08);
  --deep-red-ring: rgba(139,30,45,0.15);
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }

body{
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ★追加：赤強調テキスト */
.em-red{
  color: var(--deep-red);
  font-weight: 700;
}

/* ===============================
   Flow Visual Upgrade
================================ */

.flow-visual{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin: 30px 0;
}

.flow-visual__step{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius-sm);
  padding:14px 18px;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.flow-visual__step:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-mid);
}

.flow-visual__num{
  font-size:14px;
  font-weight:800;
  color:#fff;
  background: var(--navy);
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.flow-visual__step--final .flow-visual__num{
  background: var(--deep-red);
}

.flow-visual__title{
  font-weight:700;
  color: var(--navy);
}

.flow-visual__desc{
  font-size:13px;
  color: var(--muted);
}

.flow-visual__arrow{
  font-weight:700;
  color: var(--muted);
}

.flow-visual__note{
  margin-top:20px;
  font-size:16px;
}


.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* ===============================
   Header
================================ */

.siteHeader{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.siteHeader__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--navy);
  font-weight: 700;
}

.brand__mark{
  color: var(--accent);
  font-size: 18px;
}

.brand__name{
  letter-spacing: 0.02em;
}

/* ★追加：ヘッダー（ロゴ＋法人名）表示用 */
.brand__logo{
  height: 28px;   /* ★ロゴ高さ固定（デカすぎ問題の対策） */
  width: auto;
  display: block;
}

.brand__text{
  display:flex;
  flex-direction:column;
  line-height: 1.1;
}

.brand__corp{
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex;
  gap: 18px;
}

.nav__link{
  text-decoration:none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav__link:hover{
  color: var(--navy);
}

.main{ padding-bottom: 60px; }

/* ===============================
   HERO
================================ */

.hero{
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 15% 20%, rgba(37,99,235,0.08), transparent 40%),
    linear-gradient(180deg, rgba(15,30,58,0.02), rgba(37,99,235,0.04));
  position: relative;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(15,30,58,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,30,58,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events:none;
}

.hero__grid{
  position: relative;
  z-index: 2;
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
}

.hero__title{
  margin: 0 0 20px;
  font-size: 48px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.hero__titleBreak{
  display:block;
  margin-top: 14px;

  /* ★追加：赤系下線（問いの緊張感） */
  position: relative;
}

.hero__titleBreak::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width: 140px;
  height: 3px;
  border-radius: 999px;
  background: var(--deep-red);
}

@media (max-width: 560px){
  .hero__title{ font-size: 34px; }
}

.hero__lead{
  margin: 0 0 28px;
  font-size: 18px;
  color: var(--muted);
}

.hero__panel .panel{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-mid);
  padding: 26px;
  transition: all 0.3s ease;
}

.hero__panel .panel:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

/* ===============================
   Sections
================================ */

.section{
  padding: 80px 0;
}

.section--alt{
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__title{
  margin: 0 0 26px;
  font-size: 28px;
  color: var(--navy);
  font-weight: 700;
}

.section__title--center{ text-align:center; }

.prose p{
  margin: 0 0 18px;
}

.prose--emphasis p{
  font-size: 20px;
}

/* ===============================
   Cards
================================ */

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr; }
}

.card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;

  /* ★追加：赤系アクセント（境界として） */
  border-left: 3px solid var(--deep-red-soft);
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-mid);

  /* ★追加：ホバー時のみ赤を明確化 */
  border-left: 3px solid var(--deep-red);
}

.card__title{
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.card__text{
  margin: 0 0 14px;
  color: var(--muted);
}

.card__list{
  margin: 0;
  padding-left: 20px;
}

/* ===============================
   Split
================================ */

.split{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

@media (max-width: 920px){
  .split{ grid-template-columns: 1fr; }
}

.value{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.value__title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.value__tagline{
  margin-top: 14px;
  font-weight: 900;
  color: var(--blue);
}

/* ===============================
   Buttons
================================ */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: all 0.25s ease;
}

.btn--primary{
  background: var(--accent);
  color: #fff;
  padding: 16px 26px;
  font-size: 17px;
  box-shadow: 0 16px 35px rgba(37,99,235,0.35);
}

.btn--primary:hover{
  transform: translateY(-2px);

  /* ★変更：赤リングを追加（色は変えず、緊張感だけ足す） */
  box-shadow:
    0 24px 45px rgba(37,99,235,0.4),
    0 0 0 4px var(--deep-red-ring);
}

.btn--lg{
  font-size: 18px;
}

/* ===============================
   Footer（ヒーローに調和）
================================ */

.siteFooter{
  border-top: 1px solid var(--line);
  background: #fff;
}

.siteFooter__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 28px 0;
  flex-wrap: wrap;
}

.siteFooter__brand{
  font-weight: 900;
  color: var(--navy);
}

.siteFooter__note{
  color: var(--muted);
  font-size: 14px;
}

.siteFooter__copy{
  color: var(--muted);
  font-size: 13px;
}

/* ★追加：フッター法人・問い合わせ */
.siteFooter__corp{
  margin-top: 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
}

.siteFooter__contact{
  margin-top: 10px;
}

.siteFooter__link{
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.siteFooter__link:hover{
  color: var(--navy);
  text-decoration: underline;
}

.siteFooter__sep{
  color: var(--line);
  margin: 0 10px;
}

/* ★追加：Final CTA ボタン中央配置 */
.cta--center{
  display: flex;
  justify-content: center;
}
