@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+Rounded+1c&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: #87CEFA;
	/*メインまたはアクセントとなる色*/
	--primary-inverse-color: #fff;
	/*primary-colorの対として使う色*/

	--secondary-color: #f1782f;
	/* サブまたはアクセントとなる色 */
	--secondary-inverse-color: #fff;
	/*secondary-colorの対として使う色*/

	--global-space: 5vw;
	/*サイト内の左右へとる余白を一括管理しています。画面幅100%＝100vwです。*/
}

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

	100% {
		left: 0px;
	}
}

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

	100% {
		opacity: 1;
	}
}

/*updownのキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes updown {

	0%,
	100% {
		top: -5vw;
	}

	50% {
		top: -8vw;
	}
}

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

body {
	margin: 0;
	padding: 0;
	font-family: "M PLUS Rounded 1c", "ヒラギノ丸ゴ 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: #fff;
	/*背景色*/
	color: #777;
	/*文字色*/
	line-height: 2;
	/*行間*/
}

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

dd {
	margin: 0;
}

nav,
ul,
li,
ol {
	margin: 0;
	padding: 0;
}

nav ul {
	list-style: none;
}

section li {
	margin-left: 1rem;
}

input {
	font-size: 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: 5vw;
}

p {
	font-size: 1.2rem;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #777;
	/*リンクテキストの色*/
	transition: 0.3s;
	/*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
}

a:hover {
	filter: brightness(1.1);
	/*少し明るくする*/
}


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

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

/*ブロック全体*/
.fade-in-text {
	visibility: hidden;
	/*初期状態で非表示*/
}

/*動画（_movie）タイプで使う場合（※変更不要）*/
.fade-in-text-box {
	position: absolute;
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

/*１文字単位の設定。
以下のanimationの行の「0.05s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.2」で調整できます。*/
.fade-in-char {
	display: inline-block;
	opacity: 0;
	animation: fadeIn 0.05s forwards;
}

/*トップページのメイン画像上で使う場合*/
#mainimg .fade-in-char {
	background: var(--primary-color);
	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);
	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	text-align: center;
	font-size: 10vw;
	/*文字サイズ。100vw=画面幅100%の事です。*/
	width: 20vw;
	/*幅。下の高さに揃えておきます。*/
	line-height: 20vw;
	/*高さ。上の幅に揃えておきます。*/
	border-radius: 50%;
	/*丸くする指定。この行を削除すれば枠が正方形になります。*/
}

#mainimg .fade-in-char:nth-of-type(even) {
	background: var(--secondary-color);
	/*背景色。css冒頭で指定しているsecondary-colorを読み込みます*/
	color: var(--secondary-inverse-color);
	/*文字色。css冒頭で指定しているsecondary-inverse-colorを読み込みます*/
}

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

	#mainimg .fade-in-char {
		font-size: 5vw;
		width: 10vw;
		line-height: 10vw;
	}

}

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


/*container（サイト全般を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	position: relative;
	z-index: 1;
	overflow-x: hidden;
}

/*トップページ以外のcontainerに背景画像を配置*/
body:not(.home) #container {
	background: url('../images/bg3.png') no-repeat center top / 100%;
	/*背景画像。お好みで入れ替えて下さい。*/
}


/*header（ロゴが入ったサイト上部のブロック）
---------------------------------------------------------------------------*/
header {
	padding-left: var(--global-space);
	/*header内の左側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
	padding-right: var(--global-space);
	/*header内の右側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
	padding-top: 2rem;
	/*header内の上左側に空けるスペース*/
	padding-bottom: 2rem;
	/*header内の下左側に空けるスペース*/
}

/*トップページのヘッダー*/
.home header {
	height: 21vw;
	/*高さ。下の行の飾り分の高さを適当にとって下さい。*/
	background: url('../images/header_kazari.png') no-repeat center bottom / 100%;
	/*背景画像*/
}

/*ロゴ画像*/
#logo img {
	display: block;
}

#logo {
	margin: 0;
	padding: 0;
	width: 200px;
	/*幅*/
}

/*トップページのロゴ画像は非表示に*/
.home #logo {
	display: none;
}


