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

	@media screen and (max-width: 1619px) {}
	@media screen and (max-width: 991.98px) {}
	@media print {}
	@media screen and (max-width: 767px) {}
 
	xl-1620(max-1619) 左右余白15pxを含む
	lg-992(max-991)
	md-768(max-767)
	sm-576(max-575)
 
	-------------------

	初期設定
	-ドロップダウンメニュー内設定

	ヘッダーレイアウト
	-追加ボタン（svgアイコン付き）

	スマホメニューCSS 外観
	スマホメニューCSS 内容

*/

/* 初期設定 */
	#nav-overlay{/* メニュー外クリックで閉じる為の追加オーバーレイ */
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.5);
		width: 100%;
		height: 100%;
		z-index: 990 !important;
		transition: opacity 0.3s ease;
	}
	#nav-overlay.is-visible {
		display: block;
		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 print {
		.cus-header-normal{display: none !important;}
	}
	@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:hover > .dropdown-menu{/* ドロップダウンメニューの位置・背景色調整 */
			display: block !important;
			background-color: rgba(255, 255, 255, 0.6) !important;
			border: none;
			backdrop-filter: blur(8px);
			-webkit-backdrop-filter: blur(8px);
			box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
			padding: 20px !important;
			margin-top: 20px !important;
			min-width: 200px;
		}
		.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;
		}
	}


/* ヘッダーレイアウト */
	.cus-header-normal{/* 追従型 */
		position: fixed;
		top: 0px;
		left : 0px;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		background-color: rgba(255, 255, 255, 0.8);
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		border-radius: 8px;
		padding: 5px 10px;
		margin:  20px 2%;
		width: 96%;
		z-index: 999;
	}
	.cus-header-normal .header-logo{
		flex: 0 0 210px;/* ロゴの表示サイズに合わせる */
    white-space: nowrap;
	}
	.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{/* リンク間隔 */
		padding-right: 20px !important;
	}

	.cus-header-normal .header-nav .header-nav-brand{/* スマホ用ロゴは今は非表示 */
		display: none;
	}

	.cus-header-normal .header-nav-col li > .nav-link:hover,
	.cus-header-normal .header-nav-col li > .nav-link.active{
		position: relative;
		color: #00aa96;
		transition: all 0.5s 0s ease;
	}
	.cus-header-normal .header-nav-col li > .nav-link:hover::before,
	.cus-header-normal .header-nav-col li > .nav-link.active::before{
		content: '';
		position: absolute;
		bottom: 0px;
		left: 50%;
		background-color: #00aa96;
		border-radius: 50%;
		margin-left: -1.5px;
		width: 3px;
		height: 3px;
		transition: all 0.5s 0s ease;
	}

	@media screen and (max-width: 1619px) {/* 画面サイズでロゴサイズ調整する場合 */
		.cus-header-normal .header-logo{flex: 0 0 180px;}
		.cus-header-normal .header-nav-col li{/* リンク間隔 */
			padding-right: 15px !important;
		}
	}
	@media screen and (max-width: 1249px) {/* 画面サイズでロゴサイズ調整する場合 */
		.cus-header-normal .header-logo{flex: 0 0 150px;}
		.cus-header-normal .header-nav-col li{/* リンク間隔 */
			padding-right: 10px !important;
		}
		.cus-header-normal .header-nav-col li a{
			font-size: 15px;
		}
	}
	@media (max-width: 1099px) {
		.cus-header-normal .header-logo{flex: 0 0 120px;}
		.cus-header-normal .header-nav-col li{/* リンク間隔 */
			padding-right: 10px !important;
		}
		.cus-header-normal .header-nav-col li a{
			font-size: 14px;
		}
	}
	@media (max-width: 991.98px) {
		.cus-header-normal .header-nav-col li > .nav-link:hover::before,
		.cus-header-normal .header-nav-col li > .nav-link.active::before{
			display: none;
		}
	}

