@charset "utf-8";

/*
Theme Name: HOBBYFACTORY
Author: MOMO
Version: 2025
*/

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Yomogi&display=swap');



/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--primary-color: #553000;
	--primary-inverse-color: #fff;	
	--space-large: 8vw;	
	--space-small: 2vw;	
}


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


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}

html,body {
	font-size: 13px;	/*基準となるフォントサイズ*/
	height: 100%;
}

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

	html, body {
		font-size: 16px;
	}

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

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

	html, body {
		font-size: 1vw;
	}

	}/*追加指定ここまで*/
html {
	/* 日本語ゴシックのクロスプラットフォーム・スタック */
	font-family:
	"Yu Gothic Medium", "Yu Gothic", "YuGothic",  /* Windows系 */
	"Hiragino Kaku Gothic ProN", "Hiragino Sans", /* macOS系 */
	"Meiryo",                                     /* Windows代替 */
	"Noto Sans JP",                               /* Web/Android代替（後述で読み込み可） */
	sans-serif;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;padding:0;
	font-weight: 400;            /* 游ゴ細い対策として400~500が無難 */
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background: #FCF9EC;
	color: var(--primary-color);
	line-height: 2;
}

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

		.ws {width: 48%;display: inline;}
		.sh {display: none;}
		.pc {display: block;}
	
		}/*追加指定ここまで*/
	
/*リセット他*/
figure {margin: 0;}
dd {margin: 0;}
nav ul,li {list-style: none;}
nav,ul,li,ol {margin: 0;padding: 0;}


/*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*/
input {font-size: 1rem;}

/*section*/
section {
	overflow-x: visible;
}

.space-large {
	padding: var(--space-large);
  }
  
 


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;
	text-decoration: none;
}

/*マウスオン時*/
a:hover {
	opacity: 0.9;
}


/*container（サイト全体を囲むボックス）
---------------------------------------------------------------------------*/
#container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 60px;
}

body:not(.home) header {
	margin-bottom: var(--space-large);
}

/*ロゴ画像*/
#logo img {display: block;}
#logo {
	margin: 0;padding: 0;
	width: 16vw;
	position: relative;z-index: 1;
	left: 2.5vw;
}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:500px) {
	
	#logo {
		top: 0;	
		width: 200px;
	}

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


/*ヘッダー内メニュー
---------------------------------------------------------------------------*/
/*900px未満では非表示*/
header nav ul {display: none;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
		
	/*メニューブロック全体の設定*/
	header > nav > ul {
		margin-right: 10vw;
		display: flex;
	}

	/*メニュー１個あたりの設定*/
	header nav li a {
		display: block;text-decoration: none;
		font-size: 0.9rem;		/*文字サイズ90%*/
		padding: 0.5rem 1rem;	/*メニュー内の余白。上下、左右へ。*/
	}
	
	/*ドロップダウンメニュー冒頭の矢印アイコン*/
	header nav i {
		padding-right: 0.5rem;	/*右に空ける余白*/
	}

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


/*ヘッダー内メニュー、開閉メニュー、共通のドロップダウン設定
---------------------------------------------------------------------------*/
header nav ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*ヘッダー内メニューのドロップダウン
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
header nav ul ul {
	position: absolute;z-index: 100;
}

/*メニュー１個あたりの設定*/
header nav ul ul a {
	background: rgba(255,255,255,0.8);	
	padding: 0.3em 1em;	
	margin-top: 4px;
	border: 1px solid var(--primary-color);
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 6 Free";	
	content: "\f078";
	font-weight: bold;
	margin-right: 0.5em;
}


/*開閉メニュー
---------------------------------------------------------------------------*/
/*animation1のキーフレーム設定*/
@keyframes animation1 {
	0% {right: -100vw;}
	100% {right: 0px;}
}

/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	max-width: 800px;
	height: 100%;
	padding: 90px 10vw 50px;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	animation: animation1 0.2s both;
}

/*子メニューの設定*/
.small-screen #menubar ul ul {
	margin: 2rem;
}

