@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);	/*背景色。theme.cssの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: var(--content-space-v, var(--content-space-l)) var(--content-space-l);	/*theme.cssの値を読み込みます。前半2つは上下への余白。-vがない場合は-lを読み込みます。最後の1つは左右への余白。*/
}

/*section内の最初と最後の要素のマージンはリセット（余白はsectionのpaddingで管理する為）*/
section > :first-child {margin-top: 0;}
section > :last-child {margin-bottom: 0;}

/*見出しの上のマージンもリセット（同上。ブロックの中に入っていてもsectionの余白が変わらないようにする為）*/
main h2 {margin-top: 0;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
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;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 1rem var(--content-space-s) 1rem;	/*上下に1文字分の余白、左右の余白はtheme.cssのcontent-space-sを読み込み。*/
}

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

	header {
		display: block;
	}

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


/*ロゴのブロック*/
header .logo-area {
	display: flex;
	flex-direction: column;	/*縦並びに*/
	flex-shrink: 0;
}

/*h1テキスト*/
header h1 {
	margin: 0;
	font-size: 0.6rem;	/*文字サイズ60%*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	font-weight: normal;
	padding-left: 60px;	/*左に空ける余白。ご利用のロゴに合わせて調整して下さい。*/
	margin-top: -12px;	/*上に12px移動する。ご利用のロゴに合わせて調整して下さい。*/
}

/*ロゴ画像*/
header .logo {margin: 0;}
header .logo img {
	display: block;
	width: 220px;	/*ロゴの幅。お好みで。*/
}


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#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 > nav > ul {
	display: flex;
	align-items: center;
	gap: 1.5rem;		/*メニュー同士に空けるスペース。1.5文字分。*/
	font-size: 0.8rem;	/*文字サイズ80%*/
	font-weight: bold;	/*太字*/
}

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


/*アイコンを上に置くメニュー（「検索」）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#icon-menu {
	margin: 0;padding: 0;list-style: none;
	display: flex;
	gap: 0.5rem;
}

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

	#icon-menu {
		padding-right: 70px;	/*ハンバーガーアイコンが出る分、適当にスペースをとる。*/
	}

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


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

	#icon-menu {
		padding-right: 0;	/*段落ちするので、右側の余白をリセット。*/
		margin-top: 2rem;
		justify-content: flex-start;
	}

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


/*メニュー１個あたり*/
#icon-menu li {
	text-align: center;
	line-height: 1.3;	/*行間を狭く*/
	font-size: 0.7rem;	/*文字サイズ。70%。*/
	padding: 0.5rem 1rem;	/*上下に0.5文字分、左右に1文字分の余白。*/
	cursor: pointer;
}
#icon-menu li a {
	display: block;
	text-decoration: none;
}

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

	#icon-menu li {
		flex: 1;
		border: 1px solid var(--primary-color);
		border-radius: 5px;
	}

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

/*アイコン*/
#icon-menu li i {
	display: block;			/*アイコンを独立した行に*/
	margin-bottom: 0.2rem;	/*文字との間に空けるスペース*/
	color: var(--primary-color);	/*アイコン色。theme.cssのprimary-colorを読み込みます。*/
	font-size: 1.5rem;		/*アイコンサイズ。*/
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体*/
.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: #fff;		/*背景色*/
	padding: 0.2rem 1rem;	/*上下に0.2文字分、左右に1文字分の余白*/
	border-radius: 5px;		/*角を丸く*/
	margin-top: 2px;		/*メニュー同士の間に空けるスペース*/
	border: 1px solid var(--bg-inverse-color);	/*枠線の幅、線種、最後は色の指定でtheme.cssのbg-inverse-colorを読み込みます。。*/
}


/*小さな端末で見たメニュー（開閉メニュー）
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.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;}

	/*画面幅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: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-colorを読み込みます。*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	background: none;
	padding: 0;
	color: var(--bg-color);	/*文字色。theme.cssのbg-colorを読み込みます。*/
	margin-left: 2rem;	/*左に２文字分のスペースを空ける*/
}

/*ドロップダウンのアイコン*/
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;	/*ボタンの高さ*/
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	border-bottom-left-radius: 10px;	/*左下の角だけ丸くする*/
}

