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


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

Main components 

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

html, body {
  height: 100%;
}

header {
  position: fixed;
  width: 100%;
  background: transparent;
  z-index: 100;
  transition:  0.2s;
	height: 70px;
	top: 0;
	left: 0;
	z-index: 100!important;
  background: #fff;
}

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

.head .logo{
	position: absolute;
	top:50% ;
	transform: translateY(-50%);
	left: 20px;
	max-width: 250px;
	width: 20%;
	z-index: 5;
}
.head .logo img{
	width: 100%;
	height: auto;
}

header.change-color .head .logo {
	top:50% ;
  transition: 0.3s;
}

	
header .headright{
	position: absolute;
	right: 20px;
	top: 15px;
	}
header .headright > ul{
		display: flex;
		justify-content: flex-end;
	}
header .headright > ul > li.global a,
header .headright > ul > li.search a,
header .headright > ul > li.youtube a{
	display: block;
	width: 45px;
	padding: 0px 10px;
	}



@media (max-width: 960px) {	
header .headright{
	position: absolute;
	right: 70px;
	top: 8px;
	}
}
@media (max-width: 767px) {	
.head .logo{
	left: 10px;
	max-width: 250px;
	width: 40%;
}
}


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

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

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

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

.tC{
	text-align: center !important;
}
.tS{
	font-size: 86%;
}

.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(255,255,255,0.95);
  transition: 0.3s;
}

nav{
	font-weight: 500;
	font-size: 1.4rem;
	letter-spacing: 0.05em;
	z-index: 100;
	position: relative;
	margin: 5px 15% 0px 24%;
}
nav > .navinner > ul{
	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 80px;
}
nav > .navinner > ul > li{
	text-align: center;
	position: relative;
	padding: 0;
	z-index: 1;
}
nav > .navinner > ul > li.sub:hover::after {
	content: "";
	position: fixed;
	background: rgba(57,51,50,0.5);
	left: 0;
	top: 80px;
	pointer-events: none;
	width: 100%;
	height: 100%;
	z-index: -1;
	}
nav > .navinner > ul > li > a{
	text-decoration: none;
	line-height: 65px;
	display: block;
	padding: 0 10px;
} 
nav > .navinner > ul > li:hover > a{
	border-bottom: 5px solid #004790;
	color: #004790;
} 
nav ul li ul{
	width: 100%;
	position: fixed;
	visibility: hidden;
	opacity: 0;
	transition: .5s;
	left: 0%;
	right: 0%;
	text-align: center;
	margin: auto;
	background: #fff;
	border-top:1px solid #b5b5b6;
	padding: 0;
	z-index: 15;
	pointer-events: none;
}
/* サブメニュー表示設定 */

nav li:hover ul {
  	visibility: visible;
	pointer-events:auto;
	top: 80px;
	
	opacity: 1;
	z-index: 1;
}
nav li ul li a {
	visibility: hidden;
	opacity: 0;
	transition: .5s;
		line-height: 1.5em;
}
nav li:hover ul li a {
	visibility: visible;
	opacity: 1;
}

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

nav > ul > li > ul li {
	width: 100%;
	position: relative;
}
	
nav .navinner .megamenu a{
	display: block;
}
nav .navinner .megamenu a:hover{
	color: #004790;
	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;
	width: 100%;
}
.megamenu-inner{
	max-width: 1180px;
	padding: 0 30px;
	margin: auto;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}
.megamenu-inner .title h3{
	font-size: clamp(20px, 4.0vw, 40px);
	font-weight: 700;
	font-family: "Roboto", sans-serif;
	letter-spacing: 0.05em;
	color: #004790;
	text-align: left;
	position: relative;
}
	.megamenu-inner .title h3::after{
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 45px;
		height: 3px;
		background: #004790;
	}
	.megamenu-inner .title p{
		color: #004790;
		margin: 10px 0;
		padding: 0;
	}
.megamenu-inner .title .btn a{
	width:200px;
	background: #004790;
	color: #fff;
	border-radius: 40px;
	padding: 8px 20px 8px 10px;
	margin: 20px auto 10px 0;
	position: relative;
	font-size: 1.3rem;
		line-height: 1.5em;
}
	
	
.megamenu-inner .title .btn a::after{
	content: "";
	position: absolute;
	right: 10px;
	top:40% ;
  display: inline-block;
  width: 11px;
  height: 11px;
  margin: 0 10px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
	}
