@charset "utf-8";


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


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


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


/*水彩がにじんで広がる動き（spread）のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes spread {
	0% {-webkit-mask-size: 0%; mask-size: 0%;}
	100% {-webkit-mask-size: 400%; mask-size: 400%;}
}
@keyframes settle {
	0% {transform: scale(1.08);}
	100% {transform: scale(1);}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html {
	font-size: clamp(13px, 0.195vw + 12.27px, 15px);	/*画面幅375px〜1400pxの間で、13px〜15pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	font-weight: 300;
	-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: var(--content-space-v, var(--content-space-l)) var(--content-space-l);	/*上下、左右へのsection内の余白。上下はtheme.cssのcontent-space-v（無い場合はcontent-space-l）、左右はcontent-space-lを読み込みます。上下のセクションが隣り合うと、2つ分の余白になります。*/
}

/*section内の最初と最後の要素のマージンはリセット（余白はsectionのpaddingで管理する為）*/
section > :first-child {margin-top: 0;}
section > :last-child {margin-bottom: 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 {
	position: fixed;	/*画面の上に固定して表示*/
	top: 0;
	left: 0;
	z-index: 40;	/*紙の質感（.paper-overlay）より下に置き、headerにも紙の質感がかかるようにしています*/
	width: 100%;
	display: flex;
	flex-wrap: wrap;	/*メニューが横に収まらない時は、ロゴの下に回り込ませる*/
	justify-content: space-between;
	align-items: center;
	gap: 1rem 3rem;		/*上下に1文字分、ロゴとメニューブロックの間に3文字分のスペース*/
	min-height: 80px;	/*ヘッダーの高さ。お好みで。*/
	padding: 1rem var(--content-space-l);	/*上下に1文字分、左右にtheme.cssのcontent-space-lの余白*/
	transition: transform 0.6s ease, opacity 0.6s ease;	/*隠れる・出てくる時にかける時間。0.6秒。*/
}

/*スクロールで隠れている時（jsが is-hide を付けます）*/
header.is-hide {
	opacity: 0;
	transform: translateY(-100%);	/*真上に隠す*/
	pointer-events: none;	/*隠れている間はクリックを無効に*/
}

/*トップページ以外は、headerの下に隠れないよう、ページの中身を下げる*/
body:not(.home) #contents {
	padding-top: 80px;	/*headerの高さと同じ*/
}

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

	/*ヘッダー。ハンバーガーアイコンが出るのでその分の余白を確保。*/
	header {
		min-height: 70px;
		padding-right: calc(var(--content-space-l) + 60px);
	}
	body:not(.home) #contents {
		padding-top: 70px;
	}

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

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

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

	header .logo img {
		width: 76px;	/*ロゴの幅*/
	}

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


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#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;
	flex-wrap: wrap;	/*横に収まらない時は折り返す*/
	align-items: center;
	gap: 0.5rem 2.5rem;	/*メニュー同士に空けるスペース。上下0.5文字分、左右2.5文字分。*/
	font-family: var(--accent-font);	/*英字のフォント。theme.cssのaccent-fontを読み込みます。*/
	font-size: 1.05rem;		/*文字サイズ*/
	letter-spacing: 0.15em;	/*文字間隔を広く*/
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	position: relative;
}
.large-screen #menubar li a {
	display: block;text-decoration: none;
	position: relative;
	padding: 0.3rem 0;	/*上下に0.3文字分の余白*/
}

/*現在表示中のメニュー（current）*/
.large-screen #menubar li.current > a {
	text-decoration: underline;	/*下線を付ける*/
	text-underline-offset: 0.5em;	/*文字と下線の間のスペース*/
}

/*ボタン（liにbtnを付けたメニュー）*/
.large-screen #menubar li.btn a {
	padding: 0.9rem 1.8rem;	/*上下に0.9文字分、左右に1.8文字分の余白*/
}
/*ボタンのアイコン*/
#menubar li.btn i {
	margin-right: 0.8em;	/*アイコンとテキストの間に空けるスペース*/
}


/*大きな端末で見た場合のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウン全体（親メニューの真下に、中央そろえで出します）*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	left: 50%;
	transform: translateX(-50%);
	min-width: 11rem;	/*最小の幅*/
	margin-top: 0.8rem;
	padding: 0.6rem 0;
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);	/*ふんわりした影*/
	text-align: center;
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}

/*親メニューとドロップダウンの間のすき間（マウスが通る間にドロップダウンが閉じないよう、見えない橋を渡します）*/
.large-screen #menubar ul ul::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 0.8rem;	/*上のmargin-topと同じ高さ*/
}

/*メニュー１個あたり*/
.large-screen #menubar ul ul a {
	padding: 0.5rem 1.6rem;	/*上下に0.5文字分、左右に1.6文字分の余白*/
	font-size: 0.9em;
	white-space: nowrap;	/*折り返さない*/
}

/*マウスオン時*/
.large-screen #menubar ul ul a:hover {
	background: var(--light-color);	/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-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を読み込みます。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
}

.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;
	padding: 1rem 0.5rem;	/*メニュー内の余白。上下に１文字分、左右に0.5文字分。*/
	border-bottom: 1px solid var(--primary-border-color);	/*下の線の幅、線種、var以降は色の指定でtheme.cssのprimary-border-colorを読み込みます。*/
}

/*現在表示中のメニュー（current）*/
.small-screen #menubar li.current > a {
	text-decoration: underline;	/*下線を付ける*/
	text-underline-offset: 0.5em;	/*文字と下線の間のスペース*/
}

/*ボタン（liにbtnを付けたメニュー）*/
.small-screen #menubar li.btn a {
	margin-top: 2rem;
	border: 1px solid var(--primary-inverse-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのprimary-inverse-colorを読み込みます。*/
	text-align: center;
}

/*アクセントカラーのボタン（liにbtn accentを付けたメニュー）*/
.small-screen #menubar li.btn.accent a {
	border-color: var(--accent-color);	/*枠線の色。theme.cssのaccent-colorを読み込みます。*/
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	padding-left: 2.5rem;	/*左に2.5文字分の余白*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*ドロップダウンのアイコン*/
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;
}

