@charset "utf-8";



/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Homemade+Apple&family=Sawarabi+Mincho&display=swap');

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

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);

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

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


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--text-color: #333;
	/*テキストカラー*/
	--primary-color: #a7f2b5;
	/*テンプレートのメインとなる色*/
	--primary-text-color: #fff;
	/*メインカラーの上で使うテキスト色*/
	--global-space: 5vw;
	/*サイト内の左右へとる余白を一括管理しています。画面幅100%＝100vwです。*/
}


/*opa1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


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

	100% {
		left: 0px;
	}
}


/*fadeInのキーフレーム設定（テキストのフェードインに使用）
---------------------------------------------------------------------------*/
@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}


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

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

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

}
@media screen and (max-width:500px) {
	html,
	body {
		font-size: 11px;
	}
}

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


body {
	margin: 0;
	padding: 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
	/*フォント種類（ゴシック）*/
	font-optical-sizing: auto;
	/*font-weight: 300;*/
	-webkit-text-size-adjust: none;
	background: #fff;
	/*背景色*/
	color: var(--text-color);
	/*文字色。css冒頭で指定しているtext-colorを読み込みます*/
	line-height: 2;
	/*行間*/
}

/*リセット*/
figure {
	margin: 0;
}

dd {
	margin: 0;
}

nav {
	margin: 0;
	padding: 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; */
	display: block;
	margin: 0 auto;
}

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

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

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


/*section
---------------------------------------------------------------------------*/
section {
	padding: 2rem;
	/*section内の余白*/
}

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

	section {
		padding: 3rem 5rem;
		/*section内の余白。上下、左右への順番。*/
	}

}

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


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #fff;
	/*文字色。css冒頭で指定しているtext-colorを読み込みます*/
	transition: 0.3s;
	/*hoverまでにかける時間。0.3秒。*/
}


/*マウスオン時*/

a:hover {
	text-decoration: none;
	/*下線を消す*/
	color: var(--text-color);
	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
body:not(.home) #container {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/


/*ヘッダーブロック*/

header {
	display: flex;
	/*flexボックスを使う指定*/
	align-items: center;
	/*垂直揃えの指定。天地中央に配置されるように。*/
	justify-content: space-between;
	height: 80px;
	/*ヘッダーの高さ*/
	padding: 1vw 3vw;
	/*ヘッダー内の余白。上下、左右への順番。*/
	font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	/* position: absolute; */
	position: fixed;
	z-index: 1;
	width: 100%;
	background-color: #fffcef;
}


/*画面幅900px以上の追加指定*/

@media screen and (min-width:900px) {

	/*ヘッダーブロック*/
	header {
		position: fixed;
		/*スクロールしても動かないようにする指定。*/
	}
}



/*ロゴ（※画像にする場合）*/

#logo img {
	width: 64px;
}


/*ロゴ（テキストにする場合）*/

#logo a {
	display: block;
	text-decoration: none;
	font-size: 1.2rem;
	/*文字サイズを120%に*/
	font-weight: 800;
	/*文字の太さ*/
}


/*メイン画像
---------------------------------------------------------------------------*/

#mainimg {
	width: 100%;
	height: 0;
	padding-top: 80%;
	position: relative;
}

/*３セットのスライドショーを囲むそれぞれのブロック*/
#mainimg div div {
	width: 45vw;
	/*幅。画面の45%。*/
}

/*３枚の画像の共通設定*/
.slide {
	width: 100%;
	height: 100%;
	position: absolute;
	right: 0px;
	top: 0px;
	display: flex;
	align-items: center;
	padding: 0 5vw;
	opacity: 0;
	transition: opacity 1s;
	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。*/
}

/*１枚目画像*/
.slide1 {
	background: url('../images/1.jpg') no-repeat center center / cover;
	/*１枚目の背景画像の読み込み*/
}

/*２枚目画像*/
.slide2 {
	background: url('../images/2.jpg') no-repeat center center / cover;
	/*２枚目の背景画像の読み込み*/
	justify-content: flex-end;
	/*テキストブロックを右寄せ*/
}

