:root{
  --mainColor:#004480;
  --subColor:#238BE6;
  --pcheaderHight:70px;
  --spheaderHight:43px;
}
/*///// frame ///*/
#wrapper{
  overflow: hidden;
}
#contents{
  position: relative;
  width:100%;
}

/*/// header //*/
#header{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  z-index: 999;
}
#header .header{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
	width:100%;
}
#header .header h1{
  display: flex;
  justify-content: center;
  align-items: center;
  padding:10px 0 0 10px;
  filter:drop-shadow( 2px 2px 3px rgba(0,0,0,.5));
}
#globalmenu ul {
  display: flex;
}
#globalmenu ul li{
  filter:drop-shadow( 0 3px 3px rgba(0,0,0,.16));
}
#globalmenu ul li a{
  display: block;
  color:white;
  font-weight: 600;
  padding:.78em 2em;
  background-image:linear-gradient(to bottom,#4B71B1,#18263F);
  clip-path: polygon(13px 0% , 100% 0 , calc(100% - 13px) 100%, 0 100%);

}
#globalmenu ul li a span{
  position: relative;
  z-index: 5;
}
#globalmenu ul li a:after{
  content:"";
  width:100%;
  height: 100%;
  background:linear-gradient(to bottom,#B17B4B,#18263F);
  position: absolute;
  top:0;
  left:0;
  z-index: 4;
  opacity:0;
  transition:.3s all ease;
}
#globalmenu ul li a:hover:after{
  opacity:1;
}
.inner{
  max-width: 1300px;
  margin:auto;
  position: relative;
}
.mini{
  font-size: .8rem;
}
.flex{
  display: flex;
}
strong{
  font-weight: bold;
  color:var(--mainColor);
}
.red{
  color:rgb(199, 0, 0);
}
.content{
  padding:80px 0;
}
[class*="modal-"],
.close_btn{
  display: inline-block;
  cursor: pointer;
}
/*///////////////////////
   contents
/////////////////////////*/
/* keyvisual */
#keyvisual {
  width:100%;
  height:max(500px,100vh);
  position: relative;
  background:url(../img/keyvisual.jpg) no-repeat center 0% ;
  background-size:cover;
}
#keyvisual:after{
  content:"";
  display: block;
  width:100%;
  height: 100%;
  background-color:#29142c;
  opacity:.2;
  mix-blend-mode: multiply;
  position: absolute;
  top:0;
  left:0;
  z-index: 0;
}
#keyvisual .inner{
  height: 100%;
  position: relative;
  z-index: 3;
}
#keyvisual .cont{
  position: absolute;
  right: 0%;
  top:50%;
  width:100%;
  height:auto;
  z-index: 10;
  transform:translate(0%,-50%);
  padding:30px;
}
#keyvisual .cont .main_logo{
  width:fit-content;
  margin:0 20px 40px auto;
}
#keyvisual h2{
  text-align: right;
  color:white;
  font-size:clamp(23px,4.1vw,45px);
  font-weight: 600;
  margin-bottom: 30px;
}
#keyvisual p{
  color:white;
  text-align: right;
  font-size:1.125em;
}
/*------- title -----*/
.title{
  margin:0 0 80px  0;
  text-align: center;
}
.title h3{
  font-size:clamp(23px,3.3vw,33px);
  text-align: center;
  color:var(--mainColor);
  font-weight: 600;
  letter-spacing:0.1em ;
}
.title h3 .en{
  font-size:clamp(15px,2vw,20px);
  text-align: center;
  color:var(--subColor);
  font-weight: 600;
  letter-spacing:0.2em ;
  display: block;
  position: relative;
  padding:10px 0;
  margin:10px 0;
}
.title h3 .en::after{
  content:"";
  display: block;
  width:325px;
  height: 3px;
  background-image:radial-gradient(circle at center, #7EADFF 10% ,#7FAEFF 30%, transparent 100%);
  position: absolute;
  top:0;
  left:50%;
  transform:translate(-50%,0%);
}
.title.white h3,
.title.white h3 .en{
  color:white;
}
/*-------#top_service -----*/
.service {
  margin:100px 0;
}
.service ul {
  display: flex;
  justify-content:space-between;
  margin:0px auto;
}
.service ul li{
  width:32.8%;
  padding:40px 0px;
  position: relative;
}
.service ul li:before{
  content:"";
  width: calc(100% - 40px);
  height: 6px;
  background-image: linear-gradient(to right, transparent 0%, #7EADFF 100%);
  position: absolute;
  top:0;
  left:50%;
  transform:translate(-50%, 0);
}
.service ul li:after{
  content:"";
  width: calc(100% - 40px);
  height: 4px;
  background-image: linear-gradient(to left, transparent 0%, #7EADFF 100%);
  position: absolute;
  bottom:0;
  left:50%;
  transform:translate(-50%, 0);
}
.service ul li h4.ti{
  font-size:clamp(20px,2.4vw,24px);
  font-weight: 700;
  text-align: center;
  margin-bottom:30px;
  color:var(--mainColor);
}
.service ul li .thumb{
  position: relative;
  text-align: center;
  margin-bottom:30px;
  padding:0 20px;
}
.service ul li .thumb img{
  position: relative;
  z-index: 1;
}
.service ul li .thumb:after{
  content:"";
  display: block;
  width:100%;
  height: 80%;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  background-image:linear-gradient(100deg,#4B71B1 10%,#18263F 50%);
  z-index: 0;
}
.service ul li .text{
  padding:0 40px;
}
/*-------#top_company -----*/
.outline{
  width: min(600px,48%);
}
.outline table{
  border-collapse:separate;
  border-spacing: 10px;
}
.outline table tr th,
.outline table tr td{
  padding:.3em 1.3em;
}
.outline table tr th{
  border-right:3px solid #AAD8E8;
}
.maparea{
  position: absolute;
  left:calc(48% - 10px);
  top:0;
  width:min(1000px,calc(50vw + 2%));
  height: 100%;

}
.maparea:after{
  content:"";
  display: block;
  width:80%;
  height: 95%;
  background:#A6CBD8;
  opacity:.34;
  position: absolute;
  right:0;
  top:-10%;
  z-index: 9;
}
.maparea .googlemap{
  position: relative;
  z-index: 10;
  background:gray;
  width:87%;
}
/*-------#top_inquiry -----*/

#top_inquiry{
  background:url(../img/inq_bg.jpg) no-repeat center center;
  background-size:cover;
  margin:150px 0;
  position: relative;
}
#top_inquiry .content{
  position: relative;
  z-index: 12;
}
#top_inquiry:after{
  content:"";
  display: block;
  width:100%;
  height: 100%;
  background:#0D1B53;
  mix-blend-mode: overlay;
  opacity:.6;
  position: absolute;
  left:0;
  top:0;
  z-index: 11;
}
#top_inquiry .read{
  text-align: center;
  color:white;
}
#top_inquiry .formarea{
  background:rgba(255,255,255,.9);
  border-radius:20px;
  margin:30px auto ;
  padding:20px;
  width:min(900px,95%);
}

