/* offcanvas */
html {
	position: relative;
	min-height: 100%;
}

a {
	text-decoration: none;
}

/* navbar fixed-top */
body {
	padding-top: 3.5rem;
}

@media (min-width: 768px) {
    body {
        padding-top: 4.5rem;
    }
}

@media (min-width: 880px) {
    body {
        padding-top: 4.8rem;
    }
}

.navbar-nav > li a {
	color: #fff;
}

/* nav menu fontsize */
/* @media (min-width: 768px) {
    .navbar-nav > li {
        font-size: 74%;
        }
    }

@media (min-width: 880px) {
/* @media (min-width: 992px) { */
/*     .navbar-nav > li {
        font-size: 100%;
        }
    }

/* nav menu border */
@media (min-width: 768px) {
	.navbar-nav {
		--bs-nav-link-padding-y: 0;
		}
	
	.navbar-nav > li.menu_bar {
		border-left: solid 2px #fff;
		margin-top: 0.5rem;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
		}
	
	.navbar-nav > li.menu_bar:last-child {
		border-right: solid 2px #fff;
	}
}

@media (max-width: 767.98px) {
	.navbar-nav > li.menu_bar {
		border-bottom: solid 1px #fff;
		margin-top: 0.5rem;
		}
}

/* search form */
@media (min-width: 768px) { /* country menuとの間を少し開ける */
	form {
		margin-right: 1.0rem;
		}
}

.search-form {
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 25px;
}

.search-form input {
    width: 190px;
    height: 30px;
    padding: 5px 15px;
    border: none;
    border-radius: 3px 0 0 3px;
    box-sizing: border-box;
    background-color: #4481c3;
    font-size: 1em;
    outline: none;
}

.search-form input::placeholder {
    color: white;
    opacity: 0.5;
}

.search-form button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 30px;
    border: none;
    border-radius: 0 3px 3px 0;
    background-color: #4481c3;
    cursor: pointer;
}

