/* はじめて脱毛する方へ（page-first.php）。SP を基本に、768px 以上で PC */

.page-beginners strong { color: #1e429b; font-weight: 700; }

/* ---------- 見出し・写真・導入 ---------- */
.beg-hero { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.beg-hero .page-heading { padding-bottom: 16px; }
.beg-hero .page-heading__en { font-size: 64px; line-height: .9; }
.beg-hero__img { display: block; width: 100%; max-width: 335px; height: auto; aspect-ratio: 335 / 200; object-fit: cover; object-position: 24% 56%; border-radius: 8px; }
.beg-hero__body { max-width: 335px; margin: 32px 0 0; color: #333; font-size: 13px; line-height: 2; text-align: justify; }

/* ---------- 共通の見出し・リード ---------- */
.beg-heading__en { margin: 0; color: #1e429b; font-family: "Melodrama", serif; font-size: 56px; line-height: 1; text-transform: uppercase; }
.beg-heading__ja { margin: 16px 0 0; color: #333; font-size: 14px; font-weight: 700; line-height: 1.5; }
.beg-lead { margin: 32px 0 0; color: #333; font-size: 13px; line-height: 2; }

/* ---------- 背景（DIFFERENCE・FEATURES）。上下は白へぼかす ---------- */
/* 写真の下端は白い帯と青みがあるため、上の 7 割ほどだけを見せる（エレポレ脱毛ページと同じ） */
.beg-bg { position: relative; margin-top: 56px; background: #f3ebe4 var(--beg-bg) center top / auto 142% no-repeat; }
.beg-bg::before, .beg-bg::after { content: ""; position: absolute; left: 0; width: 100%; pointer-events: none; }
.beg-bg::before { top: 0; height: 61px; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.beg-bg::after { bottom: 0; height: 123px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.beg-bg > * { position: relative; z-index: 1; }
/* SP: 共通の PC 用写真だと上の方が白く、DIFFERENCE の後ろがほぼ白になるため、
   Figma（はじめて脱毛する方へ/sp の img-bg）の重ね方（写真 75%・回転して 3 枚）で書き出した画像にする（2026-11-13） */
@media (max-width: 767px) {
	.beg-bg { background-image: url(../img/method/first-bg-sp.jpg); background-size: 100% 100%; }
}

/* ---------- DIFFERENCE ---------- */
.beg-diff { padding: 64px 20px 80px; }
.beg-table { width: calc(100% + 8px); margin: 40px -4px -4px; border-collapse: separate; border-spacing: 4px; table-layout: fixed; color: #333; font-size: 13px; font-weight: 500; line-height: 1.25; text-align: center; }
.beg-table__label-col { width: 71px; }
.beg-table th, .beg-table td { height: 46px; padding: 8px 2px; border-radius: 4px; font-weight: 500; vertical-align: middle; white-space: nowrap; }
.beg-table thead td { padding: 0; }
.beg-table thead th { padding: 16px 4px; color: #fff; font-size: 12px; line-height: 1.5; }
.beg-table thead img { display: block; margin: 0 auto; }
.beg-table thead .is-stlassh { background: #1e429b; }
.beg-table thead .is-salon { background: #926536; }
.beg-table thead .is-medical { background: #777; }
.beg-table tbody th { background: #fff; box-shadow: 0 0 2.5px rgba(0, 0, 0, .1); font-size: 12px; }
.beg-table tbody .is-stlassh { background: #e1edff; color: #1e429b; }
.beg-table tbody .is-salon { background: #ebddce; }
.beg-table tbody .is-medical { background: #d2d2d2; }
.beg-table small { display: block; font-size: 9px; line-height: 1.5; }

/* ---------- FEATURES ---------- */
.beg-features { padding: 0 20px 80px; }
.beg-features__en { margin: 0; color: #1e429b; font-family: "Melodrama", serif; font-size: 96px; line-height: .9; }
.beg-features__ja { margin: 12px 0 0; color: #333; font-size: 14px; font-weight: 700; line-height: 1.5; }
.beg-features__list { display: flex; flex-direction: column; gap: 56px; margin-top: 40px; }
.beg-feature { display: flex; flex-direction: column; gap: 16px; }
.beg-feature__img { overflow: hidden; height: 270px; border-radius: 8px; }
.beg-feature__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.beg-feature__img-01 { object-position: 38% 100%; }
.beg-feature__img-02 { object-position: 60% 30%; transform: scale(1.33); transform-origin: 60% 30%; }
.beg-feature--badge .beg-feature__img { height: auto; aspect-ratio: 335 / 198; background: #cbebff; }
.beg-feature__num { margin: 0; color: #1e429b; font-family: "Aboreto", serif; font-size: 32px; line-height: 2; }
.beg-feature__title { margin: 12px 0 0; color: #333; font-size: 24px; font-weight: 500; line-height: 1.5; }
.beg-feature__body { margin: 24px 0 0; padding-right: 16px; color: #333; font-size: 13px; line-height: 2; }
.beg-feature__text { display: flex; flex-direction: column; }
.beg-feature__link { align-self: flex-end; margin: 24px 0 0; }

/* ---------- CHECK POINT ---------- */
.beg-check { padding: 64px 20px; }
.beg-check__list { display: flex; flex-direction: column; gap: 32px; margin: 40px 0 0; padding: 0; list-style: none; }
.beg-check__item { display: flex; flex-direction: column; align-items: center; padding-bottom: 40px; border-bottom: 1px dashed #d9d8d8; }
.beg-check__item:last-child { padding-bottom: 0; border-bottom: 0; }
.beg-check__icon { display: block; height: auto; }
.beg-check__title { margin: 16px 0 0; color: #333; font-size: 20px; font-weight: 500; line-height: 1.5; text-align: center; }
.beg-check__catch { margin: 32px 0 0; color: #c74f7b; font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; }
.beg-check__catch + .beg-check__body { margin-top: 24px; }
.beg-check__body { margin: 32px 0 0; color: #333; font-size: 13px; line-height: 2; }

@media (min-width: 768px) {
	.beg-hero .page-heading { padding-bottom: 32px; }
	.beg-hero .page-heading__en { font-size: 96px; }
	.beg-hero__img { max-width: 1120px; aspect-ratio: 1120 / 556; object-position: 51% 51%; border-radius: 12px; }
	.beg-hero__body { max-width: none; margin-top: 56px; font-size: 14px; text-align: center; }

	.beg-heading, .beg-lead { text-align: center; }
	.beg-heading__en { font-size: 80px; }
	.beg-heading__ja { font-size: 16px; }
	.beg-lead { font-size: 14px; }

	.beg-bg { margin-top: 64px; background-size: 100% auto; }
	.beg-diff { padding: 112px 0 104px; }
	.beg-table { width: 932px; margin: 56px auto 0; font-size: 14px; }
	.beg-table__label-col { width: 187px; }
	.beg-table tbody th { font-size: 14px; }
	.beg-table thead th { font-size: 14px; }
	.beg-table thead img { width: 82px; height: auto; }
	.beg-table small { font-size: 10px; }

	.beg-features { width: 1120px; margin: 0 auto; padding: 0 0 160px; }
	.beg-features__heading { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 16px; margin-bottom: -16px; }
	.beg-features__en { font-size: 120px; }
	.beg-features__ja { margin: 0 0 40px; font-size: 14px; }
	.beg-features__list { gap: 56px; margin-top: 0; }
	.beg-feature { flex-direction: row; align-items: center; gap: 56px; }
	.beg-feature--reverse { flex-direction: row-reverse; }
	.beg-feature__img { flex: none; width: 643px; height: 517px; border-radius: 12px; }
	.beg-feature--badge .beg-feature__img { height: auto; aspect-ratio: 643 / 393; }
	.beg-feature__text { flex: none; width: 421px; }
	.beg-feature--reverse .beg-feature__text { width: 356px; margin-right: auto; }
	.beg-feature__title { margin-top: 12px; font-size: 18px; }
	.beg-feature__body { padding-right: 65px; }
	.beg-feature--reverse .beg-feature__body { padding-right: 0; }

	.beg-check { width: 1120px; margin: 0 auto; padding: 120px 0; }
	.beg-check__list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 24px 0; margin-top: 56px; }
	.beg-check__item { width: 373px; padding: 0 28px; border-bottom: 0; border-left: 1px solid #d9d8d8; }
	.beg-check__item:nth-child(1), .beg-check__item:nth-child(4) { border-left: 0; }
	.beg-check__item:last-child { padding: 0 28px; border-left: 1px solid #d9d8d8; }
	.beg-check__title { font-size: 18px; }
	.beg-check__catch { margin-top: 24px; }
	.beg-check__body { margin-top: 24px; font-size: 12px; }
}