/*大きな端末では、アイコンをメニューの文字の後ろに出す*/
.large-screen a.ddmenu::before {
	display: none;
}
.large-screen a.ddmenu::after {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";		/*このアイコンを使う*/
	margin-left: 0.6em;		/*メニューテキストとの間に空けるスペース*/
	font-size: 0.6em;		/*アイコンサイズ。60%*/
	vertical-align: middle;
	display: inline-block;
	line-height: 1;
}

/*メニューの下の小さな文字（小さな端末でのみ表示）*/
.small-screen #menubar .sh {
	margin-top: 2rem;
	font-size: 0.8rem;	/*文字サイズ80%*/
}


/*ドロップダウン共通（デフォルトで非表示。チラつかないよう念の為。）
---------------------------------------------------------------------------*/
#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(--light-color);	/*背景色。theme.cssのlight-colorを読み込みます。*/
}

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

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
}
#menubar_hdr.ham span {
	background: var(--primary-inverse-color);	/*線の色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*以下変更不要*/
#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;
}


/*水彩がにじんで広がる（blot）
画面に入ると、jsが .is-show を付けて広がり始めます。メイン画像では、最初から .is-show を付けています。
---------------------------------------------------------------------------*/
.blot {
	position: absolute;
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);	/*中の画像を、枠の大きさに合わせるための指定*/
	place-items: center;	/*横長の水彩も真ん中に*/
	pointer-events: none;
}
.blot img {
	width: 100%;
	height: 100%;
	object-fit: contain;	/*縦長のイラストも、枠の中に収めます*/
}
.blot.spread {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cfilter id='s'%3E%3CfeGaussianBlur stdDeviation='2.5'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url%28%23s%29' d='M100 22 C128 18 150 34 160 52 C178 60 186 84 178 104 C186 128 172 152 150 160 C136 180 108 184 90 174 C66 180 40 166 34 144 C16 130 14 104 26 86 C22 62 42 40 64 36 C74 24 88 22 100 22 Z'/%3E%3C/svg%3E");	/*広がる形（少しいびつな円）*/
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cfilter id='s'%3E%3CfeGaussianBlur stdDeviation='2.5'/%3E%3C/filter%3E%3C/defs%3E%3Cpath filter='url%28%23s%29' d='M100 22 C128 18 150 34 160 52 C178 60 186 84 178 104 C186 128 172 152 150 160 C136 180 108 184 90 174 C66 180 40 166 34 144 C16 130 14 104 26 86 C22 62 42 40 64 36 C74 24 88 22 100 22 Z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: var(--drop, 50% 50%);
	mask-position: var(--drop, 50% 50%);	/*色が落ちる場所。左から何%、上から何%。*/
	-webkit-mask-size: 0%;
	mask-size: 0%;	/*表示前は隠しておく*/
}
.blot.spread.is-show {
	animation: spread 5s cubic-bezier(0.25,0.6,0.25,1) var(--d, 0s) both;	/*5秒かけて広がる。--dは待ち時間。*/
}
.blot.spread.is-show > * {
	animation: settle 5s cubic-bezier(0.25,0.6,0.25,1) var(--d, 0s) both;
}

/*動きを減らす設定の人には、最初から表示*/
@media (prefers-reduced-motion: reduce) {
	.blot.spread {-webkit-mask-size: 400%; mask-size: 400%; animation: none !important;}
	.blot.spread > * {animation: none !important;}
}


/*メイン画像（水彩がにじんで広がるオープニング）
---------------------------------------------------------------------------*/
/*メイン画像全体を囲むブロック*/
.mainimg {
	position: relative;
	overflow: hidden;
	height: 100vh;	/*古いブラウザ用*/
	height: 100svh;	/*画面の高さいっぱい（headerは上に重なります）*/
	min-height: 520px;
}

/*水彩の位置と大きさ（上下は切れないように、左右は画面の外へ少しはみ出させています）。--dは広がり始めるまでの待ち時間、--dropは色が落ちる場所。*/
.mainimg .b1 {left: 3vw; top: 12%; width: 34vw; --drop: 40% 45%; --d: 0.3s;}
.mainimg .b2 {right: -6vw; top: 12%; width: 38vw; --drop: 55% 50%; --d: 1.3s;}
.mainimg .b3 {left: -6vw; bottom: 3%; width: 28vw; --drop: 60% 40%; --d: 2.1s;}
.mainimg .b4 {right: 6vw; bottom: 6%; width: 26vw; --drop: 30% 60%; --d: 2.8s;}

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

	.mainimg .b1 {left: -12vw; top: 10%; width: 72vw;}
	.mainimg .b2 {right: -28vw; top: 9%; width: 80vw;}
	.mainimg .b3 {left: -18vw; bottom: 3%; width: 58vw;}
	.mainimg .b4 {right: -8vw; bottom: 12%; width: 52vw;}

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

/*水彩1つ＋キャッチの横並び（.mainimg に side を追加。水彩は b1 だけを使います）
水彩を右、キャッチを左にしたい場合は、さらに reverse を追加します。*/
.mainimg.side .b1 {
	left: 2vw;
	right: auto;
	top: 50%;
	width: min(48vw, 86svh);	/*水彩の幅。上下が切れないように、画面の高さでも制限しています。*/
	transform: translateY(-50%);
	--drop: 50% 50%;
	--d: 0.3s;
}
.mainimg.side .text {
	left: 50%;
	align-items: flex-start;
	text-align: left;
	padding: 0 var(--content-space-l) 0 4vw;	/*水彩とキャッチの間を空けています*/
}
.mainimg.side.reverse .b1 {
	left: auto;
	right: 2vw;
}
.mainimg.side.reverse .text {
	left: 0;
	right: 50%;
	padding: 0 4vw 0 var(--content-space-l);
}

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

	/*水彩を上、キャッチを下に*/
	.mainimg.side .b1,
	.mainimg.side.reverse .b1 {
		left: 8vw;
		right: auto;
		top: 80px;
		width: 100vw;	/*右側は少し画面の外へはみ出させています*/
		transform: none;
	}
	.mainimg.side .text,
	.mainimg.side.reverse .text {
		left: 0;
		right: 0;
		justify-content: flex-end;
		align-items: center;
		text-align: center;
		padding: 0 var(--content-space-l) 14%;
	}

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

