@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;
}




body{
	background: #F1FBFF;
}

h2{
	color: #FFB800;
	font-weight: 900;

}

#title{
	text-align: center;
	margin: 50px auto 50px;
}

#title img{
	width: 160px;
}

@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;
	}
	
h2{
	color: #FFB800;
	font-weight: 900;
	font-size: 48px;

}

#title img{
	width: 300px;
}
	}

/*Q&A*/
.area01{
    background-color: #F1FBFF; 

}
 
.inner {
    width:750px;
    margin: 20px auto;
		padding: 50px auto;
}
 
.qa_box{
    margin-bottom: 30px;
}
 
.qa_box .qa_q {
    background-color: #76D7E7;
    border: 2px solid #76D7E7;
    padding: 20px 25px;
    position: relative;
    cursor: pointer;
    color: #fff;
	font-weight: 700;
	border-radius: 10px 10px 10px 10px;
}
 
.toggle_icon {
  position: absolute;
  top: 50%;
  right: 2rem;
  width: 20px;
  height: 20px;
  margin-top: -15px;
}
 
.toggle_icon:before{
  position: absolute;
  content: "＋";
  margin: auto;
  box-sizing: border-box;
  vertical-align: middle;
	font-weight: 900;
	font-size: 20px;
}
 

.qa_q.open .toggle_icon:before{
    position: absolute;
    content: "ー";
    margin: auto;
    box-sizing: border-box;
    vertical-align: middle;
		font-weight: 900;
}
 
.qa_box .qa_a {
    display: none;
	margin-top: -10px;
    padding: 35px 30px 25px 30px;
    border-left: 2px solid #76D7E7;
    border-right: 2px solid #76D7E7;
    border-bottom: 2px solid #76D7E7;
    box-sizing: border-box;
    background: #fff;
	border-radius: 0 0 10px 10px;
}
 
.q_txt{
    display: block;
    padding-left: 35px;
    position: relative;
    line-height: 1.5;
    font-size: 20px;
}
 
.q_txt::before {
    position: absolute;
    left: 0;
    content: "Q．";
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
 
.a_txt {
    display: block;
    padding-left: 35px;
    position: relative;
    line-height: 1.5;
}
 
.a_txt::before {
    position: absolute;
    left: 0;
    content: "A．";
    color: #de0000;
    font-size: 20px;
    font-weight: bold;
}
 
@media screen and (max-width: 750px) { 
    .inner{
        width: auto;
    }
    
    .toggle_icon {
        right: 0.8rem;
    }
    
    .toggle_icon:before {
        width: 15px;
    }
    .toggle_icon:after {
        height: 15px;
        right: 7px;
    }
	
	.qa_box{
			margin-left: 20px;
		margin-right: 20px;
	}
}
 
@media screen and (max-width: 480px) { 
    .toggle_icon {
        right: 0.4rem;
    }
}




/* フッターのスタイル */
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;
	}
	
	
}