/*３枚目画像*/
.slide3 {
	background: url('../images/3.jpg') no-repeat center center / cover;
	/*３枚目の背景画像の読み込み*/
	justify-content: center;
	/*テキストブロックを中央に*/
	text-align: center;
	/*テキストをセンタリング*/
}

/*大きなテキスト*/
#mainimg h1 {
	margin: 0;
	padding: 0;
	font-size: 6vw;
	/*文字サイズ。100vwは画面幅100%のことです。*/
	line-height: 1.5;
	/*行間を少し狭く*/
	font-weight: 500;
	/*文字の太さを少し太く*/
}

/*小さなテキスト*/
#mainimg p {
	font-size: 1.4vw;
	/*文字サイズ。100vwは画面幅100%のことです*/
	padding-left: 0.5rem;
	/*左に空ける余白。0.5文字分。*/
}


/*現在表示されているスライドのみをクリック可能にする設定（変更不要）
---------------------------------------------------------------------------*/
.slide {
	pointer-events: none;
	/* デフォルトでクリックを無効にする */
}

.slide.active {
	pointer-events: auto;
	/* 表示中のスライドのみクリックを有効にする */
}



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


/*mainブロック
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
	flex: 1;
}


main h2 {
	font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
	font-size: 3rem;
	/*文字サイズ。基準の3倍の大きさに。*/
	letter-spacing: 0.1em;
	/*文字間隔を少しだけ広く*/
	color: var(--primary-color);
	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*bg1背景の上でのh2*/

.bg1 h2 {
	color: var(--primary-text-color);
	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
}


/*h2内の小文字部分*/

main h2 .hosoku {
	display: block;
	font-weight: normal;
	font-size: 0.3em;
	/*親要素の40%のサイズに*/
}


/*h3(見出し)要素*/

main h3 {
	display: inline-block;
	/* border-bottom: 3px solid var(--primary-color); */
	/*下線の幅、線種、varは色のことで、css冒頭で指定しているtext-colorを読み込みます*/
	color: var(--primary-color);
	font-size: 2em;
}


/*大きな装飾文字*/
.hosoku {
	display: block;
	font-weight: normal;
	font-size: 0.3em;
}

/*トップページの挨拶の最後の署名に使った設定*/
.homemade-apple-regular {
	font-family: "Homemade Apple", cursive;
	/*冒頭で読み込んでいるGoogle Fontsの指定*/
	font-weight: 400;
	font-style: normal;
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/


/*メニューをデフォルトで非表示*/

#menubar {
	display: none;
}

#menubar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menubar a {
	display: block;
	text-decoration: none;
	color: #173732;
}


/*上で非表示にしたメニューを表示させる為の設定*/

.large-screen #menubar {
	display: block;
}

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


/*3本バーをデフォルトで非表示*/

#menubar_hdr.display-none {
	display: none;
}


/*ドロップダウンをデフォルトで非表示*/

.ddmenu_parent ul {
	display: none;
}


/*ドロップダウンの親メニューのカーソル表示を変更*/

a.ddmenu {
	cursor: default;
}


/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/

a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	/*Font Awesomeを使う指示*/
	content: "\f078";
	/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;
	/*この手の設定がないとアイコンが出ない場合があります*/
	margin-right: 0.5em;
	/*アイコンとテキストとの間に空けるスペース*/
}



/*list-grid1
---------------------------------------------------------------------------*/


/*listブロック全体を囲むブロック*/

.list-grid1 {
	display: grid;
	color: var(--text-color);
	/*文字色。css冒頭で指定しているtext-colorを読み込みます*/
	justify-content: center;
}


/*ボックス１個あたり*/

.list-grid1 .list {
	display: grid;
}


/*list内の全ての要素のmarginとpaddingを一旦リセット*/

.list-grid1 .list * {
	margin: 0;
	padding: 0;
}


/*ボックス内のp要素*/