/*contents（header以下をまとめたブロック）
---------------------------------------------------------------------------*/
#contents {
	padding-left: var(--global-space);
	/*contents内の左側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
	padding-right: var(--global-space);
	/*contents内の右側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
}

/*トップページのcontents*/
.home #contents {
	background: #fff;
	/*背景色*/
}

/*updownアニメーションを5s(秒)実行する事を繰り返す*/
.updown {
	animation: updown 5s linear infinite;
}


/*pop1
---------------------------------------------------------------------------*/
.pop1 {
	position: absolute;
	top: -2.5em;
	;
	width: 120px;
	right: -5vw;
}

.pop1.left {
	right: auto;
	left: -5vw;
}

/*list-half（左右にわかれたボックス）
---------------------------------------------------------------------------*/
/*画像ブロック*/
.list-half .image {
	width: 60vw;
	/*幅。60%。*/
	margin: 0 auto;
	/*画像を中央に配置*/
	padding: 5vw 0;
	/*上下、左右への余白。画像の上下に隙間をあけます。*/
}

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

	/*ボックス全体*/
	.list-half {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 6vw;
		/*左右の間に空けるマージン的な要素*/
		position: relative;
	}

	/*テキストブロック*/
	.list-half .text {
		flex: 1;
	}

	/*画像ブロック*/
	.list-half .image {
		padding: 0;
		/*余白をリセット*/
		width: 40vw;
		/*幅。40%。*/
	}

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

}

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

/*画像の影のスタイル*/
.shadow1 {
	box-shadow: -5vw -5vw 0 rgba(0, 0, 0, 0.1);
}


/*mask（ラフな円形のマスク＆アニメーション）
---------------------------------------------------------------------------*/
@keyframes mask {

	0%,
	100% {
		border-radius: 64% 36% 54% 46% / 49% 41% 59% 51%;
		transform: scale(1);
	}

	50% {
		border-radius: 39% 61% 48% 52% / 43% 55% 45% 57%;
		transform: scale(1.02);
	}

}

/*mask1の設定*/
.image-mask {
	background-color: #e2ddc0;
	border-radius: 64% 36% 54% 46% / 49% 41% 59% 51%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
  }
  
  .image-mask .mask1 {
	animation: mask 10s linear infinite;
	filter: drop-shadow(2vw 2vw 1vw #e2ddc0);
	width: 100%;
	height: auto;
	object-fit: cover;
  }

/*btn1（ボタン１）
---------------------------------------------------------------------------*/
.btn1 {
	text-align: center;
	font-size: 1.2rem;
	/*文字サイズを120%に*/
	margin-top: 1rem;
	/*上に１文字分のスペースを空ける*/
}

.btn1 a {
	display: inline-block;
	text-decoration: none;
	background: var(--primary-color);
	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);
	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	border-radius: 100px;
	/*角を丸くする指定*/
	padding: 0.3em 3em;
	/*上下、左右へのボタン内の余白*/
}

.bg1 .btn1 a {
	background: var(--primary-inverse-color);
	/*背景色。css冒頭で指定しているprimary_text-colorを読み込みます*/
	color: var(--primary-color);
	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}

/*矢印アイコン*/
.arrow1::after {
	display: inline-block;
	font-family: "Font Awesome 6 Free";
	/*Font Awesomeを使う指定*/
	font-weight: bold;
	content: "\f061";
	/*アイコンのコード*/
	padding-left: 0.5em;
	/*アイコンとテキストとの間のスペース*/
	transition: 0.3s;
}

.arrow1:hover::after {
	transform: translateX(0.2em);
	/*マウスオン時に少しだけ移動する*/
}


/*main
---------------------------------------------------------------------------*/
/*mainブロック（横スライドslick対策）*/
main * {
	min-width: 0;
}