/*ハンバーガーアイコンの線*/
#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 {
	width: 100%;
	position: relative;
	overflow: hidden;
}

/*画像（変更不要）*/
.mainimg picture {display: block;width: 100%;}
.mainimg img {
	display: block;
	width: 100%;
	height: auto;
}

/*メイン画像上のテキスト
---------------------------------------------------------------------------*/
/*テキストブロックの基本設定（中央配置がデフォルト）*/
.mainimg .text {
	position: absolute;z-index: 1;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 0 var(--content-space-l);	/*余白。上下は0、左右にはtheme.cssのcontent-space-lのサイズを読み込みます。*/
	color: #fff;	/*文字色*/
	text-shadow: 0px 0px 0.5em rgba(0,0,0,0.5);	/*テキストの影。右へ0px、下へ0px、ぼかす量0.5文字分。0,0,0は黒のことで0.5は色が50%出た状態。*/
}

/*テキストブロックを左に配置させたい場合*/
.mainimg .text.left {
	align-items: flex-start;
	text-align: left;
}

/*テキストブロックを右に配置させたい場合*/
.mainimg .text.right {
	align-items: flex-end;
	text-align: right;
}

/*h2見出し（大きな文字）*/
.mainimg .text h2 {
	margin: 0;padding: 0;
	font-weight: 500;	/*文字の太さ。200〜900まで指定できます。大きいほど太字に。*/
	font-size: max(24px, 4vw);	/*文字サイズ。24pxより小さくならない。4は可変サイズなのでお好みで。*/
	line-height: 1.5;		/*行間を狭く*/
}
/*見出しの大きな文字部分*/
.mainimg .text h2 .large {
	font-size: max(32px, 6vw);
}

/*p（説明テキスト部分）*/
.mainimg .text p {
	font-size: 0.9rem;	/*文字サイズ90%*/
}

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

	/*説明文を非表示に*/
	.mainimg .text p:not(.btn) {
		display: none;
	}
	
	}/*追加指定ここまで*/


/*メイン画像上のボタンの影は消す*/
.mainimg .text .btn {
	text-shadow: none;
}

/*メイン画像右下のアイコン
---------------------------------------------------------------------------*/
/*メイン画像右下だけ角丸にする（アイコンを置いたときだけ）*/
.mainimg:has(.icon) .image {
	border-bottom-right-radius: 25% 60%;	/*横方向、縦方向の順番*/
	overflow: hidden;
}

/*アイコン*/
.mainimg .icon {
	margin: 0;padding: 0;
	font-size: max(12px, 1.6vw);	/*文字サイズ。12pxより小さくならない。1.6は可変サイズなのでお好みで。*/
	position: absolute;
	right: 20px;	/*右からの配置場所*/
	bottom: 20px;	/*下からの配置場所*/
	transform: rotate(-8deg);	/*左に8度回転*/
	background: #e05a7d;	/*背景色*/
	color: #fff;			/*文字色*/
	width: 18vw;			/*幅*/
	height: 18vw;			/*高さ*/
	border-radius: 50%;		/*円形に*/
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.5;	/*行間を少し狭く*/
}

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

	/*アイコンを非表示にするので、画像左下の角丸をなくす*/
	.mainimg:has(.icon) .image {
		border-radius: 0;
	}
	
	/*アイコンを非表示に*/
	.mainimg .icon {
		display: none;
	}

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


/*円の内側の白い線*/
.mainimg .icon::before {
	content: "";
	position: absolute;
	inset: 1.2vw;	/*円の内側に空けるスペース。数字を大きくすると線が内側に入ります。*/
	border: 2px dashed rgba(255,255,255,0.75);	/*線の幅、線種（dashedは破線）、色。255,255,255は白のことで0.75は色が75%出た状態。*/
	border-radius: 50%;	/*円形に*/
}

/*大きな文字部分*/
.mainimg .icon .large {
	font-size: max(18px, 3.8vw);	/*文字サイズ。18pxより小さくならない。3.8は可変サイズなのでお好みで。*/
	font-weight: 600;
}


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


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

/*h2見出しのspan（小文字）*/
main h2 span {
	font-size: 0.8rem;	/*文字サイズ80%*/
}

/*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文字分。*/
}

