@charset "UTF-8";
/*
	* Bootstrap ヘッダ・フッタに関するカスタムCSS

	@media screen and (max-width: 1499.98px) {}
	@media (max-width: 991.98px) {}
	@media print {}
	@media screen and (max-width: 767px) {}
 
	xxl-1500over(min-1500)
	xl-1500(max-1499) 左右余白15pxを含む（1470）
	lg-992(max-991)
	md-768(max-767)
	sm-576(max-575)
 
	-------------------

	初期設定（変更不要）
	-ドロップダウンメニュー内設定

	ヘッダーレイアウト（PCのベースレイアウト・ホバー動作）
	-追加ボタン（svgアイコン付き）
	
	ヘッダースクロール時にバックドロップフィルター

	バーガーメニューCSS 外観
	バーガーメニューCSS 内容
	
	ヘッダー印刷専用スタイル
	
	フッターレイアウト

*/

/* 初期設定（変更不要） */
	#nav-overlay{/* メニュー外クリックで閉じる為の追加オーバーレイ */
		display: block !important;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 1000;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.6s ease, visibility 0.6s;
	}
	#nav-overlay.is-active{
		visibility: visible;
		opacity: 1;
	}

	.cus-header-normal .header-nav .header-nav-col{/* Bootstrap設定上書き */
		display: -webkit-flex !important;
		display: flex !important;
		justify-content: flex-end !important;
		text-align: right !important;
	}

	.dropdown-toggle::after{/* ドロップダウンメニューのアイコン変更 */
		display: none !important;
	}
	.plus-minus-icon{
		display: inline-block;
		position: relative;
		top: -2px;
		width: 10px;
		height: 10px;
		margin-left: 4px; /* 文字との間隔 */
		vertical-align: middle;
	}
	.plus-minus-icon::before{
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: currentColor;
		transform: translateY(-50%);
	}
	.plus-minus-icon::after{
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		width: 1px;
		height: 100%;
		background-color: currentColor;
		transform: translateX(-50%);
		transition: transform 0.3s ease, opacity 0.3s ease;
	}
	@media screen and (min-width: 992px){
		.dropdown:hover .plus-minus-icon::after{/* +アイコンアニメーション */
			transform: translateX(-50%) rotate(90deg);
			opacity: 0;
		}
		.cus-header-normal .dropdown-menu::before{/* マウス移動時ドロップダウンメニューが消えないように */
			content: "";
			position: absolute;
			top: -20px;
			left: 0;
			width: 100%;
			height: 20px;
			background: transparent;
		}

    .dropdown > .dropdown-menu{
			display: block !important;
			visibility: hidden;
			opacity: 0;
			transform: translateY(-10px);
			transition: all 0.5s ease;

			background-color: rgba(255, 255, 255, 0.7) !important;
			border: none;
			box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
			padding: 20px !important;
			margin-top: 20px !important;
			min-width: 200px;
			pointer-events: none;
    }
		.dropdown:hover > .dropdown-menu{/* ドロップダウンメニューの位置・背景色調整 */
			visibility: visible;
			opacity: 1;
			transform: translateY(0);
			pointer-events: auto;
		}
		.cus-header-normal .dropdown-menu li{
			border-bottom: 1px solid #c2c7c6 !important;
		}
		.cus-header-normal .dropdown-menu li:last-child{
			border-bottom: none !important;
		}
		.cus-header-normal .dropdown-item{/* ドロップダウンメニュー内部調整 */
			overflow: hidden;
			position: relative;
			padding: 10px 20px !important;
			background-color: transparent;
			min-width: 290px;/* 最小幅設定 */
			color: inherit;
			transition: all 0.2s ease;
		}
		.cus-header-normal .dropdown-item::before{
			content: ''; /* 文字は入れない */
			position: absolute;
			top: 50%;
			right: 10px;
			width: 20px;
			aspect-ratio: 1 / 1;
			background-color: #30b7a8;
			transform: translateY(-50%);
			z-index: 1;
		}
		.cus-header-normal .dropdown-item::after{
			content: '\f061';
			font-family: "Font Awesome 6 Free";
			font-weight: 900;
			font-size: 10px;
			color: white;
			position: absolute;
			top: 50%;
			right: 20px; /* (right:10px + 枠の幅20pxの中央付近) */
			transform: translate(50%, -50%); /* 枠内の中央付近に配置 */
			transition: all 0.3s ease;
			z-index: 2;
		}
		.cus-header-normal .dropdown-item:hover::after{
			animation: arrowLoop 0.4s forwards;
		}
		@keyframes arrowLoop {
			0% {
        transform: translate(50%, -50%);
        opacity: 1;
			}
			49% {
        transform: translate(150%, -50%);
        opacity: 0;
			}
			50% {
        transform: translate(-150%, -50%);
        opacity: 0;
			}
			100% {
        transform: translate(50%, -50%);
        opacity: 1;
			}
		}
		.dropdown:hover > .dropdown-menu{
			visibility: visible;
			opacity: 1;
		}
	}
	@media screen and (max-width: 991.98px) {
		.dropdown-toggle[aria-expanded="true"] .plus-minus-icon::after{
			opacity: 0;
		}
	}

	@media screen and (min-width: 991.98px) {/* ドロップダウンボタンをマウスオーバーで利用 */
		.dropdown:hover > .dropdown-menu{
			display: block !important;
		}
	}


