@charset "utf-8";
/* CSS Document */

/* body全体のスタイル */
body {
    font-family: "Noto Sans JP", sans-serif; /* フォント設定 */
	font-optical-sizing: auto; /* フォントサイズに合わせて細部を最適化 */
    background-color: white; /* 背景色の設定 */
    color: #003366; /* 文字色 */
}

/* ヘッダーのスタイル */
header {
    background-color: #003366; /* 背景色 */
    color: white; /* 文字色 */
    display: flex; /* ヘッダー全体を横並びにする */
    justify-content: space-between; /* ロゴとメニューを左右に配置 */
    align-items: center; /* 高さ方向で中央揃え */
    padding: 0px 20px; /* ヘッダー内の余白 */
}

/* ロゴのスタイル */
.header_logo img {
	width: 170px;
    height: auto;
	min-width: 150px;
}

.header_logo img:hover {
    opacity: 0.9;
  }

 .dp_nav{
        display: none;
    }

/* ハンバーガーメニューアイコンのスタイル */
#hamburger {
    display: block; /* モバイルビューでは表示 */
	cursor: pointer; /* クリック可能にする */
	z-index: 9999;
}

/* ハンバーガーメニューのアイコン内のスパンタグ（3本線） */
.hamburger_icon span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 6px auto;
	border-radius: 2px;/*角丸*/
	transition: 0.3s ease; /* アニメーション */
}

/* ハンバーガーメニューが開いたときのアイコン変化 */
#hamburger.open span:nth-of-type(1) {
    transform: rotate(45deg); /* 上の線を45度回転 */
    position: relative;
    top: 10px;
}

#hamburger.open span:nth-of-type(2) {
    opacity: 0; /* 中央の線を透明に */
}

#hamburger.open span:nth-of-type(3) {
    transform: rotate(-45deg); /* 下の線を-45度回転 */
    position: relative;
    top: -10px;
}

#hamburger:hover {
    opacity: 0.9;
  }

/* スマートフォン向け（768px未満） */
.sp_nav {
    position: fixed; /* メニューを画面に固定 */
    top: 0;
    right: -300px; /* メニューが右側に隠れている */
    width: 300px;
    height: 100%;
    background-color: #003366; /* 背景色 */
    z-index: 9998;
    transition: right 0.5s ease; /* アニメーションでメニューを表示 */
    padding-top: 50px;

	
}

.nav_list1 {
    list-style: none;
    padding: 0;
    margin: 0 15px;
	display: flex; /* フレックスボックスを使用 */
    flex-wrap: wrap; /* アイテムを折り返す */
    justify-content: flex-start; /* 左寄せ */
		width: 100%; /* 親要素に対して幅100% */
    max-width: 300px; /* 最大幅を設定して中央に収める */
	align-items: flex-start; /* 高さ方向の上揃え */

}

.nav_list1 li {
    text-align: center;
    margin: 20px;
	width: 85px;
}

.nav_list1 li a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.nav_list1 li a img {
    width: 50px;
    height: 50px;
}


.nav_list2{
	margin-left: 35px;
	padding-top: 0;
}

.nav_list2 li{
	margin: 20px 0;
}

.nav_list2 li a{
	font-size: 14px;
	color: white;
	text-decoration: underline;
}

header .SNSicons{
 	display: flex; /* 親要素がflexなので、これで子要素を横並びに */
	margin-top: 50px;
	margin-left: 20px;
}

.SNSicons li{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-right: 10px;
	box-shadow: 3px 3px 2px 0px rgba(0, 0, 0, 0.5);
}

.SNSicons li:nth-child(1) {
    background-color: #FF6F61; /* 1番目のアイコンをコーラルピンクの円で囲む */
}

.SNSicons li:nth-child(2) {
    background-color: #FFB800; /* 2番目のアイコンを黄色の円で囲む */
}

.SNSicons li:nth-child(3) {
    background-color: #76D7E7; /* 1番目のアイコンを薄緑の円で囲む */
}

.SNSicons li:nth-child(4) {
    background-color: #FF6F61; /* 1番目のアイコンをコーラルピンクの円で囲む */
}

.SNSicons img {
    width: 30px; /* アイコンの幅 */
    height: 30px; /* アイコンの高さ */
    object-fit: contain; /* 画像のサイズを円内に収める */
    margin-top: 4px; /* 微調整して中央に合わせる */
}


.nav_list1 li:hover {
    filter: invert(50%) sepia(100%) saturate(500%) brightness(140%) hue-rotate(135deg);
  }

.nav_list2 li:hover {
    filter: invert(50%) sepia(100%) saturate(500%) brightness(140%) hue-rotate(135deg);
  }

.SNSicons li:hover {
		box-shadow: 0 0 0 0 #003366;
}

.SNSicons li:nth-child(1):hover {
	background-color: #FF6F61;
	border: solid rgba(256, 256, 256, 0.3) 8px;
}

.SNSicons li:nth-child(2):hover {
	background-color: #FFB800;
	border: solid rgba(256, 256, 256, 0.3) 8px;
}

.SNSicons li:nth-child(3):hover {
	background-color: #76D7E7;
	border: solid rgba(256, 256, 256, 0.3) 8px;
}

