@charset "UTF-8";

/* ============================================================
   下層ページ共通スタイル（オリジナルHTML完全準拠）
   ============================================================ */

:root {
  --pages-main-color: #00A179;
  --pages-main-color-dark: #008764;
  --pages-border-color: #D9E3E0;
  --pages-text-main: #1F2D2A;
  --pages-text-sub: #5F6F6B;
  --pages-bg: #F7FAF9;
  --pages-white: #FFFFFF;
  --pages-danger: #B23A3A;
}

body {
  background: var(--pages-bg);
}

.wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.page-header__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 161, 121, 0.1);
  color: var(--pages-main-color);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--pages-text-main);
}

.page-header p {
  margin: 0;
  font-size: 15px;
  color: var(--pages-text-sub);
  line-height: 1.7;
}

/* ============================================================
   サンクスページ (.thanks-card)
   ============================================================ */
.thanks-card {
  background: var(--pages-white);
  border: 1px solid var(--pages-border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.thanks-card__head {
  height: 10px;
  background: var(--pages-main-color);
}

.thanks-content {
  padding: 48px 28px 40px;
  text-align: center;
}

.thanks-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(0, 161, 121, 0.1);
  border: 1px solid rgba(0, 161, 121, 0.18);
}

.thanks-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--pages-main-color);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks-title {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--pages-text-main);
}

.thanks-text {
  max-width: 620px;
  margin: 0 auto 14px;
  font-size: 15px;
  color: var(--pages-text-main);
}

.thanks-text--sub {
  color: var(--pages-text-sub);
}

.info-box {
  max-width: 620px;
  margin: 28px auto 0;
  padding: 18px 20px;
  text-align: left;
  border: 1px solid #D7ECE6;
  border-radius: 14px;
  background: #F4FBF9;
}

.info-box__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pages-text-main);
}

.info-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.info-box li {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--pages-text-sub);
}

.info-box li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   プライバシーポリシー (.policy-card)
   ============================================================ */
.policy-card {
  background: var(--pages-white);
  border: 1px solid var(--pages-border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.policy-card__head {
  height: 10px;
  background: var(--pages-main-color);
}

.policy-content {
  padding: 32px 28px;
}

.policy-intro {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--pages-text-main);
}

.policy-section {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--pages-border-color);
}

.policy-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.policy-section h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--pages-text-main);
}

.policy-section p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--pages-text-main);
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-list {
  margin: 0;
  padding-left: 1.2em;
}

.policy-list li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--pages-text-main);
}

.policy-list li:last-child {
  margin-bottom: 0;
}

.contact-box {
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid #D7ECE6;
  border-radius: 14px;
  background: #F4FBF9;
}

.contact-box p {
  margin: 0 0 8px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.policy-date {
  margin-top: 24px;
  font-size: 14px;
  color: var(--pages-text-sub);
  text-align: right;
}

/* ============================================================
   確認画面 (.confirm-card)
   ============================================================ */
.confirm-card {
  background: var(--pages-white);
  border: 1px solid var(--pages-border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.confirm-card__head {
  height: 10px;
  background: var(--pages-main-color);
}

.confirm-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.confirm-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--pages-border-color);
  align-items: start;
}

.confirm-item:last-child {
  border-bottom: none;
}

.confirm-item__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--pages-text-main);
}

.confirm-item__value {
  font-size: 15px;
  color: var(--pages-text-main);
  word-break: break-word;
  white-space: pre-wrap;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #FDECEC;
  color: var(--pages-danger);
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

/* ============================================================
   ボタン共通
   ============================================================ */
.button-area {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  appearance: none;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: var(--pages-main-color);
  color: var(--pages-white);
  border: 1px solid var(--pages-main-color);
}

.btn--primary:hover {
  background: var(--pages-main-color-dark);
  border-color: var(--pages-main-color-dark);
}

.btn--secondary {
  background: var(--pages-white);
  color: var(--pages-main-color);
  border: 1px solid var(--pages-main-color);
}

.btn--secondary:hover {
  background: #F2FBF8;
}

.button-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--pages-text-sub);
}

/* ============================================================
   レスポンシブ (SP)
   ============================================================ */
@media (max-width: 767px) {
  .wrapper {
    padding: 24px 16px 48px;
  }

  .page-header {
    margin-bottom: 24px;
  }

  .page-header h1 {
    font-size: 26px;
  }

  .page-header p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Thanks */
  .thanks-content {
    padding: 36px 18px 32px;
  }

  .thanks-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
  }

  .thanks-icon svg {
    width: 30px;
    height: 30px;
  }

  .thanks-title {
    font-size: 24px;
  }

  .thanks-text {
    font-size: 14px;
  }

  .info-box {
    padding: 16px;
  }

  /* Policy */
  .policy-content {
    padding: 24px 18px;
  }

  .policy-intro,
  .policy-section p,
  .policy-list li {
    font-size: 14px;
  }

  .policy-section h2 {
    font-size: 18px;
  }

  .contact-box {
    padding: 16px 16px;
  }

  /* Confirm */
  .confirm-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .confirm-item__label {
    font-size: 14px;
  }

  .confirm-item__value {
    font-size: 14px;
  }

  /* Buttons */
  .button-area {
    padding: 24px 18px 4px;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }
}
