@charset "utf-8";


/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("theme.css");
@import url("inview.css");


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {right: -200px;}
	100% {right: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html {
	font-size: clamp(13px, 0.29vw + 11.9px, 16px);	/*画面幅375px〜1400pxの間で、13px〜16pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	-webkit-text-size-adjust: none;
	background: var(--bg-color);	/*背景色。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}


/*section
---------------------------------------------------------------------------*/
section {
	padding: 0 var(--content-space-l);	/*上下、左右へのsection内の余白。左右については、theme.cssの--content-space-lを読み込みます。*/
	margin: var(--content-space-l) 0;	/*上下、左右へのsectionの外側にとるマージン。上下については、theme.cssの--content-space-lを読み込みます。*/
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
	text-decoration: none;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	animation: opa1 0.2s 0.2s both;  /*0.2(2つ目の数字)秒待機後、0.2(1つ目の数字)秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダー*/
header {
    display: flex;
	justify-content: space-between;
	gap: 2rem;
	height: 80px;		/*ヘッダーの高さ。お好みで。*/
	margin-bottom: 3px;	/*下に3pxのスペースを空ける。*/
	padding-left: var(--content-space-s);	/*左の余白。theme.cssのcontent-space-sを読み込みます*/
}

/*ロゴ画像*/
header .logo {margin: 0;flex-shrink: 0;display: flex;align-items: center;}	/*ロゴ画像を縦中央に*/
header .logo img {
	display: block;
	width: 200px;	/*ロゴの幅。お好みで。*/
}


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;	/*#menubar(100)の下、ページの上*/
	top: 0;left: 0;
	width: 100%;height: 100%;
	background: rgba(0,0,0,0.3);	/*半透明の黒。お好みで濃さを調整。*/
}

/*noscroll（メニュー表示中のスクロール禁止用）*/
body.noscroll {
	overflow: hidden;
}


/*大きな端末で見たメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.large-screen #menubar {
	font-size: 0.85rem;	/*文字サイズ85%*/
	font-weight: bold;
	display: flex;	/*flexにして高さを下層へ自動で伝える*/
}
.large-screen #menubar > nav {
	display: flex;
}
.large-screen #menubar > nav > ul {
	display: flex;
	gap: 1.5rem;	/*メニュー同士に空けるスペース。1.5文字分。*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li a {
	display: block;text-decoration: none;
}

/*トップ階層のリンクだけ縦いっぱい＋文字を中央に（ドロップダウン内リンクは対象外）*/
.large-screen #menubar > nav > ul > li > a {
	display: flex;
	align-items: center;	/*文字を天地中央に*/
	height: 100%;	/*ヘッダーの高さいっぱいに*/
}

/*ボタン*/
.large-screen #menubar .btn a {
	border-bottom-left-radius: 30px;	/*左下だけ角を丸く*/
}
/*ボタンのアイコン*/
.large-screen #menubar .btn i {
	margin-right: 0.4em;	/*アイコンとテキストの間に空けるスペース*/
	font-size: 1.5em;		/*アイコンサイズ*/
	line-height: 1;
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.large-screen #menubar ul ul {
	text-shadow: none;
	position: absolute;z-index: 100;
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}

/*メニュー１個あたり*/
.large-screen #menubar ul ul a {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒のことで0.8は色が80%出た状態。*/
	color: #fff;			/*文字色*/
	padding: 0.2rem 1rem;	/*上下に0.2文字分、左右に1文字分の余白*/
	border-radius: 3px;		/*角を少しだけ丸く。*/
	margin-top: 3px;		/*メニュー同士の間に空けるスペース*/
}

/*マウスオン時の背景色*/
.large-screen #menubar ul ul a:hover {
	background: rgba(0,0,0,0.5);	/*背景色*/
}


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 50%;	/*画面の半分の幅*/
	height: 100%;
	padding: 100px var(--content-space-l) 50px;	/*上下に100px、左右にtheme.cssのcontent-space-lで指定しているサイズ、下に50pxの余白*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

.small-screen #menubar {display: none;}

/* モバイルメニューでは、メニュー項目のタップを最優先する。
   オーバーレイは視覚効果のみとし、リンクのタッチを受け取らない。 */
.small-screen #menubar-overlay {
	pointer-events: none !important;
}
.small-screen #menubar,
.small-screen #menubar li,
.small-screen #menubar a {
	pointer-events: auto;
	touch-action: manipulation;
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.small-screen #menubar {
		width: 100%;	/*幅を100%に*/
	}

	}/*追加指定ここまで*/


/*メニュー１個あたり*/
.small-screen #menubar a {
	display: block;text-decoration: none;
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	padding: 1rem 2rem;		/*メニュー内の余白。上下に１文字分、左右に２文字分。*/
	border-radius: 5px;		/*角を少し丸くする*/
	background: #fff;		/*背景色*/
	color: #333;			/*文字色*/
}

/*ボタン*/
.small-screen #menubar .btn a {
	border: none;
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}
/*ボタンのアイコン*/
.small-screen #menubar .btn i {
	margin-right: 1em;	/*アイコンとテキストの間に空けるスペース*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	margin-left: 2rem;		/*左に２文字分のスペースを空ける*/
	padding: 0.5rem 1.5rem;	/*メニュー内の余白。上下に0.5文字分、左右に1.5文字分。*/
}

/*ドロップダウンのアイコン*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";		/*このアイコンを使う*/
	margin-right: 1em;		/*アイコンとメニューテキストとの間に空けるスペース。1文字分。*/
	font-size: 0.7em;		/*アイコンサイズ。70%*/
	vertical-align: middle;
	display: inline-block;
	line-height: 1;
}


/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#menubar ul ul {display: none;}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none; /* デフォルトは非表示 */
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0px;	/*右からの配置場所*/
	top: 0px;	/*上からの配置場所*/
	width: 70px;	/*ボタンの幅*/
	height: 70px;	/*ボタンの高さ*/
	border-bottom-left-radius: 10px;	/*左下の角だけ丸くする*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		/*線の高さ*/
	background: var(--primary-inverse-color);	/*線の色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #ff0000;	/*背景色。*/
}
#menubar_hdr.ham span {
	background: #fff;	/*線の色。*/
}

/*以下変更不要*/
#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}


/*メイン画像
---------------------------------------------------------------------------*/
.mainimg * {margin: 0;padding: 0;}
.mainimg .slide picture {display: block;width: 100%;height: 100%;}

/*メイン画像ブロック全体*/
.mainimg {
	width: 100%;
	position: relative;
	overflow: hidden;
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {
	
	.mainimg {
		display: flex;
		flex-direction: column-reverse;	/*縦積み。上下を入れ替える。*/
	}
	
	}/*追加指定ここまで*/


/*3枚の画像を入れるボックス*/
.mainimg .image {
	position: relative;
}

/*３枚の画像の共通設定*/
.mainimg .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。１枚が表示される時間はjsで指定できます。*/
	overflow: hidden;
}

/*１枚目画像（変更不要）*/
.mainimg .img1 {
	position: relative;width: 100%;height: auto;
}

/*画像全般（変更不要）*/
.mainimg .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;			/*画像をコンテナのサイズに合わせてクリップ*/
    object-position: center;	/*画像の中心を基準に*/
	transform: scale(1);		/*開始時点での画像サイズ。100%。*/
	transform-origin: center;
	will-change: transform;
}

/*徐々に拡大*/
.mainimg .slide.zoom img {
	transform: scale(1.07);	/*終了時点での画像サイズ。107%。*/
}

/*テキストブロック（写真の上に重ねる）*/
.mainimg .text {
	position: absolute;
	left: 0px;
	width: 45%;		/*テキストブロックの幅。お好みで。*/
	height: 100%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2rem;
	padding-left: 5vw;	/*左に5%の余白をあける*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	/*テキストブロックは写真の下に通常配置で並べる*/
	.mainimg .text {
		position: static;
		width: 100%;
		padding: 2rem 1rem;
		align-items: center;
		text-align: center;
	}

	}/*追加指定ここまで*/


/*見出し*/
.mainimg .text h1 {
	font-weight: 500;	/*文字の太さ。200〜900まで指定できます。大きいほど太字に。*/
	font-size: max(18px, 5vw);	/*文字サイズ。18pxより小さくならない。3は可変サイズなのでお好みで。*/
	line-height: 1.5;		/*行間を狭く*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	/*見出しの改行を無効にして１行にする*/
	.mainimg .text h1 br {
		display: none;
	}

	}/*追加指定ここまで*/


/*説明文*/
.mainimg .text p {
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*ボタンブロック*/
.mainimg .btn-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;		/*2個以上ボタンを並べた場合の、間に空けるスペース。*/
	font-size: 1.1rem;	/*文字サイズ1.1倍*/
}


/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.mainimg .slide-indicators {
    text-align: center;
	position: absolute;
	z-index: 3;
	width: 100%;
	bottom: 2vw;	/*ボタンの配置場所*/
	left: 0px;
}
/*１個あたり*/
.mainimg .indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;	/*未アクティブ時のボタン色*/
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}
.mainimg .indicator.active {
    background: #d00000;	/*アクティブ時のボタン色*/
}


/*ボタン
---------------------------------------------------------------------------*/
.btn a {
	display: inline-flex;		/*文字とSVG矢印を横並びにする*/
	align-items: center;		/*縦位置を中央に揃える*/
	text-decoration: none;
	background: var(--primary-color);		/*背景色。theme.csのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.csのprimary-inverse-colorを読み込みます。*/
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのprimary-colorを読み込みます。*/
	padding: 0.4rem 1.5rem;	/*上下に0.4文字分、左右に1.5文字分の余白*/
	font-weight: bold;		/*太字に*/
}

/*背景が白いタイプのボタン*/
.btn.inverse a {
	background: var(--primary-inverse-color);	/*背景色。theme.csのprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。theme.csのprimary-colorを読み込みます。*/
}

