@charset "UTF-8";

/* CSS Document */

/* -------------------------------- 

Primary style

-------------------------------- */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@-ms-viewport {
	width: auto!important;
	initial-scale: 1;
}


body.overflow-hidden {
  overflow: hidden;
}

a {
  color: white;
  text-decoration: none;
}

/* -------------------------------- 

Main components 

-------------------------------- */
html{
	overflow: hidden;
}

html, body {
  height: 100%;
}

header {
  position: fixed;
  width: 98%;
	max-width: 1280px;
  background: transparent;
  z-index: 100;
  transition:  0.2s;
	height: 70px;
	top: 10px;
	left: 0;
	right: 0;
	text-align: center;
	margin: auto;
	z-index: 500!important;
  background: rgba(255,255,255,0.7);
}

.toppage header{
	background: rgba(255,255,255,0.7)
}

header.change-color {
  background: rgba(255,255,255,0.9);
  transition: 0.3s;
}

.head .logo{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
	left: 30px;
	max-width: 260px;
	width:22%;
	z-index: 5;
}
.head .logo img{
	width: 100%;
	height: auto;
}
@media (max-width: 960px) {
.head .logo {
	left: 15px;
	max-width: 220px;
	width: 70%;
  }
}

/*==================================================

container
=================================================*/

section{
	position: relative;
}
article{
	position: relative;
}

img {
width:100%;
max-width: 100%;
height: auto;
}

.tC{
	text-align: center;
}
.tS{
	font-size: 86%;
}
.txtL{
	font-size: 120%;
}

.selector {
  font-feature-settings: "palt";
}
#wrapper {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
	margin: 0 auto;
}


/*==================================================

header
=================================================*/

/* -------------------------------- 

Main components 

-------------------------------- */
/*html, body {
  height: 100%;
}*/

@media (min-width: 961px) {
	header{
		height: 80px;
	}
header.change-color {
  background: rgba(244,244,244,0.95);
  transition: 0.3s;
}
	
nav{
	font-size: 1.5rem;
	letter-spacing: 0.05em;
	z-index: 100;
	position: relative;
	margin: 0 0px 0px 25%;
}
nav > .navinner > ul{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 80px;
}
nav > .navinner > ul > li{
	text-align: center;
	position: relative;
	height: 80px;
    width: 18%;
    margin: 0;
}
	
nav > .navinner > ul > li > a{
	text-decoration: none;
	color: #000000;
	z-index: 1;
	font-weight: 500;
	padding: 0 10px;
    width: 100%;
	line-height: 80px;
	height: 80px;
	display: block;
	font-weight: 800;
	font-style: italic;
	display: flex;
	align-items: center;
	justify-content: center;
	
} 
	
	nav > .navinner > ul > li .yosiike-t{
		max-width: 65px;
		width: 50%;
		height: 80px;
		display: inline-block;
	}
	
	nav > .navinner > ul > li .yosiike-t img{
    vertical-align:text-bottom;
}

nav > .navinner > ul > li.nav-entry{
	background:#e50314;
	margin-left: 4%;
	}
nav > .navinner > ul > li.nav-entry > a{
	color: #fff;
	font-style: normal;
}
nav > .navinner > ul > li > a:hover{
	color: #d92f26;
} 
nav > .navinner > ul > li.nav-entry > a:hover{
	color: #fff;
	}

nav ul li ul{
	width: 100%;
	position: fixed;
	visibility: hidden;
	opacity: 0;
	transition: .5s;
	left: 0%;
	right: 0%;
	text-align: center;
	margin: auto;
	background: #f0f1f9;
	background: rgba(255,255,255,0.8);
	padding: 0;
	z-index: 15;
}
/* サブメニュー表示設定 */

nav li:hover ul {
  	visibility: visible;
	top: 80px;
	
	opacity: 1;
}
nav li ul li a {
	visibility: hidden;
	opacity: 0;
	transition: .5s;
}
nav li:hover ul li a {
	visibility: visible;
	opacity: 1;
}

/* サブメニュー詳細設定 */

nav > ul > li > ul li {
	width: 30%;
	position: relative;
}
nav > .navinner > ul > li > ul > li > a {
	width: 100%;
	display: block;
	font-size: 1.4rem;
	line-height: 180%;
	color: #333 !important;
	text-align: center;
	text-decoration: none;
	background-size: auto;
	padding: 5px 10px;
	vertical-align: middle;
	text-decoration: none;
}
nav > .navinner > ul > li > ul > li > a:hover {
	opacity: 0.7;
}

	nav ul li .back{
		display: none;
	}	

	nav ul li ul li:last-child{
		display: none;
	}	


.megamenu{
		margin: 0 auto;
		text-align: center;
		padding: 20px 0;
		display: flex;
		justify-content: center;
		align-items: flex-start;
		flex-wrap: wrap;
	}
.megamenu li{
		width: 20%;
	background: none;
		max-width: 220px;
	}
	
	.megamenu li a{
		background: none;
	}
	.NavPhoto{
		width: 100%;
		padding: 10px 5px;
		text-align: center;
	}

}