.list-grid1 .list p {
	font-size: 0.85rem;
	/*文字サイズを85%に*/
}


/*画面幅500px以上の追加指定*/

@media screen and (min-width:500px) {

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		grid-template-columns: repeat(2, 1fr);
		/*2列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;
		/*ブロックの間に空けるマージン的な指定*/
	}
}


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


/*画面幅800px以上の追加指定*/

@media screen and (min-width:800px) {

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		grid-template-columns: repeat(2, 0.4fr);
		/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 1rem;
		/*ブロックの間に空けるマージン的な指定*/
	}
}


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


/*ボックス１個あたり*/

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


/*ボックス内のfigure画像*/

.list-grid1 .list figure img {
	margin-bottom: 0.5rem;
	/*画像の下に空けるスペース*/
}
@media screen and (min-width:950px) {
	.leader{
		--gap-size: calc((100vw - 950px) / 2);	
		gap: var(--gap-size, 10px);

	}
}
@media screen and (min-width: 700px) {
	.leader {
		/* display: flex;
		align-items: start;
		justify-content: space-evenly; */
		display: grid;
		grid-template-columns: repeat(2,1fr);
	}

	.leader picture {
		margin-top: 30px;
	}

	.leader p {
		text-align: start;
	}
}

@media screen and (max-width: 700px) {
	.leader picture {
		display: flex;
		justify-content: center;
	}
}

/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/


/*大きな画像が表示されるブロック*/

.thumbnail-view-parts {
	max-width: 1000px;
	/*最大幅*/
	margin: 0 auto 1rem;
	/*ブロック要素を中央に配置。下に1文字分のマージンをとる。*/
	text-align: center;
	/*画像が小さい場合でもセンタリングされるように*/
}


/*サムネイル全体を囲むブロック*/

.thumbnail-parts {
	display: flex;
	/*flexを使う指定*/
	justify-content: center;
	/*並びかたの種類の指定。これはセンタリングする指定。*/
	margin-bottom: 2rem;
	/*下に空けるスペース。２文字分。*/
}


/*サムネイル画像*/

.thumbnail-parts img {
	width: 100px;
	/*サムネイルの幅*/
	margin: 2px;
	/*サムネイル間のスペース*/
	cursor: pointer;
	/*リンクタグではないが、クリックできる事をわかりやすくする為にリンクと同じポインターにしておきます。*/
	transition: 0.3s;
	/*マウスオンまでにかける時間。3秒。*/
}

.thumbnail-parts img:hover {
	opacity: 0.8;
	/*マウスオン時に80%だけ色を出す。つまり薄くなります。*/
}

/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/


/*メニューブロック全体の設定*/

.large-screen #menubar>nav>ul {
	display: flex;
	/*横並びにする*/
	font-size: 0.85rem;
	/*文字サイズ。85%。*/
	gap: 0.5rem;
	/*メニュー同士の間に空けるマージン的な要素*/
}


/*メニュー１個あたりの設定*/

.large-screen #menubar li a {
	border-radius: 100px;
	/*角を丸くする指定。適当に大きければOKです。*/
	padding: 0.2rem 1rem;
	/*上下、左右へのメニュー内の余白*/
}


/*マウスオン時*/

.large-screen #menubar li a:hover {
	background: #173732;
	color: white;
	/*背景色*/
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/


/*ドロップダウンブロック*/

.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: 100;
}


/*メニュー１個あたり*/

.large-screen #menubar ul ul a {
	margin-top: 0.4rem;
	/*上に空けるスペース。メニュー同士の隙間です。*/
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/


/*メニューブロック設定*/

.small-screen #menubar.display-block {
	position: fixed;
	overflow: auto;
	z-index: 100;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 90px;
	background: rgba(0, 0, 0, 0.9);
	/*背景色*/
	animation: animation1 0.2s both;
	/*animation1を実行する。0.2sは0.2秒の事。*/
}


/*メニュー１個あたりの設定*/