/*4カラム用*/
.list1.c4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));	/*4列*/
}

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

	/*ボックス全体*/
	.list1 {
		grid-template-columns: repeat(1, minmax(0, 1fr));	/*1列*/
	}

	/*4カラム用*/
	.list1.c4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));	/*2列*/
	}

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


/*ボックス１個あたり*/
.list1 .list {
	display: flex;
	flex-direction: column;
	position: relative;
	background: #fff;		/*背景色*/
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は線の色のことでtheme.cssのbg-border-colorを読み込みます*/
	border-radius: 5px;	/*角を丸くする*/
	overflow: hidden;
}

/*画像ブロック*/
.list1 .image {
	position: relative;
}

/*画像にリンク指定がある場合*/
.list1 .image a img {
		transition: 0.5s;	/*マウスオンにかける時間。0.5秒。*/
}
.list1 .image a:hover img {
	transform: scale(1.05);	/*マウスオン時の拡大率。105%。*/
}

/*テキストボックス*/
.list1 .list .text {
	flex: 1;
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
	display: flex;
	flex-direction: column;
	gap: 0.2rem;	/*画像とテキストブロックの間にとる余白。0.2文字分。*/
}

/*h4見出し*/
.list1 .list h4 {
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	line-height: 1.8;	/*行間を少し狭く*/
	font-size: 1.2rem;	/*文字サイズ1.2倍。*/
}
/*h4内の小文字*/
.list1 .list h4 span {
	font-size: 0.6em;	/*文字サイズ親の60%*/
	width: fit-content;
	display: block;
	border: 1px solid var(--primary-color);
	border-radius: 999px;
	padding: 0 1rem;
}

/*説明だけ小さめにする*/
.list1 .list p {
	font-size: 0.85em;	/*文字サイズ。85%。*/
	line-height: 1.5;	/*行間*/
}

/*画像の代わりにアイコンをおいた場合*/
.list1 .list > i {
	background: var(--primary-inverse-color);	/*背景色。theme.cssのprimary-inverse-colorを読み込みます。*/
	color: var(--primary-color);				/*文字色。theme.cssのprimary-colorを読み込みます。*/
	display: block;
	margin: 2rem auto 1rem;	/*上に2文字分の余白、下に1文字分の余白。左右は中央に。*/
	font-size: 36px;		/*アイコンサイズ。お好みで。*/
	width: 2.4em;			/*幅。2.4文字分。*/
	line-height: 2.4em;		/*高さ。2.4文字分。*/
	text-align: center;
	border-radius: 50%;		/*アイコン枠を円形に。*/
	border: 1px solid #ddd;	/*枠線の幅、線種、色。*/
}
/*アクセントカラー版*/
.list1 .list > i.accent-color {
	color: var(--accent-color);
}

/*list1内にボタンをおいた場合*/
.list1 .list .btn {
	padding: 0 1rem 1rem;	/*ボタンの左右と下に空けるスペース。1文字分。*/
}

.list1 .list .btn a {
	display: block;
	text-align: center;	/*ボタン内の文字を中央に*/
}


