@charset "utf-8";


/*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=M+PLUS+1:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");
@import url("inview.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color: #3f310e;			/*テンプレートのテーマカラー*/
	--primary-inverse-color: #fff;		/*上のprimary-colorの対となる色*/

	--secondary-color: #e7e6d4;			/*テンプレートのサブカラー*/
	--secondary-inverse-color: #fff;	/*secondary-colorの対となる色*/
	
	--accent-color: #f62;			/*テンプレートのアクセントカラー*/
	--accent-inverse-color: #fff;		/*accent-colorの対となる色*/

	--global-space: 0vw;				/*サイト内の余白の一括管理用。画面幅100%＝100vwです。*/
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


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


/*spinのキーフレーム設定（トップページの大きな円形の文字が回るアニメーション）
---------------------------------------------------------------------------*/
@keyframes spin {
	0% {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}


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

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

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

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

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


body {
max-width:1100px;
margin: auto;

	font-family: "M PLUS 1", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: #e7e6d4;	/*背景色*/
	color: #333;		/*文字色*/
	line-height: 2;		/*行間*/
	animation: opa1 0.2s 0.5s both;	/*0.5秒待機後、0.2秒かけてフェードイン表示*/
}

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

/*ul,ol*/
ul,ol {margin-left: 1.5rem;margin-bottom: 1rem;}

/*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%;}

/*sectionが続く場合*/
section + section {
	margin-top: 3vw;	/*sectionの上に空けるスペース*/
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;		/*リンクテキストの色*/
	transition: 0.3s;	/*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
}
a:hover {
	color: var(--accent-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	filter: brightness(1.2);		/*マウスオン時に少し明るくする*/
}





/*container
---------------------------------------------------------------------------*/
#container {
	overflow-x: hidden;
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	padding: 1vw var(--global-space);	/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
}


/*ヘッダー
---------------------------------------------------------------------------*/
/*h1テキスト。このテンプレートでは、画面最上部の帯の左側に小文字で入れているテキストです。*/
header h1 {
	font-weight: normal;
	margin: 0;padding: 0;
	font-size: 0.8rem;		/*文字サイズを80%*/
	}

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

	header h1 {
		display: none;	/*表示しない*/
	}

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


/*ヘッダー内のheader-inner（ロゴ画像とメニューブロックを囲むボックス）
---------------------------------------------------------------------------*/
/*ボックスの設定*/
.header-inner {
	position: relative;
	display: flex;			/*直接の子要素を横並びにする。この場合、ロゴとメニューブロックが対象。*/
	align-items: center;	/*天地中央に配置*/
	background: #fff;		/*背景色*/
}

/*トップページでのボックス*/
.home .header-inner {
	display: block;	/*flexを解除する*/
}


/*ヘッダー内のロゴ
---------------------------------------------------------------------------*/
/*ロゴ画像*/
#logo img {display: block;}
#logo {
	margin: 0;padding: 0;
	width: 400px;	/*ロゴ画像の幅*/
}

/*トップページのロゴ画像*/
.home #logo {
	
	position: absolute;z-index: 1;
	left: 220px;
	top: 10px;
	transform: translateX(-50%);
}

	/*画面幅900px以下の追加指定*/
	@media screen and (max-width:900px) {
	
	/*ロゴサイズの上書き*/
	.home #logo {
		min-width: 200px;	/*最小幅を設定しておきます。これ以上は小さくなりません。*/
		width: 20vw;		/*幅。画面幅100%＝100vwです。*/
	position: absolute;z-index: 1;
	left: 110px;
	top: 10px;
	transform: translateX(-50%);
	}
	
	}/*追加指定ここまで*/

/*問い合わせページ用ロゴ　永山追加*/
#logo-f a {text-decoration: none;}
#logo-f img {
	display: block;
	width: 400px;	/*ロゴの幅*/
}


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

	#footer {
		display: flex;
		gap: 2rem;		/*ロゴのブロックとメニューのブロックとの間の余白。2文字分。*/
	}

	/*ロゴやSNSアイコンが入ったブロック*/
	#footer div.footer1 {
		text-align: left;
		width: 20%;	/*幅。40%。*/
	}

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




