/* @override 
	https://japan.nightingalehealth.test/assets/css/ja.css */

/* -----------------------------------------------------------

	Project:		Nightingale Health - Japan
	Version:		1.1
	Created:		December 8, 2025
	Modified:		September 17, 2026

----------------------------------------------------------- */



/*

	Setting Japanese web fonts

*/

@font-face {
	font-family: "LINESeedJP-Regular";
	font-display: swap;
	src: url("../fonts/LINESeedJP-Regular.woff2") format("woff2"), /* Super Modern Browsers */
		url("../fonts/LINESeedJP-Regular.woff") format("woff"); /* Pretty Modern Browsers */
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "LINESeedJP-Thin";
	font-display: swap;
	src: url("../fonts/LINESeedJP-Thin.woff2") format("woff2"), /* Super Modern Browsers */
		url("../fonts/LINESeedJP-Thin.woff") format("woff"); /* Pretty Modern Browsers */
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "LINESeedJP-Bold";
	font-display: swap;
	src: url("../fonts/LINESeedJP-Bold.woff2") format("woff2"), /* Super Modern Browsers */
		url("../fonts/LINESeedJP-Bold.woff") format("woff"); /* Pretty Modern Browsers */
	font-weight: normal;
	font-style: normal;
}



/*

	Overwriting default global :root variables

*/

:root	{
	/* Typography */
	--lh-base: 1.5; /* Set base line-height for body text */
	
	--ff-body: "riforma-regular", "LINESeedJP-Regular", Helvetica, Arial, sans-serif; /* Set font-family for body text */
	--ff-headers: "riforma-medium", "LINESeedJP-Bold", Helvetica, Arial, sans-serif; /* Set font-family for headers */

	--ff-light: "riforma-light", "LINESeedJP-Thin", Helvetica, Arial, sans-serif;
	--ff-bold: "riforma-bold", "LINESeedJP-Bold", Helvetica, Arial, sans-serif;
	--ff-italic: "riforma-italic", "LINESeedJP-Regular", Helvetica, Arial, sans-serif;
	--ff-medium: "riforma-medium", "LINESeedJP-Bold", Helvetica, Arial, sans-serif;
}



/*

	Basic settings for Japanese text

*/

.ja .block__content,
.ja .txt-wrapper						{ text-align: justify; }



/*

	Use alternate half widths
	This re-spaces glyphs designed to be set on full-em widths, fitting them onto half-em widths.

*/

.ja .block__content,
.ja .txt-wrapper						{ -moz-font-feature-settings: "halt"; -webkit-font-feature-settings: "halt"; font-feature-settings: "halt"; }



/*

	Use CJK-aware line-breaking
	Enforces Japanese “kinsoku” rules (no breaks before certain punctuation, small kana, etc.) and is widely supported.

*/

.ja .block__content,
.ja .txt-wrapper						{ line-break: strict; }



/*

	Progressive enhancement for short text (titles, etc)
	Chrome has word-break: auto-phrase; which tries to wrap at natural phrase boundaries (bunsetsu) — great for headings, with graceful fallback.

*/

.ja h1,
.ja h2,
.ja h3,
.ja h4,
.ja h5									{ line-break: strict; word-break: auto-phrase; /* supported in modern Chromium, ignored elsewhere */ }