.megamenu-inner .title .btn a:hover{
		color: #fff;
	}
	
	.megamenu-inner .title{
		width: 28%;
	}
	
	.megamenu-inner .navlist{
		width: 54%;
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		flex-wrap: wrap;
		text-align: left;
		margin-top: 15px;
	}
	.megamenu-inner .navlist .navbox{
		width: 33.3333%;
	}
	.megamenu-inner .navlist .navbox .NavPhoto{
		margin-bottom: 5px;
	}
	
	.megamenu-inner .navlist.servicenav,
	.megamenu-inner .navlist.strengthsnav{
		width: 72%;
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		flex-wrap: wrap;
		text-align: left;
	}
	.megamenu-inner .navlist.servicenav .navbox,
	.megamenu-inner .navlist.strengthsnav .navbox{
		width: 25%;
	}
	
	.megamenu-inner .navlist .navtxt{
		width: 50%;
		padding: 10px 8px 0 0;
	}
	.megamenu-inner .navlist .navtxt a{
		padding: 5px 10px 5px 0;
		border-bottom: 1px solid #c1c2c2;
  position: relative;
  display: block;
		font-size: 1.3rem;
		line-height: 1.5em;
	}
	.megamenu-inner .navlist .navtxt a:before {
  content: '';
  width: 16px;
  height: 16px;
border:1px solid #00478b;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 2px;
  bottom: 0;
  margin: auto;
}
.megamenu-inner .navlist .navtxt a:after {
  content: '';
  width: 5px;
  height: 5px;
  border: 0;
  border-top: solid 1px #00478b;
  border-right: solid 1px #00478b;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 8px;
  bottom: 0;
  margin: auto;
}

.megamenu-inner .navlist .navbox a{
		padding: 10px;
		text-align: left;
		font-size: 1.3rem;
		line-height: 1.5em;
	}

}

@media (min-width: 961px) and (max-width: 1270px) {
nav > .navinner > ul{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
nav > .navinner > ul > li > a{
	padding: 0 5px;
	
} 
.megamenu-inner .navlist .navtxt a{
		font-size: 1.2rem;
	}
	
	.megamenu-inner .title{
		width: 24%;
	}
	
	.megamenu-inner .navlist{
		width: 58%;
	}
	
	.megamenu-inner .navlist.servicenav,
	.megamenu-inner .navlist.strengthsnav{
		width: 76%;
	}
}
@media (min-width: 961px) and (max-width: 1100px) {

nav{
	font-weight: 500;
	font-size: 1.3rem;
	letter-spacing: 0em;
	z-index: 100;
	position: relative;
}
.megamenu-inner .navlist .navtxt a:before {
  content: '';
  width: 11px;
  height: 11px;
  right: 1px;
}
.megamenu-inner .navlist .navtxt a:after {
  content: '';
  width: 4px;
  height: 4px;
  border: 0;
  border-top: solid 1px #00478b;
  border-right: solid 1px #00478b;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 5px;
  bottom: 0;
  margin: auto;
}
	
}

.sp-only{
	display: none;
}
@media (max-width: 960px) {

.sp-only{
	display: block;
}
header {
	height: 60px;
	}
nav{
	display: none;
}

/** メニュー開閉ボタン */
    .navopen {
        position: fixed;
        top: 0; right: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        margin: auto;
        transition: 0.2s;
        z-index: 100;
    }
    .navopen:hover {
    }
    .navopen .icon {
        display: block;
        position: relative;
        width: 30%;
        height: 2px;
        border-radius: 2px;
        background: #111;
    }
    .navopen .icon::before,
    .navopen .icon::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #111;
        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.active::before{
		content: "";
		z-index: -1;
		width: 300%;
		height: 100%;
	background: rgba(57,51,50,0.5);
		position: absolute;
		right: 0;
		top: 0px;
	}
	
    nav .navinner {
        width: 100%;
        height: 100%;
        padding: 30px 20px;
        color: white;
        background: rgba(0,68,130,1);
		
        transition: 0.3s;
		transform:translateX(350px);
		transform-origin: right center;
        transition: transform 0.3s;
		height: calc(100vh - 60px);
		overflow-y: scroll;
    }
    nav.active .navinner {
        transform: none;
    }
	nav > .navinner > ul > li {
		border-bottom: 1px solid #fff;
        transition: 0.3s;
	}
    nav li ul {
        display: none;
        transition: all 0.3s;
    }
    nav li a {
        display: block;
        position: relative;
        padding: 15px 25px 15px 15px;
        line-height: 1.7;
		color: #fff;
		text-decoration: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
        transition: all 0.3s;
    }
    nav li a:not(.expand)::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; right: 5px; bottom: 0;
        width: 8px;
        height: 8px;
        margin: auto;
        border-top: 1px solid white;
        border-right: 1px solid white;
        transform: rotate(45deg);
        transition: all 0.3s;
    }
    nav li a.expand::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; right: 5px; bottom: 0;
        width: 14px;
        height: 1px;
        margin: auto;
        background: white;
        transition: all 0.3s;
    }
    nav li a.expand::after {
        content: "";
        display: block;
        position: absolute;
        top: 1px; right: 12px; bottom: 0;
        width: 1px;
        height: 14px;
        margin: auto;
        background: white;
        transition: all 0.3s;
    }
    nav li a.expand + ul {
        display: block;
       visibility: hidden;
		 display: none;
		background: #e6e6e6;
        transition: all 0.3s;
		padding: 20px;
    }
    nav li a.expand.active + ul {
        visibility: visible;
        overflow: auto;
		display: block;
  animation-name: fadeIn;
  animation-fill-mode:forwards;
  animation-duration:1s;
    }
	