@media (max-width: 1180px) {

nav > .navinner > ul > li > a{
	padding: 0 12px;
	font-size: 1.5rem;
} 
}

@media (max-width: 960px) {

header {
	height: 60px;
	}
nav{
	display: none;
}



/** メニュー開閉ボタン */
    .navopen {
        position: fixed;
        top: 10px; right: 9px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        margin: auto;
        background: rgba(229,3,20,0.9);
        transition: background-color 0.2s;
        z-index: 100;
    }
    .navopen:hover {
        background: rgba(229,3,20,0.7);
    }
    .navopen .icon {
        display: block;
        position: relative;
        width: 30%;
        height: 2px;
        border-radius: 2px;
        background: white;
    }
    .navopen .icon::before,
    .navopen .icon::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: white;
        transition: top 0.2s, transform 0.2s;
    }
    .navopen .icon::before { top: -6px; }
    .navopen .icon::after { top: 6px; }

    .navopen.active .icon { height: 0; }
    .navopen.active .icon::before { top: 0; transform: rotate(45deg); }
    .navopen.active .icon::after { top: 0; transform: rotate(-45deg); }

	
	.NavPhoto{
		display: none;
	}
	
/** ナビ */
    nav {
        display: block;
        width: 350px;
        position: fixed;
        top: 60px;
        right: 0;
        bottom: 0;
        perspective: 1000px;
        opacity: 0;
        transition: opacity 0.3s;
        z-index: 1000;
        pointer-events: none;
    }
    nav.active {
        opacity: 1;
        pointer-events: all;
    }
	
    nav .navinner {
        width: 100%;
        height: 100%;
        padding: 30px 30px;
        color: white;
        background: rgba(19, 50, 145,0.9);
        font-size: 16px;
        transform: rotateY(90deg);
        transform-origin: right center;
        transition: transform 0.3s;
    }
    nav.active .navinner {
        transform: none;
    }
    nav li ul {
        display: none;
    }
	nav > .navinner > ul > li > a{
	padding: 15px 30px;
	text-align: left;
	
}	
	nav > .navinner > ul > li .yosiike-t{
		max-width: 66px;
		margin-right: 2px;
		width: 50%;
		display: inline-block;
	}
	
nav > .navinner > ul > li.nav-entry{
	background:#e50314;
	margin-top: 10px;
	}
	
    nav li a {
        display: block;
        position: relative;
        padding: 15px 15px;
		font-weight: 700;
        line-height: 1.7;
		color: #fff;
		text-decoration: none;
    }
    nav li a:not(.expand)::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 10px; bottom: 0;
        width: 5px;
        height: 5px;
        margin: auto;
        border-top: 1px solid white;
        border-right: 1px solid white;
        transform: rotate(45deg);
    }
    nav li a.expand::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 0; bottom: 0;
        width: 9px;
        height: 1px;
        margin: auto;
        background: white;
    }
    nav li a.expand::after {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 4px; bottom: 0;
        width: 1px;
        height: 9px;
        margin: auto;
        background: white;
    }
    nav li a.expand + ul {
        display: block;
        position: absolute;
        top: 0; right: 350px; bottom: 0;
        padding: 20px 10px 20px 30px;
        width: 350px;
        background: rgba(57,154,227,0.7);
        transform: rotateY(90deg);
        transform-origin: right center;
        transition: all 0.3s;
        opacity: 0;
        visibility: hidden;
    }
    nav li a.expand.active + ul {
        opacity: 1;
        transform: none;
        visibility: visible;
        overflow: auto;
    }
    nav li a.expand + ul li {
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.2s 0.2s;
    }
    nav li a.expand.active + ul > * {
        opacity: 1;
        transform: none;
    }

	nav > .navinner > ul > li > ul > li > a{
	font-weight: 500;
		
	}
	

}
@media (max-width: 767px) {

        nav {
            width: calc(100% - 10px);
        top: 60px;
        }
        nav .navinner {
            padding: 10px;
        }
        nav li a.expand + ul {
            left: 35px;
            width: calc(100% - 35px);
        background: rgba(57,154,227,0.95);
            z-index: 150;
        }
		
	
	}