/*.list1用の画像左上のラベル
---------------------------------------------------------------------------*/
.list1 .label {
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	font-size: 0.8rem;	/*文字サイズ80%*/
	padding: 0.2rem 0.4rem;	/*上下、左右への余白*/
	line-height: 1.4;
	font-weight: bold;	/*太字*/
	position: absolute;
	left: 5px;			/*ボックスの左からの配置*/
	top: 5px;			/*ボックスの上からの配置*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*color1*/
.list1 .label.color1 {
	background: rgba(194, 69, 107, 0.8);
	color: #fff;
}

/*color2*/
.list1 .label.color2 {
	background: rgba(122, 160, 120, 0.8);
	color: #fff;
}

/*color3*/
.list1 .label.color3 {
	background: rgba(230, 180, 60, 0.8);
	color: #fff;
}

/*color4*/
.list1 .label.color4 {
	background: rgb(150, 110, 170, 0.8);
	color: #fff;
}


/*.list1用のアイコン
---------------------------------------------------------------------------*/
.list1 .icon {
	display: block;
	pointer-events: none;
	text-align: center;
	border-radius: 50%;	/*円形に*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	width: 60px;		/*幅。*/
	line-height: 60px;	/*高さ。*/
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -30px;		/*本来の場所より下にずらす*/
	font-size: 24px;	/*アイコンサイズ*/
}

/*color1*/
.list1 .icon.color1 {
	background: rgb(194, 69, 107);
	color: #fff;
}

/*color2*/
.list1 .icon.color2 {
	background: rgb(122, 160, 120);
	color: #fff;
}

/*color3*/
.list1 .icon.color3 {
	background: rgb(230, 180, 60);
	color: #fff;
}

/*color4*/
.list1 .icon.color4 {
	background: rgb(150, 110, 170);
	color: #fff;
}

/*上に20pxのマージン用*/
.list1 .mt20 {
	margin-top: 20px;
}


/*flex1
---------------------------------------------------------------------------*/
/*ブロック全体*/
.flex1 {
	display: flex;	/*横並びに*/
	margin-inline: calc(-1 * var(--content-space-l));
	background: var(--light-color);	/*背景色。thtme.cssのlight-colorを読み込みます。*/
}

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

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

	.flex1,
	.flex1.reverse {
		flex-direction: column;	/*縦積みに*/
		padding: var(--content-space-v, var(--content-space-l)) var(--content-space-l);
	}

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


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

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

	.flex1 .image {
		width: 100%;
		position: static;
	}

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


.flex1 .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%);
}
.flex1.reverse .image img {
	mask-image: linear-gradient(to left, transparent, black 50%);
	-webkit-mask-image: linear-gradient(to left, transparent, black 50%);
}

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

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


/*テキストブロック*/
.flex1 .text {
	flex: 1;
	padding: 5rem 2rem 4rem var(--content-space-l);	/*テキストの余白。上に5文字分、右に2文字分、下に4文字分、左はtheme.cssのcontent-space-lを読み込みます。*/
	background: url("../images/bg2.png") no-repeat right bottom / 70%;	/*背景画像の読み込み。幅70%。*/
	position: relative;
}

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

	.flex1 .text {
		padding: 0;
	}

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


/*ボックス内のh2見出し*/
.flex1 .text h2 {
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}
/*見出し内の小文字*/
.flex1 .text h2 span {
	display: block;
	font-size: 0.5em;	/*文字サイズ親の50%*/
}

/*文章*/
.flex1 .text p {
	font-size: 0.85rem;	/*文字サイズ85%*/
}

/*装飾用の小さな写真ブロック*/
.flex1 .photo {
	position: absolute;
	right: 4%;	/*右からの配置場所*/
	top: -5%;	/*上からの配置場所。マイナス付きなので本来と逆向きに動く。*/
	width: 30%;	/*幅。お好みで。*/
	transform: rotate(-7deg);	/*左に7度回転*/
	text-align: center;
}

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

	/*小さな写真を非表示に*/
	.flex1 .photo {
		display: none;
	}

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


.flex1 .photo img {
	display: block;
	margin-bottom: 5px;	/*写真とすぐ下のテキストとの間に空けるスペース*/
	border: 5px solid #fff;	/*枠線の幅、線種、色*/
	box-shadow: 0px 0px 1rem rgba(0,0,0,0.1);	/*写真の影。右も下も0、ぼかす量は1文字分、0,0,0は黒のことで0.1は色が10%出た状態。*/
}
.flex1 .photo p {	
	margin: 0;
	font-size: 0.7rem;	/*写真下の小さなテキストのサイズ。70%。*/
	line-height: 1.5;	/*行間を少し狭く*/
}


/*step1（ご注文の流れ）
---------------------------------------------------------------------------*/
.step1 * {margin: 0;padding: 0;}

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

/*4カラム用*/
.step1.c4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));	/*4列*/
}

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

	/*ボックス全体*/
	.step1 {
		grid-template-columns: 1fr;	/*縦積みに*/
	}

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