/*メイン画像のポラロイド（.polaroid に p1〜p4 を付けて、上から順に落ちてくるように出します）
--tilt は傾き、--d は出始めるまでの待ち時間。*/
.mainimg .polaroid {
	position: absolute;
	width: min(19vw, 260px);	/*ポラロイドの幅。画面幅の19%、最大260px。*/
	animation: drop 1.4s cubic-bezier(0.25,0.6,0.25,1) var(--d, 0s) both;
}
@keyframes drop {
	0% {opacity: 0; transform: translateY(-40px) rotate(0deg);}
	100% {opacity: 1; transform: translateY(0) rotate(var(--tilt, 0deg));}
}
.mainimg .p1 {left: 7vw; top: 15%; --tilt: -6deg; --d: 0.4s;}
.mainimg .p2 {left: 20vw; bottom: 7%; --tilt: 4deg; --d: 1.0s;}
.mainimg .p3 {right: 8vw; top: 13%; --tilt: 5deg; --d: 1.6s;}
.mainimg .p4 {right: 21vw; bottom: 6%; --tilt: -3deg; --d: 2.2s;}

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

	.mainimg .polaroid {width: 34vw;}
	.mainimg .p1 {left: 5vw; top: 90px;}
	.mainimg .p2 {left: 10vw; bottom: 5%;}
	.mainimg .p3 {right: 5vw; top: 110px;}
	.mainimg .p4 {right: 8vw; bottom: 4%;}

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

/*動きを減らす設定の人には、最初から表示*/
@media (prefers-reduced-motion: reduce) {
	.mainimg .polaroid {animation: none; transform: rotate(var(--tilt, 0deg));}
}


/*メイン画像上のテキスト
---------------------------------------------------------------------------*/
/*テキストブロックの基本設定（中央配置がデフォルト）*/
.mainimg .text {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0 var(--content-space-l);
}

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

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

/*白文字にする場合*/
.mainimg .text.inverse {
	color: #fff;
	text-shadow: 0 0 10px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.5);	/*文字の影*/
}

/*h2（大きな文字）*/
.mainimg .text h2 {
	display: flex;
	flex-direction: column-reverse;	/*spanの英字を上に出す*/
	margin: 0;
	font-weight: 400;
	font-size: 2.6rem;		/*文字サイズ*/
	letter-spacing: 0.15em;	/*文字間隔*/
	line-height: 1.8;		/*行間*/
}

/*h2の中の英字*/
.mainimg .text h2 span {
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.35em;
	letter-spacing: 0.4em;
	margin-bottom: 1.5rem;
}

/*p（説明テキスト部分）*/
.mainimg .text p {
	margin: 1.5rem 0 0;
	font-size: 0.95rem;
	letter-spacing: 0.15em;
}

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

	.mainimg .text h2 {font-size: 1.8rem;}

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

/*ボタンブロック（ボタンが１つの場合も、このブロックで囲みます）*/
.mainimg .btn-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
	text-shadow: none;	/*キャッチの文字の影を、ボタンの文字に付けない*/
}


/*ボタン
---------------------------------------------------------------------------*/
.btn a {
	display: inline-flex;		/*文字とSVG矢印を横並びにする*/
	align-items: center;		/*縦位置を中央に揃える*/
	text-decoration: none;
	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.7rem 3rem;	/*上下に0.7文字分、左右に3文字分の余白*/
	font-family: var(--accent-font);	/*英字のフォント。theme.cssのaccent-fontを読み込みます。*/
	font-size: 1.05rem;
	letter-spacing: 0.15em;	/*文字間隔を広く*/
}

/*ボタンのマウスオン時（アクセントカラーに変わり、文字間隔が少し広がります）*/
.btn a:hover {
	filter: none;
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border-color: var(--accent-color);	/*枠線の色。theme.cssのaccent-colorを読み込みます。*/
	letter-spacing: 0.25em;
}

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

/*アクセントカラーのボタン*/
.btn.accent a {
	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を読み込みます。*/
}
.btn.accent a:hover {
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	border-color: var(--primary-color);	/*枠線の色。theme.cssのprimary-colorを読み込みます。*/
}

/*btn6（マウスオンで、右の小さな丸が広がって背景色になるボタン）
---------------------------------------------------------------------------*/
/*ボタン全体*/
.btn6 a {
	--height: 56px;	/*ボタンの高さ。お好みで。*/
	--size: 36px;	/*円のサイズ。お好みで。*/
	--side-gap: calc((var(--height) - var(--size)) / 2);
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--height);
	border-radius: 999px;
	padding: 0 var(--side-gap) 0 2rem;	/*2remが、テキストの左側の余白です。2文字分。お好みで。*/
	background: var(--light-color);	/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
	font-family: var(--accent-font);	/*英字のフォント。theme.cssのaccent-fontを読み込みます。*/
	letter-spacing: 0.1em;
	overflow: hidden;
	position: relative;
}

