@charset "utf-8";
/* CSS Document */

html{
    background: #002121 !important;
}
body {
    color: #121212;
    font-family: "Noto Sans Japanese",san-serif;
    background: #ffffff !important;
}
body #navbarSupportedContent>ul.navbar-nav:first-child{
    display: none;
}

@media (min-width: 756px){
	body .navbar{
	    background: #ffffff;
	}
	body .navbar .container-fluid{
	    min-height: 128px;
	    position: relative;
	}
	body .navbar h1.mainlogo{
	    width: 132px;
	    padding: 16px;
	    background: #ffffff;
	    position: absolute;
	    top: 0;
	    left: 40px;
	    border-radius: 0 0 3px 3px;
	    z-index: 20;
	}
	body .navbar .header-image{
	    width: 300px;
	    position: absolute;
	    top: calc(50% + 4px);
	    left: calc(40px + 132px + 16px);
	    transform: translate(0%, -50%);
	}
	body #navbarSupportedContent{
	    width: calc(100% - 200px - 28px - 300px - 28px);
	    position: absolute;
	    top: 50%;
	    right: 40px;
	    transform: translate(0%, -50%);
	    z-index: 500;
	}
	body #navbarSupportedContent ul.navbar-nav{
	    display: flex;
	    flex-wrap: wrap;
	    gap: 0 0.5em;
	    justify-content: end;
	    width: 100%;
	}
	body #navbarSupportedContent ul.navbar-nav>li{
	    font-size: 95%;
	    position: relative;
	}
	body #navbarSupportedContent ul.navbar-nav>li>a{
	    display: block;
	    color: #000000;
	    font-weight: 500;
	    line-height: 1.4;
	    letter-spacing: 0.02em;
	    text-decoration: none;
	}
	body #navbarSupportedContent ul.navbar-nav>li>a:after{
	    display: none;
	}
	body #navbarSupportedContent ul.navbar-nav>li.nav-item.dropdown{
	}
	body .navbar-expand-md .navbar-nav .dropdown-menu{
	    width: fit-content;
	    min-width: 220px;
	    padding: 0;
	    background: transparent;
	    border: none;
	    position: absolute;
	    top: 100%;
	    z-index: 500;
	    padding-top: calc(3px + 0.4em);
	}
	body .navbar-nav .dropdown-menu {
	}
	body .navbar-nav .dropdown-menu>a{
            color: #ffffff;
	    font-size: 85%;
	    font-weight: 400;
	    line-height: 1.5;
	    text-align: left;
	    padding: 0.75em 1em;
	    background: rgba(51,51,51,0.9);
	}
	body .navbar-nav .dropdown-menu>a:hover {
	    background: rgba(51,51,51,1);
	}

	main{
	    border-top: solid 40px #7fae00;
	}
	#footer{
	    color: #ffffff;
	    font-size: 85%;
	    line-height: 1.6;
	    text-align: center;
	    background: #002121 !important;
	}
}
@media (max-width: 755px){
	body .navbar{
	    background: #ffffff;
	}
	body .navbar .container-fluid{
	    justify-content: left;
	    gap: 16px;
	}
	body .navbar h1.mainlogo{
   	    width: 64px;
	}
	body .navbar .header-image{
	    max-width: calc(100% - 40px - 16px - 64px);
	    width: 60%;
	    position: relative;
	}
	body .navbar button.navbar-toggler{
	    margin-left: auto;
	}
	body #navbarSupportedContent ul.navbar-nav{
	}
	body #navbarSupportedContent ul.navbar-nav>li{
	    border-top: solid 1px #cccccc;
	}
	body #navbarSupportedContent ul.navbar-nav>li>a{
	    display: block;
	    color: inherit;
	    font-size: 90%;
	    font-weight: bold;
	    text-decoration: none;
	    padding: 0.75em 0;
	    position: relative;
	}
	body .navbar-nav .dropdown-menu {
	    border: none;
	    background: #f6f6f6;
	    border-radius: 0;
	    margin: 0;
	    padding: 0;
	}
	body .navbar-nav .dropdown-menu>a{
	    font-size: 100%;
	    font-weight: 600;
	    line-height: 1.4;
	    text-indent: -0.8em;
            white-space: inherit;
	    padding: 0.75em;
	    padding-left: 2.5em;
	    position: relative;
	    border-top: solid 1px #cccccc;
	}
	body .navbar-nav .dropdown-menu>a:before {
	    content: "-";
	    margin-right: 0.5em;
	}
	main{
	    border-top: solid 28px #7fae00;
	}
	#footer{
	    color: #ffffff;
	    font-size: 85%;
	    line-height: 1.6;
	    text-align: center;
	    background: #002121 !important;
	}
}