/* ヘッダーレイアウト（PCのベースレイアウト・ホバー動作） */
	.cus-header-normal{/* 追従型 */
		position: fixed;
		top: 0px;
		left : 0px;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		padding: 16px 2%;
		width: 100%;
		z-index: 999;
	}
	.cus-header-normal .header-logo{/* ロゴの表示サイズ */
		flex: 0 0 404px;
    white-space: nowrap;
	}
	.cus-header-normal .header-nav .header-nav-brand{/* スマホ用ロゴは今は非表示 */
		display: none;
	}

	.cus-header-normal .header-nav{/* メニュー欄右寄せ */
		flex-grow: 1; 
		display: flex;
		justify-content: flex-end;
		align-items: center;
    text-align: right;
	}

	.cus-header-normal .header-nav-col li{/* リンク間隔（0でも標準間隔あり） */
		position: relative;
		padding-right: 0 !important;
	}
	@media screen and (min-width: 992px) {/* ホバー動作 PCサイズのみ反映 */
		.cus-header-normal .header-nav-col li{/* リンク間隔（0でも標準間隔あり） */
			position: relative;
			padding-right: 1vw !important;
		}
		.cus-header-normal .header-nav-col li::before{
			content: '';
			position: absolute;
			top: 20%;
			right: 0.5vw;
			background-color: #d6d6d6;
			width: 1px;
			height: 60%;
		}
		.cus-header-normal .header-nav-col li:last-child{
			padding-right: 0vw !important;
		}
		.cus-header-normal .header-nav-col li:last-child::before{
			display: none;
		}
		.cus-header-normal .header-nav-col li a{
			position: relative;
			transition: all 0.5s 0s ease;
			text-decoration: none;
		}
		.cus-header-normal .header-nav-col li a::after{
			content: '';
			position: absolute;
			left: 0;
			bottom: 0px;
			width: 0;
			height: 1px;
			background-color: #fff;
			transition: width 0.5s ease;
		}
		.cus-header-normal .header-nav-col li a:hover{
			font-weight: 700;
			transition: all 0.5s 0s ease;
		}
		.cus-header-normal .header-nav-col li a:hover::after{
			width: 100%;
		}
		.cus-header-normal .header-nav-col li .active{
			font-weight: 700;
		}
		.cus-header-normal .header-nav-col li .active::after{
			width: 100%;
		}
	}
	@media screen and (max-width: 1499.98px) {
		.cus-header-normal .header-logo{/* ロゴの表示サイズ */
			flex: 0 0 20vw;
		}
	
		.cus-header-normal .header-nav-col li{
			font-size: 15px;
		}
	}
	@media screen and (max-width: 1259.98px) {
		.cus-header-normal .header-logo{/* ロゴの表示サイズ */
			flex: 0 0 17vw;
		}
	
		.cus-header-normal .header-nav-col li{
			font-size: 14px;
		}
	}
	@media screen and (max-width: 1129.98px) {
		.cus-header-normal .header-logo{/* ロゴの表示サイズ */
			flex: 0 0 15vw;
		}
	
		.cus-header-normal .header-nav-col li{
			font-size: 13px;
		}
	}
	@media screen and (max-width: 1029.98px) {
		.cus-header-normal .header-logo{/* ロゴの表示サイズ */
			flex: 0 0 12vw;
		}
	
		.cus-header-normal .header-nav-col li{
			font-size: 13px;
		}
	}

/* ヘッダースクロール時にバックドロップフィルター */
	@media screen and (min-width: 992px) {
		.cus-header-normal{
			background-color: white;
			
			/* スクロール連動アニメーションの設定 */
			animation: headerGlass linear both;
			animation-timeline: scroll(root);
			animation-range: 200px 400px; /* 2px〜400pxの間でアニメーションを変化 */
		}

		/* すりガラスへ変化するアニメーションの中身 */
		@keyframes headerGlass{
			to {
				padding: 0px 2%;
				box-shadow: 0 4px 20px rgba(0, 63, 148, 0.05);
			}
		}
	}


