@charset "UTF-8";
/* ==========================================================
   gate.css
   ゲートページ（index.html）だけで使うスタイル
   FVの背景・見出しは sections.css の .mv / .mv_* をそのまま使い、中央ぞろえにする
   ========================================================== */

/* ---------- FV（選択） ---------- */
.gate_mv { padding: 48px 0 104px; }
.gate_inner { position: relative; text-align: center; z-index: 1; }
.gate_mv .mv_title { margin-top: 18px; }

/* 問い（左右に細い線） */
.gate_question {
  align-items: center;
  display: flex;
  font-feature-settings: "palt";
  font-size: 22px;
  font-weight: 700;
  gap: 20px;
  justify-content: center;
  letter-spacing: 0.04em;
  margin-top: 40px;
}
.gate_question::before,
.gate_question::after { background: rgba(255, 255, 255, 0.45); content: ""; height: 1px; width: 48px; }
/* 「どちら」だけ黄色（見出しの「無料」と同じ色） */
.gate_question em { color: #ffe14d; font-style: normal; }

/* 選択カード */
.gate_cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px auto 0;
  max-width: 920px;
  text-align: left;
}
.gate_card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 20, 60, 0.26);
  color: #0b2e63;
  display: flex;
  flex-direction: column;
  font-feature-settings: "palt";
  height: 100%;
  letter-spacing: 0.02em;
  padding: 28px 32px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* 押せるカードだと分かるように、2枚が交互にふくらむ（同時に白い光の輪が広がる）。2枚目は半周期遅らせる */
