@charset "UTF-8";
/* ==========================================================================
   AdXpand LP の部品 — ボタン（.btn / .btn-sub）とモーダル（資料請求・代行の相談）
   LP（index.html）と、記事・規約系ページ（site-shell.mjs がモーダルを .lp-adxpand で包んで出す）で共用する。
   トークン・--u は style.css。読み込み順は style.css → lp-parts.css → style-index.css。
   ========================================================================== */

/* ---------- ユーティリティ ---------- */
@media (min-width: 1026px) { .lp-adxpand .sp-only { display: none !important; } }
@media not all and (min-width: 1026px) { .lp-adxpand .pc-only { display: none !important; } }

/* ---------- ボタン ---------- */
.lp-adxpand .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  min-height: calc(70 * var(--u));
  padding: calc(18 * var(--u)) calc(20 * var(--u));
  white-space: nowrap;
  border: calc(2 * var(--u)) solid var(--c-white);
  border-radius: calc(999 * var(--u));
  background: var(--grad-btn);
  box-shadow: 0 0 0 1px #B6EE0A, var(--shadow-soft);
  color: var(--c-black);
  font-size: calc(18 * var(--u));
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.lp-adxpand .btn:hover { transform: translateY(calc(-2 * var(--u))); filter: brightness(1.04) saturate(1.05); }
.lp-adxpand .btn:active { transform: scale(0.97); }
.lp-adxpand .btn__arrow {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  border-radius: 50%;
  background: var(--c-white);
  color: #96C000;
}
.lp-adxpand .btn__arrow svg,
.lp-adxpand .btn-sub__arrow svg {
  width: calc(5 * var(--u));
  height: calc(9 * var(--u));
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp-adxpand .btn--lg { width: calc(320 * var(--u)); }
.lp-adxpand .btn--sm {
  gap: calc(4 * var(--u));
  min-height: calc(48 * var(--u));
  padding: calc(10 * var(--u)) calc(15 * var(--u));
  font-size: calc(14 * var(--u));
  letter-spacing: 0.02em;
}
.lp-adxpand .btn--sm .btn__arrow { width: calc(18 * var(--u)); height: calc(18 * var(--u)); background: rgba(255, 255, 255, 0.9); }
.lp-adxpand .btn--sm .btn__arrow svg { width: calc(4 * var(--u)); height: calc(7 * var(--u)); }
@media (min-width: 1026px) {
  .lp-adxpand .btn { min-height: calc(73 * var(--u)); padding: calc(20 * var(--u)) calc(40 * var(--u)); font-size: calc(20 * var(--u)); }
  .lp-adxpand .btn__arrow { width: calc(25 * var(--u)); height: calc(25 * var(--u)); }
  .lp-adxpand .btn--lg { width: calc(357 * var(--u)); }
  .lp-adxpand .btn--sm { min-height: calc(48 * var(--u)); padding: calc(10 * var(--u)) calc(15 * var(--u)); font-size: calc(14 * var(--u)); }
  .lp-adxpand .btn--sm .btn__arrow { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
}

/* 白地のサブボタン（ログイン・代行を相談する） */
.lp-adxpand .btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(6 * var(--u));
  min-height: calc(46 * var(--u));
  padding: calc(10 * var(--u)) calc(15 * var(--u));
  border: 1px solid #D0D0D0;
  border-radius: calc(999 * var(--u));
  background: var(--c-white);
  box-shadow: 0 calc(10 * var(--u)) calc(15 * var(--u)) 0 rgba(0, 0, 0, 0.05);
  color: var(--c-black);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  line-height: 1.4;
  transition: transform 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.lp-adxpand .btn-sub:hover { transform: translateY(calc(-2 * var(--u))); border-color: var(--c-lime-border); }
.lp-adxpand .btn-sub__arrow {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  border-radius: 50%;
  background: #EFEFEF;
}
.lp-adxpand .btn-sub__arrow svg { width: calc(4 * var(--u)); height: calc(7 * var(--u)); }
.lp-adxpand .btn-sub--lg { min-height: calc(72 * var(--u)); padding: calc(16 * var(--u)) calc(26 * var(--u)) calc(16 * var(--u)) calc(34 * var(--u)); gap: calc(14 * var(--u)); font-size: calc(16 * var(--u)); }
.lp-adxpand .btn-sub--lg .btn-sub__arrow { width: calc(25 * var(--u)); height: calc(25 * var(--u)); }
.lp-adxpand .btn-sub--lg .btn-sub__arrow svg { width: calc(5 * var(--u)); height: calc(9 * var(--u)); }
@media (min-width: 1026px) {
  .lp-adxpand .btn-sub--lg { min-height: calc(52 * var(--u)); padding: calc(12 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u)) calc(16 * var(--u)); font-size: calc(14 * var(--u)); }
}

/* メインボタンに光を流す */
.lp-adxpand .btn--shine { overflow: hidden; isolation: isolate; }
.lp-adxpand .btn--shine::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%);
  z-index: -1; /* 文字と矢印の後ろ（btn--shine の isolation の中）を通す */
  transform: skewX(-20deg);
  pointer-events: none;
  animation: lpa-shine 4.5s ease-in-out 1.5s infinite;
}
@keyframes lpa-shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }

/* 押した手応え・矢印が進む */
.lp-adxpand .btn__arrow,
.lp-adxpand .btn-sub__arrow { transition: transform 0.2s ease; }
.lp-adxpand .btn:hover .btn__arrow,
.lp-adxpand .btn-sub:hover .btn-sub__arrow { transform: translateX(calc(3 * var(--u))); }
.lp-adxpand .btn-sub:active { transform: scale(0.97); }

/* 共通のキーフレーム（style-index.css の SP メニュー・ループアイコンも使う） */
@keyframes lpa-fade-in { from { opacity: 0; } to { opacity: 1; } }

@keyframes lpa-spin { to { transform: rotate(360deg); } }

/* ======== MODAL（資料請求・代行の相談） ======== */
.lp-adxpand .modal {
  width: calc(350 * var(--u));
  max-width: calc(100% - calc(20 * var(--u)));
  max-height: calc(100% - calc(40 * var(--u)));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: calc(16 * var(--u));
  background: var(--c-white);
  color: var(--c-black);
  box-shadow: 0 calc(20 * var(--u)) calc(50 * var(--u)) rgba(0, 0, 0, 0.2);
  overflow: auto;
}
.lp-adxpand .modal::backdrop { background: rgba(20, 23, 26, 0.55); }
.lp-adxpand .modal[open] { animation: lpa-modal-in 0.22s ease; }
@keyframes lpa-modal-in { from { opacity: 0; transform: translateY(calc(12 * var(--u))); } to { opacity: 1; transform: none; } }
.lp-adxpand .modal__panel { position: relative; padding: calc(30 * var(--u)) calc(20 * var(--u)) calc(26 * var(--u)); }
.lp-adxpand .modal__close {
  position: absolute;
  top: calc(12 * var(--u));
  right: calc(12 * var(--u));
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  border-radius: 50%;
  background: #EFEFEF;
}
.lp-adxpand .modal__close::before,
.lp-adxpand .modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(14 * var(--u));
  height: calc(2 * var(--u));
  background: var(--c-black);
  transform: translate(-50%, -50%) rotate(45deg);
}
.lp-adxpand .modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lp-adxpand .modal__title { font-size: calc(22 * var(--u)); font-weight: 900; line-height: 1.4; text-align: center; }
.lp-adxpand .modal__title:focus { outline: none; }
.lp-adxpand .modal__lead { margin-top: calc(10 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1.7; }
.lp-adxpand .modal__form { display: flex; flex-direction: column; gap: calc(14 * var(--u)); margin-top: calc(18 * var(--u)); }
.lp-adxpand .modal__field label { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 700; }
.lp-adxpand .is-required {
  padding: calc(1 * var(--u)) calc(6 * var(--u));
  border-radius: calc(3 * var(--u));
  background: #E50000;
  color: var(--c-white);
  font-size: calc(11 * var(--u));
  font-weight: 700;
  line-height: 1.5;
}
.lp-adxpand .modal__field input {
  display: block;
  width: 100%;
  height: calc(46 * var(--u));
  margin-top: calc(6 * var(--u));
  padding: 0 calc(12 * var(--u));
  border: 1px solid #C9D0D6;
  border-radius: calc(8 * var(--u));
  background: var(--c-white);
  font-size: max(16px, calc(15 * var(--u)));
  line-height: 1.4;
}
.lp-adxpand .modal__field input:focus { outline: 2px solid var(--c-lime-border); outline-offset: 0; border-color: transparent; }
.lp-adxpand .modal__field.is-error input { border-color: #E50000; }
.lp-adxpand .modal__error { margin-top: calc(5 * var(--u)); color: #D10000; font-size: calc(12 * var(--u)); font-weight: 700; }
.lp-adxpand .modal__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-adxpand .modal__agree { font-size: calc(12 * var(--u)); font-weight: 400; line-height: 1.6; }
.lp-adxpand .modal__agree a { text-decoration: underline; }
.lp-adxpand .modal__status { white-space: pre-line; padding: calc(10 * var(--u)) calc(12 * var(--u)); border-radius: calc(8 * var(--u)); background: #FFF0F0; color: #B00000; font-size: calc(13 * var(--u)); font-weight: 700; }
.lp-adxpand .modal__submit { width: 100%; min-height: calc(60 * var(--u)); font-size: calc(17 * var(--u)); }
.lp-adxpand .modal__submit.is-loading { pointer-events: none; opacity: 0.7; }
.lp-adxpand .modal__done { display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--u)); padding: calc(20 * var(--u)) 0 calc(6 * var(--u)); text-align: center; }
.lp-adxpand .modal__done[hidden] { display: none; }
.lp-adxpand .modal__done .btn-sub { margin-top: calc(16 * var(--u)); min-height: calc(50 * var(--u)); }
@media (min-width: 1026px) {
  .lp-adxpand .modal { width: calc(520 * var(--u)); }
  .lp-adxpand .modal__panel { padding: calc(40 * var(--u)) calc(44 * var(--u)) calc(36 * var(--u)); }
  .lp-adxpand .modal__title { font-size: calc(26 * var(--u)); }
  .lp-adxpand .modal__lead { font-size: calc(14 * var(--u)); }
  .lp-adxpand .modal__field input { font-size: calc(15 * var(--u)); }
}

/* 入力エラーの欄を小さく揺らす */
.lp-adxpand .modal__field.is-shake input { animation: lpa-shake 0.4s ease; }
@keyframes lpa-shake {
  0%, 100% { transform: none; }
  20% { transform: translateX(calc(-6 * var(--u))); }
  40% { transform: translateX(calc(6 * var(--u))); }
  60% { transform: translateX(calc(-4 * var(--u))); }
  80% { transform: translateX(calc(4 * var(--u))); }
}

/* 送信中のくるくる・完了のチェック */
.lp-adxpand .modal__submit.is-loading { color: transparent; opacity: 1; }
.lp-adxpand .modal__submit.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  margin: auto;
  border: calc(3 * var(--u)) solid rgba(0, 0, 0, 0.15);
  border-top-color: var(--c-black);
  border-radius: 50%;
  animation: lpa-spin 0.8s linear infinite;
}
.lp-adxpand .modal__check { width: calc(64 * var(--u)); height: calc(64 * var(--u)); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lp-adxpand .modal__check circle { stroke: var(--c-lime); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: lpa-draw 0.5s ease forwards; }
.lp-adxpand .modal__check path { stroke: #3D6B00; stroke-width: 4; stroke-dasharray: 36; stroke-dashoffset: 36; animation: lpa-draw 0.35s ease 0.45s forwards; }
@keyframes lpa-draw { to { stroke-dashoffset: 0; } }

/* 送信中: フォームの上に覆いをかけ、終わるまで操作させない */
.lp-adxpand .modal__sending {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(16 * var(--u));
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.9);
  font-size: calc(15 * var(--u));
  font-weight: 700;
  text-align: center;
  animation: lpa-fade-in 0.2s ease;
}
.lp-adxpand .modal__sending[hidden] { display: none; }
.lp-adxpand .modal__sending::before {
  content: "";
  width: calc(40 * var(--u));
  height: calc(40 * var(--u));
  border: calc(4 * var(--u)) solid rgba(0, 0, 0, 0.12);
  border-top-color: #8FBA00;
  border-radius: 50%;
  animation: lpa-spin 0.8s linear infinite;
}
.lp-adxpand .modal__sending small { display: block; margin-top: calc(4 * var(--u)); color: var(--c-muted); font-size: calc(12 * var(--u)); font-weight: 500; }
.lp-adxpand .modal__panel { border-radius: inherit; }
.lp-adxpand .modal__done-note {
  width: 100%;
  margin-top: calc(14 * var(--u));
  padding: calc(14 * var(--u)) calc(16 * var(--u));
  border-radius: calc(10 * var(--u));
  background: var(--c-lime-soft);
  font-size: calc(13 * var(--u));
  line-height: 1.7;
  text-align: left;
}
.lp-adxpand .modal__done-note strong { font-weight: 700; }

/* ======== サンクスページ（src/thanks/index.php。チェックと注意書きはモーダルの完了画面と同じ部品） ======== */
body:has(.lp-adxpand.thanks) { background: #fff; } /* help.css の地（グラデーション）をやめて白にする */
.lp-adxpand.thanks { background: transparent; }
.lp-adxpand .thanks__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--u));
  width: calc(350 * var(--u));
  margin: 0 auto;
  padding: calc(48 * var(--u)) 0 calc(64 * var(--u));
  text-align: center;
}
.lp-adxpand .thanks__title { margin-top: calc(6 * var(--u)); font-size: calc(24 * var(--u)); font-weight: 900; line-height: 1.4; }
.lp-adxpand .thanks__lead { font-size: calc(14 * var(--u)); line-height: 1.8; }
.lp-adxpand .thanks__download { margin: calc(8 * var(--u)) 0 calc(6 * var(--u)); }
.lp-adxpand .thanks__meeting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--u));
  width: 100%;
  margin-top: calc(14 * var(--u));
  padding: calc(20 * var(--u)) calc(16 * var(--u)) calc(22 * var(--u));
  border: 1px solid var(--c-line);
  border-radius: calc(10 * var(--u));
}
.lp-adxpand .thanks__meeting-title { font-size: calc(17 * var(--u)); font-weight: 900; }
.lp-adxpand .thanks__meeting-text { font-size: calc(13 * var(--u)); line-height: 1.7; }
.lp-adxpand .thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(12 * var(--u)); margin-top: calc(24 * var(--u)); }
@media (min-width: 1026px) {
  .lp-adxpand .thanks__inner { width: calc(560 * var(--u)); padding: calc(80 * var(--u)) 0 calc(96 * var(--u)); }
  .lp-adxpand .thanks__title { font-size: calc(30 * var(--u)); }
  .lp-adxpand .thanks__lead { font-size: calc(16 * var(--u)); }
  .lp-adxpand .thanks__meeting-title { font-size: calc(19 * var(--u)); }
  .lp-adxpand .thanks__meeting-text { font-size: calc(14 * var(--u)); }
}
