@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: #1D2857;			/*テンプレートのメインまたはアクセントとなる色*/
	--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: 1.5;		/*行間*/
}


/*リセット*/
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;
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
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 {
	
	text-align: center;
	font-size: 6vw;		/*文字サイズ。100vw=画面幅100%の事です。*/
	width: 12vw;		/*幅。下の高さに揃えておきます。*/
	line-height: 12vw;	/*高さ。上の幅に揃えておきます。*/
	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: 3vw;
		width: 6vw;
		line-height: 6vw;
	}
	
	}/*追加指定ここまで*/


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

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

@media (max-width: 601px) {
   body:not(.home) #container {
      background:#fff
   }
}






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


/*ロゴ画像*/
#logo img {
    display: block;
    margin: 0;
}
#logo {
	margin: 0;padding: 0;
	width: 400px;	/*幅*/
	
	
}

/*トップページのロゴ画像は非表示に*/
.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-image: url("../ac/haikei2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  }
  
@media (max-width: 601px) {
   .home #contents {
      background:#fff
   }
}


/*ポイントお知らせ（トップページのコンテンツ最上部にある目立つお知らせコーナー）
---------------------------------------------------------------------------*/
/*ブロック全体*/
/*.oshirase {
	position: relative;
	margin-right: calc(-1 * var(--global-space));	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
	/*margin-left: calc(-1 * var(--global-space));	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
/*}

.oshirase a {color: inherit;}

/*文字をのせるバーの部分*/
/*.oshirase div {
	background: #f1462f;	/*背景色*/
	/*color: #fff;			/*文字色*/
	/*padding: 1rem 70px 1rem 2rem;	/*バー内の余白。上、右、下、左へ。ここの70pxの数値は下の装飾用のアイコン(.img1)のサイズに合わせて調整して下さい。*/
/*}

/*飾り用の画像設定*/
/*.oshirase .img1 {
	display: block;
	position: absolute;
	right: 0px;		/*右からの配置場所指定。上からの配置設定はcss冒頭の「@keyframes updown」のキーフレーム設定で行います。*/
	/*width: 100px;	/*幅*/
/*}

	/*画面幅700px以上の追加指定*/
	/*@media screen and (min-width:700px) {
	
	/*文字をのせるバーの部分*/
	/*.oshirase div {
		margin-left: auto;	/*右によせる*/
		/*width: 50vw;		/*幅。100vw=画面幅100%の事*/
		/*border-radius: 100px 0 0 100px;	/*角を丸くする指定。左上、右上、右下、左下への順番*/
	/*}

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


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

.highlight {
  display: block;             /* ブロック要素にして中央寄せ可能に */
  width: fit-content;         /* 幅を文字に合わせる */
  margin: 0 auto;             /* 上下0、左右自動で中央 */
  background-color: #ccc;     /* グレーの背景 */
  border-radius: 10px;        /* 角丸 */
  padding: 5px 15px;          /* 内側の余白 */
  font-size: 24px;            /* 文字サイズ */
  font-weight: bold;          /* 太字 */
  text-align: center;         /* 文字を中央に */
}

/*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%。*/
	}
	
	body:not(.home) .list-half .image {
		width: 25vw;
	}

	/*左右を入れ替える場合用*/
	.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の設定*/
/*.mask1 {
	animation: mask 10s linear infinite;	/*10s(秒)がアニメーションにかける秒数です*/
	/*box-shadow: 2vw 2vw 0px 1vw #e2ddc0;	/*ボックスの影。右へ、下へ、ぼかし幅、距離、色。*/
/*}

/* mask1の設定 */
.mask1 {
  width: 100%;
  height: auto;
  border-radius: 50%;             /* 丸く切り抜く基本形 */
  object-fit: cover;              /* 写真を枠いっぱいに表示 */
  display: block;                 /* インライン要素の余白を消す */
  border: 10px solid #1e3a8a; /* 外枠の色と太さ（好きな色に変えてOK） */
  padding: 10px;         /* 枠と画像の間に余白を作る */
  background: #fff;     /* 余白部分の背景色 */
}


.huusenn {
  position: absolute;
  right: 100px;
  bottom: 20px;
  width: 80px;
  height: auto;
  } 
  
@media (max-width: 601px) { 
  .huusenn{
  	visibility: hidden;
  }
}
  
.asiato {
  display: flex;
  justify-content: center; /* 横方向の中央 */
  align-items: center;     /* 縦方向の中央 */
  height: auto;           /* 画面いっぱいにしたい場合 */
}

.asiato img {
  max-width: 80%; /* 画像が大きすぎる場合の調整 */
  height: auto;
}