.SNSicons li:nth-child(4):hover {
	background-color: #FF6F61;
		border: solid rgba(256, 256, 256, 0.3) 8px;
	
}

/* ハンバーガーメニューがクリックされた時の動作 */
#hamburger.open + .sp_nav {
    right: 0; /* メニューを右に表示 */
}

/* オーバーレイのスタイル */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    visibility: hidden; /* 初期状態では非表示 */
	opacity: 0; /* 初期状態では透明 */
    transition: opacity 0.5s ease, visibility 0.5s ease; /* 透明度と表示/非表示のアニメーション */
}



/* デスクトップ向け（768px以上） */
@media screen and (min-width: 768px) {
	/* ロゴのスタイル */
.header_logo img {
	width: 400px;
    min-width: 250px;
	}
	
header{
		padding: 0 80px;
	}
	
.header_logo img:hover {
    opacity: 0.9;
  }

    /* ハンバーガーメニューを非表示 */
    #hamburger {
        display: none;
    }
	
	.sp_nav{
		display: none;
	}
	
	#overlay{
		display: none;
	}
	
.dp_nav{
        display: block;
    }
	
    /* デスクトップナビゲーションメニュー */


	.dp_nav ul {
        display: flex;
        justify-content: space-between; /* メニューを左右に広げる */
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .dp_nav ul li {
        text-align: center;
    }

    .dp_nav ul li a {
        display: block;
        text-decoration: none;
        color: white;
        font-size: 20px;
		width: 85px;
        margin: 10px 30px;
    }

    .dp_nav ul li a img {
        width: 50px;
        height: 50px;
    }

    .dp_nav ul li a p {
        font-size: 20px;
    }
}



.dp_nav ul li:hover {
    filter: invert(50%) sepia(100%) saturate(500%) brightness(140%) hue-rotate(135deg);
  }

#fv img:nth-child(2){
	display: none;
		width: 100%;
		height: auto;
}

section{
	padding: 50px 20px;	
	text-align: center;
	background: url("images_sp/map/map_bg.jpg") top center / cover no-repeat;
}

#title{
	margin-bottom: 50px;
}

h2{
	font-size: 36px;
	font-weight: 900;
	color: #76D7E7;
}

#title img{
	width: 180px;
}

#map_dp{
	display: none;
}


@media screen and (min-width: 768px) {
	
	#fv img:nth-child(1){
	display: none;
}
	
	#fv img:nth-child(2){
	display: inline-block;
		width: 100%;
		height: auto;
}
	
	#map_sp{
		display: none;
	}
	
	#map_dp{
		display: inline-block;
	}
	
	section{
		background: url("images_dp/map/map_bg.jpg") top center / cover no-repeat;
		padding: 100px 80px;
	}
	
	#title{
		margin-bottom: 80px;
	}
	
	h2{
	font-size: 48px;
}

#title img{
	width: 230px;
}


}




/* フッターのスタイル */
footer {
    background-color: #003366; /* 背景色 */
    color: white; /* 文字色 */
    padding: 30px 0 20px; /* 上下のパディング */
    text-align: center; /* 中央寄せ */
}

footer .SNSicons{
	display: flex; /* 親要素がflexなので、これで子要素を横並びに */
	justify-content: center;
		margin-bottom: 30px;
}

.footer_nav{
	
	justify-content: center;
}

.footer_nav_list1 li{
	margin: 20px 10px 10px;
}

.footer_nav li a{
	font-size: 14px;
	color: white;
	text-decoration: underline;
}

.footer_nav_list1{
	display: flex;
	justify-content: center;
}

.footer_nav_list2{
	margin-bottom: 30px;
}

.footer_nav li:hover {
    filter: invert(50%) sepia(100%) saturate(500%) brightness(140%) hue-rotate(135deg);
  }

.footer_logo img:hover{
	opacity: 0.9;
}

@media screen and (min-width: 768px) {
	
	footer{
		padding-top: 100px;
	}

	footer .SNSicons{
		width: 650px;
		margin: 0 auto;
		justify-content: space-between;
	}
	
	footer .SNSicons li{
		width: 120px;
		height: 120px;
		box-shadow: 5px 5px 2px 0px rgba(0, 0, 0, 0.5);
	}
	
	footer .SNSicons li:nth-child(1):hover{
		border: solid rgba(256, 256, 256, 0.3) 16px;
	}
	
	footer .SNSicons li:nth-child(2):hover{
		border: solid rgba(256, 256, 256, 0.3) 16px;
	}
	
	footer .SNSicons li:nth-child(3):hover{
		border: solid rgba(256, 256, 256, 0.3) 16px;
	}
	
	footer .SNSicons li:nth-child(4):hover{
		border: solid rgba(256, 256, 256, 0.3) 16px;
	}
	
	footer .SNSicons img{
		width: 60px;
		height: auto;
	}
	
	.footer_logo img{
		width: 300px;
		margin-top: 70px;
	}
	
	.footer_nav{
		display: flex;
		margin-top: 50px;
		margin-bottom: 30px;
	}
	
	.footer_nav li{
		margin: 0;
	}
	
	.footer_nav li a{
		font-size: 20px;
	}
	
	.footer_nav_list1 a{
		margin-right: 50px;
	}
	
	
}