/*header-top（headerの最上部の帯ブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#header-top {
	padding: 5px 15px;		/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	display: flex;		/*直接の子要素を横並びにする。この場合はh1テキストと、言語ボックスが対象。*/
	justify-content: space-between;	/*それぞれ両サイドに配置*/
	font-size: 0.8rem;	/*文字サイズを80%に*/
}

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

	/*ブロック全体*/
	#header-top {
		justify-content: flex-end;	/*h1テキストが非表示になり、言語ボックスが左によるので、右側にとどまるように指定を変更*/
	}

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

/*リンクテキスト*/
#header-top a {
	color: inherit;
}

/*問い合わせボックス全体の設定*/
#header-top .lang {
	list-style: none;margin: 0;padding: 0;
	
	display: flex;		/*各言語を横に並べる*/
	gap: 1rem;			/*各言語同士に空けるスペース。１文字分。*/
}

/*問い合わせボックス１個あたり*/
#header-top .lang a {
	display: block;text-decoration: none;
	border-radius: 5px 5px 5px 5px;		/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	padding: 0 1rem;					/*ボックス内の余白。上下、左右。*/
	color: var(--primary-color);
        background: var(--secondary-color);	/*背景色*/
}

/*マウスオン時*/
.lang a:hover {
	background: var(--primary-inverse-color);
        color: var(--accent-color);
}



/*btn共通設定 永山追加
---------------------------------------------------------------------------*/
.btn a {
	display: block;text-decoration: none;
	background: var(--primary-color);	/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*背景色。css冒頭のprimary-inverse-colorを読み込みます。*/
	border: 2px solid var(--primary-color);
text-align: center;	/*テキストをセンタリング*/
}

/*マウスオン時*/
.btn a:hover {
	background: var(--secondary-color);	/*背景色。css冒頭のaccent-inverse-colorを読み込みます。*/
	color: var(--accent-color);		/*文字色。css冒頭のaccent-colorを読み込みます。*/
}






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

/*上で非表示にしたメニューを表示させる為の設定*/
.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 5 Free";
	content: "\f078";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	font-size: 0.7rem;		/*文字サイズを70%に*/
	padding-right: 0.5rem;	/*右側に空ける余白。0.5文字分。*/
}


/*大きな端末、小さな端末共通のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
}

/*小文字の英語部分*/
#menubar span {
	display: block;
	font-size: 0.7em;		/*文字サイズを親要素の70%に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロックを囲むボックス*/
.large-screen #menubar {
	flex: 1;
}


/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;	/*メニューを横並びにする*/
	justify-content: space-between;
	align-items: center;
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	flex: 1;			/*個々のメニューを均等にし、幅いっぱいまで使う設定*/
	position: relative;	/*ドロップダウンの幅となる基準を作っておく*/
	text-align: center;	/*テキストをセンタリング*/
}

/*現在表示中メニュー（current）*/
.large-screen #menubar li.current > a {
	background: #e7e6d4;	/*下線の幅、線種、varは色のことでcss冒頭で指定しているprimary-colorを読み込みます。。*/
        font-weight: bold;
}


/*リンク（a要素）の設定*/
.large-screen #menubar li a {
	padding: 0.8rem 0rem;	/*上下、左右の余白*/
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 2;
	width: 100%;
	top: 100%;
	left: 0px;
}