@media print, screen and (min-width:1px) and (max-width: 960px) {

	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}
	
}

@media print{
	header,.navopen{
		position: absolute;
	}
}


/*FOOTER*/


footer{
	position: relative;
	background: #003588;
	z-index: 10;
}

.footer-inner{
	max-width: 1280px;
	margin: 0 auto;
	font-size: 1.4rem;
	line-height: 1.8em;
	font-weight: 500;
	padding: 3% 10px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}
.footer-info{
	width: 40%;
	padding: 10px;
	margin: 0px auto;
	text-align: center;
}
.footer-inner .fnav{
	width: 60%;
}
.footer-info .flogo{
	max-width: 260px;
	text-align: center;
	margin: 0px auto;
}
.footer-info .finfo{
	text-align: center;
	margin: 0px auto;
	padding: 20px 0;
}

.footer-info .finfo a{
	color: #333;
}

.footer-inner .fnav ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #6080b5;
}
.fnav > ul > li{
	padding: 0px 5px;
}
.fnav > ul > li a{
	display: block;
}
.fnav > ul > li:first-child a img{
	width: 103px;
	height: auto;
	display: block;
}
.fnav > ul > li:nth-of-type(2) a img{
	width: 66px;
	height: auto;
	display: block;
}
.fnav > ul > li:nth-of-type(3) a img{
	width: 69px;
	height: auto;
	display: block;
}
.fnav > ul > li:nth-of-type(4) a img{
	width: 97px;
	height: auto;
	display: block;
}
.fnav > ul > li.fnav-entry{
	width: 30%;
	max-width: 120px;
	padding: 0px 5px 10px;
}

.fnav > ul > li > a{
	display: block;
	font-size: clamp(15px, 1.7vw, 17px);
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-style: italic;
}
.fnav .fflex{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
}

.fnav .sns{
	width: 10%;
	max-width:40px; 
	padding: 5px 10px;
}
.fnav .comlink{
	width: 30%;
	padding: 5px 20px;
	max-width: 200px;
}
.fnav .copyright{
	text-align: right;
	width: 60%;
	color: #5176af;
	font-size: clamp(12px, 1.3vw, 13px);
	font-weight: 400;
	padding: 10px;
}


@media print, screen and (min-width:1px) and (max-width: 960px) {

.footer-info{
	width: 100%;
	padding: 10px;
	margin: 0px auto;
	text-align: center;
}
.footer-inner .fnav{
	width: 100%;
}
	
}

@media print, screen and (min-width:1px) and (max-width: 560px) {

.fnav{
		padding: 0 20px;
}	
.fnav > ul > li{
	width: 50%;
	padding: 10px 5px;
}
.footer-inner .fnav ul{
	padding-bottom: 10px;
	}
.fnav .fflex{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
}
.fnav .sns{
	width: auto;
	max-width:40px; 
	padding: 10px 10px 0;
}
.fnav .comlink{
	width: auto;
	padding: 10px 20px 0;
	max-width: 200px;
}
.fnav .copyright{
	width: 100%;
	text-align: left;
	padding: 0 10px;
}

	
}

ul.hentrylink{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
ul.hentrylink li{
	width: 45%;
	padding: 20px;
}
ul.hentrylink li a{
	display: block;
	padding: 20px 5px;
	text-align: center;
	background: #123483;
	color: #fff;
	font-weight: 700;
	font-style: italic;
	text-decoration: none;
	font-size: 1.2em;
}
ul.hentrylink li a:hover{
	background: #d22d27;
}

@media print, screen and (min-width:1px) and (max-width: 560px) {
ul.hentrylink li{
	width: 80%;
	margin: 0px auto;
	padding: 20px;
}
}