.gate_card { animation: gate-pulse 3.2s ease-in-out infinite; }
.gate_cards li + li .gate_card { animation-delay: 1.6s; }
.gate_card:hover,
.gate_card:focus-visible {
  animation: none;
  box-shadow: 0 22px 48px rgba(0, 20, 60, 0.34), 0 0 0 4px #ffe14d;
  transform: translateY(-4px);
}
@keyframes gate-pulse {
  0% { box-shadow: 0 16px 40px rgba(0, 20, 60, 0.26), 0 0 0 0 rgba(255, 255, 255, 0.7); transform: scale(1); }
  14% { transform: scale(var(--gate-pulse, 1.035)); }
  30% { transform: scale(1); }
  50%, 100% { box-shadow: 0 16px 40px rgba(0, 20, 60, 0.26), 0 0 0 14px rgba(255, 255, 255, 0); transform: scale(1); }
}
.gate_card:focus-visible { outline: 3px solid #ffe14d; outline-offset: 4px; }
.gate_cardHead { align-items: flex-end; display: flex; gap: 8px; justify-content: space-between; }
/* 右のイラスト（代理店＝画面を見て悩む人 ／ 自社＝PCで運用する人）
   下のマージンを一覧の margin-top と同じだけ引いて、区切り線の上に乗せる */
.gate_cardIllust { flex-shrink: 0; height: 104px; margin: -10px -8px -20px 0; width: 124px; }
.gate_cardTitle { display: block; font-size: 24px; font-weight: 700; line-height: 1.35; word-break: auto-phrase; }
/* 「代理店」「自社」だけ大きく */
.gate_cardTitle em { color: #1f6fd0; font-size: 1.4em; font-style: normal; letter-spacing: 0.02em; margin-right: 1px; }
.gate_cardTitle small { color: #6b7c93; display: block; font-size: 13px; font-weight: 500; line-height: 1.5; margin-top: 2px; }
.gate_cardList {
  border-top: 1px solid #e6edf5;
  flex: 1;
  margin-top: 20px;
  padding-top: 16px;
}
.gate_cardList li {
  align-items: center;
  color: #3a4a5e;
  display: flex;
  font-size: 15px;
  font-weight: 500;
  gap: 10px;
  line-height: 1.6;
}
.gate_cardList li + li { margin-top: 10px; }
/* 丸いチェック */
.gate_cardList li::before {
  background: #ebf5fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fd0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17 19 7'/%3E%3C/svg%3E") center / 10px no-repeat;
  border-radius: 50%;
  content: "";
  flex-shrink: 0;
  height: 20px;
  width: 20px;
}
/* カード内のボタン（CTAと同じ配色） */
.gate_cardBtn {
  align-items: center;
  background: linear-gradient(180deg, var(--cta-light) 0%, var(--cta-main) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--cta-drop);
  color: #fff;
  display: flex;
  font-size: 17px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.08em;
  margin-top: 24px;
  min-height: 56px;
  overflow: hidden;
  padding: 0 20px;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
/* メインCTAと同じ光が走る（cta-shine は base.css）。::after は矢印で使っているので ::before */
.gate_cardBtn::before {
  animation: cta-shine 3.2s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateX(-160%) skewX(-20deg);
  width: 30%;
}
.gate_cards li + li .gate_cardBtn::before { animation-delay: 1.6s; }
@media (prefers-reduced-motion: reduce) {
  .gate_card,
  .gate_cardBtn::before { animation: none; }
}
.gate_cardBtn::after {
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  content: "";
  height: 8px;
  transform: rotate(45deg);
  width: 8px;
}
.gate_hint {
  color: rgba(255, 255, 255, 0.8);
  font-feature-settings: "palt";
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-top: 20px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .gate_card { padding: 24px 22px 26px; }
  .gate_cardTitle { font-size: 20px; }
  .gate_cardTitle small { font-size: 12px; }
  .gate_cardIllust { height: 80px; margin-right: -6px; width: 96px; }
  .gate_cardList li { font-size: 14px; }
}
@media (max-width: 767px) {
  .gate_mv { padding: 24px 0 56px; }
  .gate_mv .mv_title { margin-top: 12px; }
  .gate_mv .mv_title_line1 { font-size: 22px; }
  .gate_mv .mv_title_line2 { font-size: 32px; }
  .gate_question { font-size: min(17px, 4.4vw); letter-spacing: 0.02em; margin-top: 24px; }
  .gate_question::before,
  .gate_question::after { content: none; }
  .gate_cards { gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
  .gate_card { --gate-pulse: 1.025; border-radius: 12px; padding: 16px 16px 18px; }
  .gate_cardHead { gap: 12px; }
  .gate_cardIllust { height: 70px; margin: -6px -4px -12px 0; width: 84px; }
  .gate_cardTitle { font-size: 18px; }
  .gate_cardTitle small { font-size: 11px; margin-top: 0; }
  .gate_cardList { margin-top: 12px; padding-top: 10px; }
  .gate_cardList li { font-size: 14px; gap: 8px; }
  .gate_cardList li + li { margin-top: 6px; }
  .gate_cardList li::before { height: 18px; width: 18px; }
  .gate_cardBtn { font-size: 15px; margin-top: 14px; min-height: 46px; }
  .gate_hint { font-size: 12px; line-height: 1.6; margin-top: 14px; }
}

/* ---------- 無料診断でわかること ---------- */
.gate_aboutList {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px auto 0;
  max-width: 1160px;
}
.gate_aboutList li {
  border: 2px solid #3498db;
  border-radius: 6px;
  padding: 24px 24px 28px;
  text-align: center;
}
.gate_aboutImg { display: grid; height: 120px; place-content: center; }
.gate_aboutList h3 { color: #3498db; font-size: 22px; font-weight: 700; margin-top: 12px; }
.gate_aboutList p { margin-top: 8px; text-align: left; }
@media (max-width: 767px) {
  .gate_aboutList { gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  .gate_aboutList li { padding: 14px 16px 16px; }
  .gate_aboutImg { height: 72px; }
  .gate_aboutImg img { height: 72px; width: auto; }
  .gate_aboutList h3 { font-size: 17px; margin-top: 6px; }
  .gate_aboutList p { font-size: 14px; margin-top: 4px; }
}

/* ---------- 料金（要約） ---------- */
.gate_price .price_summary { margin-bottom: 0; }

/* ---------- 選択（ページ下） ---------- */
.gate_bottom .section_head2 { color: #3498db; }
.gate_bottomBtns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: center;
  margin-top: 32px;
}
.gate_bottomBtns .btnShadow {
  font-size: 26px;
  height: 84px;
  margin: 0;
  max-width: 440px;
}
@media (max-width: 767px) {
  .gate_bottomBtns { flex-direction: column; gap: 14px; margin-top: 16px; }
  .gate_bottomBtns .btnShadow { font-size: 18px; height: 56px; margin: 0 auto; max-width: 320px; }
}