/*mainブロック*/
main {
	padding-bottom: var(--global-space);
	/*main内の下側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
}

/* h2（見出し） */
main h2 {
	text-align: center;
	/*テキストをセンタリング*/
	font-size: 3.4rem;
	/*文字サイズを240%に*/
	line-height: 1.5;
	/*行間を少しせまくする*/
	color: var(--primary-color);
	/*文字色*/
	position: relative;
}

@media (max-width: 768px) {
	main h2 {
		font-size: 2.4rem;
		/* 携帯では文字サイズを2.4remに調整 */
	}
}

/* h3（見出し） */
main h3 {
	text-align: center;
	/*テキストをセンタリング*/
	font-size: 2.4rem;
	/*文字サイズを240%に*/
	line-height: 1.5;
	/*行間を少しせまくする*/
	color: var(--primary-color);
	/*文字色*/
	position: relative;
}

@media (max-width: 768px) {
	main h3 {
		font-size: 1.8rem;
		/* 携帯では文字サイズを1.8remに調整 */
	}
}


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

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

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

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


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
/* メニューバー */
.small-screen #menubar.display-block {
	position: fixed;
	z-index: 100;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100vh;
	background: url('../images/bg2.jpg') repeat center center / 500px;
	/*背景画像の読み込み*/
	animation: animation1 0.2s both;
	/*animation1を実行する*/
	display: flex;
	justify-content: center;
}

/* メニュー本体 */
.small-screen #menubar>div {
	position: relative;
	overflow: auto;
	background: #fff;
	/*背景色*/
	padding: 9vw;
	/*ボックス内の余白*/
	max-width: 50%;
	/*最大幅*/
}

/* nav要素 */
.small-screen #menubar nav {
	font-size: 1.3rem;
	/*文字サイズを130%に*/
	/* margin-bottom: 1vw; メニューブロックの下にとるスペース */
}

/* メニュー1個あたりの設定 */
.small-screen #menubar a {
	display: block;
	text-decoration: none;
	padding: 0.5rem;
	/*上下、左右へのメニュー内の余白*/
}

/* メニュー横のアイコンの共通設定 */
.small-screen #menubar li a::before {
	font-family: "Font Awesome 6 Free";
	/*Font Awesomeを使う指定*/
	padding-right: 0.8em;
	/*アイコンとテキストの間の余白*/
	font-weight: bold;
	/*この設定がないとアイコンが出ない場合があります*/
	color: var(--primary-color);
	/*文字色*/
}

/* メニューLINEお問い合わせのアイコン設定 */
.small-screen #menubar>div img {
	width: auto;
	/* 画像の横幅を固定せず */
	max-width: 100%;
	/* 親要素の幅を超えないように */
	height: auto;
	/* 高さを自動で調整（アスペクト比維持） */
	max-height: 130px;
	/* 画像の高さを制限 */
	display: block;
	/* ブロック要素として扱う */
	margin: 0 auto;
	/* 中央寄せ */
}

/* モバイル画面向け */
/* モバイル画面向け */
@media (max-width: 768px) {
	.small-screen #menubar.display-block {
		height: 100vh;
		background-size: cover;
		/* 背景画像を画面全体に調整 */
	}

	.small-screen #menubar>div {
		padding: 10vw;
		/* モバイル向けに余白を大きめに */
		max-width: 80%;
		/* 幅を80%に設定 */
	}

	.small-screen #menubar nav {
		font-size: 1.2rem;
		/* モバイル画面で文字サイズを少し大きく */
	}

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

	.small-screen #menubar li a::before {
		padding-right: 1em;
		/* アイコンとテキストの間隔を広げる */
	}

	.small-screen #menubar>div img {
		max-height: 100px;
		/* モバイルでは画像の高さをさらに小さく */
	}
}

/* PC画面向け */
@media (min-width: 769px) {
	.small-screen #menubar.display-block {
		background-size: 500px;
		/* 背景画像のリピート設定 */
	}

	.small-screen #menubar>div {
		padding: 9vw;
		/* PC向けに適切な余白 */
		max-width: 50%;
		/* 最大幅を50%に設定 */
	}

	.small-screen #menubar nav {
		font-size: 1.3rem;
		/* PC画面では文字サイズを大きめに */
	}

	.small-screen #menubar>div img {
		max-height: 130px;
		/* 画像の高さを制限 */
	}
}


/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。*/
.small-screen #menubar li:nth-of-type(1) a::before {
	content: "\f015";
}