/*ボックス１個あたり*/
.step1 li {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	position: relative;
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	border: 1px solid var(--bg-border-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
	padding: 1rem;	/*ボックス内の余白。1文字分。*/
	border-radius: 5px;	/*角を少しだけ丸く*/
	text-align: center;	/*テキストをセンタリング*/
}

/*最後のリスト以外に「＞」アイコンを入れる*/
.step1 li:not(:last-child)::after {
	font-family: "Font Awesome 6 Free";
	content: "\f054";	/*Font Awesomeのこのマークを表示させます*/
	font-weight: 900;
	position: absolute;
	right: -1.5rem;
	top: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.5;	/*色を50%だけ出す*/
	line-height: 1;
}

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

	.step1 li:not(:last-child)::after {
		top: auto;right: auto;
		bottom: -1.3rem;
		left: 50%;
		transform: translateX(-50%) rotate(90deg);
	}

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


/*アイコン*/
.step1 i {
	display: block;
	margin: 1rem auto;
	font-size: 4rem;	/*アイコンのサイズ*/
	color: var(--primary-color);	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/*h4見出し*/
.step1 h4 {
	font-size: 1.1rem;	/*文字サイズ110%*/
}

/*説明文*/
.step1 p {
	font-size: 0.85rem;	/*文字サイズ85%*/
}

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

	/*説明文*/
	.step1 p {
		text-align: center;	/*テキストをセンタリング*/
	}

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


/*ナンバー*/
.step1 .num {
	position: absolute;
	left: -0.5rem;	/*左からの配置場所。マイナスがついているので本来の向きと逆に。*/
	top: -0.5rem;	/*上からの配置場所。マイナスがついているので本来の向きと逆に。*/
	width: 3rem;	/*幅*/
	line-height: 3rem;	/*高さ*/
	text-align: center;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border-radius: 50%;	/*円形にする*/
}


/*手書き風フォント（Google FontsのZen Kurenaido）
---------------------------------------------------------------------------*/
.tegaki {
	font-family: "Zen Kurenaido", var(--base-font);
	font-weight: 400;
	font-style: normal;
}


/*thumbnail-changer（詳細ページ向けのサムネイル切り替えブロック）
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view {
	max-width: 1000px;
	margin: 0 auto 1rem;
}

/*サムネイル全体を囲むブロック*/
.thumbnail-changer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;	/* ← ここがポイント（少ない時も中央に） */
	gap: 8px;
	max-width: 1000px;
	margin: 0 auto 2rem;
}

/*サムネイル画像*/
.thumbnail-changer img {
	width: 100px;
	cursor: pointer;
	transition: 0.3s;
	display: block;
}

/*動画サムネ用ラッパ（videoはJSでここに入る）*/
.thumbnail-changer .thumb-wrap {
	position: relative;
	display: block;
	width: 100px;
	cursor: pointer;
	transition: 0.3s;
	background: #000;
}

/*サムネイル動画*/
.thumbnail-changer .thumb-wrap > video {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
	background: #000;
}

.thumbnail-changer img:hover,
.thumbnail-changer .thumb-wrap:hover {
	opacity: 0.8;
}

/*動画サムネの上の「再生」アイコン*/
.thumbnail-changer .thumb-play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	pointer-events: none;
	opacity: 0.9;
	text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.thumbnail-changer .thumb-play i {
	background: #ff0000;
	color: #fff;
	border-radius: 9999px;
	padding: 6px 8px;
	font-size: 12px;
	line-height: 1;
}

/*大きな表示の中身（画像・動画）*/
.thumbnail-view img,
.thumbnail-view video {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.2rem 1rem;	/*ボックス内の余白。上下に0.2文字分、左右に1文字分。*/
	margin-bottom: 1rem;	/*下に空けるスペース。１文字分。*/
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid var(--bg-border-color);	/*テーブルの一番上の線。幅、線種、varは色の設定でtheme.cssのborder-colorを読み込みます。。*/
	width: 100%;
	margin-bottom: 2rem;	/*テーブルの下に空けるスペース。２文字分。*/
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid var(--bg-border-color);	/*テーブルの下線。幅、線種、varは色の設定でtheme.cssのborder-colorを読み込みます。。*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白。１文字分。*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: clamp(8rem, 22vw, 13rem);	/*幅。8文字分〜13文字分の間で、画面幅に応じて自動調整。真ん中の22vwは画面幅の22%。*/
	text-align: left;	/*左よせにする*/
	background: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}


/*ボタン
---------------------------------------------------------------------------*/
.btn a,
.btn button {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	font-family: inherit;	/*buttonの既定フォントを打ち消す*/
	font-size: inherit;		/*buttonの既定の文字サイズを打ち消す*/
	line-height: inherit;	/*buttonの既定の行間を打ち消す*/
	cursor: pointer;		/*buttonでも指のカーソルにする*/
	font-weight: bold;
	background: var(--primary-color);		/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border: 1px solid var(--primary-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのprimary-colorを読み込みます。*/
	padding: 0.4rem 2rem;	/*上下に0.4文字分、左右に2文字分の余白*/
	border-radius: 999px;	/*カプセル型にする*/
}

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

/*アクセントカラー版*/
.btn.accent a,
.btn.accent button {
	background: var(--accent-color);		/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);		/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border: 1px solid var(--accent-color);	/*枠線の幅、線種、var以降は色の指定で、theme.cssのaccent-colorを読み込みます。*/
}

/*アイコンサイズを1.2倍に*/
.btn i {
	transform: scale(1.2);
	transition: 0.3s;
}
/*マウスオン時にアイコンを右へ*/
.btn a:hover i,
.btn button:hover i {
	transform: scale(1.2) translateX(4px);	/*右へ4px移動*/
}


/*画像・動画がupするパララックス
---------------------------------------------------------------------------*/
/*ブロック全体*/
.bg-slideup {
	position: relative;
	height: 30rem;	/*高さ。30文字分。pxやアスペクト比でもOK。*/
	overflow: hidden;
}

/*画像・動画を暗くしたい場合はhtml側に.overlayを追加する*/
.bg-slideup.overlay::before {
	content: "";
	position: absolute;z-index: 1;
	inset: 0;
	background-color: rgba(0,0,0,0.5);	/*重ねる色。0,0,0は黒のことで0.5は色が50%出た状態。*/
}

/*動かすための設定。設定本体は、jsの「▼ここだけ調整（全ブロック共通）」の数行で調整できます。*/
.scrollfx-move {
	--fx-extra: 240px;	/*JSでまとめて上書き*/
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	width: 100%;
	height: calc(100% + var(--fx-extra));
	object-fit: cover;
	will-change: transform;
	transform: translate3d(0,-50%,0);
}

/* テキストを天地左右中央 */
.bg-slideup .text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	z-index: 2;
	padding: 1rem 10vw;	/*ボックス内の余白。上下に１文字分、左右にウィンドウ幅の10%ずつ。*/
	color: #fff;	/*文字色*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}


/*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;}
footer p {margin: 0;}
footer a {text-decoration: none;}

/*フッターボックス全体*/
footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 2rem;
	font-size: 0.8rem;	/*文字サイズ80%*/
    padding: var(--content-space-s);	/*ボックス内の余白。theme.cssのcontent-space-sを読み込みます。*/
	background:  var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color:  var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

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

/*1つ目のdiv（ロゴが入ったブロック）*/
footer > div:first-child {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/*メニューブロック*/
footer .menu {
	display: flex;
	gap: 2rem;
}

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

/*Copyright部分*/
footer small {
	width: 100%;
	display: block;
	text-align: center;	/*右寄せ*/
}

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


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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-parts
---------------------------------------------------------------------------*/
.bg1-parts {
	background-color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);		/*背景色。theme.cssのbg-colorを読み込みます。*/
}

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

/*bg1-primary-light
---------------------------------------------------------------------------*/
.bg1-primary-light-parts {
	background-color: 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-color: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*背景色。theme.cssのlight-inverse-colorを読み込みます。*/
}


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


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


/*bg1-image-parts
---------------------------------------------------------------------------*/
.bg1-image-parts {
	background-image: url("../images/bg1.png");
	background-repeat: repeat-y;	/*縦方向にだけ繰り返します。*/
	background-size: 100% auto;		/*幅をボックスいっぱいに。高さは元画像の比率のまま。*/
	background-position: center top;	/*上端から表示します。*/
}


/*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;}
.padding-x {padding: 0 var(--content-space-l);}
.mt0 {margin-top: 0px !important;}
.mt20 {margin-top: 20px !important;}
.mt1rem {margin-top: 1rem !important;}
.mt3rem {margin-top: 3rem !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.8);color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.look .color-check {color: yellow !important;}
.small {font-size: 0.8em;}
.large {font-size: 1.4em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.inline-block {display: inline-block !important;}
.block {display: block !important;}
.is-clip {overflow: hidden;}

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