/*ドロップダウンメニュー1個あたりの上下、左右への余白。*/
.large-screen #menubar ul ul a {
	padding: 0.6rem 1rem !important;	/*上下、左右へのメニュー内の余白*/
	background: #fff;	/*背景色*/
	margin: 3px 3px 0;	/*メニューの外側に空けるスペース。上、左右、下への順番。*/
	border-radius: 5px;	/*角を丸くする指定*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
}

/*マウスオン時*/
.large-screen #menubar ul ul a:hover {
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 50px;	/*上に空ける余白。ハンバーガーアイコンと重ならない為の指定ですのでお好みで変更OK。*/
	background: var(--primary-color) url('../images/bg_small_screen.webp') no-repeat left top / 100vw;	/*背景色、背景画像の読み込み。画像は画面幅に合わせる*/
	animation: animation1 0.2s both;		/*animation1を実行する。0.2sは0.2秒の事。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
}

/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}
.small-screen #menubar a {
	color: inherit;
	padding: 1rem 3rem;		/*メニュー内の余白。上下、左右へ。*/
}
.small-screen #menubar li li a {
	background: var(--primary-inverse-color);	/*背景色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	top: 50px;		/*上からの配置場所*/
	right: 2vw;		/*右からの配置場所*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	padding: 15px;	/*ブロック内の余白*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	background: rgba(0,0,0,0.6);	/*背景色*/
}

/*ここは変更不要*/
#menubar_hdr div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 2px;			/*線の太さ*/
	background-color: #fff;	/*線の色*/
	border-radius: 2px;		/*コーナーを少しだけ丸く*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {top: 50%;transform: translateY(-50%);}
#menubar_hdr div span:nth-child(3) {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) {opacity: 0;}
#menubar_hdr.ham div span:nth-child(3) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*mainブロック
---------------------------------------------------------------------------*/
/*mainブロック*/
main {
	position: relative;
}

/*h2見出し*/
main h2 {
	position: relative;
	text-align: center;		/*テキストをセンタリング*/
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
	font-size: 1.7rem;		/*文字サイズ*/
	font-weight: 500;		/*文字の太さ。100から900まで指定可能。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
}

/*装飾用の小文字*/
main h2 .small {
	display: block;
	font-size: 0.5em;	/*文字サイズを親要素の50%に*/
	opacity: 0.7;		/*透明度。色が70%出た状態。*/
	font-weight: 200;	/*文字の太さ。100から900まで指定可能。*/
}

/*h3見出し*/
main h3 {
	font-size: 1.4rem;		/*文字サイズ*/
        text-align: center;		/*テキストをセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/

}

/*p要素（段落タグ）永山追加
---------------------------------------------------------------------------*/
p {
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
}



/*テキストのフェードイン設定（永山追加）
---------------------------------------------------------------------------*/
/*fadeInのキーフレーム設定*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.1) rotate(-30deg);}
	100% {opacity: 1;transform: scale(1) rotate(0deg);}
}

/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

/* アニメーションを適用するクラス。
animationの行の「0.2s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.1」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.2s linear both;
}


/*フッター共通
---------------------------------------------------------------------------*/
#footer-contents, #footermenu {
	padding: 2rem var(--global-space);	/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
}


/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#footer-contents {
	background: #3f310e;	/*背景色*/
	color: var(--primary-inverse-color);	/*文字色*/
}
#footer-contents a {
	color: inherit;
}

/*左側のブロック*/
#footer-contents .left {
        padding: 0rem 2rem;
	margin-bottom: 50px;	/*下に空けるスペース*/
}

/*ブロック内で使うbtnの設定*/
#footer-contents .btn a {
	border: 2px solid var(--primary-inverse-color);	/*枠線の幅、線種、色。色についてはcss冒頭の（primary-inverse-color）を読み込みます。*/
}

/*マウスオン時*/
.btn:hover {
	background: var(--primary-inverse-color);	/*背景色。css冒頭のaccent-inverse-colorを読み込みます。*/
	color: var(--accent-color);					/*文字色。css冒頭のaccent-colorを読み込みます。*/
}



	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	#footer-contents {
		display: flex;	/*直接の子要素を横並びにします*/
		gap: var(--global-space);	/*左右のボックスの間のマージン的な設定。css冒頭で指定しているglobal-spaceを読み込みます。*/
	}
	
	/*左側のブロック*/
	#footer-contents .left {
	        padding: 0rem 2rem;	
                margin-bottom: 0;	/*下のマージン（外側への余白）をリセット*/
		width: 50%;		/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}
	
	/*右側のブロック*/
	#footer-contents .right {
		padding: 0rem 2rem;
                width: 50%;		/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}

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