/* 基本はPCサイズ */
.asiato img {
  display: flex;
  justify-content: center; /* 横方向の中央 */
  align-items: center;     /* 縦方向の中央 */
  width: 400px;   /* 好きなサイズ */
  height: auto;
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

/* スマホのとき */
@media (max-width: 601px) {
  .asiato img{
  	display: flex;
  	justify-content: center; /* 横方向の中央 */
  	align-items: center;     /* 縦方向の中央 */
    width: 100%;   /* 画面幅に応じて大きくする */
  }
}

.asiato {
  margin: 0;
  padding: 0;
}

@media (max-width: 601px) {
  .asiato {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .asiato img {
    margin-top: 0;
    margin-bottom: 0;
  }
}



/*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-color);	/*背景色。css冒頭で指定しているprimary_text-colorを読み込みます*/
	color: var(--primary-inverse-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: 2.4rem;		/*文字サイズを240%に*/
	line-height: 1.5;		/*行間を少しせまくする*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	position: relative;
}

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


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#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('../ac/hamburger.jpg') repeat center center / 500px;	/*背景画像の読み込み。最後の数字は画像幅。このサイズでリピートします。*/
	animation: animation1 0.2s both;	/*animation1を実行する。0.2sは0.2秒の事。*/
	display: flex;
	justify-content: center;
}

/*メニュー本体が記載されているボックス*/
.small-screen #menubar > div {
	position: relative;overflow: auto;
	background: #fff;	/*背景色*/
	padding: 8vw;		/*ボックス内の余白*/
	max-width: 70%;		/*最大幅*/
}

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

/*メニュー１個あたりの設定*/
.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);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}

/*使いたいアイコン名をここで指定。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: "\f53f";		
}
.small-screen #menubar li:nth-of-type(3) a::before {
	content: "\f017";		
}
.small-screen #menubar li:nth-of-type(4) a::before {
	content: "\f060";		
}
.small-screen #menubar li:nth-of-type(5) a::before {
	content: "\f3c5";		
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#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: #467DB8;	/*背景色。css冒頭のsecondary-colorを読み込みます。*/
	border-radius: 0% 0% 0% 40% / 0% 0% 0% 40%;	/*角丸の指定*/
	/*box-shadow: -2px 4px 0px 6px rgba(0,0,0,0.1);		/*ボックスの影。右へ、したへ、ぼかし幅、広げる距離。0,0,0は黒の事で0.1は色が10%でた状態の事。*/
}

#menubar_hdr.morning { background: #E96D1B; }
#menubar_hdr.day     { background: #1D2857; }
#menubar_hdr.night   { background: #467DB8; }



/*以下は変更不要*/
#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: 3px;			/*線の太さ*/
	background-color: #fff;	/*線の色*/
	border-radius: 2px;		/*コーナーを少しだけ丸く*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/* PCサイズでは非表示 */
#menubar_hdr {
  display: none;
}

/* スマホサイズの時だけ表示 */
@media screen and (max-width: 601px) {
  #menubar_hdr {
    display: flex;
  }
}



/*以下変更不要*/
#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(../ac/bg1_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 {
		display: flex;
	}

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

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


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


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
/*アイコン全体を囲むブロック*/
ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	align-self: center;
	gap: 1rem;	/*アイコン同士に空けるのスペース*/
}

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


/*お知らせブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
.new {
	background: rgba(0,0,0,0.02);	/*背景色。0,0,0は黒のことで0.02は色が2%出た状態。*/
	border-radius: 30px;			/*角を丸くする指定*/
	overflow: hidden;
	margin-bottom: 4rem;	/*ブロックの下に空けるスペース。4文字分。*/
}

/*奇数行目を背景色を少し濃くする。全体同じ色がよければここの数行は削除。*/
.new dt:nth-of-type(odd),
.new dd:nth-of-type(odd) {
	background: rgba(0,0,0,0.04);
}

/*日付(dt)設定*/
.new dt {
	padding: 1rem 1rem 0;	/*dt内の余白。上、左右、下への順番。*/
}

/*記事(dd)設定*/
.new dd {
	padding: 1rem;	/*dd内の余白*/
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0 0.5rem;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。8文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #999;	/*枠線の幅、線種、色*/
}

/*icon-bg1*/
.new .icon-bg1 {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	border-color: transparent;			/*枠線を出したくないので透明にする*/
}

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

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

	/*日付(dt)設定*/
	.new dt {
		padding: 1rem 0 1rem 2rem;	/*dt内の余白。上、右、下、左への順番。*/
	}

	/*記事(dd)設定*/
	.new dd {
		padding: 1rem 2rem 1rem 0;	/*dd内の余白。上、右、下、左への順番。*/
	}

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


/*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: 
	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: black;	/*文字色。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: var(--primary-color);	/*文字色*/
	/*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);	/*背景色*/
}

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

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

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

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

/*メニューバーの設定（トップページ）*/
.home {
#global-nav {
	background: #F5F2F2;
	/*border-bottom: 1px solid #16244e;*/
	/*border-top: 1px solid #16244e;*/
	width: 100%;

}

#global-nav.m_fixed {
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
}

#global-nav .inner {
	padding-bottom: 0;
	padding-top: 0;
	margin: 0 auto;
  max-width: 100%;
  padding: 0px 0;
  max-width: 1500px;
}