.small-screen #menubar li:nth-of-type(2) a::before {
	content: "\e4e1";
}

.small-screen #menubar li:nth-of-type(3) a::before {
	content: "\f118";
}

.small-screen #menubar li:nth-of-type(4) a::before {
	content: "\f073";
}

.small-screen #menubar li:nth-of-type(5) a::before {
	content: "\f086";
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0s 0.2s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	top: -15px;
	/*上からの配置場所*/
	right: -15px;
	/*右からの配置場所*/
	width: 110px;
	/*幅*/
	height: 100px;
	/*高さ*/
	padding: 40px 40px 35px 35px;
	/*ブロック内の余白。上、右、下、左への順番*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	background: var(--secondary-color);
	/*背景色。css冒頭のsecondary-colorを読み込みます。*/
	border-radius: 58% 42% 61% 39% / 44% 55% 45% 56%;
	/*角丸の指定*/
	box-shadow: -2px 4px 0px 6px rgba(0, 0, 0, 0.1);
	/*ボックスの影。右へ、したへ、ぼかし幅、広げる距離。0,0,0は黒の事で0.1は色が10%でた状態の事。*/
}

@media screen and (max-width: 768px) {
	#menubar_hdr {
	  top: 10px;
	  right: 10px;
	  width: 80px;
	  height: 80px;
	  padding: 0;
	  border-radius: 50% !important;
	  overflow: hidden !important;
	  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 見やすく調整もOK */
	}
  }
#menubar_hdr .menu-icon {
	width: 60%;
	height: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

#menubar_hdr .menu-icon span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.5s ease-in-out;
	position: absolute;
}

#menubar_hdr .menu-icon span:nth-child(1) {
	top: 0;
}

#menubar_hdr .menu-icon span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

#menubar_hdr .menu-icon span:nth-child(3) {
	bottom: 0;
}

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


/*2カラム
---------------------------------------------------------------------------*/
.main-contents {
	margin-bottom: 5rem;
	/*ボックスの下に空けるスペース。subとの間の余白です。5文字分。*/
}

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

	/*カラムで使う為の指定*/
	main.column {
		display: flex;
		/*横並びにする*/
		justify-content: space-between;
		/*並びかたの種類の指定*/
		gap: 2rem;
		/*main-contentsとsub-contentsの間のマージン的な隙間*/
	}

	/*main-contentsブロック*/
	.main-contents {
		margin-bottom: 0;
		order: 2;
		/*並び順。数字の小さい順番に表示されます。*/
		flex: 1;
	}

	/*sub-contentsブロック共通*/
	.sub-contents {
		width: 230px;
		/*幅*/
	}

	/*1つ目のsub-contents*/
	.sub-contents:nth-child(2) {
		order: 1;
		/*並び順。数字の小さい順番に表示されます。*/
	}

	/*2つ目のsub-contents（※３カラムで使う場合用）*/
	.sub-contents:nth-child(3) {
		order: 3;
		/*並び順。数字の小さい順番に表示されます。３番目という意味なので一番右側に表示されます。*/
	}

}

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


/*サブコンテンツ設定
---------------------------------------------------------------------------*/
/*サブコンテンツ内のh3要素(見出し)*/
.sub-contents h3 {
	display: block;
	margin: 0;
	text-align: center;
	/*テキストをセンタリング*/
	padding: 0.5rem 0;
	/*上下、左右への見出し内の余白*/
	border-radius: 5px 5px 0px 0px;
	/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	border: 1px solid #ccc;
	/*下線の幅、線種、色*/
	background: linear-gradient(#fff, #eee);
	/*背景グラデーション*/
	color: #555;
	/*文字色*/
}


/*サブメニュー設定
---------------------------------------------------------------------------*/
/*サブメニューブロック全体*/
.submenu {
	padding: 0;
	margin: 0 0 1rem;
	/*上、左右、下へのマージン*/
}

/*メニュー１個あたり*/
.submenu a {
	display: block;
	text-decoration: none;
	padding: 0.2rem 1rem;
	/*上下、左右へのメニュー内の余白*/
	background: #fff;
	/*背景色*/
}

/*メニュー１個あたり（子メニュー以外）*/
.submenu>li {
	border: 1px solid #ccc;
	/*枠線の幅、線種、色*/
	border-top: none;
	/*上の線だけなくす*/
}

/*子メニュー*/
.submenu li li a {
	padding-left: 2rem;
	/*左に余白を空ける*/
}

/*h3見出しの下にサブメニューが続く場合にメニューの上の線をなくす*/
.sub-contents h3+nav .submenu {
	border-top: none;
}


/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/
#footer-contents {
	background:
		url(../images/bg_deco_top.png) repeat-x center top / 1000px;
	/*ブロック上部の背景画像の指定。1000pxは画像幅。*/
	padding-top: 199px;
	/*上部の背景画像の本体の「幅」を1000pxにした際の画像の「高さ-1」をここで設定します*/
	margin-left: calc(-1 * var(--global-space));
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
	margin-right: calc(-1 * var(--global-space));
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
}

