/*
 * Security check landing page (template-security-check.php).
 * Loaded only on that template; builds on the shared lower-page styles.
 */

.p-check {
	--check-navy: #101b33;
	--check-ice: #8faec8;
	--check-paper: #f7f8fa;
	--check-line: rgba(16, 27, 51, .14);
	--check-text: #111827;
	--check-muted: #4b5563;
}

.p-check p, .p-check li, .p-check h2, .p-check h3 { text-wrap: pretty; word-break: auto-phrase; }
.p-check-points > .l-container, .p-check-worries > .l-container, .p-check-section > .l-container { max-width: 1200px; padding-inline: 40px; }
.p-check strong { font-weight: 600; }

/* Buttons --------------------------------------------------------------- */
.p-check .p-check-cta.p-text-link { gap: 16px; width: min(100%, 360px); min-height: 72px; border-color: var(--check-navy); background: var(--check-navy); color: #fff; line-height: 1.6; transition: background-color .3s, color .3s; }
.p-check .p-check-cta.p-text-link:hover { background: #fff; color: var(--check-navy); }
.p-check .p-check-cta.p-text-link i { font-size: 18px; font-style: normal; }
.p-check .p-check-cta.p-text-link span { word-break: auto-phrase; text-wrap: balance; }
.p-check .p-check-cta.is-large { width: min(100%, 440px); min-height: 88px; font-size: 13px; }

/* Hero ------------------------------------------------------------------ */
/* The Japanese lead is the page's h1; keep the look of the shared paragraph style. */
.p-check h1.l-page-header__ja { line-height: 1.6; }
.p-check-hero__news { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: inherit; font-size: 13px; letter-spacing: .05em; text-decoration: underline; text-underline-offset: 5px; }
.p-check-hero__news i { font-style: normal; transition: transform .3s; }
.p-check-hero__news:hover i { transform: translateX(4px); }
.p-check-hero { max-width: 500px; margin: 0 0 0 auto; }
.p-check-hero p { margin: 0; }
.p-check-hero__badge { display: inline-block; margin-bottom: 16px !important; padding: 7px 14px; background: var(--check-navy); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .1em; }
.p-check-hero__lead { font-size: 16px; font-weight: 500; line-height: 1.9; letter-spacing: .06em; }
.p-check .p-check-hero .p-check-cta { width: 100%; margin-top: 28px; }

/* Points ---------------------------------------------------------------- */
.p-check-points { padding: 120px 0; background: #fff; }
.p-check-points__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.p-check-points__item { display: grid; justify-items: center; align-content: start; gap: 14px; padding: 48px 28px 44px; border: 1px solid var(--check-line); text-align: center; }
.p-check-points__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: var(--check-navy); color: #fff; font: 600 18px/1 sans-serif; letter-spacing: .02em; }
.p-check-points__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p-check-points__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.6; letter-spacing: .03em; }
.p-check-points__text { margin: 0; color: var(--check-muted); font-size: 13px; line-height: 1.9; }

/* Worries --------------------------------------------------------------- */
.p-check-worries { padding: 160px 0 170px; background: var(--check-navy); color: #fff; text-align: center; }
.p-check-worries__title { margin: 0; font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; line-height: 1.6; letter-spacing: .02em; }
.p-check-worries__eyebrow { display: block; margin-bottom: 14px; color: var(--check-ice); font-size: clamp(15px, 1.4vw, 19px); letter-spacing: .08em; }
.p-check-worries__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; max-width: 1240px; margin: 80px auto 0; padding: 0; list-style: none; }
.p-check-worries__list li { position: relative; display: grid; place-items: center; min-height: 120px; padding: 26px 28px; border-radius: 12px; background: #fff; color: var(--check-navy); font-size: 16px; font-weight: 500; line-height: 1.8; }
.p-check-worries__list li::after { content: ""; position: absolute; bottom: -12px; left: 50%; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; transform: translateX(-50%); }
.p-check-worries__answer { margin: 96px auto 0; font-size: 16px; line-height: 2.1; letter-spacing: .05em; }
.p-check-worries__answer strong { display: inline-block; margin-top: 10px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.9; }

/* Sections -------------------------------------------------------------- */
.p-check-section { padding: 190px 0; background: #fff; color: var(--check-text); }
.p-check-section.is-paper { background: var(--check-paper); }
.p-check-section.is-grid {
	background-color: var(--check-paper);
	background-image: linear-gradient(rgba(16, 27, 51, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 27, 51, .055) 1px, transparent 1px);
	background-size: 8.333vw 8.333vw;
}
.p-check-section.is-navy { background: var(--check-navy); color: #fff; }
.p-check-section.is-navy .c-heading { color: #fff; }

.p-check-section__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 22px; border-bottom: 1px solid currentColor; font: 600 12px/1 sans-serif; letter-spacing: .18em; }
.p-check-section__head p { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .15em; }

.p-check-section__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6vw; align-items: end; margin: 110px 0 90px; }
.p-check-section__title.c-heading { margin: 0; color: inherit; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.45; letter-spacing: -.02em; text-wrap: balance; }
.p-check-section__lead { max-width: 680px; margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 2; letter-spacing: .04em; }
.p-check-section__lead strong, .p-check-partner-foot__text strong, .p-check-more__body strong, .p-check-contact__keyword strong { background: linear-gradient(transparent 62%, rgba(143, 174, 200, .45) 62%); }

/* Small notes ----------------------------------------------------------- */
.p-check-note { margin: 28px 0 0; color: var(--check-muted); font-size: 13px; line-height: 1.9; }
.p-check-notes { margin: 0; padding: 0; list-style: none; color: var(--check-muted); font-size: 13px; line-height: 1.9; }
.p-check-notes li { position: relative; padding-left: 1.3em; }
.p-check-notes li + li { margin-top: 10px; }
.p-check-notes li::before { content: "※"; position: absolute; left: 0; }

.p-check-box { padding: 44px 48px; border: 1px solid var(--check-line); background: var(--check-paper); font-size: 14px; line-height: 2; }
.p-check-section.is-paper .p-check-box { background: #fff; }
.p-check-box > * { margin: 0; }
.p-check-box > * + * { margin-top: 1em; }
.p-check-box__title { padding-bottom: 14px; border-bottom: 1px solid var(--check-line); font-size: 16px; font-weight: 600; letter-spacing: .05em; }

/* 01: Check items ------------------------------------------------------- */
.p-check-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.p-check-items li { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 20px; padding: 32px 36px; border-top: 3px solid var(--check-navy); background: var(--check-paper); }
.p-check-items li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.p-check-items__number { color: var(--check-ice); font: 600 30px/1 sans-serif; letter-spacing: -.02em; }
.p-check-items p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.75; }
.p-check-scope-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 5vw; align-items: start; margin-top: 80px; }

/* 02: Steps ------------------------------------------------------------- */
.p-check-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.p-check-steps__item { position: relative; padding: 44px 40px 48px; border: 1px solid var(--check-line); background: #fff; }
.p-check-steps__item:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -25px; z-index: 1; width: 10px; height: 10px; border-top: 2px solid var(--check-navy); border-right: 2px solid var(--check-navy); transform: translateY(-50%) rotate(45deg); }
.p-check-steps__number { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; color: #667085; font: 600 12px/1 sans-serif; letter-spacing: .18em; }
.p-check-steps__number b { color: var(--check-navy); font-size: 36px; letter-spacing: -.02em; }
.p-check-steps__title { margin: 0 0 14px; font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: .03em; }
.p-check-steps__item p { margin: 0; color: var(--check-muted); font-size: 14px; line-height: 2; }

.p-check-request { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 6vw; align-items: center; margin-top: 56px; padding: 56px 64px; border: 1px solid var(--check-line); background: #fff; }
.p-check-request__label { margin: 0; color: #667085; font: 600 12px/1.6 sans-serif; letter-spacing: .12em; }
.p-check-request__sample { margin: 16px 0 0; padding: 20px 24px; border-left: 3px solid var(--check-ice); background: var(--check-paper); font-size: 15px; line-height: 2; letter-spacing: .04em; overflow-wrap: anywhere; }
.p-check-request__action .p-check-note { margin-top: 14px; }

.p-check-alert { position: relative; margin-top: 32px; padding: 32px 40px 32px 80px; border: 1px solid #c43d4b; background: #fdf3f4; font-size: 14px; line-height: 2; }
.p-check-alert::before { content: "!"; position: absolute; top: 28px; left: 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #c43d4b; color: #fff; font: 700 15px/1 sans-serif; }
.p-check-alert::before { top: 34px; left: 32px; }
.p-check-alert p { margin: 0; }
.p-check-alert__title { color: #a52a37; font-weight: 600; }

/* 03: Partner ----------------------------------------------------------- */
.p-check-docs { padding: 56px 64px; border: 1px solid var(--check-line); background: var(--check-paper); }
.p-check-docs__lead, .p-check-docs__foot { margin: 0; font-size: 15px; line-height: 2; }
.p-check-docs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0; padding: 0; list-style: none; }
.p-check-docs__list li { display: flex; align-items: center; gap: 16px; padding: 28px 26px; border: 1px solid var(--check-navy); background: #fff; font-size: 15px; font-weight: 600; line-height: 1.6; }
.p-check-docs__icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--check-navy); color: #fff; }
.p-check-docs__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p-check-docs__free { display: inline-block; margin-left: 14px; padding: 3px 12px; background: var(--check-navy); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; }

.p-check-partner-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 5vw; align-items: center; margin-top: 90px; }
.p-check-partner-foot__text p { margin: 0; font-size: 15px; line-height: 2.1; }
.p-check-partner-foot__text p + p { margin-top: 1.4em; }

.p-check-voices { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.p-check-voices li { justify-self: start; max-width: 100%; padding: 20px 28px; border-radius: 12px; background: var(--check-paper); font-size: 15px; font-weight: 500; line-height: 1.8; }
.p-check-voices li::before { content: "「"; }
.p-check-voices li::after { content: "」"; }

/* 04: Handling ---------------------------------------------------------- */
.p-check-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0 0 64px; padding: 0; list-style: none; }
.p-check-cards li { padding: 44px 40px 46px; border-top: 3px solid var(--check-navy); background: #fff; }
.p-check-cards h3 { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.p-check-cards p { margin: 0; color: var(--check-muted); font-size: 14px; line-height: 2; }

.p-check-flow { padding: 0; list-style: none; counter-reset: flow; }
.p-check-flow li { position: relative; padding-left: 50px; counter-increment: flow; }
.p-check-flow li + li { margin-top: 24px; }
.p-check-flow li::before { content: counter(flow, decimal-leading-zero); position: absolute; top: 2px; left: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--check-navy); color: #fff; font: 600 12px/1 sans-serif; }

/* Read more ------------------------------------------------------------- */
.p-check-more { margin-top: 40px; }
.p-check-more summary { display: inline-flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; font: 600 13px/1 sans-serif; letter-spacing: .12em; list-style: none; }
.p-check-more summary::-webkit-details-marker { display: none; }
.p-check-more summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
.p-check-more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.p-check-more summary span { padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.p-check-more__body { padding-top: 12px; font-size: 14px; line-height: 2.1; }
.p-check-more__body p { margin: 0; }
.p-check-more__body p + p { margin-top: 1.2em; }

/* 05: Thoughts ---------------------------------------------------------- */
.p-check-thoughts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.p-check-thought { padding: 48px 40px 36px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); }
.p-check-thought__en { margin: 0; color: var(--check-ice); font: 600 12px/1 sans-serif; letter-spacing: .16em; }
.p-check-thought__title { margin: 20px 0 0; font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; line-height: 1.6; }
.p-check-thought__summary { margin: 24px 0 0; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 2; }
.p-check-thought .p-check-more { margin-top: 28px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .18); }
.p-check-thought .p-check-more__body { color: rgba(255, 255, 255, .85); }
.p-check-thought .p-check-more__body strong { color: #fff; background: linear-gradient(transparent 62%, rgba(143, 174, 200, .4) 62%); }

/* 06: Contact ----------------------------------------------------------- */
.p-check-contact__inner { display: grid; justify-items: center; gap: 32px; max-width: 760px; margin: 110px auto 0; text-align: center; }
.p-check-contact__inner > p { margin: 0; font-size: 15px; line-height: 2.1; }
.p-check-contact__inner .p-check-section__title { margin-bottom: 14px; }
.p-check-contact__keyword { padding: 32px 56px; border: 1px solid var(--check-line); background: var(--check-paper); }
.p-check-contact__keyword strong { font-size: 20px; }
.p-check-contact__inner .p-check-cta { margin-top: 12px; }
.p-check-contact__inner .p-check-notes { text-align: left; }
.p-check-signature { color: #667085; font: 600 12px/1 sans-serif !important; letter-spacing: .15em; }

/* Tablet ---------------------------------------------------------------- */
@media screen and (max-width: 949.98px) {
	.p-check-points__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.p-check-points__list { gap: 20px; }
	.p-check-worries__list { grid-template-columns: 1fr; max-width: 560px; gap: 26px; }
	.p-check-worries__list li { min-height: 0; }
	.p-check-points > .l-container, .p-check-worries > .l-container, .p-check-section > .l-container { padding-inline: 32px; }
	.p-check-section { padding: 140px 0; }
	.p-check-section__intro { grid-template-columns: 1fr; gap: 28px; margin: 80px 0 60px; }
	.p-check-items { grid-template-columns: 1fr; }
	.p-check-scope-foot, .p-check-partner-foot { grid-template-columns: 1fr; }
	.p-check-steps { grid-template-columns: 1fr; gap: 40px; }
	.p-check-steps__item:not(:last-child)::after { top: auto; right: auto; bottom: -27px; left: 50%; transform: translateX(-50%) rotate(135deg); }
	.p-check-request { grid-template-columns: 1fr; padding: 44px; }
	.p-check-docs__list, .p-check-cards, .p-check-thoughts { grid-template-columns: 1fr; }
}

/* Mobile ---------------------------------------------------------------- */
@media screen and (max-width: 749.98px) {
	.p-check-hero { margin: 22px 0 0; }
	.p-check .p-check-cta.p-text-link { width: 100%; }
	.p-check-points > .l-container, .p-check-worries > .l-container, .p-check-section > .l-container { padding-inline: 20px; }
	.p-check-points { padding: 64px 0; }
	.p-check-points__list { gap: 12px; }
	.p-check-points__item { padding: 30px 14px 28px; }
	.p-check-points__icon { width: 52px; height: 52px; font-size: 15px; }
	.p-check-points__icon svg { width: 24px; height: 24px; }
	.p-check-points__title { font-size: 14px; }
	.p-check-points__text { font-size: 12px; }
	.p-check-worries { padding: 100px 0 110px; }
	.p-check-worries__title br, .p-check-worries__answer br { display: none; }
	.p-check-worries__list { margin-top: 48px; }
	.p-check-worries__list li { padding: 20px 22px; font-size: 15px; }
	.p-check-worries__answer { margin-top: 64px; text-align: left; }
	.p-check-section { padding: 110px 0; }
	.p-check-section__intro { margin: 56px 0 44px; }
	.p-check-section.is-grid { background-size: 25vw 25vw; }
	.p-check-section__title.c-heading { font-size: clamp(26px, 7vw, 32px); }
	.p-check-section__lead { font-size: 15px; }
	.p-check-section__lead br { display: none; }
	.p-check-items { grid-template-columns: 1fr; gap: 14px; }
	.p-check-items li { grid-template-columns: 44px 1fr; gap: 14px; padding: 24px 20px; }
	.p-check-items__number { font-size: 22px; }
	.p-check-steps__item { padding: 34px 24px 36px; }
	.p-check-steps__title { font-size: 18px; }
	.p-check-request { margin-top: 40px; padding: 32px 22px; }
	.p-check-request__sample { padding: 16px 18px; font-size: 14px; }
	.p-check-alert { padding: 26px 22px 26px 60px; }
	.p-check-alert::before { top: 24px; left: 18px; width: 26px; height: 26px; }
	.p-check-box { padding: 32px 22px; }
	.p-check-docs { padding: 32px 20px; }
	.p-check-docs__list li { padding: 18px; font-size: 14px; }
	.p-check-docs__free { display: table; margin: 10px 0 0; }
	.p-check-cards li { padding: 32px 24px; }
	.p-check-thought { padding: 36px 24px 28px; }
	.p-check-contact__inner { margin-top: 72px; text-align: left; justify-items: stretch; }
	.p-check-contact__inner > p br { display: none; }
	.p-check-contact__keyword { padding: 22px 20px; text-align: center; }
	.p-check-contact__keyword strong { display: inline-block; font-size: clamp(13px, 4vw, 20px); white-space: nowrap; }
	.p-check-contact__inner > .p-check-contact__keyword br { display: block; }
}

/* Very narrow phones: let the keyword break at the <wbr> between its two words. */
@media screen and (max-width: 359.98px) {
	.p-check-contact__keyword strong { white-space: normal; }
}

/* 01: Deliverable ------------------------------------------------------- */
.p-check-report { display: flex; align-items: center; gap: 28px; margin-top: 32px; padding: 36px 44px; background: var(--check-navy); color: #fff; }
.p-check-report__icon { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--check-navy); }
.p-check-report__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p-check-report__body p { margin: 0; }
.p-check-report__label { color: var(--check-ice); font: 600 12px/1.6 sans-serif; letter-spacing: .14em; }
.p-check-report__title { margin-top: 6px !important; font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; line-height: 1.5; letter-spacing: .03em; }
.p-check-report__text { margin-top: 8px !important; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 1.9; }

@media screen and (max-width: 749.98px) {
	.p-check-report { align-items: flex-start; gap: 18px; padding: 28px 22px; }
	.p-check-report__icon { width: 48px; height: 48px; }
	.p-check-report__icon svg { width: 24px; height: 24px; }
}

/* Hero: why the reader's own site may be affected. */
.p-check-hero__alert { margin: 0 0 18px !important; padding: 14px 18px 14px 16px; border-left: 3px solid #c43d4b; background: #fff; color: var(--check-navy); font-size: 15px; font-weight: 600; line-height: 1.8; letter-spacing: .03em; }
@media screen and (max-width: 749.98px) {
	.p-check-hero__alert br { display: none; }
}