/*フッター設定
---------------------------------------------------------------------------*/
small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ*/
	background: #3f310e;	/*背景色*/
	color: #fff;			/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 1rem;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	align-self: center;
	gap: 1rem;	/*アイコン同士のマージン的な要素。１文字分。*/
}
.icons i {
	font-size: 40px;	/*アイコンサイズ*/
}


/*list-half（トップページの「コンセプト」で使っている左右にわかれた装飾ボックス）
---------------------------------------------------------------------------*/
/*ボックス全体*/
.list-half {
    display: flex;			/*直接の子要素を横並びにする*/
    flex-direction: column;	/*一旦縦並びにしておく*/
}

/*list-halfが続く場合に間にマージンを空ける*/
.list-half + .list-half {
	margin-top: 5vw;	/*画面幅100%＝100vwです。*/
}

/*h3見出し*/
.list-half h3 {
	margin: 0;padding: 0;
	text-align: center;	/*テキストをセンタリング*/
}

/*h4テキスト*/
.list-half h4 {
	font-weight: normal;
	margin: 0;
	font-size: 1.5rem;				/*文字サイズを1.5倍に*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	position: relative;		/*下の飾り画像の基点*/
        text-align: center;	/*テキストをセンタリング*/
}

/*テキストブロック*/
.list-half .text {
    background: #fff;		/*背景色*/
    padding: 1rem 1rem;		/*上下、左右へのブロック内の余白*/
	margin-bottom: 30px;		/*下に空けるスペース*/
}


	/*画面幅599px以下の追加指定（並び順を変更します。数字が小さな順に並びます。）*/
	@media screen and (max-width:599px) {
	
	/*h3見出し*/
	.list-half h3 {order: 1;}

	/*画像ブロック*/
	.list-half .image {order: 2;}

	/*テキストブロック*/
	.list-half .text {order: 3;}
	
	}/*追加指定ここまで*/
	
	
	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

	/*ボックス全体*/
	.list-half {
		flex-direction: row;	/*縦並びから横並びにする*/
		justify-content: space-between;
		
		/*以下は変更不要*/
		margin-right: calc(-1 * var(--global-space));
		margin-left: calc(-1 * var(--global-space));
	}

	/*ボックス全体（※reverse用）変更不要*/
	.list-half.reverse {
		flex-direction: row-reverse;	/*逆向きに並べる*/
		margin-left: calc(-1 * var(--global-space));
	}

	/*h3テキスト*/
	.list-half h3 {
		writing-mode: vertical-rl;	/*縦書きの指定。*/
		text-orientation: upright;	/*文字の向き*/
		font-size: 0.85rem;			/*文字サイズを85%*/
		margin-top: 10vw;			/*上に空けるスペース。画面幅100%＝100vwです。*/
	}
	

	/*h3テキスト内のアイコン*/
	.list-half h3 i {
		margin: 0;
		margin-top: 0.5rem;	/*上に0.5文字分のマージンを空ける*/
	}

	/*テキストブロック*/
	.list-half .text {
		margin-bottom: 0;
		flex: 1;
		align-self: flex-start;	/*上寄せになります*/
		margin-top: 2vw;		/*上寄せですが、この分だけ下に下げます。写真とテキストがななめに配置されるイメージで設定しました。*/
		position: relative;
		z-index: 1;
		margin-right: -2vw;	/*この分だけ画像にテキストブロックが重なります。画面幅100%＝100vwです。*/
		box-shadow: 2vw 2vw rgba(var(--primary-color-rgb), 0.1);	/*ボックスの影。右へ、下へ。色はcss冒頭のvar(primary-color-rgb)を読み込み、0.1で透明度も指定。*/
	}
	
	/*テキストブロック（※reverse用）*/
	.list-half.reverse .text {
		margin-right: 0;
		margin-left: -2vw;
		box-shadow: -2vw 2vw rgba(var(--primary-color-rgb), 0.1);
	}

	/*画像ブロック*/
	.list-half .image {
		padding: 0;		/*余白をリセット*/
		width: 35vw;	/*幅。画面の40%*/
		overflow: hidden;
	}
	
	/*画像ブロック（※reverse用）*/
	.list-half.reverse .image {
	}

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