#footer-contents>div {
	padding: 1px;
	background: var(--primary-color);
	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);
	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding-left: var(--global-space);
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-right: var(--global-space);
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
}

#footer-contents a,
footer a {
	color: inherit;
}

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

	#footer-contents>div {
		display: flex;
	}

	#footer-contents .left,
	#footer-contents .right {
		flex: 1;
	}

}

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


/*footer-contents内のマップ。レスポンシブにする為のものなので、基本は編集不要です。
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 100%;
	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
}

.iframe-box iframe,
.iframe-box img {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

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

footer {
	font-size: 0.7rem;
	/*文字サイズ*/
	text-align: center;
	/*内容をセンタリング*/
	padding: 1rem;
	/*ボックス内の余白*/
	background: var(--primary-color);
	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);
	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	margin-left: calc(-1 * var(--global-space));
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
	margin-right: calc(-1 * var(--global-space));
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
}

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

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


/* SNSアイコン専用の横並び表示とサイズ固定
---------------------------------------------------------------------------*/
.sns-icons {
	display: flex;
	justify-content: flex-start;
	/* 左寄せに変更 */
	gap: 2rem;
	list-style: none;
	padding: 0;
	margin: 0 0 3rem 1rem;
}

.sns-icons li a {
	display: inline-block;
	font-size: 60px;
	/* 小さくならないように固定サイズ */
	color: var(--primary-color);
	transition: 0.3s;
}

.sns-icons li a:hover {
	color: var(--secondary-color);
	transform: translateY(-2px);
}


/*フッター内にあるスポンサー＆パートナー
---------------------------------------------------------------------------*/
/* SPONSORとPARTNERのタイトルと画像の余白を統一 */
#sponsors {
	text-align: left;
	/* タイトルを左寄せ */
}

/* SPONSORとPARTNERの画像リスト */
.sponsor-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	/* 左寄せ */
	align-items: center;
	list-style: none;
	/* リストマーカー削除 */
	padding: 0;
	width: 100%;
}

/* SPONSORとPARTNERのロゴ・画像サイズを統一 */
.sponsor-logos li {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* 画像サイズ調整 */
.sponsor-logos img {
	max-width: 150px;
	/* 最大幅 */
	max-height: 110px;
	/* 最大高さ */
	object-fit: contain;
	/* アスペクト比を維持 */
}

.partner-logos {
	display: flex;
	flex-direction: column;
	/* 画像の下にテキストを配置 */
	align-items: flex-start;
	/* 左揃え */
	list-style: none;
	padding: 0;
	margin: 0;
}

.partner-logos li {
	display: flex;
	flex-direction: column;
	/* 縦に並べる */
	align-items: flex-start;
	/* 左揃え */
	gap: 5px;
	/* 画像とテキストの間隔 */
}

.partner-image {
	max-width: 200px;
	height: auto;
	display: block;
	/* 余白を削除 */
}

.partner-text {
	font-size: 14px;
	margin-top: 5px;
	text-align: left;
	/* テキストも左揃え */
}

.partner-text a {
	text-decoration: none;
	color: white;
}

.partner-text a:hover {
	text-decoration: underline;
}

#sponsors h3,
#partner h3 
#sns h3 {
	margin: 0;
	margin-top: 3rem;
	margin-bottom: 0;
	padding: 0;
	/* 余白を完全になくす */
}