/*メニュー１個あたりの設定*/
.small-screen #menubar nav ul li {
	border: 1px solid #fff;
	margin: 1rem 0;	
	border-radius: 5px;	
}
.small-screen #menubar a {
	color: inherit;
	padding: 1rem 2rem;	/*メニュー内の余白。上下、左右へ。*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	top: 0;
	right: calc(var(--space-small) + 5px);
	width: 60px;
	height: 60px;
	padding: 20px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	mix-blend-mode: exclusion;
}

/*マウスオン時だけmix-blend-modeを無効に*/
#menubar_hdr.ham {
	mix-blend-mode: normal;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 1.5px;
	background-color: #fff;
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div {
	position: relative;width: 100%;height: 100%;
	display: flex;flex-direction: column;justify-content: space-between;
}
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {bottom: 0;}
#menubar_hdr.ham div span:nth-child(1) {top: 50%;transform: translateY(-50%) rotate(45deg);}
#menubar_hdr.ham div span:nth-child(2) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*画面右側の側面にある縦長ボタン
---------------------------------------------------------------------------*/
#btn-special {padding: 0;margin: 0;}
#btn-special a {
	display: block;text-decoration: none;
	position: fixed;z-index: 100;
	right: 0px;	/*右からの配置場所*/
	top: 20vw;	/*上からの配置場所*/
	writing-mode: vertical-rl;
	text-orientation: upright;
	/*background: linear-gradient(#906f53, #6b5038);背景グラデーション*/
	background: linear-gradient(#ec9347, #d36b12);
	color: #f6ebd2;
	padding: 2rem 1rem;
	border-radius: 3px 0px 0px 3px;
	letter-spacing: 0.1em;
}

/*アイコンの下の余白*/
#btn-special i {padding-bottom: 1rem;}

/*color*/
.color1 {
	background-color: #F5F4EC;
}

.img-sp {
    display: none;
}

@media screen and (max-width:560px) {
    .img-pc {
        display: none;
    }

    .img-sp {
        display: block;
    }
}

/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
main {
	flex: 1 0 auto;
	overflow-x: hidden;
	padding: 6vw 0 0;
}

/*h1見出し（共通）*/
main h1 {
	margin: 0;padding: 0;
	font-size: 3.0rem;	
	font-weight: normal;
	margin-bottom: 5vw;	
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}

 h1.c {
	align-items: center;
}

/*h2見出し（共通）*/
main h2 {
	margin: 0;padding: 0;
	font-size: 2rem;
	font-weight: normal;
	margin-bottom: 5vw;	
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}

@media screen and (max-width:600px) {
	main h2 {
	font-size: 1.6rem;	
	}
}

main h2.c {
	align-items: center;
}

/*h2見出しのサブテキスト（sub-text）*/
main h2 span.sub-text {
	display: inline-block;
	border-top: 1px solid var(--primary-color);
	font-size: 0.9rem;
	opacity: 0.6;
	letter-spacing: 0.1rem;
	padding-top: 2rem;
}

/*見出し上のラインを消すスタイル*/
main h2.no-line span.sub-text {
	border: none;
	padding-top: 0;
}

main h2 .main-text {
	font-size: 1.5rem;
}

/*h3見出し（共通）*/
main h3 {
	font-weight: 600;
	font-size: 1.6rem;
}

/*h4見出し（共通）*/
main h4 {
	font-weight: 600;
	font-size: 1.4rem;
	margin: 0;
}

/*下層ページ*/
/*h1見出し（共通）*/
.other h1 {
	margin: 0;padding: 0;
	font-size: 2.0rem;		
	font-weight: bold;	
	margin-bottom: 3vw;		
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}
.other h1.c {
	align-items: center;
}

/*h2見出し（共通）*/
.other h2 {
	margin: 0;padding: 0;
	font-size: 1.5rem;	
	font-weight: bold;	
	margin-top: 2vw;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}

/*左右ライン見出し*/
.line {
	position: relative;
	display: inline-block;
	padding: 0 150px;
  }
  
  .line:before, .line:after {
	content: '';
	position: absolute;
	top: 50%;
	display: inline-block;
	width: 130px;
	height: 1px;
	background-color: #553000;
  }
  
  .line:before {
	left:0;
  }
  .line:after {
	right: 0;
  }

  @media screen and (max-width:600px) {
	.line {
		padding: 0 80px;
	}
	.line:before, .line:after {
		width: 50px;
	}
  }