/*左側テキスト*/
.btn6 span:first-child {
	padding-right: 1.5rem;	/*テキストとアイコンがくっつかないよう間にとるスペース。お好みで。*/
}
.btn6 a:hover span:first-child {
	position: relative;z-index: 2;
	color: var(--primary-inverse-color);	/*マウスオン時の文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*右側アイコン*/
.btn6 i {
	font-style: normal;
	font-size: 0.8rem;
	color: var(--primary-inverse-color);	/*アイコンの色。theme.cssのprimary-inverse-colorを読み込みます。*/
	width: var(--size);
	line-height: var(--size);
	border-radius: 999px;
	text-align: center;
	position: relative;z-index: 1;
}

/*右側の丸（マウスオン時に広がります）*/
.btn6 a::before {
	content: "";
	position: absolute;
	right: var(--side-gap);
	top: 50%;
	transform: translateY(-50%) scale(1);
	width: var(--size);
	aspect-ratio: 1;
	text-align: center;
	border-radius: 999px;
	background: var(--primary-color);	/*丸の色。theme.cssのprimary-colorを読み込みます。*/
	transition: transform 0.6s ease;	/*ゆっくり拡大する。0.6はお好みで。*/
}
.btn6 a:hover {filter: none;}
.btn6 a:hover::before {transform: translateY(-50%) scale(50);}
.btn6.fit a:hover::before {transform: translateY(-50%) scale(15);}

/*テキスト量にあったサイズ用*/
.btn6.fit a {
	display: inline-flex;
}

/*テキスト量にあったサイズ用の左右中央用*/
.btn6.fit.c {
	text-align: center;
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	min-height: 0;
	overflow-x: clip;	/*画面の外にはみ出す水彩で、スマホのページ幅が広がらないように*/
}


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

/*h2（見出し）*/
main h2 {
	display: flex;
	flex-direction: column-reverse;	/*spanの英字を上に出す*/
	margin: 0 0 3rem;
	font-weight: 400;
	font-size: 1rem;
	letter-spacing: 0.25em;
}

/*h2の中の英字*/
main h2 span {
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-size: 2.4em;
	letter-spacing: 0.08em;
	line-height: 1.3;
	margin-bottom: 0.3rem;
}

/*main直下のsection（上下の余白を、ほかのsectionより広めに取っています）*/
main > section {
	padding-top: var(--section-space-v);		/*上の余白。theme.cssのsection-space-vを読み込みます。*/
	padding-bottom: var(--section-space-v);	/*下の余白。theme.cssのsection-space-vを読み込みます。*/
}

/*ページタイトルの横の水彩（下層ページ。htmlの p.illust を消せば無しにできます。classの「blot spread」を外すと、にじまずに最初から表示されます）*/
main > section {
	position: relative;
	isolation: isolate;	/*水彩を、このsectionの中だけで文字の後ろに回すための指定*/
}
main .illust {
	position: absolute;
	z-index: -1;	/*文字の後ろに*/
	top: 1rem;
	left: 50%;
	width: min(30vw, 340px);	/*水彩の幅。画面幅の30%、最大340px。*/
	margin: 0;
	opacity: 0.5;	/*濃さ。0.5とは、色が50%出た状態です。*/
}
main .illust img {
	display: block;
	width: 100%;
	max-height: 300px;	/*縦長の画像が、下の文章にかかりすぎないように*/
	object-fit: contain;
	object-position: left top;
}

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

	main .illust {
		left: 40%;
		width: 60vw;
	}

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

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


/*ポラロイド風の写真（水彩を使わない写真の見せ方。どこでも使えます）
---------------------------------------------------------------------------*/
.polaroid {
	position: relative;
	display: block;
	margin: 0;
	background: #fff;	/*枠の色*/
	color: #555;		/*キャプションの文字色*/
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);	/*影*/
	transform: rotate(var(--tilt, -3deg));	/*傾き*/
}
.polaroid,
.works .polaroid,
.grid1 .polaroid {
	padding: 12px 12px 0;	/*枠の太さ（上・左右）*/
}
.polaroid::after {
	content: "";
	display: block;
	aspect-ratio: 4 / 1;	/*下の枠の太さ。写真の幅の4分の1です。*/
}
.polaroid img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;	/*写真は正方形に切り取ります*/
	object-fit: cover;
}
.polaroid figcaption {
	position: absolute;	/*下の太い枠の中に置きます*/
	left: 0;
	right: 0;
	bottom: 6%;
	line-height: 1.5;
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-size: 1.05rem;
	letter-spacing: 0.1em;
	text-align: center;
}


/*works（作品。写真を水彩の形で切り抜いて、にじむように出します）
---------------------------------------------------------------------------*/
.works * {margin: 0;padding: 0;}

/*作品1個あたり*/
.works .item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6vw;	/*写真と文章の間のスペース*/
	margin-bottom: 6rem;	/*作品同士の間のスペース*/
}

/*偶数番目は、写真と文章の左右を入れ替え*/
.works .item:nth-child(even) {
	flex-direction: row-reverse;
}

/*写真のブロック（水彩の形で切り抜くので、正方形のエリアにしています）*/
.works .visual {
	position: relative;
	flex: 0 0 min(42vw, 560px);	/*写真のブロックの幅。画面幅の42%、最大560px。*/
	aspect-ratio: 1 / 1;
}

/*後ろの水彩（写真より少しずらして置きます）*/
.works .visual .back {
	inset: -4% -10% 8% 0;
}
.works .item:nth-child(even) .visual .back {
	inset: -4% 0 8% -10%;
}
/*写真を入れず、水彩だけの場合は、枠いっぱいに*/
.works .visual .back:only-child {
	inset: 0;
}

/*水彩の形で切り抜いた写真*/
.works .visual .front {
	inset: 6% -2% -6% -2%;
	--d: 1.2s;	/*後ろの水彩から1.2秒遅れて出します*/
}
.cutout {
	display: block;
	width: 100%;
	height: 100%;
}

/*文章のブロック*/
.works .text {
	max-width: 420px;
}
.works .text .num {
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-size: 0.85rem;
	letter-spacing: 0.3em;
}
.works .text h3 {
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontを読み込みます。日本語はbase-fontで表示します。*/
	font-weight: 400;
	font-size: 2rem;
	letter-spacing: 0.05em;
	line-height: 1.3;
	margin: 0.3rem 0 1rem;
}
.works .text p:not(.num) {
	font-size: 0.9rem;
}

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

	/*写真と文章を縦に並べる*/
	.works .item,
	.works .item:nth-child(even) {
		flex-direction: column;
		gap: 3rem;
		margin-bottom: 5rem;
	}
	.works .visual {
		flex-basis: auto;
		width: 80vw;
	}

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