/*list-grid1（各業務ページの「主な○○」で使っている２カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid1 .list {
    display: grid;
	margin-bottom: 1rem;	/*下に空けるスペース*/
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
}

/*ボックス１個あたり*/
.list-grid1 .list {
	padding: 1rem;			/*ボックス内の余白。１文字分。*/
	background: #fff;		/*背景色*/
    grid-template-rows: auto 1fr auto;	/*１つ目（この場合はfigure要素のサイズ）と「詳しくみる」ボタンの高さは自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内の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(2, 1fr);	/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;	/*ブロックの間に空けるマージン的な指定*/
	}

	/*ボックス１個あたり*/
	.list-grid1 .list {
		margin-bottom: 0;	/*下に空けるスペースをなくす*/
	}

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



/*ボタン（btn）
---------------------------------------------------------------------------*/
.btn a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;	/*ボタンの外（上）に空けるスペース*/
}


/*animation-text（トップページの大きな円形の文字が回るアニメーション）
---------------------------------------------------------------------------*/
/*サイズや場所の指定*/
.animation-text {
	position: absolute;z-index: -1;
	width: 100vw;	/*画像の幅*/
	right: -50vw;	/*画面の右半分に収まるように*/
	top: 25vw;		/*上からの距離*/
}

/*アニメーションに関する指定*/
.spin {
	animation: spin 150s linear infinite;	/*150s（150秒）が１回転する速度です。お好みで変更して下さい。*/
}




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

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	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%;	/*円形にする*/
}


/*メール発信用（永山追加）
---------------------------------------------------------------------------*/
/* レイアウト */
form {
  width: 100%;
  margin: 0;
}
.form-row {
  display: grid;
  align-items: center;
  padding: 20px 50px 20px 10px;
  border-bottom: 1px solid #f2f4f5;
}

.form-row1 {
  display: grid;
  width: 200px;
  align-items: center;
  padding: 20px 5px 20px 10px;
 
}

.form-row2 {
  display: grid;
  width: 200px;
  align-items: center;
  padding: 20px 5px 20px 10px;
  
}



.form-row:last-child {
  border-bottom: none;
}
.form-label {
  display: flex;
  align-items: center;
  width: aouto;
}
.form-label label {
  font-weight: bold;
}
.form-label span {
  margin-left: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #166ab5;
}

/* フォームパーツのデザイン */
input, textarea {
  background-color: #f2f4f5;
  border: none;
  border-radius: 3px;
  padding: 15px 20px;
  font-size: 16px;
  color: #333;
  flex-grow: 1;
}
input::placeholder,
textarea::placeholder {
  color: #999;
  font-size: 14px;
}



button {
  cursor: pointer;
  margin-top: 30px;
  padding: 15px 45px;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  background-color: #f62;
}

/*電話発進用（永山追加）
---------------------------------------------------------------------------*/

.btn-tel{
  position: relative;
  display: block;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  text-align: center;
  background: #f62;
  padding: 5px 0;
  margin: 3rem;
  max-width: 250px;
}

.btn-tel::after{
  content: "";
  background: url(img/telephone.svg) no-repeat center;
  background-size: contain;
  width: 24px;
  height: 24px;
  position: absolute;
  top: calc(50% - 12px);
  left: 15px;
}/*電話設定ここまで*/



/*その他
---------------------------------------------------------------------------*/
.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;}
.mb5vw {margin-bottom: 5vw !important;}
.look {display: inline-block;padding: 0px 10px;background: #fff;color: #333;border: 1px solid #ccc; 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;}

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

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

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