.small-screen #menubar nav ul li {
	border: 1px solid #ccc;
	/*枠線の幅、線種、色*/
	margin: 1rem;
	/*メニューの外側に空けるスペース*/
	border-radius: 5px;
	/*角を丸くする指定*/
	padding: 0 2rem;
	/*メニュー内の余白。上下、左右へ。*/
}

.small-screen #menubar nav ul li:hover {
	background-color: white;
	transition-duration: 0.3s;
}

.small-screen #menubar a {
	padding: 1rem;
	/*メニュー内の余白*/
}

.small-screen #menubar a:hover {
	color: #333;
}
/*文字色*/

.small-screen #menubar,
.small-screen #menubar a {
	color: #fff;
}


/*900px以下でのみ表示させるブロック*/

#menubar .sh {
	font-weight: normal;
	/*文字の太さを標準にする*/
	padding: 1rem 2rem 2rem;
	/*上、左右、下へのブロック内の余白*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/


/*３本バーを囲むブロック*/

#menubar_hdr {
	animation: opa1 0s 0.2s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	right: 3vw;
	/*右からの配置場所指定*/
	top: 1vw;
	/*上からの配置場所指定*/
	padding: 16px 14px;
	/*上下、左右への余白*/
	width: 46px;
	/*幅（３本バーが出ている場合の幅になります）*/
	height: 46px;
	/*高さ*/
	display: flex;
	/*flexボックスを使う指定*/
	flex-direction: column;
	/*子要素（３本バー）部分。flexはデフォルトで横並びになるので、それを縦並びに変更。*/
	justify-content: space-between;
	/*並びかたの種類の指定*/
}


/*バー１本あたりの設定*/

#menubar_hdr span {
	display: block;
	transition: 0.3s;
	/*アニメーションにかける時間。0.3秒。*/
	border-top: 1.5px solid #333;
	/*線の幅、線種、色*/
}


/*×印が出ている状態の3本バーの背景色*/

#menubar_hdr.ham {
	background: #ff0000;
}


/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/

#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	/*変形の起点。センターに。*/
	width: 20px;
	/*バーの幅*/
	border-color: #fff;
	/*線の色だけ上書き*/
}


/*×印が出ている状態の設定。※１本目のバー。*/

#menubar_hdr.ham span:nth-of-type(1) {
	transform: rotate(45deg) translate(3.8px, 5px);
	/*回転45°と、X軸Y軸への移動距離の指定*/
}


/*×印が出ている状態の設定。※３本目のバー。*/

#menubar_hdr.ham span:nth-of-type(3) {
	transform: rotate(-45deg) translate(3.8px, -5px);
	/*回転-45°と、X軸Y軸への移動距離の指定*/
}


/*×印が出ている状態の設定。※２本目のバー。*/

#menubar_hdr.ham span:nth-of-type(2) {
	display: none;
	/*２本目は使わないので非表示にする*/
}

.wave {
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
}


.parallax>use {
	animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
	animation-delay: -2s;
	animation-duration: 7s;
}

.parallax>use:nth-child(2) {
	animation-delay: -3s;
	animation-duration: 10s;
}

.parallax>use:nth-child(3) {
	animation-delay: -4s;
	animation-duration: 13s;
}

.parallax>use:nth-child(4) {
	animation-delay: -5s;
	animation-duration: 20s;
}

@keyframes move-forever {
	0% {
		transform: translate3d(-90px, 0, 0);
	}

	100% {
		transform: translate3d(85px, 0, 0);
	}
}

/*フッター設定
---------------------------------------------------------------------------*/
small {
	font-size: 100%;
}

footer {
	font-size: 0.7rem;
	/*文字サイズ*/
	text-align: center;
	/*内容をセンタリング*/
	padding: 1rem;
	/*ボックス内の余白*/
	background: rgba(135, 206, 235, 1.0);
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
	margin-bottom: calc(-1 * var(--global-space));
	padding-left: var(--global-space);
	padding-right: var(--global-space);
}

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

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


/*コンテンツ（フッター関連「以外」を囲むブロック）
---------------------------------------------------------------------------*/