#top_inquiry .thanks h3,
#top_inquiry .error-message h3{
 font-size:1.75rem;
 text-align: center;
 margin:4% auto;
}
#top_inquiry .read{
	text-align: center;
}
#top_inquiry .tel a{
	font-size:1.4rem;
	color: black;
	display: block;
	margin:10px auto;
	pointer-events: none;
}

#confirm dl dd{
  line-height: 1.4;
}
#confirm dl {
  display: flex;
  margin:10px 0;
  padding:0;
}
#confirm dl dt{
  width:11em;
  padding:.3em .5em;
  border-right:3px solid var(--subColor);
}
#confirm dl dd{
  padding:.3em 1em;
  width:calc(100% - 11em);
}
#confirm .formarea{
  margin:30px auto 0 ;
  max-width: 800px;
}
#confirm .submit_area{
  margin-bottom: 0;
}
#confirm .submit_btn{
  margin-bottom: 0;
}
#confirm .close_btn{
  margin:15px auto 0;
}
#thanks,
#mail_error{
  height: 50vh;
  position: relative;
}
#thanks .inner,
#mail_error .inner{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding-top: 20%;
  width: 80%;
  text-align: center;
}
#thanks h2,
#mail_error h2{
  margin-bottom: 30px;
}
#thanks .btn,
#mail_error .btn{
  margin:50px auto;
}
#thanks .btn a,
#mail_error .btn a{
  display: block;
  color:white;
  background-color:var(--mainColor);
  padding:.2em 1.5em;
  width:fit-content;
  margin:auto;
}
#thanks p,
#mail_error p{
  text-align: center;
}
/*////// footer ////////*/
#footer{
 text-align: center;
 margin-top:150px;
}
#footer p{
  text-align: center;
}
#footer .co-name{
  font-size:clamp(16px,2vw,20px);
  font-weight: 600;
  letter-spacing: .2em;
  margin:60px auto 30px;
}
#footer .co-address{
  margin-bottom: 80px;
  font-size:clamp(13px,1.4vw,14px);
  letter-spacing: .1em;
}
#footer .footer{
	height: 100%;
}
#footer .copyrignt{
  background:#F2F2F2;
  padding:30px 0
}
#footer .copyrignt p{
  font-size:clamp(10px,1.3vw,13px);
  text-align: center;
  letter-spacing: .1em;
}
.gototop {
  position: fixed;
  width:80px;
  height: 80px;
  bottom:0;
  right:30px;
  z-index: 100;
  cursor: pointer;
}
.gototop .upbar{
  display: block;
  background:#CECECE;
  width:8px;
  height:100%;
  position: relative;
  margin:auto;
}
.gototop .upbar:after{
  content:"";
  width:100%;
  height: 75%;
  background:var(--mainColor);
  position: absolute;
  top:0;
  left:0;
  transition:1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.gototop:hover .upbar:after{
  background:#B17B4B;
  height: 30%;
}
.gototop .txt{
  color: var(--mainColor);
  transform: rotate(90deg);
  position: absolute;
  top: 0;
  left: 0;
  text-align: left;
  width: 100%;
  height: 100%;
}

/*------ privacy ---------*/
#privacy h3{
  font-size:clamp(20px,2.3vw,23px);
  margin-bottom: 30px;
}
#privacy h4{
  font-size:clamp(15px,2vw,20px);
  margin: 30px 0 15px;
}
#privacy p{
  font-size:clamp(12px,1.4vw,14px);
}
.close_btn{
  display: block;
  width: fit-content;
  padding:.5em 1.25em;
  background:#eee;
  margin:60px auto;
}