/*「→」のみのボタン*/
.btn-arrow a {
	display: block;text-decoration: none;
	padding-right: 0.5rem;
	color: var(--primary-color);	/*矢印の色。theme.cssのprimary-colorを読み込みます。*/
}

/*矢印アイコン（SVG・共通）*/
.arrow {
	display: inline-block;
	width: 2em;					/*矢印ブロック全体の長さ。文字サイズに連動*/
	height: 0.5em;				/*矢印の高さ*/
	vertical-align: middle;
	fill: none;
	stroke: currentColor;		/*親の文字色を継ぐ*/
	stroke-width: 1;			/*線の太さ。明朝・細字に合わせて細め*/
	stroke-linecap: square;
	stroke-linejoin: miter;
	overflow: visible;
	transition: transform 0.35s ease;
}

/*マウスオン時に矢印が右に動く*/
a:hover .arrow {
	transform: translateX(6px);
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	min-height: 0;
}


/*main
---------------------------------------------------------------------------*/
main {
	container-type: inline-size;
}

/*h2*/
main h2 {
	line-height: 1.5;
	display: flex;
	flex-direction: column-reverse;
	gap: 0.8rem;
	letter-spacing: 0.1em;
	margin-top: 0;
	font-weight: 500;	/*テキストの太さ。200〜900指で定可能。*/
}

/*上のライン*/
main h2::before {
	content: "";
	display: block;
	width: 3rem;	/*幅。3文字分。お好みで。*/
	height: 1px;	/*高さ。お好みで。*/
	background: var(--primary-color);	/*線の色。theme.cssのprimary-colorを読み込みます。*/
}

/*ライン無しにしたい場合*/
main h2.no-border::before {
	display: none;
}

/*センタリング時*/
main h2.c {
	width: fit-content;
	margin-inline: auto;
	text-align: center;
}

/*センタリング時のライン*/
main h2.c::before {
	margin-inline: auto;
}

/*h2内のspan*/
main h2 span {
	display: block;
	font-size: 0.7rem;	/*文字サイズ70%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*main内で使用するul,ol要素（リストタグ）*/
main ul,main ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*list1（「事業内容」「私たちの強み」で使用）
---------------------------------------------------------------------------*/
.list1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.list1 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));	/*3列*/
	gap: 1.5rem;		/*ボックス同士の間に空けるスペース。1.5文字分。*/
}

	/*画面幅600px以下の追加指定*/
	@media (max-width:600px) {
	
	/*で1列に*/
	.list1 {
		grid-template-columns: minmax(0, 1fr);
	}

	}/*追加指定ここまで*/


/*ボックス１個あたり*/
.list1 .list {
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*ボックス直下のブロック同士に空けるスペース。1文字分。*/
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	border-radius: 5px;	/*角を少しだけ丸く*/
	padding: 1rem;		/*ボックス内の余白*/
}

/*テキストボックス*/
.list1 .list .text {
	flex: 1;
	display: flex;
	flex-direction: column;	/*テキストボックス内を縦積みに*/
	gap: 0.5rem;	/*見出しと説明文の間に空けるスペース。0.5文字分。*/
}

/*h4見出し*/
.list1 .list h4 {
	font-size: 1.1rem;	/*文字サイズ1.1倍。*/
	line-height: 1.5;
}

/*説明文*/
.list1 .list p {
	line-height: 1.5;	/*行間を少し狭く*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*ボタン*/
.list1 .list .btn a {
	display: block;
	text-align: center;
}

/*写真ではなくアイコンで使う場合*/
.list1 .list .image.icon {
	margin: 0 auto;
	text-align: center;
	width: 4rem;		/*幅。4文字分。*/
	line-height: 4rem;	/*高さ。4文字分。*/
	border-radius: 50%;	/*円形に*/
	background: var(--primary-color);		/*背景色。thtme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。thtme.cssのprimary-inverse-colorを読み込みます。*/
}
/*アクセントカラー版*/
.list1 .list .image.icon.accent {
	background: var(--accent-color);		/*背景色。thtme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);		/*文字色。thtme.cssのaccent-inverse-colorを読み込みます。*/
}
/*アイコンサイズ。1.5倍。*/
.list1 .list .image.icon i {
	font-size: 1.5rem;
}


/*list2（「ご支援の流れ」ブロック）
---------------------------------------------------------------------------*/
.list2 * {margin: 0;padding: 0;}

/*ボックス全体*/
.list2 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));	/*4列*/
	gap: 5rem;		/*ボックス同士の間に空けるスペース。5文字分。*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.list2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));	/*2列*/
		gap: 1rem;	/*ボックス同士の間に空けるスペース。1文字分。*/
	}

	}/*追加指定ここまで*/


/*ナンバー*/
.list2 .no {
	text-align: center;
	color: var(--accent-color);	/*文字色。theme.cssのaccent-colorを読み込みます。*/
	font-size: 1.5rem;			/*文字サイズ。1.5倍。*/
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
}

/*アイコンブロック*/
.list2 .image {
	width: 4rem;		/*幅。4文字分。*/
	line-height: 4rem;	/*高さ。4文字分。*/
	border-radius: 50%;	/*円形にする*/
	text-align: center;
	margin: 0 auto;
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのprimary-colorを読み込みます。*/
}
/*アイコン*/
.list2 .image i {
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	font-size: 1.5rem;	/*アイコンサイズ。1.5倍。*/
}

/*h4見出し*/
.list2 h4 {
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*文章*/
.list2 .text {
	text-align: center;	/*テキストをセンタリング。*/
}
.list2 .text p {
	font-size: 0.8em;	/*文字サイズ。親要素の80%。*/
	line-height: 1.5;	/*行間*/
}

/*最後のリスト以外に「▷」アイコンを入れる*/
.list2 > div:not(:last-child)::after {
	font-family: "Font Awesome 6 Free";
	content: "\f0da";	/*Font Awesomeのこのマークを表示させます*/
	font-weight: 900;
	position: absolute;
	right: -3rem;	/*アイコンを入れ替えたり、サイズを変更する際は、ここを微調整してみてください。*/
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--primary-color);
	opacity: 0.5;	/*色を50%だけ出す*/
	line-height: 1;
	font-size: 1.5rem;	/*アイコンサイズ。1.5倍。*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.list2 > div:not(:last-child)::after {
		content: "";	/*アイコンを消す*/
	}

	}/*追加指定ここまで*/


/*flex1（「SERVICES」と「PEOPLE」で使用。）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.flex1 {
	display: flex;	/*横並びに*/
	align-items: center;	/*上下中央に配置*/
	gap: 6vw;		/*テキストと写真の間に空けるスペース。画面幅の6%。*/
}

/*逆配置*/
.flex1.reverse {
	flex-direction: row-reverse;
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.flex1,
	.flex1.reverse {
		flex-direction: column;	/*縦積みに*/
		align-items: flex-start;
	}

	}/*追加指定ここまで*/


/*画像ブロック*/
.flex1 .image {
	width: 50%;	/*幅。お好みで。*/
	position: relative;
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.flex1 .image {
		width: 100%;
	}

	}/*追加指定ここまで*/


/*画像*/
.flex1 .image img {
	display: block;
}

/*画像左下の装飾テキスト*/
.flex1 .image span {
	position: absolute;
	bottom: -0.6em;	/*画像に対しての下からの配置。マイナスがついているので本来と逆の方向に。*/
	left: -0.4em;	/*画像に対しての左からの配置。マイナスがついているので本来と逆の方向に。*/
	font-size: clamp(2rem, 6vw, 5rem);	/* 画面幅で滑らかに伸縮（最小2rem〜最大5rem） */
	line-height: 1;
	opacity: 0.1;	/*色を10%だけ出す。お好みで。*/
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
}

/*テキストブロック*/
.flex1 .text {
	flex: 1;
}


/*bg-image1（フッターの上にあるCONTACTブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.bg-image1 {
	display: flex;	/*横並びに*/
	gap: 1rem;
	margin-inline: calc(-1 * var(--content-space-l));
	background: var(--primary-light-color);	/*背景色。thtme.cssのprimary-light-colorを読み込みます。*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.bg-image1 {
		flex-direction: column;	/*縦積みに*/
		padding: var(--content-space-l);
	}

	}/*追加指定ここまで*/


/*画像ブロック*/
.bg-image1 .image {
	width: 50%;	/*幅。お好みで。*/
	position: relative;
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.bg-image1 .image {
		width: 100%;
		position: static;
	}

	}/*追加指定ここまで*/


/*画像*/
.bg-image1 .image img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mask-image: linear-gradient(to right, transparent, black 50%);/*グラデーションマスク。くっきり画像を出したいなら、この行と、下の１行をまとめて削除。*/
	-webkit-mask-image: linear-gradient(to right, transparent, black 50%);
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.bg-image1 .image img {
		position: static;
		mask-image: none;/*グラデーションのマスク解除*/
		-webkit-mask-image: none;
	}
	
	}/*追加指定ここまで*/


/*テキストブロック*/
.bg-image1 .text {
	flex: 1;
	padding: 5rem 2rem 4rem var(--content-space-l);	/*テキストの余白。上に5文字分、右に2文字分、下に4文字分、左はtheme.cssのcontent-space-lを読み込みます。*/
}

	/*画面幅700px以下の追加指定*/
	@media (max-width:700px) {

	.bg-image1 .text {
		padding: 0;
	}

	}/*追加指定ここまで*/


/*ボタンブロック*/
.bg-image1 .btn-container p {margin: 0;padding: 0;}
.bg-image1 .btn-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;		/*2個以上ボタンを並べた場合の、間に空けるスペース。*/
}


/*form-simple
---------------------------------------------------------------------------*/
.contact-form-block {
    width: 100%;
}

.form-global-error {
    border: 1px solid #f0c2c2;
    background: #fff4f4;
    color: #9b2e2e;
}

.js-ajax-form[hidden] {
    display: none !important;
}

.form-row + .form-row {
    margin-top: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    font-weight: 700;
    color: #1f2947;
    line-height: 1.5;
}