/*写真の見せ方の切り替え（.visual の中身で切り替えます）
・水彩で切り抜く：.front（上記）
・正方形の写真＋水彩：.photo
・ポラロイド：.polaroid（後ろの水彩 .back は、無くてもOK）
・水彩だけ：.back だけを入れます*/
.works .visual {
	display: grid;
	place-items: center;
}
.works .visual .photo {
	position: relative;
	z-index: 1;
	width: 66%;
	margin: 0;
	justify-self: start;	/*左下に寄せて、右上に後ろの水彩（イラスト）をのぞかせます*/
	align-self: end;
}
.works .item:nth-child(even) .visual .photo {
	justify-self: end;	/*偶数番目は右下に寄せます*/
}
.works .visual .photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.works .visual .polaroid {
	position: relative;
	z-index: 1;
	width: 64%;
	justify-self: start;	/*左下に寄せて、右上に後ろの水彩をのぞかせます*/
	align-self: end;
}
.works .item:nth-child(even) .visual .polaroid {
	justify-self: end;	/*偶数番目は右下に寄せます*/
	--tilt: 3deg;	/*偶数番目は逆に傾けます*/
}
/*後ろの水彩が無い場合は、真ん中に大きめに*/
.works .item:nth-child(n) .visual .photo:only-child,
.works .item:nth-child(n) .visual .polaroid:only-child {
	justify-self: center;
	align-self: center;
	width: 76%;
}

/*「わたしについて」の小さな写真をポラロイドにした場合*/
.message .polaroid.mini {
	aspect-ratio: auto;
	--tilt: 4deg;
}
/*「ご依頼について」の両サイドの写真をポラロイドにした場合*/
.grid1 .image1 .polaroid {
	--tilt: -3deg;
}
.grid1 .image2 .polaroid {
	--tilt: 3deg;
}

/*中央寄せ（.works に center を追加。写真の下に文章を中央揃えで並べます）*/
.works.center .item,
.works.center .item:nth-child(even) {
	flex-direction: column;
	gap: 3rem;
	text-align: center;
}
.works.center .visual {
	flex-basis: auto;
	width: min(46vw, 520px);
}
.works.center .item:nth-child(n) .visual .photo,
.works.center .item:nth-child(n) .visual .polaroid {
	justify-self: center;	/*中央寄せの時は、写真も真ん中に*/
	align-self: center;
	width: 58%;	/*後ろの水彩がのぞくように、少し小さめに*/
}

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

	.works.center .visual {width: 80vw;}

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


/*message（「わたしについて」ブロック。水彩を文字の後ろに敷き、小さな写真を添えます）
---------------------------------------------------------------------------*/
.message {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
	text-align: center;
}

/*文字の後ろの水彩*/
.message .bg {
	left: 50%;
	top: 50%;
	width: min(60vw, 640px);	/*水彩の幅。画面幅の60%、最大640px。*/
	aspect-ratio: 1 / 1;
	transform: translate(-50%, -50%);	/*中央に置く*/
	opacity: 0.45;	/*文字が乗るので薄めに。0.45とは、色が45%出た状態です。*/
}

/*文章*/
.message .text {
	position: relative;
	max-width: 520px;
}
.message .text h2 {
	margin-bottom: 2rem;
}

/*添える小さな写真（右下）*/
.message .mini {
	position: absolute;
	right: 4%;
	bottom: 0;
	width: min(22vw, 280px);	/*写真の幅。画面幅の22%、最大280px。*/
	aspect-ratio: 1 / 1;
	--d: 1.6s;	/*1.6秒遅れて出します*/
}

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

	.message .bg {width: 110vw;}

	/*小さな写真は、文章の下に*/
	.message .mini {
		position: relative;
		inset: auto;
		width: 50vw;
		margin-top: 3rem;
	}

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


/*grid1（「ご依頼について」ブロック。両サイドに画像、中央に文章）
---------------------------------------------------------------------------*/
.grid1 * {margin: 0;padding: 0;}

/*ブロック全体*/
.grid1 {
	display: grid;
	grid-template-columns: 26% minmax(0, 1fr) 26%;	/*左が26%、右が26%、中央は残りを使う*/
	gap: 3rem;				/*中のボックス同士に空けるスペース。3文字分。*/
	align-items: center;	/*天地中央*/
	text-align: center;		/*テキストをセンタリング*/
}

/*テキストブロック*/
.grid1 .text {
	display: flex;
	flex-direction: column;	/*縦積み*/
	align-items: center;
	gap: 2.5rem;	/*テキストブロック直下のブロック同士に空けるスペース。2.5文字分。*/
}

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

	/*ブロック全体*/
	.grid1 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);	/*２列に*/
		grid-template-areas: 
			"img1 img2"		/*１行目：「img1」と「img2」を左右に並べる*/
			"text text";	/*２行目：「text」を２マス分まとめて配置*/
	}
	
	.grid1 .image1 { grid-area: img1; }	/*1枚目画像 → 上の「img1」エリアへ*/
	.grid1 .text   { grid-area: text; }	/*テキスト →上の「text」エリアへ*/
	.grid1 .image2 { grid-area: img2; }	/*2枚目画像 →上の「img2」エリアへ*/
	
	/*画像ブロックの幅を少し狭く（画像を小さくするため）*/
	.grid1 .image1,
	.grid1 .image2 {
		width: 80%;	/*幅。お好みで。*/
		justify-self: center;
	}

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

/*.textブロック内の項目（アイコン・小見出し・説明を、1行ずつ縦に並べます）*/
.grid1 .column {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 360px;	/*最大幅*/
	font-size: 0.85rem;
	text-align: left;
}