/* 追加ボタン（svgアイコン付き） */
	.cus-header-ic-bt{margin: 0;}
	.cus-header-ic-bt.bt-margin-right{margin-right: 10px;}
	.cus-header-ic-bt a{
		overflow: hidden;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 6px;
		padding: 6px 12px;
		color: white;
		text-decoration: none;
		z-index: 1;
	}
	.cus-header-ic-bt a::before{
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		width: 0;
		transition: width 0.3s ease;
		z-index: -1;
	}
	.cus-header-ic-bt a:hover::before {width: 100%;}
	
	.cus-header-ic-bt.bt-blue a{background-color: #30b7a8;}
	.cus-header-ic-bt.bt-red a{background-color: #d04525;}
	.cus-header-ic-bt.bt-blue a::before{background-color: #189284;}
	.cus-header-ic-bt.bt-red a::before{background-color: #9e2d13;}
	
	.cus-header-ic-bt a .ic{
		position: relative;
		align-items: center;
		padding-left: 6px;
		line-height: 1;
	}
	.cus-header-ic-bt a .ic img {
		width: 1.2em;
		height: auto;
		vertical-align: middle;
	}
	@media screen and (max-width: 1249px) {
		.cus-header-ic-bt.bt-margin-right{margin-right: 5px;}
		.cus-header-ic-bt a{
			padding: 6px 10px;
			font-size: 14px;
		}
	}
	@media screen and (max-width: 1099px) {
		.cus-header-ic-bt.bt-margin-right{margin-right: 5px;}
		.cus-header-ic-bt a{
			padding: 6px 8px;
			font-size: 12px;
		}
	}
	@media (max-width: 991.98px) {
		.cus-header-ic-bt{margin: 0 0 10px 0;}
		.cus-header-ic-bt.bt-margin-right{margin-right: 0px;}
		.cus-header-ic-bt a{
			padding: 14px 10px;
			text-align: center;
		}
	}


/* スマホメニューCSS 外観 */
	@media screen and (max-width: 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;
			padding: 5px;
		}
		.cus-header-normal .header-nav .header-nav-brand img{/* ロゴ調整する場合 */
			position: relative;
			top: 2px;
			width: 200px !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: #3d8078;
			width: 100%;
			height: 65px;
			z-index: -1;
		}

		.navbar-toggler-icon{/* バーガーメニュー3本線 */
			background-image: none;
		}
		.navbar-toggler-icon{
			position: relative;
			width: 40px;
			height: 40px;
			background: none;
			appearance: none;
			cursor: pointer;
			&,span{
				display: inline-block;
				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-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: 4px;
			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;
			position: fixed;
			top: 65px;
			left: 0px;
			overflow: auto !important;
			padding: 20px;
			width: 90%;
			height: 100vh;
			z-index: 1010 !important;
		}
		.navbar-collapse::before{
			content: '';
			position: absolute;
			top: 0px;
			left: 0px;
			width: 100%;/* 幅 */
			height: 100vh;
			background-color: #3d8078;/* 背景色 */
			opacity: 0.9;
			z-index: -1;
			animation-iteration-count: 1;
			animation-fill-mode: forwards;
			animation: loading 0.3s;
			z-index: -1;
		}
		@keyframes loading {
			0% { opacity: 0; }
			100% { opacity: 0.9; }
		}

		.cus-header-normal .header-nav-col{
			padding: 0 !important;
			margin: 0 0 20px 0 !important;
			width: 100% !important;
		}
		.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{
			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: '\f061';
			font-family: "Font Awesome 6 Free";
			font-weight: 900;
			font-size: 10px;
			color: white;
			position: absolute;
			top: 50%;
			right: 20px;
			transform: translateY(-50%);
			width: 24px;
			height: 24px;
			background-color: #30b7a8;
			display: flex;
			justify-content: center;
			align-items: center;
			border-radius: 4px;
		}

		.cus-header-normal .header-nav-col li{
			padding: 0 !important;
		}
		.cus-header-normal .header-nav-col li a.active{
			background-color: rgba(0, 0, 0, 0.2); /* 背景を少し暗く */
			font-weight: 700; /* 太字にして視認性を向上 */
		}
		.cus-header-normal .header-nav-col li a.active::after{
			background-color: #189284; /* 通常の#30b7a8より濃い緑に */
		}

		.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;
		}

		.header-toggler-bg {
			/* toggler周りのz-indexを整理 */
			z-index: 1020 !important; 
		}
	}