#contents {
	flex: 1;
	padding: var(--global-space);
	/*コンテンツ内の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
}


/*画面幅600px以下の追加指定*/

@media screen and (max-width:600px) {
	#contents {
		padding-top: 80px;
		/*コンテンツ内の上の余白だけ上書き*/
	}
}

/*メニュー内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-self: center;
}

ul.icons li {
	margin-right: 10px;
	/*アイコン同士の余白*/
}

.icons i {
	font-size: 40px;
	/*Font Awesomeのアイコンサイズ*/
}


/*活動報告（お知らせ用）ブロック
---------------------------------------------------------------------------*/
/*ブロック内のspan。日付の横のアイコン的な部分です。*/
/*ブロック全体*/
.flex-space h2 {
	display: block;
	text-align: center;
}

.news {
	display: grid;
	/*gridを使う指定*/
	grid-template-columns: 1fr 3fr;
	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	margin-top: 30px;
}

/*画面幅700px以上の追加指定*/

@media screen and (min-width: 800px) {

	.flex-space {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 50px;
	}
}

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


/*list-grid（gallery.htmlでサムネイルを表示している部分の設定です）
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-grid-trimming {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
	gap: 1rem;
	/*マージン的な数値。サムネイル間を１文字分あけます。*/
}

/*ボックスを正方形にトリミングする為の指定なので変更しない。*/
.list-grid-trimming .list {
	position: relative;
	overflow: hidden;
	height: 0;
	padding-top: 100%;
}

.list-grid-trimming .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.list-grid-trimming .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;
	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-grid-trimming .list img:hover {
	transform: scale(1.1);
	/*1.1倍に拡大*/
	filter: contrast(1.3);
	/*コントラストを1.3倍*/
}

/*ボタン（btnと、btn-border-radius）
---------------------------------------------------------------------------*/


/*ボタン共通*/

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


/*ボタン共通（マウスオン時に少し明るくする）*/

.btn a:hover,
.btn-border-radius a:hover {
	filter: brightness(1.2);
}


/*btn-border-radiusの上書き*/

.btn-border-radius a {
	display: inline-block;
	padding: 0.5rem 2rem !important;
	/*ボタン内の余白*/
	border-radius: 100px;
	/*角丸の指定。適当に大きければOK。*/
	background: #e12000 !important;
	color: #fff !important;
}


/*bg1背景色がついたブロック
---------------------------------------------------------------------------*/
.bg1 {
	position: relative;
	background: var(--primary-color);
	/*背景色。css冒頭で指定しているaccent-colorを読み込みます*/
	color: var(--accent-text-color);
	/*文字色。css冒頭で指定しているaccent-text-colorを読み込みます*/
	padding-top: 3vw;
	/*ボックス内の上に空ける余白*/
	padding-bottom: 3vw;
	/*ボックス内の下に空ける余白*/
	margin-top: 5vw;
	/*ボックス外の上に空ける余白*/
	margin-bottom: 5vw;
	/*ボックス外の下に空ける余白*/

	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
	padding-left: var(--global-space);
	padding-right: var(--global-space);
}

.bg1 a {
	color: inherit;
}

/*以下のheightの行が傾斜の角度です。vwという単位は画面幅に対してで、画面幅100%＝100vwになります。
つまり、画面幅に対して常に同じ傾斜具合になります。1pxの数字は時々隙間が発生するのでそれを防ぐ為の措置です。
傾斜（height）を変更したい場合は、下にある「.bg1::before」のtopと「.bg1::after」のbottomの数字も変更。*/
.bg1::before,
.bg1::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: calc(5vw + 1px);
	background: var(--primary-color);
	/*背景色。css冒頭で指定しているaccent-colorを読み込みます*/
}

.bg1::before {
	top: -5vw;
	/*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
	/*三角形の形を作っています*/
}

.bg1::after {
	bottom: -5vw;
	/*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
	clip-path: polygon(0 0, 100% 0, 0 100%);
	/*三角形の形を作っています*/
}