/*項目1つあたり。左にアイコン、右に小見出しと説明*/
.grid1 .column > div {
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);	/*アイコンの列の幅が3文字分、残りが文章*/
	column-gap: 1rem;
	align-items: center;
	padding: 1rem 0;
}
/*最後のdiv以外に、下に線を入れる*/
.grid1 .column > div:not(:last-child) {
	border-bottom: 1px solid var(--bg-border-color);	/*線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
}

/*アイコン*/
.grid1 .column i {
	grid-row: span 2;	/*小見出しと説明の2行分の高さ*/
	text-align: center;
	font-size: 1.6rem;	/*アイコンサイズ*/
	color: var(--accent-color);	/*アイコンの色。theme.cssのaccent-colorを読み込みます。*/
}

/*小見出し*/
.grid1 .column h4 {
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-weight: 400;
	font-size: 1.3rem;
	letter-spacing: 0.08em;
	line-height: 1.4;
}

/*両サイドの写真（水彩の形で切り抜きます）*/
.grid1 .image1,
.grid1 .image2 {
	position: relative;
	aspect-ratio: 1 / 1;
}
.grid1 .blot {
	inset: 0;
}


/*マニュアルページ（_readme.html）の見出し。h2をh3より大きくします*/
.manual main h2 {
	font-size: 1.3rem;
	letter-spacing: 0.1em;
}
.manual main h2 span {
	font-size: 1.8em;
}

/*マニュアルページ（_readme.html）のsectionの上下の余白。文字だけのページなので、ほかのページより狭くしています*/
.manual main > section {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

/*main h3（小見出し）
---------------------------------------------------------------------------*/
main h3 {
	margin: 2rem 0 1rem;
	font-weight: 500;
	font-size: 1.05rem;
	letter-spacing: 0.1em;
}

/*sectionの最初に置いたh3（「作品」ページの見出し。英字の下に小さく和文）*/
main section > h3:first-child {
	display: flex;
	flex-direction: column;
	margin: 0 0 2rem;
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-weight: 400;
	font-size: 1.8rem;
	letter-spacing: 0.05em;
	line-height: 1.3;
}
main section > h3:first-child span {
	font-family: var(--base-font);	/*theme.cssのbase-fontを読み込みます。*/
	font-size: 0.4em;
	letter-spacing: 0.2em;
	margin-top: 0.5rem;
}


/*gallery1（「作品」ページ。左に大きな写真1枚と説明文、右に小さな写真2枚）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.gallery1 {
	display: flex;
	gap: 2rem;	/*左右のブロックの間に空けるスペース。2文字分。*/
}

/*左側（大きめの写真と説明文）*/
.gallery1 .left {
	flex: 1;min-width: 0;
}

/*右側（小さめの写真2枚を縦積み）*/
.gallery1 .right {
	width: 38%;		/*幅。お好みで。*/
	display: flex;
	flex-direction: column;	/*縦積み*/
	gap: 2rem;		/*上下の写真の間のスペース。2文字分。*/
}

/*画像*/
.gallery1 img {
	display: block;
	width: 100%;
}

/*写真の角を丸くする場合（gallery1にkadomaruを追加）*/
.gallery1.kadomaru img {
	border-radius: 1rem;	/*角の丸み。1文字分。*/
}

/*説明文*/
.gallery1 .left p {
	margin-top: 1.5rem;
}


/*yoko2（メニュー名と価格を、テキストだけで2列に並べます。「メニュー」ページで使用）
---------------------------------------------------------------------------*/
.yoko2 * {margin: 0;padding: 0;}

/*ボックス全体を囲むブロック*/
.yoko2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));	/*２列*/
	gap: 0 3rem;	/*メニュー同士に空けるスペース。上下は0、左右間は3文字分。*/
}

/*写真のブロックの下に置いた場合の、上のスペース*/
.gallery1 + .yoko2 {
	margin-top: 3rem;
}

/*ボックス１個あたり*/
.yoko2 > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;	/*左は余った部分を一杯使える。右はテキストの幅に合わせる。*/
	gap: 1rem;
	align-items: baseline;
	padding: 1rem 0;	/*上下の余白*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
}
/*bg1-light-parts上の線色*/
.bg1-light-parts .yoko2 > div {
	border-color: var(--light-border-color);
}
/*bg1-parts上の線色*/
.bg1-parts .yoko2 > div {
	border-color: var(--bg-inverse-border-color);
}
/*bg1-primary-parts上の線色*/
.bg1-primary-parts .yoko2 > div {
	border-color: var(--primary-border-color);
}
/*bg1-accent-parts上の線色*/
.bg1-accent-parts .yoko2 > div {
	border-color: var(--accent-border-color);
}

/*最初の行（2列分）だけ上にも線を入れる*/
.yoko2 > div:nth-child(1),
.yoko2 > div:nth-child(2) {
	border-top: 1px solid var(--bg-border-color);	/*上の線の幅、線種、var以降は色の指定でtheme.cssのbg-border-colorを読み込みます。*/
}
/*bg1-light-parts上の線色*/
.bg1-light-parts .yoko2 > div:nth-child(1),
.bg1-light-parts .yoko2 > div:nth-child(2) {
	border-color: var(--light-border-color);
}
/*bg1-parts上の線色*/
.bg1-parts .yoko2 > div:nth-child(1),
.bg1-parts .yoko2 > div:nth-child(2) {
	border-color: var(--bg-inverse-border-color);
}
/*bg1-primary-parts上の線色*/
.bg1-primary-parts .yoko2 > div:nth-child(1),
.bg1-primary-parts .yoko2 > div:nth-child(2) {
	border-color: var(--primary-border-color);
}
/*bg1-accent-parts上の線色*/
.bg1-accent-parts .yoko2 > div:nth-child(1),
.bg1-accent-parts .yoko2 > div:nth-child(2) {
	border-color: var(--accent-border-color);
}

/*価格*/
.yoko2 dd {
	text-align: right;		/*テキストを右寄せする*/
	white-space: nowrap;	/*改行させない*/
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-size: 1.1rem;
}

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

	/*ボックス全体を囲むブロック*/
	.yoko2 {
		grid-template-columns: 1fr;	/*1列*/
	}
	
	/*2列用で指定している重複してしまう線を消す*/
	.yoko2 > div:nth-child(2) {
		border-top: none;
	}

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


/*free1（「わたしについて」ページ。写真と文章を、位置や大きさを変えながら並べます）
---------------------------------------------------------------------------*/
/*ボックス内のh4*/
.free1 h4{
	margin: 0 0 1rem;
	font-weight: 400;
	font-size: 1.15rem;
	letter-spacing: 0.15em;
}

/*画像の影をつける場合*/
.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;
	}
	
	}/*追加指定ここまで*/


/*pricing1（「料金」ページの料金表）
---------------------------------------------------------------------------*/
.pricing1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.pricing1 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));	/*ボックス１個あたりの最低幅が220pxで自動改行*/
	gap: 2rem;		/*ボックス同士の余白。2文字分。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
	align-items: start;	/*ボックスの高さを揃えず上寄せ*/
	margin-top: 3rem;	/*上に空けるスペース。3文字分。上の文章とくっつかないように。*/
}