.global-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.global-item {
    position: relative;
	/*border-left: 2px solid #1D2857;*/
	flex: 1;
}

.global-item:first-child::before {
    content: none;
}

.global-item::before {
  content: "";
  position: absolute;
  top: 10px;              /* 上から10px下げる（余白になる） */
  bottom: 10px;           /* 下から10px上げる（余白になる） */
  left: 0;
  width: 2px;
  background: #1D2857;
}

/*.global-item:last-child {
	/*border-right: 1px solid #fff;
	margin-right: 0;*/
}

.global-item a {
	background: #F5F2F2;
	color: #1D2857;
	display: block;
	line-height: 100px;
	text-align: center;
	text-decoration: none;
}

.global-item i {
  font-size: 60px;      /* アイコンの大きさを統一 */
  display: block;       /* ブロックにして強制的に改行 */
  margin-bottom: -30px;   /* 文字との隙間を小さくする（お好みで調整） */
  padding-top: 30px;
}

@media (max-width: 1000px) {
   .global-item a {
   		font-size: 0.7em;
   	}
   .global-item i {
   	    font-size: 45px;
   	  }
}

@media (max-width: 601px) {
  #global-nav {
  	display: none;
  }
}

}

/*メニューバー（トップページ以外）*/
#global-nav-second {
	background: #F5F2F2;
	/*border-bottom: 1px solid #16244e;*/
	/*border-top: 1px solid #16244e;*/
	width: 100%;
}

#global-nav-second.m_fixed {
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;}

#global-nav-second .inner-second {
	padding-bottom: 0;
	padding-top: 0;
	margin: 0 auto;
  max-width: 100%;
  padding: 0px 0;
  max-width: 1500px;

}

.global-list-second {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.global-item-second {
	position: relative;
	/*border-left: 2px solid #1D2857;*/
	flex: 1;
}

.global-item-second:first-child::before {
    content: none;
}

.global-item-second::before {
  content: "";
  position: absolute;
  top: 10px;              /* 上から10px下げる（余白になる） */
  bottom: 10px;           /* 下から10px上げる（余白になる） */
  left: 0;
  width: 2px;
  background: #1D2857;
}


/*.global-item-second:last-child {
	border-right: 1px solid #fff;
	margin-right: 0;
}*/

.global-item-second a {
    background: #F5F2F2;
    color: #1D2857;
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 20px 0;      /* 上下の余白を広げる */
    line-height: normal;   /* line-heightはリセット */
}

.global-item-second i {
    font-size: 50px;
    display: block;
    margin: 0 auto 10px auto; /* アイコンと文字の間の隙間調整 */
}

@media (max-width: 1000px) {
   .global-item-second a {
   		font-size: 0.7em;
   	}
   .global-item-second i {
   	    font-size: 30px;
   	  }
}

@media (max-width: 601px) {
  #global-nav-second {
  	display: none;
  }
}




/*プロジェクト紹介見出し背景*/
.highlight {
  display: block;      /* 幅を文字に合わせる */
  background-color: #ccc;     /* グレーの背景 */
  border-radius: 10px;        /* 角を丸くする */
  padding: 5px 15px;          /* 上下左右の余白 */
  font-size: 24px;            /* 文字サイズを調整 */
  font-weight: bold;          /* 必要なら太字にもできる */
  margin: 0 auto;
  text-align: center;
}	
	
/*横スライド*/	
.Container {
  position: relative;
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: smooth;
  height: 250px
  padding-bottom: 20px; /* ←ここで余白を作る */
  box-sizing: content-box; /* 高さを維持したまま余白を外側に追加 */
}

.Box-Container {
  display: flex;
  width: fit-content;
  transition: transform 0.3s ease;
  transform: translateX(0);
  background: #fff;
}

.Box {
  flex-shrink: 0;
  width: 200px;              /* 丸にするので縦横は同じ値に */
  height: 200px;
  margin-right: 20px;
  border-radius: 50%;        /* 丸くする */
  background-color: #fff;
  background-size: cover;    /* 画像を枠いっぱいに収める */
  background-position: center;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid #1D2857;
}

.Box-Link {
  flex-shrink: 0;
  width: 200px;
  text-align: center;
  text-decoration: none;   /* 下線消す */
  color: #333;             /* テキスト色 */
  margin-right: 20px;
}

.Box-Text {
  margin-top: 8px;
  font-size: 16px;
  font-weight: bold;
}

.Box-Link:hover .Box {
  opacity: 0.8;            /* ホバーで少し暗く */
  transition: opacity 0.3s;
}

/* 矢印
.Arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  cursor: pointer;
}

/* 左矢印（三角形
.Arrow.left {
  left: 10px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid gray;
}

/* 右矢印（三角形
.Arrow.right {
  right: 10px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid gray;
}

.Hide {
  display: none;
}

/* スムーズスクロール
html {
  scroll-behavior: smooth;
}



/*その他
---------------------------------------------------------------------------*/
.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;}

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