@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=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("slide.css");
@import url("inview.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--text-color: #333;				/*テキストカラー*/

	--primary-color: #333;		/*テンプレートのメインとなる色*/
	--primary-text-color: #fff;		/*メインカラーの上で使うテキスト色*/
	
	--global-space: 5vw;			/*サイト内の左右へとる余白を一括管理しています。画面幅100%＝100vwです。*/
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*fadeInのキーフレーム設定（テキストのフェードインに使用）
---------------------------------------------------------------------------*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.8);}
	100% {opacity: 1;transform: scale(1);}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html,body {
	height: 100%;
	font-size: 13px;	/*基準となるフォントサイズ。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

		html, body {
			font-size: 16px;	/*基準となるフォントサイズ。*/
		}

	}/*追加指定ここまで*/


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,ul,li,ol {margin: 0;padding: 0;}
nav ul,ol {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}
section + section {
	margin-top: 3rem;
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: var(--text-color);	/*文字色。css冒頭で指定しているtext-colorを読み込みます*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	text-decoration: none;	/*下線を消す*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
body:not(.home) #container {
	height: 100%;
	display: flex;
	flex-direction: column;	/*子要素を縦並びにする*/
	justify-content: space-between;	/*並びかたの種類の指定*/
}


/*コンテンツ（フッター関連「以外」を囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	padding: var(--global-space);	/*コンテンツ内の余白。css冒頭で指定しているglobal-spaceを読み込みます。*/
}

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {

	#contents {
		padding-top: 80px;	/*コンテンツ内の上の余白だけ上書き*/
	}

	}/*追加指定ここまで*/


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	display: flex;					/*flexボックスを使う指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	justify-content: space-between;
	height: 70px;					/*ヘッダーの高さ*/
	padding: 1vw 3vw;				/*ヘッダー内の余白。上下、左右への順番。*/
	font-family: "Reddit Sans", "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
    position: absolute;
    z-index: 1;
    width: 100%;
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	/*ヘッダーブロック*/
	header {
		position: fixed;	/*スクロールしても動かないようにする指定。*/
	}
	
	}

/*ロゴ（※画像にする場合）*/
#logo img {
	display: block;
	width: 95%;	/*ロゴ画像の幅*/
}

/*ロゴ（テキストにする場合）*/
#logo a {
	display: block;text-decoration: none;
	font-size: 1.2rem;	/*文字サイズを120%に*/
	font-weight: 800;	/*文字の太さ*/
}

@media screen and (max-width:568px){
	#logo img { width: 95%;margin-bottom: 10px;}
}

/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ドロップダウンの親メニューのカーソル表示を変更*/
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;	/*アイコンとテキストとの間に空けるスペース*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック全体の設定*/
.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;	/*上下、左右へのメニュー内の余白*/
	font-size: 2vw;
}




/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.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 a {
	padding: 1rem;	/*メニュー内の余白*/
}

/*文字色*/
.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;	/*２本目は使わないので非表示にする*/
}


/*main
---------------------------------------------------------------------------*/
/*h2(見出し)要素*/
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(--text-color);	/*下線の幅、線種、varは色のことで、css冒頭で指定しているtext-colorを読み込みます*/
}


/*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;	/*テキストをセンタリング*/
	border-radius: 5px 5px 0px 0px;	/*角を丸くする指定。左上、右上、右下、左下の順番。*/
	border: 1px solid #ccc;			/*下線の幅、線種、色*/
	background: linear-gradient(transparent, rgba(0,0,0,0.03));/*背景グラデーション。transparentは透明の事。0,0,0は黒の事で0.03は色が3%出た状態。*/
	padding: 0.5rem 0;	/*上下、左右への見出し内の余白*/
}


/*サブメニュー設定
---------------------------------------------------------------------------*/
/*サブメニューブロック全体*/
.submenu {
	padding: 0;
	margin: 0 0 1rem;	/*上、左右、下へのマージン*/
}

/*メニュー１個あたり*/
.submenu a {
	display: block;text-decoration: none;
	padding: 0.2rem 1rem;	/*上下、左右へのメニュー内の余白*/
}

/*メニュー１個あたり（子メニュー以外）*/
.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;
}


