/* ===== 個別相談（/consultation/） 承認済みデザインを再現 ===== */
.consult { background: #f8fdfd; --line: #06c755; }

/* --- メインビジュアル（左右の人物写真は背景画像） --- */
.consult-hero {
  position: relative;
  background: #eaf9fb url(/assets/img/consult-hero-bg.jpg) center top / cover no-repeat;
  min-height: clamp(330px, 30.9vw, 480px);
}
.consult-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(248,253,253,0), #f8fdfd); }
.consult-hero .breadcrumb { position: relative; z-index: 2; max-width: none; padding-left: 4vw; }
.consult-hero-inner {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 2.6vw;
  padding: 1.2vw 0 3vw; margin-left: 3vw;
}
.consult-hero-copy { text-align: left; }
.consult-hero-label {
  display: inline-block; margin: 0 0 0 1.8vw; padding: .45vw 2.6vw; border: 2px solid var(--orange); border-radius: 14px;
  background: rgba(255,255,255,.92); color: #ef6c00; font-weight: 900; font-size: max(17px, 2.3vw);
  transform: skewX(-10deg);
}
.consult-hero-title { margin: .9vw 0 0; font-weight: 900; color: var(--navy); font-size: max(36px, 5.6vw); line-height: 1.12; letter-spacing: .01em; }
.consult-hero-title { font-style: normal; }
.consult-hero-line { display: flex; align-items: center; gap: 2vw; color: #11b344; margin-top: .6vw; font-size: 1.06em; letter-spacing: .02em; }
.consult-line-icon { display: block; width: 1.25em; height: 1.25em; flex-shrink: 0; }
.consult-line-icon svg { width: 100%; height: 100%; }
.consult-hero-title { transform: skewX(-6deg); transform-origin: left bottom; }
.consult-hero-line { transform: skewX(6deg); } /* 公式LINEは斜体にしない */
.consult-qr {
  position: relative; display: block; width: max(110px, 11.9vw); padding: .7vw; margin-top: 4vw;
  background: #fff; border: 2px solid #d3eedb; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,120,60,.08);
  transition: transform .2s;
}
.consult-qr:hover { transform: translateY(-3px); }
.consult-qr::before { /* オレンジの「きらっ」 */
  content: ''; position: absolute; right: 6px; top: -52px; width: 44px; height: 44px;
  background:
    linear-gradient(var(--orange),var(--orange)) 6px 18px / 4px 20px no-repeat,
    linear-gradient(var(--orange),var(--orange)) 20px 6px / 4px 22px no-repeat,
    linear-gradient(var(--orange),var(--orange)) 32px 22px / 4px 18px no-repeat;
  transform: rotate(30deg);
}

/* --- 本文 --- */
.consult-main { position: relative; padding: 20px 0 90px; overflow: hidden; }
.consult-main::before, .consult-main::after { /* 下の淡い波 */
  content: ''; position: absolute; z-index: 0; bottom: -180px; width: 70%; height: 360px; border-radius: 50%;
  background: linear-gradient(180deg, rgba(150,232,236,0), rgba(120,222,228,.35)); filter: blur(10px);
}
.consult-main::before { left: -20%; } .consult-main::after { right: -20%; }
.consult-main .wrap { position: relative; z-index: 1; max-width: 1180px; }
.consult-heading { margin: 0; text-align: center; font-size: 43px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 22px; }
.consult-heading::before, .consult-heading::after { content: ''; width: 6px; height: 38px; border-radius: 3px; background: var(--orange); transform: skewX(25deg); }
.consult-heading::after { transform: skewX(-25deg); }
.consult-lead { text-align: center; font-size: 24px; font-weight: 700; margin: 18px 0 40px; }
.consult-lead b { font-weight: 900; }
.consult-lead mark { font-weight: 900; }

.consult-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.consult-panel { padding: 52px 38px 34px !important; }
.consult-panel {
  position: relative; background: #fff; border-radius: 20px; padding: 46px 44px 34px;
  box-shadow: 0 0 0 1px #d6eeee, 0 8px 24px rgba(0,120,130,.08);
}
.consult-panel-title {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); margin: 0; white-space: nowrap;
  background: linear-gradient(180deg, #23b8b3, #0e9c98); color: #fff; font-size: 25px; font-weight: 900;
  padding: 12px 56px; border-radius: 999px; box-shadow: 0 6px 14px rgba(0,140,140,.25);
}
.consult-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.consult-topics li {
  display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; min-height: 156px; padding: 18px 10px;
  border-radius: 28px; background: linear-gradient(180deg, #f6fdfd, #e8f8f8); box-shadow: 0 6px 16px rgba(0,140,140,.10);
  font-size: 25px; font-weight: 900; line-height: 1.4;
}
.consult-topics span { display: block; width: 74px; height: 74px; color: var(--teal); }
.consult-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.consult-steps li {
  position: relative; display: grid; grid-template-columns: 46px 66px 1fr; align-items: center; gap: 14px; padding: 18px 16px;
  border-radius: 16px; background: linear-gradient(90deg, #eefafa, #f8fdfd); box-shadow: 0 4px 12px rgba(0,140,140,.07);
}
.consult-steps li + li::before { /* 下向き矢印 */
  content: ''; position: absolute; left: 50%; top: -25px; width: 14px; height: 14px; border: solid var(--teal); border-width: 0 4px 4px 0; transform: translateX(-50%) rotate(45deg);
}
.consult-steps em { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-style: normal; font-weight: 900; font-size: 20px; }
.step-icon { display: block; width: 66px; height: 66px; color: var(--teal); }
.consult-steps p { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.45; }
.consult-steps small { font-size: 20px; font-weight: 800; }
.consult-steps small b { color: #f36b00; }

.consult-cta { margin-top: 64px; text-align: center; }
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px; width: min(100%, 870px); min-height: 120px; padding: 0 60px;
  border-radius: 999px; color: #fff; font-size: 38px; font-weight: 900;
  background: linear-gradient(180deg, #2fd463 0%, #0bb13e 100%); box-shadow: 0 10px 24px rgba(0,160,60,.28), inset 0 -4px 0 rgba(0,100,30,.15);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-line:hover { transform: translateY(-3px); filter: brightness(1.04); box-shadow: 0 14px 30px rgba(0,160,60,.35); }
.btn-line b { color: #fff83a; font-weight: 900; }
.btn-line-icon { width: 76px; height: 76px; flex-shrink: 0; }
.btn-line-icon svg rect { fill: transparent; }
.btn-line-arrow { width: 34px; height: 34px; margin-left: 10px; }

/* --- タブレット・スマホ --- */
@media (max-width: 900px) {
  .consult-hero { background-position: center top; min-height: 0; }
  .consult-hero::before { content: ''; position: absolute; inset: 0; background: rgba(240,251,252,.78); }
  .consult-hero-inner { margin: 0; padding: 18px 16px 34px; gap: 18px; flex-wrap: wrap; }
  .consult-hero-label { margin-left: 8px; }
  .consult-qr { margin-top: 0; }
  .consult-qr::before { display: none; }
  .consult-panels { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .consult-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(248,253,253,0), #f8fdfd); }
.consult-hero .breadcrumb { padding-left: 16px; }
  .consult-hero-inner { flex-direction: column; }
  .consult-hero-copy { text-align: center; }
  .consult-hero-label { font-size: 16px; margin: 0; padding: 6px 20px; }
  .consult-hero-title { font-size: 40px; transform: none; margin-top: 12px; }
  .consult-hero-line { transform: none; justify-content: center; }
  .consult-qr { width: 140px; padding: 8px; }
  .consult-heading { font-size: 19px; gap: 12px; }
  .consult-heading::before, .consult-heading::after { display: none; }
  .consult-panel { padding: 40px 16px 22px !important; }
  .consult-heading::before, .consult-heading::after { height: 24px; width: 4px; }
  .consult-lead { font-size: 15px; margin-bottom: 34px; }
  .consult-lead b { font-weight: 700; }
  .consult-panel { padding: 40px 16px 22px; }
  .consult-panel-title { font-size: 17px; padding: 8px 30px; }
  .consult-topics { gap: 12px; }
  .consult-topics li { min-height: 130px; font-size: 16px; border-radius: 20px; }
  .consult-steps small { font-size: 14px !important; }
  .consult-topics span { width: 46px; height: 46px; }
  .consult-steps em { width: 32px; height: 32px; }
  .consult-steps { gap: 30px; }
  .consult-steps li { grid-template-columns: 34px 44px 1fr; gap: 10px; padding: 14px 12px; }
  .consult-steps em { width: 32px; height: 32px; font-size: 16px; }
  .step-icon { width: 40px; height: 40px; }
  .consult-steps p { font-size: 17px; }
  .consult-steps small { font-size: 14px; }
  .consult-cta { margin-top: 44px; }
  .btn-line { min-height: 72px; padding: 0 16px; gap: 8px; font-size: 18px; white-space: nowrap; }
  .btn-line-icon { width: 46px; height: 46px; }
  .btn-line-arrow { width: 22px; height: 22px; margin-left: 0; }
}
.btn-line-arrow svg, .btn-line-icon svg { display: block; width: 100%; height: 100%; }
.btn-line-arrow, .btn-line-icon { display: block; }
