/* ==========================================================================
   Restar Theme - thanks.css
   お問い合わせ送信完了ページ
   ========================================================================== */

.page-header__title-sub { font-size: .82em; }

/* ---------- 完了メッセージ ---------- */
.thanks { background: linear-gradient(180deg, #fff 0%, #f3f7fd 100%); padding: 90px 0 110px; }
.thanks__inner { position: relative; text-align: center; }
.thanks__icon {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 36px;
  border: 2px solid var(--blue-500);
  border-radius: 50%;
  font-size: 48px;
  color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 18px rgba(26, 109, 255, .06), 0 10px 30px rgba(16, 80, 200, .12);
}
.thanks__icon .icon { stroke-width: 2.2; }
.thanks__title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: .08em; line-height: 1.5; margin-bottom: 32px; }
.thanks__text { font-size: 15px; line-height: 2; color: var(--text); margin-bottom: 18px; }
.thanks .btn { margin-top: 40px; min-width: 200px; }

/* 白地に青線のボタン */
.btn--line { color: var(--blue-600); background: #fff; border: 1.5px solid var(--blue-500); }
.btn--line:hover { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }

/* ---------- ブランドメッセージ ---------- */
.brand { position: relative; overflow: hidden; background: linear-gradient(100deg, #f2f7ff 0%, #e8f1ff 55%, #dbe9ff 100%); }
.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(140, 194, 255, .35) 0 6%, transparent 6%),
    linear-gradient(-50deg, transparent 14%, rgba(255, 255, 255, .7) 14%, rgba(255, 255, 255, .7) 17%, transparent 17%);
}
.brand__city {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 62%;
  background-size: cover;
  background-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%), linear-gradient(90deg, transparent 0%, #000 35%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%), linear-gradient(90deg, transparent 0%, #000 35%);
  mask-composite: intersect;
}
.brand__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.brand__body .section-label { letter-spacing: .14em; }
.brand__body .section-title { font-size: clamp(24px, 2.4vw, 32px); }
.brand__text { font-size: 14px; line-height: 2.1; color: var(--text); }
.brand__visual { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 30px; align-self: start; }
.brand__mark { width: 150px; height: auto; filter: drop-shadow(0 10px 20px rgba(16, 80, 200, .2)); }
.brand__catch {
  font-family: var(--font-hand);
  font-size: 32px;
  line-height: 1.05;
  color: var(--navy-700);
  transform: rotate(-10deg);
  margin-top: 10px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .brand__inner { grid-template-columns: 1fr; padding-bottom: 200px; }
  .brand__visual { justify-content: flex-start; }
  .brand__city { width: 100%; height: 42%; }
}
@media (max-width: 767px) {
  .thanks { padding: 64px 0 80px; }
  .thanks__icon { width: 76px; height: 76px; font-size: 38px; margin-bottom: 28px; }
  .thanks__text { font-size: 14px; }
  .thanks__text br { display: none; }
  .brand__inner { padding-top: 56px; padding-bottom: 170px; }
  .brand__mark { width: 110px; }
  .brand__catch { font-size: 26px; }
}