/*2カラムの設定
---------------------------------------------------------------------------*/
/*全体を囲むブロック*/
.c2 {
	display: flex;
	/*flexを使う指定*/
	gap: 3vw;
	/*ボックスの間に空けるマージン的な要素。画面幅100%＝100vwです。*/
}

/*大きい方のボックス*/
.c2 .large-box {
	flex: 1;
}

/*小さい方のボックス*/
.c2 .small-box {
	flex-shrink: 0;
	width: 20vw;
	/*幅。これを変更すれば自動で大きな方のボックスも調整されます。画面幅100%＝100vwです。*/
}

/*左右を入れ替える場合*/
.c2.reverse {
	flex-direction: row-reverse;
}


/*ボックスの内側につける影
---------------------------------------------------------------------------*/
.box-shadow-inset {
	position: relative;
}

.box-shadow-inset::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	/*以下の行が実際の指定箇所。2つある1vwの数値を変更すればぼかし具合が変わります。var()の部分は、css冒頭で指定しているprimary-colorを読み込む指定*/
	box-shadow: 0px 0px 1vw 1vw var(--primary-color) inset;
}


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/* 初期状態でテキストを非表示にする */
.fade-in-text {
	visibility: hidden;
}

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


/*アニメーションボタン。（枠線をぐるっとなぞるアニメーション）
---------------------------------------------------------------------------*/
@keyframes w {
	0% {
		width: 0px;
	}

	100% {
		width: 100%;
	}
}

@keyframes h {
	0% {
		height: 0px;
	}

	100% {
		height: 100%;
	}
}

/*ボタンの一番の外側のボックス*/
.animation-btn {
	position: relative;
	/*枠線をアニメーションさせる為に必要な指定*/
	display: inline-block;
	box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.5) inset;
	/*デフォルトで見えている枠線の設定。255,255,255は白の事で0.5は色が50%出た状態。*/
}

/*上のanimation-btnの内側にあるボックス*/
.animation-btn-inner {
	display: block;
	text-decoration: none;
	padding: 0.5em 3em;
	/*ボタン内の余白。上下、左右へ。emは文字の単位。1emが1文字分という事です。*/
	letter-spacing: 0.1em;
	/*文字間隔を少しだけ広くとる*/
	text-indent: 0.1em;
	/*letter-spacingを設定するとその分全体のテキスト位置がずれるので、戻す設定。同じ数字にしておけばOKです。*/
}

/*ボタン内でiタグを使う場合の設定*/
.animation-btn-inner i {
	display: inline-block;
	transition: 0.3s;
	/*アニメーションにかける時間。0.3秒。*/
	padding-left: 1em;
	/*テキストと、iタグの間の余白*/
}

.animation-btn-inner:hover i {
	transform: translateX(5px);
	/*マウスオン時にiタグを5pxだけ右に移動する*/
}

/*枠線共通*/
.animation-btn::before,
.animation-btn::after,
.animation-btn-inner::before,
.animation-btn-inner::after {
	content: "";
	position: absolute;
	background-color: #fff;
	/*background(背景)スタイルですが、ここでは枠線の色に使われます。*/
	animation-duration: 0.2s;
	/*アニメーションにかける時間。１辺あたり0.2秒。*/
	animation-fill-mode: forwards;
	/*アニメーション完了時に最後のフレームを維持。この１行を外してみると別の動作になって面白い動きになります。*/
	animation-timing-function: linear;
	/*アニメーションの速度のタイプ。同じ速度にする。*/
}

/*ラインアニメーション１（左上→右上）*/
.animation-btn:hover::before {
	left: 0px;
	/*開始地点の指示*/
	top: 0px;
	/*開始地点の指示*/
	height: 1px;
	/*線の幅の代わりになります*/
	animation-name: w;
	/*上の「@keyframes」で使うアニメーション名の指定。*/
}