.search-form button::after {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

/* country menu */
table.ct_menu td { /* country menu 1つの幅と白線 */
	border: solid 2px #fff;
	width: 3.0rem;
	text-align: center;
}

table.ct_menu a {
    color: white;
    display: block;
}

table.ct_menu a:hover {
    opacity: 0.8;
}

table.ct_menu td.hq {
    width: 6.0rem;
}

/* @media (max-width: 767.98px) { /* country menu 全体の幅と間隔ースマホ表示時 */
	/* table.ct_menu {
		/* width: 9.0rem; /* ここで幅を入れないと全長が伸びるため */
		/* margin-top: -1.0rem; */
		/* margin-bottom: 0.8rem; */
		/* }
} */

/* header */
.card {
    border: none;
    color: #ccc;
}

.card-img {
    border-radius: 0;
}

@media (min-width: 992px) { /* 画像上テキスト位置調整 */
    h3.card-title {
        font-size: 2.0rem;
        margin: 1.5rem 0 0.5rem 1.5rem;
    }
     
    p.card-text {
        margin-left: 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) { /* 画像上テキスト位置調整 */
    h3.card-title {
        font-size: 1.1rem;
    }
    
    p.card-text {
        font-size: 0.8rem;
    }
}

/* tel contact map */
.tcm-bg {
    background-color: #dcddde;
    padding-top: 1.0rem;
    margin: 0 8px;
}

@media (max-width: 767.98px) {
    .tcm-bg {
        padding-bottom: 1.0rem;
    }
}

.tcm-icon-bg {
    display: inline;
    padding: 2px 6px 3px;
    color: white;
    background-color: #006db9;
    font-size: 1.4rem;
}

.tcm-icon-text {
    color: #006db9;
    font-weight: 900;
    font-size: 1.4rem;
}

.tcm-icon-btn {
    display: block;
    padding: 2px 15px 3px;
    color: white;
    background-color: #006db9;
    font-size: 1.2rem;
    text-align: center;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .tcm-icon-btn {
        margin-top: 3px;
        font-size: 1.0rem;
    }
}

a:hover .tcm-icon-btn {
    opacity: 0.5;
}

/* section title */
.sec-title {
    position: relative;
    padding: 2px 15px;
    color: white;
    background-color: #006db9;
    font-size: 1.0rem;
}

.sec-title .rss_link {
	position: absolute;
	right: 6px;
	top: 6px;
}

.sec-title-r {
    position: relative;
    padding: 2px 15px;
    color: white;
    background-color: #006db9;
    font-size: 1.0rem;
}

@media (max-width: 991.98px) {
    .sec-title-r {
        padding: 3.6px 15px;
        font-size: 0.9rem;
    }
}

a .sec-title-r {
    text-decoration-color: #006db9;
}

.sec-title-r .page_link {
	position: absolute;
	right: 4px;
    top: -4px;
    font-size: 1.5rem;
}

/* map button */
.map-btn-blue {
    display: block;
    padding: 15px 20px 16px 10px;
    color: white;
    background-color: #006db9;
    max-width: 100%;
    text-align: center;
    font-size: 0.9rem;
    border-radius: 5px;
    box-shadow: 4px 4px 4px #aaa;
}

@media (max-width: 575.98px) {
    .map-btn-blue {
        font-size: 0.85rem;
    }
}

a:hover .map-btn-blue {
    opacity: 0.5;
}

.map-btn-gray {
    display: block;
    padding: 10px 20px 11px 30px;
    color: black;
    background-color: #bec0c2;
    max-width: 100%;
    text-align: center;
    font-size: 0.9rem;
    border-radius: 5px;
    box-shadow: 4px 4px 4px #aaa;
}

@media (max-width: 575.98px) {
    .map-btn-gray {
        padding: 10px 10px 11px 0;
        font-size: 0.85rem;
    }
}

a:hover .map-btn-gray {
    opacity: 0.5;
}

/* news */
table.top_news {
	border-style: none;
}

table.top_news td:first-child {
    width: 25%;
    padding-right: 1.0rem;
}

table.top_news td a {
	vertical-align: top;
	text-decoration: none;
	color: #006db9;
    font-size: 0.9rem;
}

table.top_news td a:hover {
    color: #3399ff;
    text-decoration: underline;
}

table.top_news td .new {
	vertical-align: top;
	color: red;
    font-size: 0.9rem;
    font-weight: bold;
}

table.top_news .td1 {
    vertical-align: top;
	font-weight: bold;
	color: #006db9;
    font-size: 0.9rem;
}

/* news oritatami */
div.tuzukiwaku {
	border: none;
	display: none;
}

input.submit_button {
    margin-top: 0.5rem;
    padding: 4px 20px 5px;
    background-color: #bec0c2;
    color: black;
    text-align: center;
    font-size: 0.9rem;
    border-style: none;
    border-radius: 5px;
}

input.submit_button:hover {
    opacity: 0.5;
}

/* data download */
.d-d {
    font-size: 0.9rem;
}

.d-d a {
	text-decoration: none;
	color: #006db9;
}

.d-d a:hover {
    color: #3399ff;
    text-decoration: underline;
}

.dl_tittle {
	color: #006db9;
	font-weight: bold;
    border-bottom: 1px solid #006db9;
	padding-top: 3px;
}

table.d-d td {
    vertical-align: top;
}

/* footer-bottom nav */
.bottom-nav {
	background-color: #006db9;
	color: white;
}

.bottom-nav a {
	color: white;
    text-decoration: none;
}

.bottom-nav a:hover {
	opacity: 0.8;
}

/* トップに戻るボタン */
#btn-back-to-top {
	position: fixed;
	color: #dcddde;
	font-size: 36px;
	cursor: pointer;
	bottom: 80px;
	right: 20px;
	display: none;
}

/* navbar-icon 調整 */
.navbar .navbar-toggler { /* 枠を消す */
	--bs-navbar-toggler-border-color:rgba(var(--bs-emphasis-color-rgb), 0);
	--bs-navbar-toggler-focus-width: 0;
}

.navbar .navbar-toggler .navbar-toggler-icon { /* アイコンボタンのalpha値を1に */
	--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas .btn-close { /* closeのクリック後の枠を消す */
	--bs-btn-close-opacity: 1; /* closeボタンのalpha値を1に */
	--bs-btn-close-hover-opacity: 1; /* closeボタンhover時のalpha値を1に */
	--bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(0,0,0,0);
}

/* diagram manual */
.btn-close { /* closeのクリック後の枠を消す */
	--bs-btn-close-opacity: 1; /* closeボタンのalpha値を1に */
	--bs-btn-close-hover-opacity: 1; /* closeボタンhover時のalpha値を1に */
	--bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(0,0,0,0);
}