/*list-grid1
---------------------------------------------------------------------------*/
/*list内の全ての要素のmarginとpaddingを一旦リセット*/
.list-grid1 .list * {
	margin: 0;
	padding: 0;
}

/*ボックス１個あたり*/
.list-grid1 .list {
	display: grid;
	margin-bottom: 5vw;
	padding: 1.5vw;
	/*ボックス内の余白*/
	background: #fff;
	/*背景色*/
	color: #333;
	/*文字色*/
	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: 2vw;
	/*画像の下に空けるスペース*/
}

.list-grid1 .list figure {
	margin: -1.5vw;
}

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

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

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

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

}

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


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

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

}

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


/*list-grid1で使うボタン
---------------------------------------------------------------------------*/
.list-grid1 .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を読み込みます*/
	border: 1px solid var(--primary-color);
	/*枠線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
	padding: 5px 10px;
	/*ボタン内の余白*/
	margin-top: 1rem;
	/*ボタンの上に空けるスペース*/
}


/*bg1ブロック（色がついた装飾タイプのブロック）
---------------------------------------------------------------------------*/
/*bg1ブロックの設定*/
.bg1 {
	background:
		url(../images/bg_deco_top.png) repeat-x center top / 1000px,
		/*ブロック上部の背景画像の指定。1000pxは画像幅。*/
		url(../images/bg_deco_bottom.png) repeat-x center bottom / 1000px;
	/*ブロック下部の背景画像の指定。1000pxは画像幅。*/
	padding-top: 199px;
	/*上部の背景画像の本体の「幅」を1000pxにした際の画像の「高さ-1」をここで設定します*/
	padding-bottom: 54px;
	/*下部の背景画像の本体の「幅」を1000pxにした際の画像の「高さ-1」をここで設定します*/
	margin-left: calc(-1 * var(--global-space));
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
	margin-right: calc(-1 * var(--global-space));
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
}

/*backgroundには、上で読み込む背景画像のカラーを抜き出して指定して下さい。*/
.bg1>div {
	padding: 1px;
	background: var(--primary-color);
	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);
	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding-left: var(--global-space);
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-right: var(--global-space);
	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
}

/*bg1ブロックのh2見出し*/
.bg1 h2 {
	color: #f5f3e5;
	/*文字色*/
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	/*テキストの影。右へ、下へ、距離、0,0,0は黒の事で0.3は30%色が出た状態。*/
}


/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view {
	max-width: 1000px;
	/*最大幅*/
	margin: 0 auto 1rem;
	/*ブロック要素を中央に配置。下に1文字分のマージンをとる。*/
	text-align: center;
	/*画像が小さい場合でもセンタリングされるように*/
}

/*サムネイル全体を囲むブロック*/
.thumbnail {
	display: flex;
	/*flexを使う指定*/
	justify-content: center;
	/*並びかたの種類の指定。これはセンタリングする指定。*/
	margin-bottom: 2rem;
	/*下に空けるスペース。２文字分。*/
}

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

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


/*詳細ページ（info_item.html）で使っている「前のページに戻る」ボタン
---------------------------------------------------------------------------*/
.btn-back {
	text-align: center;
}

.btn-back a {
	text-decoration: none;
	display: inline-block;
	padding: 0.5rem 2rem;
	/*ボタン内の余白。上下、左右。*/
	border-radius: 30px;
	/*角を丸くする指定。ある程度大きければ適当でいいです。*/
	background: #eee;
	/*背景色*/
}

.btn-back a::before {
	font-family: "Font Awesome 6 Free";
	/*Font Awesomeを使う指定*/
	content: "\f0d9";
	/*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
	padding-right: 0.8em;
	/*アイコンとテキストの間の余白*/
	font-weight: bold;
	/*この設定がないとアイコンが出ない場合があります*/
	opacity: 0.5;
	/*色を50%だけ出す*/
}