/* バーガーメニューCSS 外観 */
	@media screen and (max-width: 991.98px) {/* 991.98px以下でバーガーメニューに切り替え */
		.header-nav .navbar,
		.header-toggler-bg{/* padding初期化 */
      padding: 0 !important; 
    }

		.cus-header-normal{
			display: block;
			background-color: transparent;
			box-shadow: none;
			border-radius: 0px;
			padding: 0;
			margin: 0;
			width: 100%;
		}

		.cus-header-normal .header-logo{display: none;}/* 表示ロゴの変更 */
		.cus-header-normal .header-nav .header-nav-brand{
			display: block;
			position: relative;
			padding: 5px;
			z-index: 1005;
		}
		.cus-header-normal .header-nav .header-nav-brand img{/* バーガーメニュー表示ロゴのサイズ・位置 */
			position: relative;
			top: 3px;
			width: 240px !important;
		}

		.cus-header-normal .header-nav{
			display: block;
			text-align: left;
		}
		.header-toggler-bg{
			position: relative;
			top: 0px;
			z-index: 1005;
		}
		.header-toggler-bg::before{
			content: '';
			position: absolute;
			top: 0px;
			left: 0px;
			background-color: #004086;/* ヘッダ背景色 */
			width: 100%;
			height: 65px;
			z-index: -1;
		}

		/* バーガーメニュー三本線 */
		.navbar-light .navbar-toggler{
			border-color: rgba(0, 0, 0, 0);
			outline: none;
		}
		.navbar-light .navbar-toggler-icon{
			background-image: none;
		}
		.navbar-toggler-icon{
			position: relative;
			top: 5px;
			width: 40px;
			height: 40px;
			background: none;
			appearance: none;
			cursor: pointer;
			&,
			span{
				display: inline-block;
				transition: all 0.4s;
				box-sizing: border-box;
			}
			span{
				position: absolute;
				left: 5px;
				width: 80%;
				height: 2px;
				background-color: white;
				border-radius: 1px;
				&:nth-of-type(1) {
					top: 8px;
				}
				&:nth-of-type(2) {
					top: 20px;
				}
				&:nth-of-type(3) {
					top: 32px;
				}
			}
		}
		.navbar-toggler[aria-expanded='true'] {
			span.navbar-toggler-icon {
				span {
					&:nth-of-type(1) {
						transform: translateY(12px) rotate(-315deg);
					}
					&:nth-of-type(2) {
						opacity: 0;
					}
					&:nth-of-type(3) {
						transform: translateY(-12px) rotate(315deg);
					}
				}
			}
		}
	
		.navbar-toggler{/* バーガーメニューの黒い枠を完全に消す */
			border: none !important;
			outline: none !important;
			box-shadow: none !important;
		}
		.navbar-toggler:focus,
		.navbar-toggler:active,
		.navbar-toggler:focus-visible{/* フォーカス時（クリック・タップ時）の枠も消す */
			border: none !important;
			outline: none !important;
			box-shadow: none !important;
		}
		.header-nav-brand, 
		.navbar-toggler{
			position: relative;
			z-index: 1010; /* 最前面 */
		}
	}