@keyframes fadeIn{
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
}
    nav li a.expand.active::after {
		opacity: 0;
        transform: rotate(90deg);
    }
    nav li a.expand + ul li {
        opacity: 0;
        transition: all 0.3s;
    }
    nav li a.expand.active + ul > * {
        opacity: 1;
        transform: none;
        transition: all 0.3s;
    }
	nav li ul li a{
		color: #333;
        display: block;
        position: relative;
        padding: 10px 20px 10px 10px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	}
	nav li ul li a:hover{
		color: #1a4584;
	}
    nav li ul li a::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; right: 1px; bottom: 0;
        width: 8px;
        height: 8px;
        margin: auto;
        border-top: 1px solid #1a4584 !important;
        border-right: 1px solid #1a4584 !important;
        transform: rotate(45deg);
    }
	.megamenu-inner .title{
		display: none;
	}
}
@media (max-width: 530px) {

        nav {
            width: 100%;
        top: 60px;
        }
	nav.active::before{
		content: none;
	}
    nav .navinner {
		transform:translateX(100%);
		transform-origin: right center;
        transition: transform 0.3s;
    }
        nav .navinner {
            padding: 10px;
        }
        nav li a.expand + ul {
        /*     left: 35px;
            width: calc(100% - 35px);
       background: rgba(0,68,130,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{
	background: #e6e6e8;
}

.footer-inner{
	max-width: 1380px;
	margin: 0 auto;
	font-size: 1.4rem;
	line-height: 1.8em;
	font-weight: 500;
	padding: 30px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.footer-inner .footer-menu ul{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}
.footer-inner .footer-menu ul li a{
	padding: 10px 20px 10px 0;
	display: block;
}

@media screen and (max-width: 768px) {

.footer-inner .footer-menu ul li a{
	padding: 5px 15px 10px 0;	
}

}


@media screen and (max-width: 530px) {

.footer-inner .footer-menu ul{
	display: block;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.footer-inner .footer-menu ul li a{
	padding: 5px 20px;	
}
	.footer-inner .copyright{
		font-size: 1.2rem;
	padding: 5px 0 5px 20px;	
	}
	
}



/*仮*/

li.search{
	display: block;
	height: 70px;
}
.subMenu__in{
	visibility:hidden;
	position: fixed;
	height: 120px;
	top: 0;
	left: 0;
	right: 0;
    width: 100%;
	background: rgba(27,70,139,0.9);
	top: 70px;
    padding: 35px 5%;
	text-align: center;
}
li.search:hover .subMenu__in {
  	visibility: visible;
	pointer-events:auto;
	opacity: 1;
	z-index: 1;
}

li.search .searchbox {
    width: 80%;
    max-width: 1000px;
    margin:0 auto;
	height: 30px;
	padding: 10px 10px;
}

#searchsubmit {
    width: 25px;
    height: 25px;
    margin-left:1rem
}



html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}