/*FAQ
---------------------------------------------------------------------------*/
/*質問*/
.faq dt {
	border-radius: 3px;
	/*枠を角丸にする指定*/
	margin-bottom: 1rem;
	/*下に空けるスペース*/
	background: #fff;
	/*背景色*/
	border: 1px solid #ccc;
	/*枠線の幅、線種、色*/
	text-indent: -2rem;
	/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
	padding: 5px 1em 5px 3em;
	/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
}

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 6 Free";
	/*Font Awesomeを使う指定*/
	content: "\f059";
	/*アイコンのコード*/
	padding-right: 1rem;
	/*アイコンとテキストとの間のスペース*/
	color: var(--primary-color);
	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}

/*回答*/
.faq dd {
	padding: 5px 1rem 30px 3rem;
	/*ボックス内の余白**/
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;
	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;
	/*太字に*/
	padding: 0.5rem 1rem;
	/*ボックス内の余白*/
	background: #999;
	/*背景色*/
	color: #fff;
	/*文字色*/
	margin-bottom: 1rem;
	/*下に空けるスペース*/
	border-radius: 5px;
	/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #999;
	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;
	/*幅*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #999;
	/*テーブルの下線。幅、線種、色*/
}

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

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;
	/*幅*/
	background: rgba(0, 0, 0, 0.05);
	/*背景色*/
}

/* 🔹 活動実績のコンテンツを初期状態で非表示 */
.record-container {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, opacity 0.4s ease-out, margin-bottom 0.4s ease-out;
	opacity: 0;
	visibility: hidden;
	display: none;
}

/* 🔹 活動実績を開いたとき */
.record-container.active {
	max-height: 1000px;
	opacity: 1;
	visibility: visible;
	display: block;
	margin-bottom: 10px;
}

/* 🔹 ボタンのデザイン（常に表示） */
.toggle-btn {
	position: relative;
	width: 100%;
	text-align: center;
	display: block !important;
	/* 絶対に非表示にならないようにする */
	visibility: visible !important;
	opacity: 1 !important;
	padding: 10px;
	background: #87CEFA;
	border: 1px solid #ccc;
}

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

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

.look {
	display: inline-block;
	padding: 0px 10px;
	background: #eee;
	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;
}

.inline-block {
	display: inline-block;
}

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

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

	.sh {
		display: none;
	}

	.pc {
		display: block;
	}

}

/*追加指定ここまで*/
/* 全体スタイル */

/*インスタ投稿設定
---------------------------------------------------------------------------*/
/* Instagram投稿のスタイル */
.instagram-posts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
	padding: 5px;
}

.post {
	width: 250px;
	height: 280px;
	border-radius: 1px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.post-media {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	box-sizing: border-box;
	background-color: transparent;
	/* 背景色を透明にして余白をなくす */
}

.post-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	box-sizing: border-box;
}

.post-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 余白をなくして、枠内にフィット */
	display: block;
	box-sizing: border-box;
}

.post-caption {
	text-align: center;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.thumbnail:hover {
	transform: scale(1.01);
}

/* スマホ用のスタイル調整 */
@media (max-width: 600px) {
	.post {
		width: 400px;
		/* スマホでは400pxの正方形 */
		height: 400px;
	}
}

/* モーダル全体 */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
}

.modal-content {
	max-width: 600px;
	/* モーダルの最大幅を設定 */
	width: 90%;
	background-color: white;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	position: relative;
}

.modal-media {
	width: 100%;
	max-height: 400px;
	/* 画像・動画の高さを統一 */
	object-fit: cover;
	/* 画像が枠に収まるようにする */
}

.modal-caption {
	text-align: left;
	font-size: 14px;
	line-height: 1.5;
	max-height: 150px;
	/* 文章の最大高さを設定 */
	overflow-y: auto;
	/* 文章が長い場合スクロール可能にする */
	padding: 10px;
}

.nav-btn {
	position: absolute;
	top: 50%;
	font-size: 24px;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

#prevBtn {
	left: 10px;
}

#nextBtn {
	right: 10px;
}

.modal-link {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 14px;
	color: blue;
	text-decoration: underline;
}