/* 20歳未満のお客様へ（page-agreement.php）。SP を基本に、768px 以上で PC */

.page-agreement .page-heading__en { font-size: 64px; line-height: 1; }
.agr-intro { margin: 40px 20px 0; color: #333; font-size: 13px; line-height: 2; text-align: center; }
.agr-sec { margin: 80px 20px 0; }
.agr-lead { margin: 32px 0 0; color: #333; font-size: 13px; line-height: 2; }

/* ---------- 年齢別のご案内 ---------- */
.agr-age__list { display: flex; flex-direction: column; gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.agr-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .08); }
.agr-card__head { padding: 20px 20px 16px; background: #e1edff; text-align: center; }
.agr-card__age { margin: 0; color: #1e429b; font-size: 22px; font-weight: 700; line-height: 1.4; }
.agr-card__age span { margin-left: 2px; font-size: 14px; }
.agr-card__type { margin: 4px 0 0; color: #1e429b; font-size: 13px; font-weight: 500; line-height: 1.5; }
.agr-card__need { display: inline-block; margin: 12px 0 0; padding: 4px 16px; border-radius: 999px; background: #fff; color: #333; font-size: 12px; line-height: 1.5; }
.agr-card__need strong { color: #c74f7b; font-weight: 700; }
.agr-card__need.is-none strong { color: #1e429b; }
.agr-card__body { padding: 20px 20px 0; color: #333; font-size: 13px; line-height: 2; }
.agr-card__body p { margin: 0; }
.agr-card__body p + p { margin-top: 8px; }
.agr-card > :last-child { margin-bottom: 24px; }
.agr-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; margin: 24px 20px 0; border-radius: 28px; background: #1e429b; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.agr-btn__pdf { padding: 1px 6px; border: 1px solid #fff; border-radius: 3px; font-size: 10px; line-height: 1.4; }

/* ---------- コンビニプリント ---------- */
.agr-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: none; }
.agr-step { display: flex; flex-direction: column; }
.agr-step__img { display: block; width: 100%; height: auto; aspect-ratio: 468 / 308; border-radius: 6px; object-fit: cover; }
.agr-step__num { margin: 8px 0 0; color: #1e429b; font-family: "Aboreto", serif; font-size: 20px; line-height: 1.4; }
.agr-step__text { margin: 2px 0 0; color: #333; font-size: 12px; line-height: 1.6; }
.agr-step__text br { display: none; }
.agr-app { margin: 40px 0 0; padding: 24px 16px; border-radius: 8px; background: #f6eee2; text-align: center; }
.agr-app__label { margin: 0; color: #333; font-size: 14px; font-weight: 700; line-height: 1.5; }
.agr-app__badges { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.agr-app__badges img { display: block; width: 140px; height: auto; }

@media (min-width: 768px) {
	.page-agreement .page-heading__en { font-size: 96px; }
	.agr-intro { margin-top: 56px; font-size: 16px; }
	.agr-sec { width: 1120px; margin: 120px auto 0; }
	.agr-lead { margin-top: 40px; font-size: 16px; text-align: center; }

	.agr-age__list { flex-direction: row; align-items: stretch; gap: 32px; margin-top: 56px; }
	.agr-card { flex: 1; border-radius: 12px; }
	/* 区分（高校生など）の有無で見出しの高さが変わらないようにそろえる */
	.agr-card__head { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; padding: 24px; }
	.agr-card__age { font-size: 26px; }
	.agr-card__body { flex: 1; padding: 24px 28px 0; font-size: 14px; }
	.agr-card > :last-child { margin-bottom: 32px; }
	.agr-btn { margin: 24px 28px 0; }

	.agr-steps { grid-template-columns: repeat(3, 1fr); gap: 48px 40px; margin-top: 56px; }
	.agr-step__img { border-radius: 8px; }
	.agr-step__num { margin-top: 12px; font-size: 24px; }
	.agr-step__text { font-size: 14px; }
	.agr-step__text br { display: inline; }
	.agr-app { display: flex; align-items: center; justify-content: center; gap: 32px; width: 720px; margin: 56px auto 0; padding: 32px; border-radius: 12px; }
	.agr-app__badges { margin-top: 0; gap: 16px; }
	.agr-app__badges img { width: 174px; }
}