.required-badge {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    background: #d94c4c;
    vertical-align: middle;
}

.contact-form-inner input[type="text"],
.contact-form-inner input[type="email"],
.contact-form-inner input[type="file"],
.contact-form-inner select,
.contact-form-inner textarea {
    width: 100%;
    appearance: none;
    border: 1px solid #d6dbeb;
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: #fff;
    font: inherit;
    line-height: 1.6;
    color: #222;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.contact-form-inner input[type="file"] {
    padding: 0.8rem 1rem;
    cursor: pointer;
}

.contact-form-inner input[type="file"]::file-selector-button {
    margin-right: 0.9rem;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: #eef2ff;
    color: #2f55d4;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-form-inner textarea {
    resize: vertical;
    min-height: 12em;
}

.contact-form-inner input[type="text"]:focus,
.contact-form-inner input[type="email"]:focus,
.contact-form-inner input[type="file"]:focus,
.contact-form-inner select:focus,
.contact-form-inner textarea:focus {
    outline: none;
    border-color: #5d7bff;
    box-shadow: 0 0 0 4px rgba(93, 123, 255, 0.12);
}

.select-inline-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.select-inline {
    width: 100%;
}

.check-group,
.radio-group {
    display: grid;
    gap: 0.7rem;
}

.check-item,
.radio-item,
.check-single {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.6;
}

.check-item input,
.radio-item input,
.check-single input {
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.form-help-text,
.form-file-reset-text {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.form-row.is-error input[type="text"],
.form-row.is-error input[type="email"],
.form-row.is-error input[type="file"],
.form-row.is-error select,
.form-row.is-error textarea {
    border-color: #d94c4c;
    background: #fff8f8;
}

.form-row.is-error .form-label,
.form-row.is-error .check-single,
.form-row.is-error .check-item,
.form-row.is-error .radio-item {
    color: #972f2f;
}

.form-error-text {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #b23838;
}

.form-actions {
    margin-top: 1.8rem;
	text-align: center;
}

/*個人情報同意チェックを中央寄せ*/
.form-row.js-privacy-row .check-single {
	display: flex;
	width: fit-content;
	margin: 0 auto;
	align-items: center;
	gap: 0.5rem;
}

/*送信ボタン*/
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13em;
    min-height: 56px;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #2f55d4 0%, #5d7bff 100%);
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(47, 85, 212, 0.18);
}

.submit-button:hover {
    transform: translateY(-1px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .contact-form-inner {
        border-radius: 22px;
    }

    .select-inline-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .js-date-select-group[data-date-mode="ymd"] .select-inline-group {
        grid-template-columns: 1fr;
    }

    .submit-button {
        width: 100%;
        min-width: 0;
    }
}

/*郵便番号・都道府県はPCで少し短くする*/
@media (min-width: 768px) {

	.h-adr input[name="postal_code"],
	.h-adr input[name="address_pref"] {
		width: min(100%, 10rem);
	}

}

/*プルダウンを見た目でわかりやすくする*/
.h-adr select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.6rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	background-size: 0.8rem auto;
	cursor: pointer;
}


/*free1（色々なレイアウト用）
---------------------------------------------------------------------------*/
/*ボックス内のh4*/
.free1 h4{
	margin: 0;
	font-size: 1.1rem;
}

/*画像の影をつける場合*/
.shadow {
	box-shadow: 4vw 4vw rgba(0,0,0,0.05);	/*右へ、下へ、0,0,0は黒のことで0.05は5%だけ色が出た状態。*/
}

/*画像と文字を囲むブロック*/
.free1 .list {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr)); /* 12等分 */
	gap: 5vw; /*要素間の隙間。画面幅100% = 100vwです。お好みで。*/
	margin-bottom: 5vw;	/*下に空けるスペース。お好みで。*/
	grid-auto-flow: dense;
}
.free1 .list:last-child {
  margin-bottom: 0;	/*最後のブロックの下マージンをなくす*/
}

/*imageとtextの設定*/
.free1 .image,
.free1 .text {
	align-self: center;
	position: relative;
}

/*画像をグリッド幅いっぱいに広げる*/
.free1 img {
	max-width: 100%;
	width: 100%;
	height: auto;
	display: block;
}

/*imageのみの設定*/
.free1 .image {
	grid-column: 1 / -1;
}

/*textのみの設定*/
.free1 .text {
	grid-column: 1 / -1;
}

/*image-wide（横長で使う場合）*/
.free1 .image-wide {
	grid-column: 1 / -1;
}

/*image-01*/
.free1 .image-01 {
	grid-column: 8 / -1;
}
/*.text-01*/
.free1 .text-01 {
	grid-column: 1 / 8;
}
/*image-01（左右入れ替え用）*/
.free1 .list.reverse .image-01 {
	grid-column: 1 / 6;
}
/*text-01（左右入れ替え用）*/
.free1 .list.reverse .text-01 {
	grid-column: 6 / -1;
}