/*プランボックス１個あたり*/
.pricing1 .plan {
	display: flex;
	flex-direction: column;
	align-items: center;	/*テキストをセンタリング*/
	text-align: center;	/*テキストをセンタリング*/
	background: var(--bg-color);	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	border: 1px solid var(--bg-border-color);	/*枠線。色はtheme.cssのbg-border-colorを読み込みます。*/
	padding: 3rem 1.5rem 2rem;
	position: relative;	/*おすすめアイコンの基準位置*/
}

/*bg1-light-parts上の線色*/
.bg1-light-parts .pricing1 .plan {
	border-color: var(--light-border-color);
}
/*bg1-parts上の線色*/
.bg1-parts .pricing1 .plan {
	border-color: var(--bg-inverse-border-color);
}
/*bg1-primary-parts上の線色*/
.bg1-primary-parts .pricing1 .plan {
	border-color: var(--primary-border-color);
}
/*bg1-accent-parts上の線色*/
.bg1-accent-parts .pricing1 .plan {
	border-color: var(--accent-border-color);
}

/*おすすめプラン*/
.pricing1 .plan.recommend {
	border-color: var(--primary-color);	/*枠線の色。theme.cssのprimary-colorを読み込みます。*/
	border-width: 1px;	/*枠線の太さ*/
	transform: scale(1.05);	/*少し拡大して目立たせる*/
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかす量。0,0,0は黒のことで0.1は色が10%出た状態。*/
	z-index: 1;
}

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

	/*おすすめプラン*/
	.pricing1 .plan.recommend {
		transform: scale(1);	/*小画面では拡大を解除*/
	}

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


/*おすすめアイコン（ボックス上部に被さるピル型バッジ）*/
.pricing1 .plan .icon1 {
	position: absolute;
	top: -12px;	/*本来の場所より上にずらす。*/
	left: 50%;
	transform: translateX(-50%);
	background: var(--primary-color);	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
	font-size: 0.75rem;	/*文字サイズ75%*/
	padding: 0.2rem 1.2rem;	/*アイコン内の余白。上下に0.2文字分、左右に1.2文字分。*/
	border-radius: 20px;	/*角を丸くする*/
	white-space: nowrap;	/*テキストを折り返さない*/
}

/*プラン名（h4）*/
.pricing1 .plan h4 {
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-weight: 400;
	font-size: 1.8rem;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

/*価格*/
.pricing1 .plan .price {
	margin-bottom: 1.5rem;	/*下に1.5文字分のスペースを空ける*/
	line-height: 1.3;		/*行間を狭く*/
}
.pricing1 .plan .price span {
	font-family: var(--accent-font), var(--base-font);	/*theme.cssのaccent-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	font-size: 2.4rem;	/*文字サイズ2.4倍*/
	font-weight: 400;
	letter-spacing: -0.02em;	/*文字間隔を少し詰める*/
}

/*機能リスト全体*/
.pricing1 .plan ul {
	list-style: none;
	width: 100%;
	margin-bottom: 1.5rem;	/*下に空けるスペース。「申し込み」ボタンとの間のスペースです。*/
}
/*機能リスト１個あたり*/
.pricing1 .plan ul li {
	padding: 0.5rem 0;	/*上下に0.5文字分の余白、左右はゼロ。*/
	border-bottom: 1px solid var(--bg-border-color);	/*下線。色はtheme.cssのbg-border-colorを読み込みます。*/
	font-size: 0.85rem;	/*文字サイズ85%*/
}
.pricing1 .plan ul li:last-child {
	border-bottom: none;	/*最後の項目は下線なし*/
}

/*無効な機能（打ち消し線＋薄く表示）*/
.pricing1 .plan ul li.disabled {
	opacity: 0.35;	/*透明度。色が35%出た状態。*/
	text-decoration: line-through;	/*打ち消し線*/
}


/*flow1（「ご依頼の流れ」。番号・見出し・短い線・説明文のステップ案内）
---------------------------------------------------------------------------*/
.flow1 * {margin: 0;padding: 0;}

/*ボックス全体*/
.flow1 {
	margin: 0;padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));	/*4列*/
}

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

	.flow1 {
		grid-template-columns: 1fr;	/*縦積みに*/
		gap: 2rem;	/*ボックス同士の間に空けるスペース。2文字分。*/
	}

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

/*ボックス１個あたり*/
.flow1 li {
	padding: 0 2rem;	/*左右に2文字分の余白*/
	border-left: 1px solid var(--bg-border-color);	/*左の線。theme.cssのbg-border-colorを読み込みます。*/
}
.flow1 li:first-child {
	padding-left: 0;
	border-left: none;	/*1個目は線なし*/
}

/*bg1-light-parts上の線色*/
.bg1-light-parts .flow1 li {
	border-color: var(--light-border-color);	/*theme.cssのlight-border-colorを読み込みます。*/
}

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

	.flow1 li {
		padding: 0;
		border-left: none;
	}

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

/*番号*/
.flow1 .num {
	font-family: var(--accent-font);	/*theme.cssのaccent-fontを読み込みます。*/
	font-size: 1rem;
	letter-spacing: 0.2em;
}

/*見出し*/
.flow1 h4 {
	font-weight: 400;
	font-size: 1.15rem;
	letter-spacing: 0.1em;
	margin: 0.5rem 0 1rem;
}

/*見出しの下の短い線*/
.flow1 h4::after {
	content: "";
	display: block;
	width: 1.5rem;		/*線の長さ*/
	height: 1px;		/*線の太さ*/
	margin-top: 1rem;	/*見出しと線の間のスペース*/
	background: currentColor;	/*線の色。文字と同じ色。*/
}

/*説明文*/
.flow1 p {
	font-size: 0.85rem;	/*文字サイズ85%*/
	line-height: 1.8;	/*行間*/
}


/*テーブル（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を読み込みます。*/
}
/*.bg1-primary-partsの上で使う場合*/
.bg1-primary-parts .ta1 caption {
	background: #333;	/*背景色*/
	color: #fff;		/*文字色*/
}

/*テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid var(--bg-border-color);	/*テーブルの一番上の線。幅、線種、varは色の設定でtheme.cssのborder-colorを読み込みます。。*/
	width: 100%;
	max-width: 900px;	/*最大幅*/
	margin: 0 auto 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を読み込みます。*/
}
/*.bg1-light-partsの上で使う場合*/
.bg1-light-parts .ta1 th {
	background: var(--bg-color);		/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
}


