@charset "utf-8";
/* =========================================================================
   ページ下の CTA（資料ダウンロード／無料相談）
   指示 2026-09-18「このCTAのデザインをもう少し小さくして デザインを変更して」

   ・以前は青い帯に 1200×240 の大きな白いピルを左右に割った形（style.css の .av-cta。原本のまま残してある）。
     高さを約半分にし、細めの水色グラデーションの帯に「横長の丸いカード」を置く形に変えた。
   ・★2026-09-21 指示で「サービス資料をダウンロードする」のカードを削除し、カードは1枚だけになった。
     残りは「無料相談はこちら」（白く塗ったカード）。1列・幅520pxで中央に置いている。
     .ct__ic-doc と .ct__br はもう使っていないが、カードを戻すときのために残してある。
     元は _removed/cta-before-ctaone-2026-09-21.css
   ・色はトークン（--c-blue 系）で書いているのでテーマを替えても追従する。
   ・マークアップは _tools/build.py の CTA。以前のマークアップは _removed/cta-av.html。
   ========================================================================= */

.ct {
  position: relative;
  z-index: 1;
  padding: 56px 0;
  background: linear-gradient(115deg, var(--c-blue) 0%, var(--c-grad-a) 100%);
}
.ct__in {
  display: grid;
  grid-template-columns: 1fr;          /* 2026-09-21 カードが1枚になったので1列・中央に置く */
  gap: 20px;
  width: min(520px, calc(100% - var(--side) * 2));
  margin-inline: auto;
}

.ct__card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 18px 24px 18px 22px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 48px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.ct__card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .16); }
.ct__card--main {
  border-color: #fff;
  background: #fff;
  color: var(--c-blue);
  box-shadow: 0 12px 30px rgba(0, 70, 120, .18);
}
.ct__card--main:hover { background: #fff; box-shadow: 0 16px 36px rgba(0, 70, 120, .26); }

/* アイコン（原本のアイコンを mask で色付け） */
.ct__ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
}
.ct__ic i { display: block; width: 30px; height: 30px; background: var(--c-blue); }
.ct__card--main .ct__ic { background: var(--c-blue); }
.ct__card--main .ct__ic i { background: #fff; }
.ct__ic-doc  { -webkit-mask: url(images/icon/doc-download.svg) center / 30px 30px no-repeat; mask: url(images/icon/doc-download.svg) center / 30px 30px no-repeat; }
.ct__ic-mail { -webkit-mask: url(images/icon/mail.svg) center / 28px 28px no-repeat; mask: url(images/icon/mail.svg) center / 28px 28px no-repeat; }

.ct__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ct__en {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.4;
  opacity: .82;
}
.ct__txt {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}
.ct__br { display: none; }

.ct__ar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.ct__ar svg { display: block; width: 16px; height: 16px; transition: translate .4s var(--ease); }
.ct__card:hover .ct__ar svg { translate: 3px 0; }

/* 〜1024px：カードが細くなるので2行に */
@media (max-width: 1024px) {
  .ct__br { display: inline; }
  .ct__txt { font-size: 16px; }
}

/* スマホ：縦に2枚 */
@media (max-width: 767px) {
  .ct { padding: 44px 0; }
  .ct__in { grid-template-columns: 1fr; gap: 12px; width: calc(100% - 40px); }
  .ct__card { gap: 12px; min-height: 76px; padding: 12px 16px 12px 12px; border-radius: 40px; }
  .ct__ic { width: 46px; height: 46px; }
  .ct__ic i { width: 26px; height: 26px; }
  .ct__ic-doc  { -webkit-mask-size: 26px 26px; mask-size: 26px 26px; }
  .ct__ic-mail { -webkit-mask-size: 24px 24px; mask-size: 24px 24px; }
  .ct__en { font-size: 10px; }
  .ct__txt { font-size: 15px; }
  .ct__ar { width: 30px; height: 30px; }
  .ct__ar svg { width: 14px; height: 14px; }
}