/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#footermenu {
	margin: 0 !important;
	padding: 20px;		/*ブロック内の余白*/
	text-align: center;	/*テキストを中央に*/
	font-size: 0.8rem;	/*文字サイズ。bodyのfont-sizeの80%です。*/
}

/*メニュー１個あたり*/
#footermenu li {
	display: inline-block;	/*簡易的に横並びにする*/
	padding: 0 10px;		/*上下、左右への余白*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ。bodyのfont-sizeの70%です。*/
	text-align: center;		/*内容をセンタリング*/
	padding: 20px;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

/* アニメーションを適用するクラス。
animationの行の「0.05s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.2」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.05s linear both;
}


/*新規 お知らせエリア
---------------------------------------------------------------------------*/
.topicsBox { width: 100%;}
.topicsBox.top_space { margin-top: 40px;}
.topicsBox div { padding: 10px 5px;}
.topicsBox div a { text-decoration: none; display:flex; flex-wrap:wrap;}
.topicsBox div a p { margin: 0;}
.topicsBox div .date { min-width: 80px; padding: 5px 0;}
.topicsBox div .cate { min-width: 100px;}
.topicsBox div .cate span { display: block; margin: 0 10px; padding: 5px; text-align: center; color: #fff; background: #58aee1; border-radius: 5px;}
.topicsBox div .txt { width:calc(100% - 200px); padding: 5px 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.topicsBox div a:hover .cate { opacity: 0.8;}
.topicsBox div .list-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

.infoBox { padding: 40px 20px;}
.infoBox p { margin: 15px 0 0 0;}
.infoBox .cate { 
  padding: 0 5px;
  color: #fff;
  background: #58aee1;
  border-radius: 5px;
}
.infoBox .date { margin-left: 10px;}
.infoBox .photo { width: 100%; margin-top: 15px; display:flex; flex-wrap:wrap; list-style: none;}
.infoBox .photo li { width: calc(33.33333333333334% - 10px); margin: 5px;}
.infoBox .photo li img { width: 100%; object-fit: cover; aspect-ratio: 1 / 1;}
.infoBox .info-back { text-align: center; margin-top: 30px;}

@media screen and (max-width:900px){
.infoBox .photo li { width: calc(50% - 10px);}
}

@media screen and (max-width: 568px) {
.topicsBox div .txt { width:calc(100% - 0px);}
.infoBox { padding: 30px 15px;}
.photo li { width: calc(100% - 10px); margin: 5px 0;}
}



/*ページャー
---------------------------------------------------------------------------*/
.pager{
  /* For IE */
  -js-display: flex;
  display: flex; width: 700px; margin: 40px auto;justify-content: center;
}
.pager li{
  list-style-type: none;max-width: 135px;
  flex: 1;
}
.pager li a {
  display: flex;
  justify-content: center;
  align-items: center; color: #fff!important; text-decoration: none!important;
}
 
@media only screen and ( max-width: 700px ) {  
 .pager{width: 96%;}
  /* 全てのli要素を消す */
  .pager li {
	position: absolute;
	top: -9999px;
	left: -9999px;
  }
 
  /* 必要なli要素を消す */
  .pager li.active,
  .pager li:first-of-type,
  .pager li:last-of-type,
  .pager li:nth-of-type(2),
  .pager li:nth-last-of-type(2){
	position: static;
	top: initial;
	left: initial;
  }
}
 
.pager li {
 
 /* For IE */
 display: flex;
 justify-content: center;
 background-color: #58aee1;
}
 
.pager a {
  /* For IE */
  flex: 1;
  height:44px;
  text-decoration:none;
  color: #fff;
}
 
/* Active 以外のhover */
.pager li:not([class*="active"]) a:hover { 
  background-color: rgba(255,255,255,.2);
}
 
/* Activeのスタイル */
.pager li.active a { 
  background-color: rgba(255,255,255,.65);
  color: #000;
  font-weight: bold;
}
 
ul {
   -webkit-padding-start: 0px;
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.new dd {
	padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	width: 8rem;			/*幅。６文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #333;
}

/*icon-bg1*/
.new .icon-bg1 {
	background: #333;	/*背景色*/
	color: #fff;		/*文字色*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: #ff0000;	/*背景色*/
	color: #fff;			/*文字色*/
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {

	/*ブロック全体*/
	.new {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

	}/*追加指定ここまで*/


/*list-grid1
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-grid1 {
	display: grid;
	color: var(--text-color);	/*文字色。css冒頭で指定しているtext-colorを読み込みます*/
}

/*ボックス１個あたり*/
.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(3, 1fr);	/*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;	/*画像の下に空けるスペース*/
}


/*ボタン
---------------------------------------------------------------------------*/
.btn 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 {
	filter: brightness(1.2);
}


/*bg1背景色がついたブロック
---------------------------------------------------------------------------*/
.bg1 {
	position: relative;
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	padding-top: 5vw;		/*ボックス内の上に空ける余白。お好みで調整して下さい。*/
	padding-bottom: 5vw;	/*ボックス内の下に空ける余白。お好みで調整して下さい。*/
	margin-top: 10vw;		/*ボックス外の上に空ける余白。お好みで調整して下さい。*/
	margin-bottom: 10vw;	/*ボックス外の下に空ける余白。お好みで調整して下さい。*/
	
	/*以下は変更不要*/
	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冒頭で指定しているprimary-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%);	/*三角形の形を作っています*/
}


/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.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%だけ色を出す。つまり薄くなります。*/
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: #333;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #333;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 5rem;		/*テーブルの下に空けるスペース。5文字分。*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #333;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
	background: #eee;	/*背景色*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

		/*th（左側）のみの設定*/
		.ta1 th {
			width: 20%;		/*幅*/
		}

	}/*追加指定ここまで*/


/*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%;	/*円形にする*/
}

/*ハンバーガーメニュー
---------------------------------------------------------------------------*/
.hm_menu_wrap input[type="radio"] ,
.hm_menu_wrap input[type="checkbox"] {
  position: absolute; display: none;
  opacity: 0;
  z-index: -1;
}

.hm_menu_wrap .row {
  display: flex; padding: 50px 10px 50px 10px;
  width: 100%; max-width: 450px; margin: auto;
}
.hm_menu_wrap .row .col {
  flex: 1;
}

/* Accordion styles */
.hm_menu_wrap .tabs {
  overflow: hidden;
}
.hm_menu_wrap p { margin: 0;}
.hm_menu_wrap p a,
.hm_menu_wrap p span{
  display: flex; position: relative;
  justify-content: space-between;
  padding: 15px; text-align: center; justify-content: center;
  cursor: pointer;text-decoration: none;
  border-bottom: 1px solid #e5e5e5;
}
.hm_menu_wrap p a:hover{
  background: #d4ffea;
}
/*
.hm_menu_wrap p a::after,
.hm_menu_wrap p span::after{
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all .6s;
}
*/

.hm_menu_wrap .band {
    background: #e3efff;
    text-align: center;
    width: 100%;
    display: block;
    padding: 20px;
}

/*----------------------------------------------------
  ■HamburgerMenu 
----------------------------------------------------*/
.hm_menu_check{/* チェックボックスを隠す */
  display: none;
}
/* ▽▽メニューボタン▽▽ */
.hm_btn {
	position: fixed;
	width: 46px;
	height: 46px;
	cursor: pointer;
	display: block;
	top : 17px;
	right: calc(50% - 580px);
	z-index: 1000;
	background: #fff;border: 8px solid #fff; border-radius: 5px;box-shadow: 0px 0px 0px 1px #77d0a4;
}

.hm_btn::before {
	-webkit-box-shadow: #77d0a4 0 12px 0;
	box-shadow: #77d0a4 0 12px 0;
}
.hm_btn::after {
	bottom: 0;
}
.hm_btn::before,
.hm_btn::after {
	width: 30px;
	height: 6px;
	background: #77d0a4;
	display: block;
	content: '';
	position: absolute;
	-webkit-transition: -webkit-box-shadow 0.2s linear, -webkit-transform 0.2s 0.2s;
	transition: box-shadow 0.2s linear, transform 0.2s 0.2s;
}
/* △△メニューボタン△△ */

.hm_menu_wrap {
	width: 100%;
	background: #fff;
	position: fixed;
	left: -100%;
	top: 0;
	-webkit-transition: left 0.4s;
	transition: left 0.4s;
	z-index: 1001;
	display: block;
}

.hm_menu_wrap i{ position: absolute; right: 15px; top:10px; color: #000; font-size: 40px;cursor : pointer;}

.hm_menu_close {
	width :0%;
	height :1000px;
	background: #000;
	opacity :0;
	position: absolute;
	left: 0;
	top: -300px;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
	display: block;
}

.hm_menu_close label {
	display :block;
	width :100%;
	height :100%;
	cursor : pointer;
}

.hm_menu_wrap .band {
    background: #e5e5e5;
    text-align: center;
    width: 100%;
    display: block;
    padding: 20px;
}

/* ▽▽開閉時のアニメーション▽▽ */
.hm_menu_check:checked ~ .hm_title {
	opacity: 1;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}

.hm_menu_check:checked ~ .hm_menu_wrap {
	left: 0;
}

.hm_menu_check:checked ~ .hm_menu_close {
	width :100%;
	height :10000px;
	opacity :0.5;
	z-index: 1000;
}
/* △△開閉時のアニメーション△△ */
.fa-clos::before {
  content: "×"; font-weight:normal;
}

/*tb*/
@media screen and (max-width:1200px){
.hm_btn { right: 20px;}
}

@media screen and (max-width:786px){
.hm_menu_wrap {	width: 100%;}
}


/*コンテンツ部分
---------------------------------------------------------------------------*/
#header { width: 100%; max-width: 1400px; padding: 20px; margin: auto; position: relative;}
#header #logo img { width: 250px;}

#container { width: 100%; max-width: 1400px; margin: auto;}
.contentsBox { width: 86%; max-width: 1200px; margin: auto;}
.contentsBox-inr { margin-top: 40px;}
.s-font { font-size: 80%;}

.heading {
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
    color: #333333;
    line-height: 1.2;
}
.heading span { font-size: 70%;}
.heading br { display: none;}
.heading::before {
    position: absolute;
    bottom: calc(-3.5em / 4);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background: #b6e8cf;
    content: '';
}
.heading.info::before {
    display: inline-block;
	width: 10px;
  	height: 100%;
    background-color: #58aee1;
    content: '';
	top: 0;
  	border-radius: 20px;
}

.catch { font-size: 1.3rem; line-height: 150%; color: #ff0000;}
.title { margin: 20px 0 0 0;}
.title span { font-size: 70%;}
.title {
    position: relative;
    padding: 0 0 0 30px;
}

.title::before,
.title::after {
    display: inline-block;
    position: absolute;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #2589d0;
    content: '';
}

.title::before {
    top: calc(50% - 3px);
    left: 0;
}

.title::after {
    top: calc(50% + 3px);
    left: 5px;
}

.check { margin: 20px 0 0 0;}
.check span {
    display: flex;
    align-items: center;
    column-gap: 8px;
    color: #333333;
}

.check span::before {
    width: 0.8em;
    height: 0.4em;
    border-bottom: 4px solid #30babf;
    border-left: 4px solid #30babf;
    transform: rotate(-45deg) translate(2px, -2px);
    content: '';
}

.menuBox { margin: 0 auto; text-align: center; padding: 20px 0; margin-top: 80px;}
.menuBox a { width: 100%; max-width: 240px; display: inline-block; padding: 15px 10px; border-radius: 5px; text-decoration: none; margin: 5px; text-align: center; color: #fff !important; background: #58aee1; transition: opacity 0.1s linear;}
.menuBox a:hover { opacity: 0.8;}

.priceBox { display:flex; flex-wrap:wrap;}
.priceBox div { margin-right: 10px;}

.tableSt { margin-top: 10px; border-top: #DBDBDB solid 1px; border-left: #DBDBDB solid 1px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -o-box-sizing: border-box; }
.tableSt th { padding: 7px; background: #F7F7F7; border-bottom: #DBDBDB solid 1px; border-right: #DBDBDB solid 1px; text-align: center; vertical-align: middle; font-weight: normal; }
.tableSt td { padding: 7px; background: #ffffff; border-bottom: #DBDBDB solid 1px; border-right: #DBDBDB solid 1px; word-break: break-word; text-align: right;}
.tableSt td.center { text-align: center;}
.tableSt.left td { text-align: left;}
.tableSt.w100 { width: 100%;}

.contactBox { width: 100%; max-width: 70%; margin: 40px auto 0 auto; padding: 15px; border: 2px solid #30babf; border-radius: 5px;}
.contactBox .contactBox-tl { font-size: 1.5rem; margin: 0; padding: 0; color: #30babf;}
.contactBox p { margin: 0; font-size: 1.2rem; line-height: 1.8rem;}
.contactBox p span { color: #ff0000;}

.step-wifi { width: 100%; display:flex; flex-wrap:wrap;}
.step-wifi .step-wifi_box { width:calc(100% - 327px); padding-right: 15px;}
.step-wifi .step-wifi_img { width: 327px;}

/* 重要事項説明および通信サービス契約約款 */
.applyBox { margin-top: 40px;}
.applyBox p { margin: 0; padding: 0; font-weight: bold;}
.applyBox .linkBox { text-align: center; padding: 20px 0;}
.applyBox .linkBox a { width: 100%; max-width: 240px; display: inline-block; padding: 15px 10px; border-radius: 5px; text-decoration: none; margin: 5px; text-align: center; color: #fff !important; background: #58aee1; transition:opacity 0.1s linear; line-height: 1.5;}
.applyBox .linkBox a:hover { opacity: 0.8;}
.applyBox.mobile .linkBox a { background: #5ab837;} 
.applyBox.mobile .strong { color: #339933;}
.applyBox.wifi .linkBox a { background: #f49c6f;}
.applyBox.wifi .strong { color: #ff0000;}

/* プライバシーポリシー */
.policyBox p { margin: 0; padding: 0;}

.ListNumber2 { counter-reset: ol_li;}
.ListNumber2>li { margin: 5px 0px; padding-left: 30px;}
.ListNumber2>li:before { counter-increment: ol_li; content: counter(ol_li)"."; text-align: center; width: 30px; height: 20px; display: inline-block; line-height: 20px; margin-right: 5px; margin-left: -35px;}
.ListNumber3 { counter-reset: ol_li;}
.ListNumber3>li { margin: 5px 0px; padding-left: 30px;}
.ListNumber3>li:before { counter-increment: ol_li; content: "("counter(ol_li)")"; text-align: center; width: 33px; height: 20px; display: inline-block; line-height: 20px; margin-right: 5px; margin-left: -38px;}

/* ショップ */
.shopInr { margin-top: 20px;}
.shopInr .shopImage { width: 350px; float: left;}
.shopInr .shopImage .mainImage { width: 100%;}
.shopInr .shopImage .mainImage img { width: 100%; height: auto; object-fit: cover;}
.shopInr .shopDetail { width: calc(100% - 350px); float: right; padding-left: 25px; display: flex; flex-wrap: wrap; align-items: center;}
.shopInr .shopDetail .shopDetail-inr { width: calc(50% - 10px); margin: 5px; font-size: 14px;}
.shopInr .shopDetail .shopDetail-inr.fl { width: calc(100% - 10px); margin: 5px;}
.shopInr .shopDetail .shopDetail-inr .shopDetail-ttl { width: 100px; display: inline-block; vertical-align: top;}
.shopInr .shopDetail .shopDetail-inr .shopDetail-box { width: calc(100% - 110px); padding: 5px 0px 5px 10px; display: inline-block; word-break: break-all;}
.shopInr .shopDetail .shopDetail-inr .shopDetail-ttl span { padding: 7px 10px; background: #30babf; color: #fff; text-align: center; display: block;}
.shopInr .shopDetail .shopDetail-inr .shopDetail-box strong { font-weight: 600;}

.shopMap { margin: 30px 0;}
.shopMap iframe { width: 100% !important;}

@media screen and (max-width:1200px) {
	.menuBox a { max-width: 200px; font-size: 14px;}

	.priceBox div:nth-child(1) { width: 100%; margin-right: 0px;}

	.step-wifi .step-wifi_box { width:70%; padding-right: 15px;}
	.step-wifi .step-wifi_img { width: 30%;}

	.shopInr .shopDetail .shopDetail-inr { width: calc(100% - 10px); margin: 5px;}
}
@media screen and (max-width:1000px) {
	.menuBox { max-width: 800px;}
	.menuBox a { max-width: calc(40% - 30px); min-width: 180px;}

	.shopInr .shopImage { width: 270px;}
	.shopInr .shopDetail { width: calc(100% - 270px); padding-left: 15px;}
	.shopInr .shopDetail .shopDetail-inr { font-size: 13px;}
}
@media screen and (max-width:900px) {
	.menuBox a { font-size: 13px;}

	.applyBox .linkBox { padding: 30px 0;}
	.applyBox .linkBox a { max-width: 200px;}
}
@media screen and (max-width:860px) {
	.shopInr .shopDetail .shopDetail-inr .shopDetail-ttl { line-height: 1.5;}
	.shopInr .shopDetail .shopDetail-inr .shopDetail-box { width: calc(100% - 0px); display: block; padding: 5px 15px;}
}
@media screen and (max-width:700px) {
	.shopInr .shopImage { width: 100%; float: none;}
	.shopInr .shopImage .mainImage img { width: 100%; height: 350px; object-fit: cover;}
	.shopInr .shopDetail { width: calc(100% - 0px); float: none; padding-left: 0px; margin-top: 20px;}
	.shopInr .shopDetail .shopDetail-inr .shopDetail-ttl { line-height: 2;}
	.shopInr .shopDetail .shopDetail-inr .shopDetail-box { width: calc(100% - 110px); display: inline-block; padding: 5px 0px 5px 10px;}
}
@media screen and (max-width:568px) {
	#header { padding: 15px;}
	#header #logo img { width: 160px;}

	.heading.line2 br { display: inline;}
	.heading.line2::before {
		position: absolute;
		bottom: calc(-3.5em / 6);
		left: calc(-3.5em / 2);
		z-index: -1;
		width: 3.5em;
		height: 3.5em;
		border-radius: 50%;
		background: #b6e8cf;
		content: '';
	}
	.sp-scroll{
		width: 100%;
		overflow-x: scroll;
		margin:auto;-webkit-overflow-scrolling:touch;
	}
	.sp-scroll th,.sp-scroll td{white-space: nowrap;}

	.tableSt.blockSt { border-top: 0px; border-left: 0px;}
	.tableSt.blockSt th { display: block; padding: 7px; border-bottom: 0px; border-right: 0px; text-align: left;}
	.tableSt.blockSt td { display: block; padding: 7px; border-bottom: 0px; border-right: 0px; text-align: left;}

	.step-wifi .step-wifi_box { width:100%; padding-right: 0px;}
	.step-wifi .step-wifi_img { width: 100%; text-align: center;}
	.step-wifi .step-wifi_img img { width: 100%; max-width: 250px;}

	.menuBox { margin-top: 50px;}
}
@media screen and (max-width:512px) {
	.menuBox a { max-width: calc(80% - 30px); min-width: 240px;}

	.shopInr .shopDetail .shopDetail-inr .shopDetail-ttl { line-height: 1.5;}
	.shopInr .shopDetail .shopDetail-inr .shopDetail-box { width: calc(100% - 0px); display: block; padding: 5px 10px;}
}

/*icon
---------------------------------------------------------------------------*/
.icon { padding-left: 18px!important; position: relative; display: inline-block; cursor: pointer; text-decoration: underline;}
.icon:before { color: #30babf; font-family: FontAwesome; position: absolute; display: block; width: 13px; height: 18px; left: 0; top: 1px;}
.icon.outside { padding-right: 18px!important;padding-left: 0px!important; }
.icon.outside:before { left: auto; right: 0;}

.icon.square:before { content: "\f0c8"; }
.icon.link:before { content: "\f138"; }
.icon.link2:before { content: "\f105"; left: 5px; }
.icon.outside.link2:before { left: auto; }
.icon.excel:before { content: "\f1c3"; }
.icon.word:before { content: "\f1c2"; }
.icon.ppt:before { content: "\f1c4"; }
.icon.pdf:before { content: "\f1c1"; }
.icon.back:before { content: "\f112"; }
.icon.blank:before { content: "\f08e"; }
.icon.mail:before { content: "\f003"; }
.icon.tel:before { content: "\f098"; }
.icon.fax:before { content: "\f1ac"; }


/*その他
---------------------------------------------------------------------------*/
.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;}
.mt10 {margin-top: 10px !important; }
.mt15 {margin-top: 15px !important; }
.mt20 {margin-top: 20px !important; }
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !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;}
.FontB {font-weight:bold;}
.longUrl {word-break: break-all;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/