/*ラインアニメーション２（右上→右下）*/
.animation-btn:hover::after {
	right: 0px;
	/*開始地点の指示*/
	top: 0px;
	/*開始地点の指示*/
	width: 1px;
	/*線の幅の代わりになります*/
	animation-name: h;
	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.2s;
	/*アニメーションを0.2秒遅れてスタートさせる。*/
}

/*ラインアニメーション３（右下→左下）*/
.animation-btn-inner:hover::before {
	right: 0px;
	/*開始地点の指示*/
	bottom: 0px;
	/*開始地点の指示*/
	height: 1px;
	/*線の幅の代わりになります*/
	animation-name: w;
	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.4s;
	/*アニメーションを0.4秒遅れてスタートさせる。*/
}

/*ラインアニメーション４（左下→左上）*/
.animation-btn-inner:hover::after {
	left: 0px;
	/*開始地点の指示*/
	bottom: 0px;
	/*開始地点の指示*/
	width: 1px;
	/*線の幅の代わりになります*/
	animation-name: h;
	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.6s;
	/*アニメーションを0.6秒遅れてスタートさせる。*/
}


/*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%;
	/*円形にする*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.color-check,
.color-check a {
	color: #15cfec !important;
}

.color1,
.color1 a {
	color: #622534 !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;
}

.mb5rem {
	margin-bottom: 5rem !important;
}

.look {
	display: inline-block;
	padding: 0px 10px;
	margin: 1px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid #ccc;
	border-radius: 3px;
	word-break: break-all;
}

.small {
	font-size: 0.7em;
}

.large {
	font-size: 1.5em;
	letter-spacing: 0.1em;
}

.pc {
	display: none;
}

.br{
	display: none;
}
@media screen and (max-width:500px) {
	.br{
		display: block;
	}
}

.dn {
	display: none !important;
}

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

	.ws {
		width: 48%;
		display: inline;
	}

	.sh {
		display: none;
	}

	.pc {
		display: block;
	}

}

@media screen and (max-width: 700px) {
	.l {
		text-align: center !important;
	}

	.r {
		text-align: center !important;
	}
}

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


/* フォーム全体のスタイル */
.contactform {
	padding: 0;
	display: flex;
	justify-content: center;
}

#formWrap {
	width: 100%;
	color: #555;
	line-height: 120%;
	font-size: 90%;
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
}

/* フォーム内のテーブルのスタイル */
table.formTable {
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
}

table.formTable th,
table.formTable td {
	border: 1px solid #ccc;
	padding: 15px;
}

table.formTable th {
	width: 30%;
	font-weight: normal;
	background: #efefef;
	text-align: left;
}

table.formTable td select {
	cursor: pointer;
	padding: 5px;
}

form input[type="submit"],
form input[type="reset"] {
	border: none;
	border-radius: 5px;
	cursor: pointer;
	padding: 10px 40px;
	background: #f1e767;
	background: -webkit-gradient(linear, left top, left bottom, from(#f1e767), to(#feb645));
	background: -webkit-linear-gradient(top, #f1e767 0%, #feb645 100%);
	background: linear-gradient(to bottom, #f1e767 0%, #feb645 100%);
}

form input[type="submit"]:hover,
form input[type="reset"]:hover {
	background: -webkit-gradient(linear, left bottom, left top, from(#f1e767), to(#feb645));
	background: -webkit-linear-gradient(bottom, #f1e767 0%, #feb645 100%);
	background: linear-gradient(to top, #f1e767 0%, #feb645 100%);
}

/* レスポンシブデザインのためのCSS（画面幅572px以下用） */
@media screen and (max-width:640px) {
	#formWrap {
		width: 95%;
		margin: 0 auto;
	}

	table.formTable th,
	table.formTable td {
		width: auto;
		display: block;
	}

	table.formTable th {
		margin-top: 5px;
		border-bottom: 0;
	}

	form input[type="text"],
	form textarea {
		width: 80%;
		padding: 5px;
		font-size: 110%;
		display: block;
	}

	form input[type="submit"],
	form input[type="reset"],
	form input[type="button"] {
		display: block;
		width: 100%;
		height: 40px;
	}
}