/*Google Map　
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 50%;	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
}
.iframe-box iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


/*フッター設定
---------------------------------------------------------------------------*/
footer a {color: inherit;text-decoration: none;}
footer small {font-size: 100%;}

footer {
	background: #341D00;		
	color: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
	font-size: 0.85rem;	/*文字サイズ85%*/
	padding: 5vw;		/*余白*/
}

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

	footer {
		display: flex;
		justify-content: space-between;
	}

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



/*ロゴが入ったブロック*/
footer .image {
	width: 200px;	/*ボックス幅*/
}

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

	footer .image {
		width: auto;	/*ボックス幅*/
		text-align: center;	/*中身をセンタリング*/
	}
	footer .image img {
		width: 150px;
	}

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


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

	footer .text {
		display: flex;	
		gap: 5rem;	
	}

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


h4見出し
footer h4 {
	font-weight: 200;
	font-size: 1.2rem;	
}

.pr a {
	text-decoration: none;
	display: block;
	background: rgba(0,0,0,0.9);
	text-align: right;
	padding: 0.5rem 1rem;
	color: #ccc;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: bold;
	margin-right: 0.5em;
}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	align-self: center;
	gap: 1rem;
}
.icons i {
	font-size: 30px;
}


/*list-c2（お問い合わせ）
---------------------------------------------------------------------------*/
.list-c2 > a {
    text-decoration: none;
    display: block;
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	/*２つのボックスを囲むボックス*/
	.list-c2 {
		display: flex;	/*横並びにする*/
	}

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


/*ボックス１個あたり*/
.list-c2 .list {
	text-align: center;
	position: relative;
	overflow-y: hidden;
	color: #fff;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.6);	
	padding: 5rem 2rem;	
	margin: 1rem 0;	
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	.list-c2 > * {
		flex: 1;
	}
	.list-c2 .list {
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.list-c2 > a .list {
		height: 100%;
	}

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


/*contactボックスの背景*/
.list-c2 .list.image1 {
	background: url("./images/contact.jpg") no-repeat center center / cover;
}


/*h4見出し*/
.list-c2 h4 {
	font-weight: 200;
	line-height: 1.2;
}

/*h4見出し内のメインテキスト（main-text）*/
.list-c2 h4 .main-text {
	display: block;
	font-size: 3rem;
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}

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

	.list-c2 h4 .main-text {
		font-size: 4rem;
	}

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


/*h4見出し内のサブテキスト（sub-text）*/
.list-c2 h4 .sub-text {
	position: relative;
	padding: 0 5rem;
}
/*h4見出し内のサブテキストの左右のライン*/
.sub-text::before {left: 0;}
.sub-text::after {right: 0;}
.list-c2 h4 .sub-text::before,.list-c2 h4 .sub-text::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 2rem;
	border-top: 1px solid #fff;
}

/*見出しの下の説明テキスト*/
.list-c2 .list .text {
	position: relative;z-index: 1;
	font-size: 0.85rem;
}

/*マウスオン用のアニメーション*/
.list-c2 .list::before {
	content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;
	background: rgba(52,29,0,0.6);		/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.3s 0.1s;	/*アニメーションの速度（0.3秒）と待機時間（0.1秒）。*/
}
.list-c2 .list:hover::before {
	transform: translateY(100%);	/*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}

/*ボックス内のボタン（.btn2）*/
.list-c2 .list .btn2 a {
	background: rgba(0,0,0,0.7);	/*背景色。0,0,0は黒のことで0.7は色が70%出た状態。*/
}

/*ボックス内のボタン（.btn3）*/
.list-c2 .list .btn1 a {
	text-shadow: none;	/*テキストの影を消す*/
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*ブロック全体*/
.new {
    display: grid;	/*gridを使う指定*/
    grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	max-width: 700px;	/*最大幅*/
	margin: 0 auto;
}

/*日付、記事（共通）*/
.new dt,.new dd {
	border-bottom: 1px solid rgba(0,0,0,0.1);
	padding-top: 2rem;
	padding-bottom: 2rem;
}

/*日付*/
.new dt {
	padding-right: 4rem;
}


/*box1（1つ目のセクションボックス）
---------------------------------------------------------------------------*/
/*ボックス全体*/
.box1 {
	overflow-x: visible;
	position: relative;
	background: url("./images/value_bg.png") no-repeat center center / cover;
	padding: var(--space-large);	
	margin-top: 10vw;
}

/*ボックス上部の大きな装飾テキスト*/
.box1 .deco-text {
	position: absolute;
	right: 0;
	top: -13.5vw;
	color: #b6c4c2;
	font-size: 7vw;	
	line-height: 1;
}

/*ボックスの左上イラスト*/
.box1 .illust1 {
	position: absolute;
	right: 0vw;
	top: 0vw;
	width: 35vw;

}


/*テキストボックス*/
.box1 .text {
	margin-bottom: 5rem;
}

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

	.box1 {
		display: flex;
		gap: 5vw;
		border-radius: 20vw 0 20vw 0;
	}
	
	.box1 > * {flex: 1;}

	/*ボックスの左上イラスト*/
	.box1 .illust1 {
		right: auto;
		left: 3vw;	
		top: -4vw;	
		width: 20vw;
	}

	/*ボックスの左上イラスト*/
	.box1 .illust2 {
		rignt: auto;
		left: 16vw;	
		top: -10vw;
		width: 8vw;	
	}

	/*テキストボックスの上の小さなイラスト*/
	.box1 h2 img {
		width: 5vw;	/*幅*/
	}

	.box1 .text {
		margin-bottom: 0;	/*下マージンのリセット*/
	}

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


/*画像を囲むブロック*/
.box1 .image {
	position: relative;
}

/*画像の角を少し丸くする指定*/
.box1 .image img {
	border-radius: 20px;
}

/*画像ブロック内の１枚目の写真への追加指定*/
.box1 .image img:nth-of-type(1) {
	width: 80%;	/*画像の幅*/
}

/*画像ブロック内の２枚目の写真への追加指定*/
.box1 .image img:nth-of-type(2) {
	width: 40%;	/*画像の幅*/
}
.box1 .image img:nth-of-type(2) {
	position: absolute;
	right: 0;	/*画像ブロックに対して右側からの配置場所*/
	top: 22vw;	/*画像ブロックに対して上からの配置場所*/
}


/*box2
---------------------------------------------------------------------------*/

.box2 {
	overflow-x: visible;
	background: url("./images/workshop_bg.png") no-repeat center center / cover;
	padding: var(--space-large);	
	margin-top: 10vw;
}


/*テキストボックス*/
.box2 .text {
	margin-bottom: 5rem;
}

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

	.box2 {
		display: flex;
		gap: 5vw;
	}
	
	.box2 > * {flex: 1;}


	.box2 .text {
		margin-bottom: 0;
	}

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


/*画像を囲むブロック*/
.box2 .image {
	position: relative;
}

.box2 .image img {
	border-radius: 10px;
	width: 80%;
}

@media screen and (max-width:600px) {
	.box2 .image img {
		width: 100%;
	}
}

/*list1
---------------------------------------------------------------------------*/
/*冒頭の大きなロゴの飾り*/
.logo-kazari {
	background: url("./images/logo_kazari.svg") no-repeat left top / 70%;
}

/*１枚目の写真*/
.list1.image1 {
	background: url("./images/1.jpg") no-repeat center center / cover;
}

/*２枚目の写真*/
.list1.image2 {
	background: url("./images/2.jpg") no-repeat center center / cover;
}

/*３枚目の写真*/
.list1.image3 {
	background: url("./images/3.jpg") no-repeat center center / cover;
}

/*ボックス１個あたり*/
.list1 {
	padding: var(--space-large);
	position: relative;
	overflow-x: hidden;
	margin-bottom: 1vw;
}

/*テキストブロック*/
.list1 .text {
	position: relative;z-index: 1;
	width: 80%;
	height: 100%;
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	background-color: rgba(85,48,0,0.8);
	width: 100%;
	padding: 4vw;
}

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

	/*テキストブロック*/
	.list1 .text {
		width: 44%;
	}

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


/*テキストの配置場所を入れ替えたい場合のスタイル。*/
.list1 .text.reverse {
	margin-left: auto;
}

/*list1内のh3見出し*/
.list1 h3 {
	margin: 0;padding: 0;
	font-weight: normal;
	position: relative;
	font-size: 1.6rem;
	letter-spacing: 0.1rem;	
	line-height: 1.2;
}

/*list-grid1（３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid1 .list {
    display: grid;
	margin-bottom: 2rem;
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.85rem;
	line-height: 1.5;
}

/*ボックス１個あたり*/
.list-grid1 .list {
	padding: 1rem;
	background: #fff;
	color: #111;
    grid-template-rows: auto 1fr auto;
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure {
	margin: -1rem;			/*「.list-grid1 .list」のpadding分をネガティブマーインで指定*/
	margin-bottom: 0.5rem;
}

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

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 3vw;
	}

	/*ボックス１個あたり*/
	.list-grid1 .list {
		margin-bottom: 0;
	}

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


/*縦書き用の設定
---------------------------------------------------------------------------*/
/*ボックス全体*/
.title-bg {
	display: flex;
	justify-content: center;
}

/*ボックス内のh2*/
.title-bg h2 {
	font-weight: normal;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 3vw;
}

/*縦書きにする指定*/
.title-bg h2 .tate {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-size: 2rem;
}

/*横書きで使う際の指定。※縦書きを横書きにする為の指定ではないのでご注意下さい。*/
.title-bg h2 .yoko {
	font-size: 0.9rem;
	margin-bottom: 3vw;
	letter-spacing: 0.1rem;
	opacity: 0.5;
}


/*ボタン
---------------------------------------------------------------------------*/
/*btn1、btn2共通*/
.btn1 a, .btn2 a {
	display: block;text-decoration: none;
	padding: 0.8rem 2rem;
	margin-top: 2rem;
	text-align: center;		
	letter-spacing: 0.1em;
	box-shadow: 0px 10px 30px rgba(0,0,0,0.1);
}
/*マウスオン時（btn1、btn2共通）*/
.btn1 a:hover, .btn2 a:hover {
	letter-spacing: 0.2rem;
	box-shadow: none;
}

/*btn1への追加設定*/
.btn1 a {
	color: var(--primary-color);
	background: var(--primary-inverse-color);
}

/*btn2への追加設定*/
.btn2 a {
	color: #fff;
	border: 1px solid #fff;
}
/*list1内のbtn2の設定。マウスオン時にボタンの背景色を追加。*/
.list1:hover .btn2 a {
	background: rgba(0,0,0,0.8);
}

/*btn3*/
.btn3 {
	text-align: right;
	letter-spacing: 0.1em;
}
.btn3 a {
	display: inline-block;text-decoration: none;
	color: inherit;
	position: relative;
	padding-right: 5rem;
}

/*btn3の矢印のアイコン設定*/
.btn3 a::after {
	content: "";
	background: url("../images/arrow1.svg") no-repeat right center / 100px;	
	display: block;
	position: absolute;
	right: 0px;
	bottom: -1rem;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	text-align: center;
	transition: 0.3s;
}

/*btn3の矢印のマウスオン時*/
.btn3 a:hover::after {
	background-color: var(--primary-color);	
	background-position: left center;
}
/*背景色が暗い所で使う場合*/
.btn3.white {
	color: #fff;	/*文字色*/
}
.btn3.white a::after {
	background: url("../images/arrow1_white.svg") no-repeat right center / 100px;
}
.btn3.white a:hover::after {
	background-color: #fff;
	background-position: left center;
}


/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*スライドショーブロック全てを囲むブロック*/
.slide-thumbnail-box {
	overflow-x: hidden;
	padding-left: 0;
	padding-right: 0;
}

/*各スライドショーブロックを囲むブロック*/
.slide-thumbnail1 {
	margin-bottom: 6vw;	
}

/*画像たちを囲むブロック*/
.slide-thumbnail1 .img {
	display: flex;
}

/*画像*/
.slide-thumbnail1 .img img {
	padding: 0 1rem;
}

/*偶数番目の画像の垂直位置を少しずらす。垂直位置を並べたいならこのブロックを削除。*/
.slide-thumbnail1 .img div:nth-of-type(even) {
	transform: translateY(3vw);
}

/*右から左へ、左から右へ、のアニメーション*/
.slide-thumbnail1 .rtl, .slide-thumbnail1 .ltr {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.slide-thumbnail1 .rtl {animation-name: slide-rtl;}
.slide-thumbnail1 .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);}
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;
	padding: 0.5rem 1rem;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	margin-bottom: 1rem;
	border-radius: 5px;
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid var(--primary-color);
	width: 100%;
	margin-bottom: 5rem;
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid var(--primary-color);
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;
	word-break: break-all;
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;
	text-align: left;
	background: #eee;
}

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

		/*th（左側）のみの設定*/
		.ta1 th {
			width: 20%;
		}

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


/*調整用スタイル
---------------------------------------------------------------------------*/
/*並べ替え*/
.order1 {
	order: 1;
}

.padding0 {
	padding: 0 !important;
}
.padding-bottom0 {
	padding-bottom: 0 !important;
}
.padding-lr0 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/*左右の余白*/
.space-small {
	padding-top: var(--space-small);
	padding-bottom: var(--space-small);
	padding-left: var(--space-large);
	padding-right: var(--space-large);
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.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: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.look {line-height: 1.5 !important; display: inline-block;padding: 5px 10px;background: rgba(0,0,0,0.1);border: 1px solid rgba(0,0,0,0.3);border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.bg1 {background: #F0ECC9;}
pre {white-space: pre-wrap;word-wrap: break-word;overflow-wrap: break-word;}

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

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

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

	.shared {
		display: flex;
		justify-content: space-between;
	}

	.shared .item {
		width: 30%;
	}

	@media screen and (max-width: 600px) {

	.shared {
		display: block;
		margin: 80px 0;
	}

	.shared .item {
		width: 100%;
		margin-bottom: 40px;
	}
}

/*single*/
.news-wrap {
	margin: 0 auto;
	max-width: 80%;
}

/*recapcha*/
.grecaptcha-badge { visibility: hidden; }

/*オーダーの流れ*/
.order-title {
	margin-bottom: 35px;
	text-align: center;
}

.ordercards-wrapper {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

@media screen and (max-width: 1280px) {
	.ordercards-wrapper {
	  grid-template-columns: repeat(3, 1fr);
	}
  }

.ordercard {
	background: #F0ECC9;
	border-radius: 20px;
	padding: 18px;
	flex: 1;
	min-width: 200px;
	max-width: 220px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.ordercard-header {
	margin-bottom: 16px;
	display: flex;
}

.ordercard-number {
	display: inline-block;
	background: #553000;
	color: white;
	font-size: 14px;
	font-weight: bold;
	padding: 6px 12px;
	border-radius: 20px;
}

.ordercard-title {
	font-weight: bold;
	margin-top: 5px;
	margin-left: 3px;
	font-size: 14px;
}

.ordercard-content {
	line-height: 1.6;
	font-size: 14px;
}

@media (max-width: 768px) {
	.ordercards-wrapper {
		grid-template-columns: 1fr;
		justify-items: center; /* 横方向中央寄せ */
		align-items: center;   /* 縦方向中央寄せ */
	}
}

/* 料金項目 */
.pay-wrap{
	text-align: center;
	margin: 0 auto;
	max-width: 700px;
}

.pay-item {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 32px;
	margin: 32px 0;
}

.btn-contact {
	padding: 12px 48px;
	border-radius: 50px;
	color: white;
	background-color: #553000;
	font-size: 16px;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
	width: 200px;
	margin-top: 2rem;
}

.btn-contact:hover {
	background-color: #A0522D;
}

.text-left {
	text-align: left;
}

/*お知らせ一覧*/
.news-wrap {
	max-width: 1000px;
    margin: 0 auto;
}

.news-list {
	width: 80%;
    margin: 0 auto;
}

.news-list li {
    display: flex;
    border-bottom: 1px solid #e1e1e1;
}

.news-list li a {
    width: 100%;
    padding: 2rem 4.7rem 2rem 0;
    position: relative;
    text-decoration: none;
}

.date {
	margin: 0 50px;
    white-space: nowrap;
}

@media only screen and (max-width:768px) {
	.date {
		margin: 0 20px;
	}

}