/*狭い幅（お問い合わせフォームなど）
---------------------------------------------------------------------------*/
.narrow {
	max-width: 900px;	/*最大幅。お好みで。*/
	margin-inline: auto;	/*中央に配置*/
}


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

/*ブロック全体*/
dl.news {
	border-top: 1px solid var(--bg-border-color);	/*一番上の線。theme.cssのbg-border-colorを読み込みます。*/
	font-size: 0.9rem;	/*文字サイズ90%*/
}

/*日付*/
dl.news dt {
	padding-top: 1.5rem;	/*上の余白*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	font-variant-numeric: tabular-nums;	/*数字をすべて同じ幅にする（日付の幅がそろい、横のカテゴリーの位置がずれません）*/
}

/*カテゴリー（日付の横の小さな文字）*/
dl.news dt span {
	display: inline-block;
	margin-left: 1rem;
	padding: 0 0.8rem;
	border: 1px solid var(--bg-inverse-color);	/*枠線の幅、線種、var以降は色の指定でtheme.cssのbg-inverse-colorを読み込みます。*/
	font-size: 0.75rem;		/*文字サイズ75%*/
	letter-spacing: 0.05em;
	line-height: 2;
}

/*目立たせたいカテゴリー*/
dl.news dt span.accent-color {
	background: var(--accent-color);	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
	border-color: var(--accent-color);	/*枠線の色。theme.cssのaccent-colorを読み込みます。*/
}

/*本文*/
dl.news dd {
	padding: 0.3rem 0 1.5rem;	/*上に0.3文字分、下に1.5文字分の余白*/
	border-bottom: 1px solid var(--bg-border-color);	/*下の線。theme.cssのbg-border-colorを読み込みます。*/
}

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

	/*日付と本文を横並びに*/
	dl.news {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);	/*左（日付とカテゴリー）は一番長いものに合わせた幅、右（本文）は残り一杯。*/
	}

	dl.news dt {
		padding: 1.5rem 2rem 1.5rem 0;	/*右に2文字分の余白*/
		border-bottom: 1px solid var(--bg-border-color);	/*下の線。theme.cssのbg-border-colorを読み込みます。*/
		white-space: nowrap;	/*カテゴリーが長くても折り返さない*/
	}
	dl.news dd {
		padding: 1.5rem 0;
	}

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

/*カテゴリーの幅を、一番長いカテゴリーに合わせてそろえる（subgridに対応したブラウザのみ。対応していない古いブラウザでは、文字数に合わせた幅のまま表示されます）*/
@supports (grid-template-columns: subgrid) {

	/*日付・カテゴリー・本文の3列に*/
	dl.news {
		display: grid;
		grid-template-columns: auto auto minmax(0, 1fr);
	}

	/*日付とカテゴリーは、上の3列のうち左の2列を使う*/
	dl.news dt {
		display: grid;
		grid-column: span 2;
		grid-template-columns: subgrid;
		align-items: center;
		align-content: start;
	}

	/*カテゴリーの文字は中央に*/
	dl.news dt span {
		text-align: center;
	}

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

		/*日付とカテゴリーの下に、本文を1行使って表示*/
		dl.news dt {
			grid-column: 1 / 3;
		}
		dl.news dd {
			grid-column: 1 / -1;
		}

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

}/*subgrid対応ブラウザの指定ここまで*/




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

/*フッターボックス全体*/
footer {
	display: flex;	/*横並びにする*/
	align-items: flex-end;	/*下揃え*/
	flex-wrap: wrap;
	gap: 2rem;	/*左右のボックスの間に空けるスペース。２文字分。*/
	font-size: 0.85rem;	/*文字サイズ85%*/
	letter-spacing: 0.05em;
	padding: 4rem var(--content-space-l) 1rem;	/*ボックス内の余白。上は4文字分、左右はtheme.cssのcontent-space-lを読み込み、下は1文字分の余白。*/
	background: var(--light-color);		/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}

/*ロゴの幅。お好みで。*/
footer .logo {
	width: 110px;
}

/*ロゴと住所が入ったブロック*/
footer > div:first-child {
	flex: 1;	/*残りの幅を全部使う*/
	display: flex;
	flex-direction: column;	/*縦積み*/
	gap: 1.5rem;	/*要素間に空けるスペース。1.5文字分。*/
	min-width: 250px;
}

/*フッターメニュー*/
footer .menu {
	display: flex;	/*横並びにする*/
	flex-wrap: wrap;
	gap: 0.5rem 2rem;	/*メニュー同士の間に空けるスペース。上下0.5文字分、左右2文字分。*/
	margin: 0;padding: 0;
}
footer .menu a {
	text-decoration: none;
}

/*Copyright部分*/
footer small {
	display: block;
	width: 100%;	/*幅を100%に*/
	margin-top: 1rem;
	border-top: 1px solid var(--light-border-color);	/*上の線の幅、線種、var以降は色の指定でtheme.cssのlight-border-colorを読み込みます。*/
	padding-top: 1rem;	/*テキストと上の線との間に空ける余白。1文字分。*/
	font-size: 0.75rem;
	opacity: 0.8;	/*色を80%だけ出す。*/
}


/*紙の質感（ページ全体に薄く重ねます）
---------------------------------------------------------------------------*/
.paper-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: url(../images/paper.webp);	/*紙の画像*/
	mix-blend-mode: multiply;	/*下の色と掛け合わせる*/
	opacity: 0.4;	/*濃さ。0.4とは、色が40%出た状態です。*/
	pointer-events: none;	/*クリックの邪魔をしない*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.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-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-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));		/*ボックス内の上に空ける余白。sectionと同じ値。*/
	padding-bottom: var(--content-space-v, var(--content-space-l));	/*ボックス内の下に空ける余白。sectionと同じ値。*/
}


/*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;}
.look .color-check {color: #ffe14d !important;}
.pt0 {padding-top: 0px !important;}	/*上の余白をなくす。上のブロックとの間を詰めたい時などに。*/
.small {font-size: 0.8em;}
.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;}