/* バーガーメニューCSS 内容 */
	@media screen and (max-width: 991.98px) {
		.navbar-collapse{/* 内容量が多い際にスクロールさせる */
			overflow-y: auto !important;
			display: block !important;
			position: fixed;
			top: 65px;
			left: 0px;
			overflow: auto !important;
			background-color: rgba(0, 64, 133, 0.9);/* メニュー背景色 */
			padding: 20px;
			width: 90%;
			height: 100vh;
			z-index: 1001;
			transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
			transform: translateY(-100%);
			opacity: 0;
			visibility: hidden;
		}
		.navbar-collapse.show{
			transform: translateY(0);
			opacity: 1;
			visibility: visible;
		}

		.cus-header-normal .header-nav-col{
			padding: 0 !important;
			margin: 0 0 20px 0 !important;
			width: 100% !important;
			opacity: 0;
			transition: opacity 0.3s ease 0.2s;
		}
		.navbar-collapse.show .header-nav-col{
			opacity: 1;
		}
		.cus-header-normal .header-nav-col li{
			text-align: left;
			border-bottom: 1px solid rgba(255, 255, 255, 0.4);
			list-style: none;
		}
		.cus-header-normal .header-nav-col li a{
			overflow: hidden;
			position: relative;
			display: block;
			padding: 18px 20px !important;
			font-size: 16px;
			color: white !important;
			text-decoration: none;
		}
		.cus-header-normal .header-nav-col li a::after{
			content: '';
			position: absolute;
			top: 50%;
			right: 16px;
			transform: translateY(-50%);
			width: 24px;
			height: 24px;
			background-color: rgba(0, 64, 133, 0.9);
			border-radius: 4px;
			z-index: 1;
		}
		.cus-header-normal .header-nav-col li a::before{
			content: '\f061';
			font-family: "Font Awesome 6 Free";
			font-weight: 900;
			font-size: 10px;
			color: white;
			position: absolute;
			top: 50%;
			right: 23px; 
			transform: translateY(-50%);
			z-index: 2;
			transition: all 0.3s ease;
		}
		.cus-header-normal .header-nav-col li a:hover::before{
			animation: arrowLoopSP 0.4s forwards;
		}
		.cus-header-normal .header-nav-col li .dropdown-toggle::after,
		.cus-header-normal .header-nav-col li .dropdown-toggle::before{
			display: none !important;
		}
		@keyframes arrowLoopSP {
			0% {
				transform: translateY(-50%) translateX(0);
				opacity: 1;
			}
			49% {
				transform: translateY(-50%) translateX(20px);
				opacity: 0;
			}
			50% {
				transform: translateY(-50%) translateX(-20px);
				opacity: 0;
			}
			100% {
				transform: translateY(-50%) translateX(0);
				opacity: 1;
			}
		}

		.cus-header-normal .header-nav-col li .active{
			background-color: #00275d;
			color: white;
		}

		.cus-header-normal .header-nav-col .dropdown-menu{/* スマホ時ドロップダウンメニュー */
			background: rgba(255, 255, 255, 0.1) !important;
			padding: 0;
			margin: 0;
		}
		.cus-header-normal .header-nav-col .dropdown-item{
			padding-left: 40px !important;
			font-size: 14px;
		}
		.cus-header-normal .header-nav-col .dropdown-item:hover{
			background-color: inherit !important;
		}
		.cus-header-normal .dropdown-menu li{
			border-bottom: 1px solid rgba(255, 255, 255, 0.4);
		}
		.cus-header-normal .dropdown-menu li:last-child{
			border-bottom: none !important;
		}
	}
	
	/* ヘッダー印刷専用スタイル */
	@media print {
		/* 不要な要素（スマホトグル、オーバーレイ、ページトップなど）を非表示 */
		.navbar-toggler,
		#nav-overlay,
		#pagetop {
			display: none !important;
		}

		/* 【最重要】Bootstrapによる非表示設定を解除し、領域を強制的に確保 */
		.navbar-collapse {
			display: block !important;
			position: static !important;
			width: auto !important;
			height: auto !important;
			background-color: transparent !important;
			transform: none !important;
			opacity: 1 !important;
			visibility: visible !important;
			padding: 0 !important;
			overflow: visible !important;
		}

		/* 767px以下や991px以下のスマホ用背景色を解除し、PCレイアウトに強制復元 */
		.cus-header-normal {
			position: relative !important; /* 固定を解除 */
			display: flex !important;
			flex-direction: row !important;
			align-items: center !important;
			justify-content: space-between !important;
			background-color: white !important;
			padding: 16px 2% !important;
			width: 100% !important;
			box-shadow: none !important;
		}

		/* スマホ用帯（紺色の背景）の擬似要素を消去 */
		.header-toggler-bg::before {
			display: none !important;
		}

		/* PC用のロゴを表示させ、表示幅を確保 */
		.cus-header-normal .header-logo {
			display: block !important;
			flex: 0 0 100px !important; /* 印刷に適した固定幅 */
		}
		.cus-header-normal .header-logo img {
			width: 100% !important;
			max-width: 100px !important;
			height: auto !important;
		}

		/* スマホ用ロゴ（f-logo.png）は印刷時に非表示 */
		.cus-header-normal .header-nav .header-nav-brand {
			display: none !important;
		}

		/* ナビゲーション全体の右寄せ */
		.cus-header-normal .header-nav {
			display: flex !important;
			flex-grow: 1 !important;
			justify-content: flex-end !important;
			align-items: center !important;
			background: none !important;
			padding: 0 !important;
		}

		/* リスト要素を強制的にPC同様の横並び（flex）に戻す */
		.cus-header-normal .header-nav-col {
			display: flex !important;
			flex-direction: row !important;
			justify-content: flex-end !important;
			gap: 6px !important; /* リンク同士の間隔 */
			width: auto !important;
			margin: 0 !important;
			padding: 0 !important;
			opacity: 1 !important;
			transform: none !important;
			visibility: visible !important;
		}

		/* リスト項目のスマホ用下線を消去し、印刷用文字色（黒）に */
		.cus-header-normal .header-nav-col li {
			display: inline-block !important;
			border: none !important;
			padding: 0 !important;
			margin: 0 !important;
			list-style: none !important;
		}

		/* リンク文字を印刷用に最適化（黒・フォントサイズ調整・矢印擬似要素の消去） */
		.cus-header-normal .header-nav-col li a {
			display: block !important;
			padding: 5px 0 !important;
			font-size: 10px !important;
			color: #000000 !important; /* 印刷時は黒文字 */
			font-weight: bold !important;
			text-decoration: none !important;
			white-space: nowrap !important;
		}

		/* スマホメニュー用の右側矢印アイコン（ Font Awesome ）を消去 */
		.cus-header-normal .header-nav-col li a::before,
		.cus-header-normal .header-nav-col li a::after {
			display: none !important;
		}
		
		/* アクティブな項目にアンダーラインを付与（印刷時の視覚支援） */
		.cus-header-normal .header-nav-col li a.active {
			text-decoration: underline !important;
		}
	}


	/* フッターレイアウト */
	.cus-footer{
		background-color: #00265a;
		padding: 120px 0;
	}
	.cus-footer-con{
		position: relative;
		display: flex;
		padding-bottom: 50px;
		color: white;
	}
	.cus-footer-con .con-left{
		flex-shrink: 0;
		width: 55%;
	}
	.cus-footer-con .con-right{
		flex: 1;
		display: flex;
		justify-content: flex-end;
		gap: 50px;
	}

	.cus-footer-nav{
		overflow: hidden;
	}
	.cus-footer-nav li{
		padding-bottom: 16px;
	}
	.cus-footer-nav li:last-child{
		padding-bottom: 0px;
	}
	.cus-footer-nav li a{
		color: white;
		text-decoration: none;
	}
	.cus-footer-nav li a:hover{
		text-decoration: underline;
	}

	.cus-footer-copy{
		position: absolute;
		bottom: 0px;
		left: 0px;
		margin: 0;
		font-size: 12px;
		color: #778496;
		z-index: 3;
	}
	@media screen and (max-width: 1499.98px) {
		.cus-footer{
			padding: 100px 0;
		}
		.cus-footer-con{
			padding-bottom: 40px;
		}
		.cus-footer-con .con-left{
			width: 50%;
		}
		.cus-footer-con .con-right{
			gap: 35px;
		}

		.cus-footer-nav li{
			padding-bottom: 14px;
		}
	}
	@media (max-width: 991.98px) {
		.cus-footer{
			padding: 80px 0;
		}
		.cus-footer-con{
			padding-bottom: 40px;
		}
		.cus-footer-con .con-left{
			width: 46%;
		}
		.cus-footer-con .con-right{
			gap: 20px;
		}
		
		.cus-footer-logo{
			width: 300px;
		}

		.cus-footer-nav li{
			padding-bottom: 14px;
			font-size: 14px;
		}
	}
	@media print {
		.cus-footer{
			padding: 60px 0;
		}
		.cus-footer-con{
			padding-bottom: 40px;
		}
		.cus-footer-con .con-left{
			width: 46%;
		}
		.cus-footer-con .con-right{
			gap: 15px;
		}
		
		.cus-footer-logo{
			width: 240px;
		}

		.cus-footer-nav li{
			padding-bottom: 10px;
			font-size: 12px;
		}
	}
	@media screen and (max-width: 767px) {
		.cus-footer{
			padding: 60px 0;
		}
		.cus-footer-con{
			display: block;
			padding-bottom: 40px;
		}
		.cus-footer-con .con-left{
			margin-bottom: 20px;
			width: auto;
		}
		.cus-footer-con .con-right{
			display: block;
		}
	
		.cus-footer-nav{
			overflow: hidden;
			border-top: white solid 1px;
		}
		.cus-footer-nav:nth-child(2){
			overflow: hidden;
			border-top: white solid 0px;
		}
		.cus-footer-nav li{
			border-bottom: white solid 1px;
			padding: 0;
			margin: 0;
		}
		.cus-footer-nav li a{
			display: block;
			padding: 12px 0;
			text-align: center;
		}

		.cus-footer-copy{
			position: static;
			display: block;
			padding-top: 20px;
			text-align: center;
		}
	}