/*image-02*/
.free1 .image-02 {
	grid-column: 1 / 10;
}
/*text-02*/
.free1 .text-02 {
	grid-column: 1 / 10;
}
/*image-02（左右入れ替え用）*/
.free1 .list.reverse .image-02 {
	grid-column: 4 / -1;
}
/*text-02（左右入れ替え用）*/
.free1 .list.reverse .text-02 {
	grid-column: 4 / -1;
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {

	/*画像と文字を囲むブロック*/
	.free1 .list {
		display: block;
		margin-bottom: 3rem;
	}
	
	}/*追加指定ここまで*/


/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*スライドショー全体を囲むブロック*/
.slideimg {
	overflow-x: hidden;
}

/*スライドショーが２段続く場合に、上下間に1文字分のスペースを空ける。*/
.slideimg + .slideimg {
	margin-top: 1rem;
}

/*画像たちを囲むブロック*/
.slideimg .img {
	display: flex;
	overflow: hidden;
}

/*段違いに配置（偶数版目だけ上に２文字分のスペースをとる）*/
.slideimg .img div:nth-of-type(even) {
	margin-top: 2rem;
}

/*画像1個あたり*/
.slideimg .img > div {
	padding: 0 0.5rem;	/*左右で合計1remぶんの見た目余白*/
}

/*右から左へ、左から右へ、のアニメーション*/
.slideimg .rtl, .slideimg .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.slideimg .rtl {animation-name: slide-rtl;}
.slideimg .ltr {animation-name: slide-ltr;}

@keyframes slide-rtl {
0% {transform: translateX(0);}
100% {transform: translateX(-50%);}
}

@keyframes slide-ltr {
0% {transform: translateX(-50%);}
100% {transform: translateX(0);}
}


/*news（お知らせ）
---------------------------------------------------------------------------*/
dl.news * {margin: 0;padding: 0;}

/*日付*/
dl.news dt {
	display: flex;
}

	/*画面幅900px以上の追加指定*/
	@media (min-width: 900px){

	dl.news {
		display: grid;
		grid-template-columns: max-content minmax(0, 1fr);	/*日付幅は最大の文字数幅に自動調整し、右側テキストは残り一杯使う。*/
		gap: 0 2rem;	/*2remが、日付とテキストとの間に空けるスペース。お好みで。*/
		align-items: start;
	}

	}/*追加指定ここまで*/


/*フッター
---------------------------------------------------------------------------*/
footer ul {list-style: none;margin: 0;padding: 0;}
footer p {margin: 0;}
footer a {text-decoration: none;}

/*フッターボックス全体（1カラム）*/
footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 3rem;			/*footer直下のボックスの間に空けるスペース。２文字分。*/
	font-size: 0.8rem;	/*文字サイズ80%*/
	padding: var(--content-space-s);	/*ボックス内の余白。theme.cssのcontent-space-sを読み込みます。*/
	border-top: 1px solid var(--bg-border-color);	/*上の線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
}

/*ロゴの最大幅*/
footer .logo {
	max-width: 150px;
}

/*footer内アイコンの右マージン（電話アイコン、メールアイコン等）*/
footer i {
	margin-right: 0.5rem;
}

/*footer内の各ブロック共通レイアウト（縦並び）*/
footer > div {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/*フッターメニュー*/
footer .menu {
	flex-direction: row;	/*縦並びから横並びに上書き*/
	gap: 3vw;	/*中身（ulメニュー等）同士の間に空けるスペース。3%。*/
}

/*メニューの見出し*/
footer .title {
	font-weight: bold;
	margin-bottom: 0.5em;
}

/*Copyright部分（常に全カラムまたいで中央配置）*/
footer small {
	width: 100%;
	display: block;
	text-align: center;
	font-size: 0.8rem;
}


/*SNSアイコン
---------------------------------------------------------------------------*/
.sns {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;		/*アイコン同士のマージン的な要素。１文字分。*/
}

.sns i {
	font-size: 20px;	/*アイコンサイズ*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;display: block;
	background: rgba(0,0,0,0.5);
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: 900;
	margin-right: 0.5em;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1-border-parts
---------------------------------------------------------------------------*/
.bg1-border-parts {
	border-top: 1px solid var(--bg-border-color);		/*上の線の幅、線種、var以降は色の事でtheme.cssのbg-border-colorを読み込みます。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、var以降は色の事でtheme.cssのbg-border-colorを読み込みます。*/
}

/*bg1-parts
---------------------------------------------------------------------------*/
.bg1-parts {
	background: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);		/*背景色。theme.cssのbg-colorを読み込みます。*/
}

/*bg1-primary-light-parts
---------------------------------------------------------------------------*/
.bg1-primary-light-parts {
	background: var(--primary-light-color);		/*背景色。theme.cssのprimary-light-colorを読み込みます。*/
	color: var(--primary-light-inverse-color);	/*文字色。theme.cssのprimary-light-inverse-colorを読み込みます。*/
}

/*bg1-light
---------------------------------------------------------------------------*/
.bg1-light-parts {
	background: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*背景色。theme.cssのlight-inverse-colorを読み込みます。*/
}

/*bg-parts（bg1-primary-parts、bg1-light-parts、bg1-accent-partsとセットで使います）
---------------------------------------------------------------------------*/
.bg-parts {
	padding-top: var(--content-space-l);		/*ボックス内の上に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
	padding-bottom: var(--content-space-l);	/*ボックス内の下に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
}

/*背景色が続く場合に隙間を空けない*/
.bg-parts + .bg-parts {
	margin-top: calc(-1 * var(--content-space-l)) !important;
}


/*section内で画面両サイドいっぱいまで広げる場合（marginのみでもいいが安定版に）
---------------------------------------------------------------------------*/
.bleed-x-parts {
	--bleed-x: var(--content-space-l);	/*エイリアスに*/
	width: calc(100% + (var(--bleed-x) * 2));	/*section内容の幅＋両サイドpadding（対象要素の幅）*/
	margin-left: calc(var(--bleed-x) * -1);
	margin-right: calc(var(--bleed-x) * -1);
	max-width: none;
}


/*左右によせる専用
---------------------------------------------------------------------------*/
.bleed-left-parts {
	width: calc(100% + var(--content-space-l));
	margin-left: calc(-1 * var(--content-space-l));
}
.bleed-right-parts {
	width: calc(100% + var(--content-space-l));
	margin-right: calc(-1 * var(--content-space-l));
}


/*その他
---------------------------------------------------------------------------*/
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 100%;display: block;}
.wl {width: 100%;display: block;}
.mt0 {margin-top: 0px !important;}
.mb0 {margin-bottom: 0px !important;}
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.7);color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.85em;}
.large {font-size: 1.6em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.is-clip {overflow: hidden;}

/*大きな画面の場合*/
.large-screen .ws {width: 50%;}
.large-screen .sh {display: none;}
.large-screen .pc {display: block;}


/* Calc88 official site: stage 2
---------------------------------------------------------------------------*/
:root {
	--calc88-blue: #1767a8;
	--calc88-navy: #12304b;
	--calc88-pale: #edf6fc;
	--calc88-border: #d7e4ee;
	--calc88-text: #203244;
}

html {scroll-behavior: smooth;}
body {color: var(--calc88-text);}
.calc88-header {border-bottom: 1px solid var(--calc88-border);}
.calc88-header .logo {margin: 0;}
.calc88-section,
.calc88-hero,
.calc88-final-cta {
	padding: clamp(52px, 8vw, 112px) max(20px, calc((100% - 1120px) / 2));
}
.calc88-section-tint {background: var(--calc88-pale);}
.calc88-section-dark {background: var(--calc88-navy); color: #fff;}
.calc88-section-dark h2 {color: #fff;}
.calc88-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
	align-items: center;
	gap: clamp(36px, 7vw, 100px);
	background: linear-gradient(135deg, #eff8fd 0%, #dcecf8 100%);
}
.calc88-hero-copy {max-width: 620px;}
.calc88-hero h1 {margin: 0 0 10px; color: var(--calc88-navy); font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1; letter-spacing: .02em;}
.calc88-tagline {margin: 0 0 14px; color: var(--calc88-navy); font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.35;}
.calc88-lead {font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 700;}
.calc88-eyebrow {margin: 0 0 10px; color: var(--calc88-blue); font-size: .8rem; font-weight: 700; letter-spacing: .15em;}
.calc88-section-dark .calc88-eyebrow {color: #a9d9fa;}
.calc88-store-cta {
	display: inline-block;
	margin-top: 18px;
	padding: 14px 24px;
	border-radius: 999px;
	background: var(--calc88-blue);
	color: #fff !important;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}
.calc88-store-cta:hover,
.calc88-store-cta:focus {background: var(--calc88-navy); color: #fff;}
.calc88-media-mentions {max-width:600px; margin-top:14px;}
.calc88-media-mention {padding:13px 15px 14px; border:1px solid #c7e1ee; border-radius:12px; background:rgba(255,255,255,.78); box-shadow:0 4px 12px rgba(40,94,122,.06); text-align:left;}
.calc88-media-label {margin:0 0 4px; color:#367ea4; font-size:.72rem; font-weight:700; letter-spacing:.1em;}
.calc88-media-title {margin:0; color:var(--calc88-navy); font-size:.94rem; font-weight:700; line-height:1.55;}
.calc88-media-description {margin:4px 0 8px; color:#456276; font-size:.84rem; line-height:1.6;}
.calc88-media-link {color:#1767a8; font-size:.82rem; font-weight:700; text-decoration:none;}
.calc88-media-link:hover,
.calc88-media-link:focus-visible {color:var(--calc88-navy); text-decoration:underline; text-underline-offset:3px;}
@media screen and (max-width:700px) {
	.calc88-media-mentions {margin-top:12px;}
	.calc88-media-mention {padding:12px 13px;}
	.calc88-media-title {font-size:.9rem;}
	.calc88-media-description {font-size:.8rem;}
}
.calc88-device {width: min(100%, 360px); margin: 0 auto; text-align: center;}
.calc88-device img {display: block; width: 100%; height: auto; border: 1px solid #c8d7e2; border-radius: 22px; box-shadow: 0 18px 42px rgba(18, 48, 75, .18);}
.calc88-device figcaption {margin-top: 10px; color: #5b6e7d; font-size: .88rem;}
.calc88-section-dark .calc88-device figcaption {color: #d7eafb;}
.calc88-hero-image {width: min(100%, 390px);}
.calc88-section-heading {max-width: 790px; margin: 0 auto 42px; text-align: center;}
.calc88-section-heading h2,
.calc88-copy h2 {margin: 0 0 18px; color: var(--calc88-navy); font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.4;}
.calc88-section-heading > p:last-child {margin-bottom: 0;}
.calc88-feature-grid,
.calc88-goal-grid {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1120px; margin: 0 auto;}
.calc88-feature-card,
.calc88-goal-grid a {
	display: block;
	padding: 26px;
	border: 1px solid var(--calc88-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(18, 48, 75, .06);
	color: var(--calc88-text);
	text-decoration: none;
}
.calc88-feature-card:hover,
.calc88-feature-card:focus,
.calc88-goal-grid a:hover,
.calc88-goal-grid a:focus {border-color: var(--calc88-blue); transform: translateY(-2px);}
.calc88-feature-card h3 {margin: 8px 0; color: var(--calc88-navy); font-size: 1.35rem;}
.calc88-feature-card p {margin: 0 0 14px;}
.calc88-feature-card > span:last-child {color: var(--calc88-blue); font-size: .9rem; font-weight: 700;}
.calc88-card-number {color: var(--calc88-blue); font-size: .82rem; font-weight: 700; letter-spacing: .08em;}
.calc88-split {display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .72fr); align-items: center; gap: clamp(32px, 8vw, 120px); max-width: 1000px; margin: 0 auto;}
.calc88-formula {display: inline-block; margin: 20px 0 0; padding: 12px 16px; border-radius: 8px; background: var(--calc88-navy); color: #fff; font-family: monospace; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700;}
.calc88-step-grid {display: grid; gap: 28px; max-width: 1120px; margin: 0 auto;}
.calc88-step-grid-3 {grid-template-columns: repeat(3, minmax(0, 1fr));}
.calc88-step-grid-2 {grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px;}
.calc88-step-grid article {text-align: center;}
.calc88-step-grid h3 {margin: 16px 0 0; color: var(--calc88-navy); font-size: 1.1rem;}
.calc88-step-label {margin: 0 0 12px; color: var(--calc88-blue); font-size: .83rem; font-weight: 700; letter-spacing: .06em;}
.calc88-flow {display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; max-width: 1120px; margin: 0 auto; padding: 0; list-style: none; counter-reset: calc88-flow;}
.calc88-flow li {position: relative; overflow:hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; text-align: center; font-weight: 700; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;}
.calc88-flow li::before {position: absolute; z-index:1; top: 14px; left: 50%; transform: translateX(-50%); counter-increment: calc88-flow; content: counter(calc88-flow, decimal-leading-zero); color: #a9d9fa; font-size: .78rem; pointer-events:none;}
.calc88-flow li a {display:block; height:100%; padding:42px 12px 18px; color:inherit; text-decoration:none; cursor:pointer; touch-action:manipulation;}
.calc88-flow li:hover,
.calc88-flow li:focus-within {transform:translateY(-2px); border-color:rgba(169,217,250,.85); background:rgba(255,255,255,.08); box-shadow:0 8px 16px rgba(0,0,0,.12);}
.calc88-flow li a:focus-visible {outline:2px solid #fff; outline-offset:-4px;}
.calc88-goal-grid {grid-template-columns: repeat(3, minmax(0, 1fr));}
.calc88-goal-grid a {font-weight: 700; line-height: 1.6;}
.calc88-faq {max-width: 850px; margin: 0 auto;}
.calc88-faq dt {margin-top: 14px; padding: 16px 20px; border-radius: 10px 10px 0 0; background: var(--calc88-navy); color: #fff; font-weight: 700;}
.calc88-faq dt:first-child {margin-top: 0;}
.calc88-faq dd {margin: 0; padding: 16px 20px; border: 1px solid var(--calc88-border); border-top: 0; border-radius: 0 0 10px 10px; background: #fff;}
.calc88-faq strong {color: var(--calc88-blue);}
.calc88-final-cta {text-align: center; background: linear-gradient(135deg, #1767a8, #12304b); color: #fff;}
.calc88-cta-name {margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; letter-spacing: .08em;}
.calc88-final-cta h2 {margin: 0 0 12px; color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.8rem);}
.calc88-final-cta .calc88-eyebrow {color: #b9e4ff;}
.calc88-final-cta .calc88-store-cta {background: #fff; color: var(--calc88-navy) !important;}

@media screen and (max-width: 900px) {
	.calc88-hero,
	.calc88-split {grid-template-columns: 1fr;}
	.calc88-hero {text-align: center;}
	.calc88-hero-copy {margin: 0 auto;}
	.calc88-hero-image {grid-row: 2;}
	.calc88-step-grid-3 {grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;}
	.calc88-step-grid-3 .calc88-device {width: min(100%, 260px);}
	.calc88-flow {grid-template-columns: repeat(4, minmax(0, 1fr));}
}
@media screen and (max-width: 700px) {
	.calc88-section,
	.calc88-hero,
	.calc88-final-cta {padding: 52px 20px;}
	.calc88-feature-grid,
	.calc88-goal-grid,
	.calc88-step-grid-3,
	.calc88-step-grid-2 {grid-template-columns: 1fr;}
	.calc88-feature-card,
	.calc88-goal-grid a {padding: 20px;}
	.calc88-step-grid {gap: 38px;}
	.calc88-step-grid-3 .calc88-device {width: min(100%, 330px);}
	.calc88-flow {grid-template-columns: repeat(2, minmax(0, 1fr));}
	.calc88-device {width: min(100%, 330px);}
}

/* Calc88 official site: history journey */
#history .calc88-section-heading {margin-bottom:32px;}
.calc88-history-journeys {display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:18px; max-width:1120px; margin:0 auto 32px;}
.calc88-history-journey {display:flex; align-items:center; justify-content:center; gap:14px; min-height:64px; margin:0; padding:14px 18px; list-style:none; background:#fff; border:1px solid #d4e4ee; border-radius:14px; color:#124e72; font-weight:700; font-size:0.95rem;}
.calc88-history-journey li {display:flex; align-items:center; white-space:nowrap;}
.calc88-history-journey li + li::before {content:"→"; margin-right:14px; color:#7aa5bd; font-weight:400;}
.calc88-history-stories {display:grid; gap:28px; max-width:1120px; margin:0 auto;}
.calc88-history-story {padding:clamp(24px, 4vw, 44px); background:#fff; border:1px solid #d4e4ee; border-radius:18px;}
.calc88-history-story-heading {max-width:760px; margin:0 auto 30px; text-align:center;}
.calc88-history-story-heading .calc88-eyebrow {margin-bottom:7px;}
.calc88-history-story-heading h3 {margin:0 0 10px; color:#124e72; font-size:clamp(1.35rem, 2.4vw, 1.8rem); line-height:1.45;}
.calc88-history-story-heading p:last-child {margin:0; color:#456276; line-height:1.85;}
.calc88-history-grid {display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:32px; align-items:start;}
.calc88-history-card {display:flex; flex-direction:column; align-items:center; text-align:center;}
.calc88-history-card .calc88-step-label {margin:0 0 12px;}
.calc88-history-card .calc88-device {width:min(100%, 330px);}
.calc88-history-card h4 {margin:18px 0 5px; color:#124e72; font-size:1.08rem; line-height:1.55;}
.calc88-history-card > p:last-child {max-width:340px; margin:0; color:#456276; line-height:1.7;}

@media screen and (max-width: 900px) {
	.calc88-history-journeys {gap:12px;}
	.calc88-history-journey {gap:8px; padding:12px; font-size:0.82rem;}
	.calc88-history-journey li + li::before {margin-right:8px;}
	.calc88-history-grid {gap:20px;}
	.calc88-history-card .calc88-device {width:min(100%, 285px);}
}

@media screen and (max-width: 700px) {
	#history .calc88-section-heading {margin-bottom:24px;}
	.calc88-history-journeys {grid-template-columns:1fr; margin-bottom:24px;}
	.calc88-history-journey {font-size:0.8rem;}
	.calc88-history-story {padding:26px 18px; border-radius:14px;}
	.calc88-history-story-heading {margin-bottom:24px;}
	.calc88-history-grid {grid-template-columns:1fr; gap:34px;}
	.calc88-history-card .calc88-device {width:min(100%, 330px);}
}

/* Calc88 official site: PAGE mode switch */
.calc88-mode-grid {display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:28px; max-width:1120px; margin:0 auto;}
.calc88-mode-card {display:grid; grid-template-columns:minmax(0, 1fr) minmax(220px, .72fr); align-items:center; gap:24px; padding:clamp(22px, 3vw, 34px); border:1px solid #d4e4ee; border-radius:18px; background:#fff;}
.calc88-mode-copy h3 {margin:0 0 10px; color:var(--calc88-navy); font-size:clamp(1.2rem, 2vw, 1.5rem); line-height:1.5;}
.calc88-mode-copy > p:last-child {margin:0; color:#456276; line-height:1.85;}
.calc88-mode-card .calc88-device {width:min(100%, 270px);}

@media screen and (max-width: 1000px) {
	.calc88-mode-card {grid-template-columns:1fr;}
	.calc88-mode-card .calc88-device {width:min(100%, 300px);}
}

@media screen and (max-width: 700px) {
	.calc88-mode-grid {grid-template-columns:1fr; gap:22px;}
	.calc88-mode-card {padding:24px 18px; border-radius:14px;}
	.calc88-mode-card .calc88-device {width:min(100%, 330px);}
}

/* Calc88 official site: supporting features */
.calc88-extra-section {padding-top:clamp(44px, 6vw, 76px); padding-bottom:clamp(44px, 6vw, 76px);}
.calc88-extra-section .calc88-section-heading {margin-bottom:30px;}
.calc88-extra-grid {display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; max-width:1120px; margin:0 auto;}
.calc88-extra-card {padding:22px 20px; border:1px solid #d8e5ed; border-radius:14px; background:rgba(255,255,255,.82); box-shadow:0 5px 14px rgba(18, 48, 75, .04);}
a.calc88-extra-card {color:inherit; text-decoration:none; transition:transform .2s ease, box-shadow .2s ease;}
a.calc88-extra-card:hover {transform:translateY(-2px); box-shadow:0 8px 18px rgba(18,48,75,.1);}
.calc88-extra-link {display:inline-block; margin-top:12px; color:#1767a8; font-size:.88rem; font-weight:700;}
.calc88-extra-icon {display:flex; align-items:center; gap:9px; width:max-content; min-width:38px; height:38px; padding:0 10px; border-radius:10px; background:#e6f2f8; color:#1767a8; font-size:1.05rem;}
.calc88-extra-card h3 {margin:14px 0 8px; color:var(--calc88-navy); font-size:1.05rem; line-height:1.55;}
.calc88-extra-card p {margin:0; color:#456276; font-size:.92rem; line-height:1.75;}

@media screen and (max-width: 1000px) {
	.calc88-extra-grid {grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px;}
}

@media screen and (max-width: 560px) {
	.calc88-extra-grid {grid-template-columns:1fr;}
	.calc88-extra-card {padding:20px 18px;}
}

/* Calc88 official site: related contents */
.calc88-related-section {padding:clamp(42px, 6vw, 68px) max(20px, calc((100% - 1120px) / 2)); background:#fff;}
.calc88-related-inner {max-width:1120px; margin:0 auto;}
.calc88-related-heading {max-width:700px; margin:0 auto 26px; text-align:center;}
.calc88-related-heading h2 {margin:0 0 10px; color:var(--calc88-navy); font-size:clamp(1.35rem, 2.4vw, 1.85rem); line-height:1.45;}
.calc88-related-heading p:last-child {margin:0; color:#587082; font-size:.95rem; line-height:1.75;}
.calc88-related-grid {display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px;}
.calc88-related-card {display:grid; grid-template-columns:auto minmax(0, 1fr); gap:15px; align-items:start; padding:20px; border:1px solid #d8e5ed; border-radius:14px; background:#fbfdfe;}
.calc88-related-icon {display:grid; place-items:center; width:38px; height:38px; border-radius:10px; background:#e6f2f8; color:#1767a8; font-size:1rem;}
.calc88-related-card h3 {margin:1px 0 7px; color:var(--calc88-navy); font-size:1.05rem; line-height:1.5;}
.calc88-related-card p {margin:0 0 14px; color:#456276; font-size:.91rem; line-height:1.75;}
.calc88-related-link {display:inline-flex; align-items:center; padding:8px 11px; border:1px solid #bed1dc; border-radius:999px; color:#527083; font-size:.83rem; line-height:1.2; text-decoration:none;}
.calc88-related-link:hover,
.calc88-related-link:focus-visible {border-color:#7aa5bd; color:#1767a8;}

@media screen and (max-width: 700px) {
	.calc88-related-grid {grid-template-columns:1fr;}
	.calc88-related-card {padding:18px;}
}

/* Calc88 official site: template overview */
.calc88-template-feature {display:grid; grid-template-columns:minmax(0, 1fr) minmax(250px, .72fr); align-items:center; gap:clamp(28px, 7vw, 96px); max-width:920px; margin:0 auto;}
.calc88-template-feature h3 {margin:0 0 10px; color:var(--calc88-navy); font-size:clamp(1.25rem, 2.2vw, 1.65rem); line-height:1.5;}
.calc88-template-feature p:last-child {margin:0; color:#456276; line-height:1.85;}
.calc88-template-feature .calc88-device {width:min(100%, 330px);}

@media screen and (max-width: 700px) {
	.calc88-template-feature {grid-template-columns:1fr; gap:26px; text-align:center;}
	.calc88-template-feature .calc88-device {width:min(100%, 330px);}
}
/* Calc88 all-features page */
.calc88-all-features-link { margin: 28px 0 0; text-align: center; }
.calc88-all-features-link a, .calc88-feature-back { display: inline-flex; gap: .45em; align-items: center; padding: .8em 1.2em; border: 1px solid var(--calc88-primary); border-radius: 999px; color: var(--calc88-primary); font-weight: 700; text-decoration: none; }
.calc88-all-features-link a:hover, .calc88-feature-back:hover { background: var(--calc88-primary); color: #fff; }
.calc88-feature-page-hero { margin: 0; padding: clamp(44px, 5vw, 72px) 5%; background: linear-gradient(135deg, #eaf7ff, #f9fcff); }
.calc88-feature-page-copy, .calc88-feature-section-inner { max-width: 1160px; margin: 0 auto; }
.calc88-feature-page-copy { max-width: 760px; }
.calc88-feature-page-copy h1 { margin: .15em 0 .3em; font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: .03em; }
.calc88-feature-page-copy > p:not(.calc88-eyebrow) { margin: 0; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 2; }
.calc88-feature-back { margin-top: 18px; }
.calc88-feature-anchor { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; padding: 15px 5%; border-bottom: 1px solid #dce8ee; background: #fff; }
.calc88-feature-anchor a { padding: .55em .9em; border: 1px solid #c8dce8; border-radius: 999px; color: #205f86; font-size: .88rem; text-decoration: none; }
.calc88-feature-anchor a:hover { background: #eaf7ff; }
.calc88-feature-section { margin: 0; padding: clamp(56px, 6vw, 84px) 5%; }
.calc88-feature-section-tint { background: #f5fbfe; }
.calc88-feature-heading { max-width: 730px; margin-bottom: 28px; }
.calc88-feature-heading h2 { margin: .15em 0 .42em; font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.calc88-feature-heading > p:not(.calc88-eyebrow) { margin: 0; line-height: 1.9; }
.calc88-feature-category-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 270px); gap: clamp(24px, 4vw, 50px); align-items: start; }
.calc88-function-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc88-function-grid-compact { max-width: 700px; }
.calc88-function-card { padding: 20px; border: 1px solid #dbe8ee; border-radius: 14px; background: #fff; box-shadow: 0 5px 14px rgba(43, 95, 122, .05); }
.calc88-function-card h3 { margin: 0 0 .55em; color: #155f88; font-size: 1.05rem; }
.calc88-function-card p { margin: 0; font-size: .94rem; line-height: 1.8; }
.calc88-feature-device { width: min(100%, 270px); margin: 0 auto; text-align: center; }
.calc88-feature-device img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 10px 25px rgba(27, 71, 99, .16); }
.calc88-feature-device figcaption { margin-top: 9px; color: #5d7482; font-size: .82rem; }
.calc88-feature-image-pair { display: grid; gap: 20px; }
.calc88-feature-image-pair .calc88-feature-device { width: min(100%, 190px); }
@media screen and (max-width: 800px) { .calc88-feature-category-layout { grid-template-columns: 1fr; } .calc88-feature-category-layout > .calc88-feature-device { width: min(100%, 240px); } .calc88-feature-image-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media screen and (max-width: 600px) { .calc88-feature-section { padding-right: 4%; padding-left: 4%; } .calc88-feature-anchor { justify-content: flex-start; padding-right: 4%; padding-left: 4%; } .calc88-feature-anchor a { font-size: .82rem; } .calc88-function-grid { grid-template-columns: 1fr; } .calc88-function-card { padding: 18px; } .calc88-feature-image-pair .calc88-feature-device { width: 100%; } }

/* Calc88 history guide */
.calc88-history-page-hero { margin: 0; padding: clamp(44px, 5vw, 72px) 5%; background: linear-gradient(135deg, #eaf7ff, #f9fcff); }
.calc88-history-page-copy, .calc88-history-guide-inner { max-width: 1120px; margin: 0 auto; }
.calc88-history-page-copy { max-width: 780px; }
.calc88-history-page-copy h1 { margin: .15em 0 .3em; color: var(--calc88-navy); font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: .03em; }
.calc88-history-page-copy > p:not(.calc88-eyebrow) { margin: 0; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 2; }
.calc88-history-page-tagline { margin-top: 12px !important; color: #276788; font-weight: 700; }
.calc88-history-anchor { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; padding: 15px 5%; border-bottom: 1px solid #dce8ee; background: #fff; }
.calc88-history-anchor a, .calc88-history-related-links a { padding: .55em .9em; border: 1px solid #c8dce8; border-radius: 999px; color: #205f86; font-size: .88rem; text-decoration: none; }
.calc88-history-anchor a:hover, .calc88-history-related-links a:hover { background: #eaf7ff; }
.calc88-history-flow-section { margin: 0; padding: clamp(38px, 5vw, 64px) 5%; background: #fff; }
.calc88-history-flow-section h2 { margin: 0 0 20px; color: var(--calc88-navy); font-size: clamp(1.35rem, 2.5vw, 1.8rem); text-align: center; }
.calc88-history-guide-flow { display: flex; align-items: stretch; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.calc88-history-guide-flow li { display: flex; align-items: center; color: #155f88; font-weight: 700; white-space: nowrap; }
.calc88-history-guide-flow li + li::before { margin-right: 10px; color: #7aa5bd; content: "→"; font-weight: 400; }
.calc88-history-guide-section { margin: 0; padding: clamp(58px, 6vw, 84px) 5%; }
.calc88-history-guide-tint { background: #f5fbfe; }
.calc88-history-guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 300px); gap: clamp(30px, 6vw, 72px); align-items: center; }
.calc88-history-guide-layout-reverse .calc88-history-guide-copy { order: 2; }
.calc88-history-guide-layout-reverse .calc88-history-guide-device { order: 1; }
.calc88-history-guide-copy { max-width: 700px; }
.calc88-history-guide-copy h2, .calc88-history-page-add h2, .calc88-history-summary h2 { margin: .12em 0 .45em; color: var(--calc88-navy); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.45; }
.calc88-history-guide-copy p, .calc88-history-page-add p, .calc88-history-summary p { margin: 0 0 1em; line-height: 1.9; }
.calc88-history-guide-device { width: min(100%, 300px); margin: 0 auto; text-align: center; }
.calc88-history-guide-device img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 10px 25px rgba(27, 71, 99, .16); }
.calc88-history-guide-device figcaption { margin-top: 9px; color: #5d7482; font-size: .82rem; }
.calc88-history-reuse-list { display: grid; gap: 10px; margin: 20px 0 0; }
.calc88-history-reuse-list div { padding: 14px 16px; border-left: 4px solid #62a6cc; background: #f5fbfe; }
.calc88-history-reuse-list dt { color: #155f88; font-weight: 700; }
.calc88-history-reuse-list dd { margin: 3px 0 0; line-height: 1.75; }
.calc88-history-highlight { padding: 16px 18px; border-radius: 12px; background: #e9f6fe; color: #124e72; font-weight: 700; }
.calc88-history-note-comparison { margin: 0; padding: clamp(40px, 5vw, 68px) 5%; background: #e7f4fb; }
.calc88-history-note-comparison h2 { margin: 0 0 20px; color: var(--calc88-navy); font-size: clamp(1.3rem, 2.4vw, 1.75rem); text-align: center; }
.calc88-history-note-comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; margin: 0 auto; }
.calc88-history-note-comparison-grid section { margin: 0; padding: 20px; border: 1px solid #cae1ed; border-radius: 14px; background: #fff; }
.calc88-history-note-comparison-grid h3 { margin: 0 0 6px; color: #155f88; font-size: 1.05rem; }
.calc88-history-note-comparison-grid p { margin: 0; line-height: 1.75; }
.calc88-history-page-add { max-width: 800px; }
.calc88-history-summary { margin: 0; padding: clamp(58px, 7vw, 88px) 5%; background: var(--calc88-navy); color: #fff; text-align: center; }
.calc88-history-summary .calc88-history-guide-inner { max-width: 760px; }
.calc88-history-summary .calc88-eyebrow, .calc88-history-summary h2 { color: #bde5fc; }
.calc88-history-related-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.calc88-history-related-links a { border-color: rgba(255,255,255,.65); color: #fff; }
.calc88-history-related-links a:hover { background: #fff; color: var(--calc88-navy); }
.calc88-history-related-links span { padding: .55em .9em; color: #cce7f6; font-size: .86rem; }
@media screen and (max-width: 800px) { .calc88-history-guide-flow { flex-wrap: wrap; } .calc88-history-guide-layout { grid-template-columns: 1fr; } .calc88-history-guide-layout-reverse .calc88-history-guide-copy, .calc88-history-guide-layout-reverse .calc88-history-guide-device { order: initial; } .calc88-history-guide-device { width: min(100%, 280px); } }
@media screen and (max-width: 600px) { .calc88-history-anchor { justify-content: flex-start; padding-right: 4%; padding-left: 4%; } .calc88-history-anchor a { font-size: .82rem; } .calc88-history-guide-flow { display: grid; justify-content: stretch; gap: 8px; } .calc88-history-guide-flow li { justify-content: center; padding: 9px 12px; border: 1px solid #d4e4ee; border-radius: 10px; background: #f7fbfd; white-space: normal; text-align: center; } .calc88-history-guide-flow li + li::before { display: none; } .calc88-history-guide-section { padding-right: 4%; padding-left: 4%; } .calc88-history-note-comparison { padding-right: 4%; padding-left: 4%; } .calc88-history-note-comparison-grid { grid-template-columns: 1fr; } .calc88-history-summary { padding-right: 4%; padding-left: 4%; } }

/* Calc88 handwritten memo guide */
.calc88-memo-page-hero { margin: 0; padding: clamp(44px, 5vw, 72px) 5%; background: linear-gradient(135deg, #eaf7ff, #f9fcff); }
.calc88-memo-page-copy, .calc88-memo-guide-inner { max-width: 1120px; margin: 0 auto; }
.calc88-memo-page-copy { max-width: 860px; }
.calc88-memo-page-copy h1 { margin: .15em 0 .3em; color: var(--calc88-navy); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: .03em; }
.calc88-memo-page-copy > p:not(.calc88-eyebrow) { margin: 0; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 2; }
.calc88-memo-page-tagline { margin-top: 12px !important; color: #276788; font-weight: 700; }
.calc88-memo-anchor { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; padding: 15px 5%; border-bottom: 1px solid #dce8ee; background: #fff; }
.calc88-memo-anchor a, .calc88-memo-related-links a, .calc88-memo-note-comparison a { padding: .55em .9em; border: 1px solid #c8dce8; border-radius: 999px; color: #205f86; font-size: .88rem; text-decoration: none; }
.calc88-memo-anchor a:hover, .calc88-memo-related-links a:hover, .calc88-memo-note-comparison a:hover { background: #eaf7ff; }
.calc88-memo-flow-section { margin: 0; padding: clamp(38px, 5vw, 64px) 5%; background: #fff; }
.calc88-memo-flow-section h2 { margin: 0 0 20px; color: var(--calc88-navy); font-size: clamp(1.35rem, 2.5vw, 1.8rem); text-align: center; }
.calc88-memo-guide-flow { display: flex; align-items: stretch; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.calc88-memo-guide-flow li { display: flex; align-items: center; color: #155f88; font-weight: 700; white-space: nowrap; }
.calc88-memo-guide-flow li + li::before { margin-right: 10px; color: #7aa5bd; content: "→"; font-weight: 400; }
.calc88-memo-guide-section { margin: 0; padding: clamp(58px, 6vw, 84px) 5%; }
.calc88-memo-guide-tint { background: #f5fbfe; }
.calc88-memo-guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 300px); gap: clamp(30px, 6vw, 72px); align-items: center; }
.calc88-memo-guide-layout-reverse .calc88-memo-guide-copy { order: 2; }
.calc88-memo-guide-layout-reverse .calc88-memo-guide-device { order: 1; }
.calc88-memo-guide-copy { max-width: 700px; }
.calc88-memo-guide-copy h2, .calc88-memo-operation-card h2, .calc88-memo-summary h2 { margin: .12em 0 .45em; color: var(--calc88-navy); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.45; }
.calc88-memo-guide-copy p, .calc88-memo-operation-card p, .calc88-memo-summary p { margin: 0 0 1em; line-height: 1.9; }
.calc88-memo-guide-device { width: min(100%, 300px); margin: 0 auto; text-align: center; }
.calc88-memo-guide-device img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 10px 25px rgba(27, 71, 99, .16); }
.calc88-memo-guide-device figcaption { margin-top: 9px; color: #5d7482; font-size: .82rem; }
.calc88-memo-note-comparison { margin: 0; padding: clamp(40px, 5vw, 68px) 5%; background: #e7f4fb; }
.calc88-memo-note-comparison h2 { margin: 0 0 20px; color: var(--calc88-navy); font-size: clamp(1.3rem, 2.4vw, 1.75rem); text-align: center; }
.calc88-memo-note-comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; margin: 0 auto; }
.calc88-memo-note-comparison-grid section { margin: 0; padding: 20px; border: 1px solid #cae1ed; border-radius: 14px; background: #fff; }
.calc88-memo-note-comparison-grid h3 { margin: 0 0 6px; color: #155f88; font-size: 1.05rem; }
.calc88-memo-note-comparison-grid p { margin: 0 0 14px; line-height: 1.75; }
.calc88-memo-operations-section { margin: 0; padding: clamp(58px, 6vw, 84px) 5%; background: #fff; }
.calc88-memo-operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc88-memo-operation-card { margin: 0; padding: 22px; border: 1px solid #dbe8ee; border-radius: 14px; background: #fff; box-shadow: 0 5px 14px rgba(43, 95, 122, .05); }
.calc88-memo-operation-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 8px); }
.calc88-memo-operation-card h2 { font-size: 1.16rem; }
.calc88-memo-summary { margin: 0; padding: clamp(58px, 7vw, 88px) 5%; background: var(--calc88-navy); color: #fff; text-align: center; }
.calc88-memo-summary .calc88-memo-guide-inner { max-width: 760px; }
.calc88-memo-summary .calc88-eyebrow, .calc88-memo-summary h2 { color: #bde5fc; }
.calc88-memo-related-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.calc88-memo-related-links a { border-color: rgba(255,255,255,.65); color: #fff; }
.calc88-memo-related-links a:hover { background: #fff; color: var(--calc88-navy); }
@media screen and (max-width: 800px) { .calc88-memo-guide-flow { flex-wrap: wrap; } .calc88-memo-guide-layout { grid-template-columns: 1fr; } .calc88-memo-guide-layout-reverse .calc88-memo-guide-copy, .calc88-memo-guide-layout-reverse .calc88-memo-guide-device { order: initial; } .calc88-memo-guide-device { width: min(100%, 280px); } }
@media screen and (max-width: 600px) { .calc88-memo-anchor { justify-content: flex-start; padding-right: 4%; padding-left: 4%; } .calc88-memo-anchor a { font-size: .82rem; } .calc88-memo-guide-flow { display: grid; justify-content: stretch; gap: 8px; } .calc88-memo-guide-flow li { justify-content: center; padding: 9px 12px; border: 1px solid #d4e4ee; border-radius: 10px; background: #f7fbfd; white-space: normal; text-align: center; } .calc88-memo-guide-flow li + li::before { display: none; } .calc88-memo-guide-section, .calc88-memo-operations-section, .calc88-memo-note-comparison, .calc88-memo-summary { padding-right: 4%; padding-left: 4%; } .calc88-memo-note-comparison-grid, .calc88-memo-operations-grid { grid-template-columns: 1fr; } .calc88-memo-operation-card:last-child { grid-column: auto; max-width: none; } }

/* Calc88 templates and PAGE2 guide */
.calc88-templates-page-hero { margin:0; padding:clamp(44px,5vw,72px) 5%; background:linear-gradient(135deg,#eaf7ff,#f9fcff); }
.calc88-templates-page-copy, .calc88-templates-guide-inner { max-width:1120px; margin:0 auto; }
.calc88-templates-page-copy { max-width:860px; }
.calc88-templates-page-copy h1 { margin:.15em 0 .3em; color:var(--calc88-navy); font-size:clamp(2rem,3vw,3rem); letter-spacing:.03em; }
.calc88-templates-page-copy > p:not(.calc88-eyebrow) { margin:0; font-size:clamp(1rem,1.5vw,1.18rem); line-height:2; }
.calc88-templates-anchor { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; padding:15px 5%; border-bottom:1px solid #dce8ee; background:#fff; }
.calc88-templates-anchor a, .calc88-templates-related-links a, .calc88-templates-operation-card a { padding:.55em .9em; border:1px solid #c8dce8; border-radius:999px; color:#205f86; font-size:.88rem; text-decoration:none; }
.calc88-templates-anchor a:hover, .calc88-templates-related-links a:hover, .calc88-templates-operation-card a:hover { background:#eaf7ff; }
.calc88-templates-flow-section { margin:0; padding:clamp(38px,5vw,64px) 5%; background:#fff; }
.calc88-templates-flow-section h2 { margin:0 0 20px; color:var(--calc88-navy); font-size:clamp(1.35rem,2.5vw,1.8rem); text-align:center; }
.calc88-templates-guide-flow { display:flex; align-items:stretch; justify-content:center; gap:10px; margin:0; padding:0; list-style:none; }
.calc88-templates-guide-flow li { display:flex; align-items:center; color:#155f88; font-weight:700; white-space:nowrap; }
.calc88-templates-guide-flow li + li::before { margin-right:10px; color:#7aa5bd; content:"→"; font-weight:400; }
.calc88-templates-guide-section { margin:0; padding:clamp(58px,6vw,84px) 5%; }
.calc88-templates-guide-tint { background:#f5fbfe; }
.calc88-templates-guide-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(210px,300px); gap:clamp(30px,6vw,72px); align-items:center; }
.calc88-templates-guide-copy { max-width:700px; }
.calc88-templates-guide-copy h2, .calc88-templates-text-block h2, .calc88-templates-operation-card h2, .calc88-templates-role-box h2, .calc88-templates-summary h2 { margin:.12em 0 .45em; color:var(--calc88-navy); font-size:clamp(1.7rem,3vw,2.45rem); line-height:1.45; }
.calc88-templates-guide-copy p, .calc88-templates-text-block p, .calc88-templates-operation-card p, .calc88-templates-role-box p, .calc88-templates-summary p { margin:0 0 1em; line-height:1.9; }
.calc88-templates-guide-device { width:min(100%,300px); margin:0 auto; text-align:center; }
.calc88-templates-guide-device img { display:block; width:100%; height:auto; border-radius:18px; box-shadow:0 10px 25px rgba(27,71,99,.16); }
.calc88-templates-guide-device figcaption { margin-top:9px; color:#5d7482; font-size:.82rem; }
.calc88-templates-text-block { max-width:740px; margin:0 auto 28px; text-align:center; }
.calc88-templates-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-width:820px; margin:0 auto; }
.calc88-templates-comparison section { margin:0; padding:20px; border:1px solid #cae1ed; border-radius:14px; background:#fff; }
.calc88-templates-comparison h3 { margin:0 0 6px; color:#155f88; font-size:1.05rem; }
.calc88-templates-comparison p { margin:0; line-height:1.75; }
.calc88-templates-operation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.calc88-templates-operation-card { margin:0; padding:22px; border:1px solid #dbe8ee; border-radius:14px; background:#fff; box-shadow:0 5px 14px rgba(43,95,122,.05); }
.calc88-templates-operation-card h2 { font-size:1.16rem; }
.calc88-templates-operation-card-wide { grid-column:1 / -1; }
.calc88-templates-role-box { margin:0; padding:clamp(42px,5vw,68px) 5%; background:#e7f4fb; text-align:center; }
.calc88-templates-role-box .calc88-templates-guide-inner { max-width:780px; }
.calc88-templates-role-box h2 { font-size:clamp(1.35rem,2.5vw,1.8rem); }
.calc88-templates-summary { margin:0; padding:clamp(58px,7vw,88px) 5%; background:var(--calc88-navy); color:#fff; text-align:center; }

/* Calc88 backup and restore guide */
.calc88-backup-page-hero { margin:0; padding:clamp(44px,5vw,72px) 5%; background:linear-gradient(135deg,#eaf7ff,#f9fcff); }
.calc88-backup-page-copy, .calc88-backup-guide-inner { max-width:1120px; margin:0 auto; }
.calc88-backup-page-copy { max-width:1120px; }
.calc88-backup-page-copy h1 { margin:.15em 0 .3em; color:var(--calc88-navy); font-size:clamp(2rem,3vw,3rem); letter-spacing:.03em; }
.calc88-backup-page-copy > p:not(.calc88-eyebrow) { margin:0; font-size:clamp(1rem,1.5vw,1.18rem); line-height:2; }
.calc88-backup-page-tagline { margin-top:12px !important; color:#276788; font-weight:700; }
.calc88-backup-anchor { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; padding:15px 5%; border-bottom:1px solid #dce8ee; background:#fff; }
.calc88-backup-anchor a, .calc88-backup-related-links a, .calc88-backup-links-grid a { padding:.55em .9em; border:1px solid #c8dce8; border-radius:999px; color:#205f86; font-size:.88rem; text-decoration:none; }
.calc88-backup-anchor a:hover, .calc88-backup-related-links a:hover, .calc88-backup-links-grid a:hover { background:#eaf7ff; }
.calc88-backup-flow-section { margin:0; padding:clamp(38px,5vw,64px) 5%; background:#fff; }
.calc88-backup-flow-section h2 { margin:0 0 20px; color:var(--calc88-navy); font-size:clamp(1.35rem,2.5vw,1.8rem); text-align:center; }
.calc88-backup-flow-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; max-width:1040px; margin:0 auto; }
.calc88-backup-flow-grid section { padding:20px; border:1px solid #dbe8ee; border-radius:14px; background:#f7fbfd; }
.calc88-backup-flow-grid h3 { margin:0 0 14px; color:#155f88; font-size:1.1rem; text-align:center; }
.calc88-backup-guide-flow { display:flex; align-items:stretch; justify-content:center; gap:8px; margin:0; padding:0; list-style:none; }
.calc88-backup-guide-flow li { display:flex; align-items:center; color:#155f88; font-size:.94rem; font-weight:700; white-space:nowrap; }
.calc88-backup-guide-flow li + li::before { margin-right:8px; color:#7aa5bd; content:"→"; font-weight:400; }
.calc88-backup-guide-section { margin:0; padding:clamp(58px,6vw,84px) 5%; }
.calc88-backup-guide-tint { background:#f5fbfe; }
.calc88-backup-text-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,360px); gap:clamp(28px,6vw,72px); align-items:center; }
.calc88-backup-text-layout h2, .calc88-backup-heading h2, .calc88-backup-guide-section h2, .calc88-backup-storage h2, .calc88-backup-summary h2 { margin:.12em 0 .45em; color:var(--calc88-navy); font-size:clamp(1.7rem,3vw,2.45rem); line-height:1.45; }
.calc88-backup-text-layout p, .calc88-backup-heading p, .calc88-backup-guide-section p, .calc88-backup-storage p, .calc88-backup-summary p { margin:0 0 1em; line-height:1.9; }
.calc88-backup-file-card { padding:24px; border:1px solid #cce2ee; border-radius:16px; background:#fff; box-shadow:0 6px 18px rgba(43,95,122,.07); }
.calc88-backup-file-card h3 { margin:.1em 0 .6em; color:#155f88; font-size:1.15rem; }
.calc88-backup-heading { max-width:740px; margin-bottom:28px; }
.calc88-backup-data-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.calc88-backup-data-grid article, .calc88-backup-notice-grid article, .calc88-backup-links-grid section { padding:22px; border:1px solid #dbe8ee; border-radius:14px; background:#fff; box-shadow:0 5px 14px rgba(43,95,122,.05); }
.calc88-backup-data-grid h3, .calc88-backup-notice-grid h3, .calc88-backup-note h3, .calc88-backup-links-grid h2 { margin:0 0 7px; color:#155f88; font-size:1.1rem; }
.calc88-backup-data-grid p, .calc88-backup-notice-grid p, .calc88-backup-links-grid p { margin:0; line-height:1.75; }
.calc88-backup-note { max-width:850px; margin:24px auto 0; padding:20px 22px; border-left:4px solid #62a6cc; background:#e7f4fb; }
.calc88-backup-note p { margin:0; }
.calc88-backup-notice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.calc88-backup-check { max-width:850px; margin:22px auto 0 !important; color:#315c72; text-align:center; }
.calc88-backup-narrow { max-width:760px; }
.calc88-backup-storage { margin:0; padding:clamp(52px,6vw,78px) 5%; background:#e7f4fb; }
.calc88-backup-storage .calc88-backup-guide-inner { max-width:800px; }
.calc88-backup-links-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.calc88-backup-links-grid a { display:inline-flex; margin-top:8px; }
.calc88-backup-summary { margin:0; padding:clamp(58px,7vw,88px) 5%; background:var(--calc88-navy); color:#fff; text-align:center; }
.calc88-backup-summary .calc88-backup-guide-inner { max-width:760px; }
.calc88-backup-summary .calc88-eyebrow, .calc88-backup-summary h2 { color:#bde5fc; }
.calc88-backup-related-links { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin-top:24px; }
.calc88-backup-related-links a { border-color:rgba(255,255,255,.65); color:#fff; }
.calc88-backup-related-links a:hover { background:#fff; color:var(--calc88-navy); }
@media screen and (max-width:800px) { .calc88-backup-flow-grid, .calc88-backup-text-layout, .calc88-backup-links-grid { grid-template-columns:1fr; } .calc88-backup-data-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .calc88-backup-guide-flow { flex-wrap:wrap; } }
@media screen and (max-width:600px) { .calc88-backup-anchor { justify-content:flex-start; padding-right:4%; padding-left:4%; } .calc88-backup-anchor a { font-size:.82rem; } .calc88-backup-flow-section, .calc88-backup-guide-section, .calc88-backup-storage, .calc88-backup-summary { padding-right:4%; padding-left:4%; } .calc88-backup-guide-flow { display:grid; justify-content:stretch; gap:8px; } .calc88-backup-guide-flow li { justify-content:center; padding:9px 12px; border:1px solid #d4e4ee; border-radius:10px; background:#fff; white-space:normal; text-align:center; } .calc88-backup-guide-flow li + li::before { display:none; } .calc88-backup-data-grid, .calc88-backup-notice-grid { grid-template-columns:1fr; } }
.calc88-templates-summary .calc88-templates-guide-inner { max-width:760px; }
.calc88-templates-summary .calc88-eyebrow, .calc88-templates-summary h2 { color:#bde5fc; }
.calc88-templates-related-links { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin-top:24px; }
.calc88-templates-related-links a { border-color:rgba(255,255,255,.65); color:#fff; }
.calc88-templates-related-links a:hover { background:#fff; color:var(--calc88-navy); }

/* Analytics consent: shown only until a choice is saved, or from the footer settings button. */
.calc88-privacy-settings {
	appearance:none;
	margin:0;
	padding:0;
	border:0;
	background:transparent;
	color:inherit;
	font:inherit;
	text-decoration:underline;
	text-underline-offset:2px;
	cursor:pointer;
}
.calc88-privacy-settings:hover { opacity:.72; }
.calc88-privacy-settings:focus-visible,
.calc88-consent-banner a:focus-visible,
.calc88-consent-button:focus-visible {
	outline:3px solid #f3c44d;
	outline-offset:3px;
}
.calc88-consent-banner {
	position:fixed;
	right:16px;
	bottom:16px;
	left:16px;
	z-index:10000;
	box-sizing:border-box;
	margin:0 auto;
	max-width:760px;
	padding:16px;
	border:1px solid #9db9cf;
	border-radius:12px;
	background:#fff;
	box-shadow:0 10px 28px rgba(10,43,71,.26);
	color:#173a57;
}
.calc88-consent-banner[hidden] { display:none; }
.calc88-consent-inner { display:flex; align-items:center; gap:16px; }
.calc88-consent-copy { flex:1 1 400px; min-width:0; }
.calc88-consent-title { margin:0 0 5px; font-weight:700; }
.calc88-consent-copy p:last-child { margin:0; font-size:.86rem; line-height:1.65; }
.calc88-consent-actions { display:grid; flex:0 1 230px; gap:8px; min-width:180px; }
.calc88-consent-button {
	appearance:none;
	width:100%;
	min-height:42px;
	padding:9px 12px;
	border:1px solid #357197;
	border-radius:7px;
	background:#fff;
	color:#173a57;
	font:inherit;
	font-weight:700;
	cursor:pointer;
	touch-action:manipulation;
}
.calc88-consent-button:hover { background:#e9f4fb; }
.calc88-consent-button:active { background:#d7ebf7; }
@media screen and (max-width:600px) {
	.calc88-consent-banner { right:10px; bottom:10px; left:10px; padding:14px; }
	.calc88-consent-inner { display:block; }
	.calc88-consent-actions { display:grid; grid-template-columns:1fr 1fr; margin-top:12px; min-width:0; }
	.calc88-consent-copy p:last-child { font-size:.82rem; }
}
@media screen and (max-width:800px) { .calc88-templates-guide-flow { flex-wrap:wrap; } .calc88-templates-guide-layout { grid-template-columns:1fr; } .calc88-templates-guide-device { width:min(100%,280px); } }
@media screen and (max-width:600px) { .calc88-templates-anchor { justify-content:flex-start; padding-right:4%; padding-left:4%; } .calc88-templates-anchor a { font-size:.82rem; } .calc88-templates-guide-flow { display:grid; justify-content:stretch; gap:8px; } .calc88-templates-guide-flow li { justify-content:center; padding:9px 12px; border:1px solid #d4e4ee; border-radius:10px; background:#f7fbfd; white-space:normal; text-align:center; } .calc88-templates-guide-flow li + li::before { display:none; } .calc88-templates-guide-section, .calc88-templates-role-box, .calc88-templates-summary { padding-right:4%; padding-left:4%; } .calc88-templates-comparison, .calc88-templates-operation-grid { grid-template-columns:1fr; } .calc88-templates-operation-card-wide { grid-column:auto; } }
