@charset "utf-8";
@media only screen and (max-width: 644px) {
#headerWrap {
	min-height:82px;
}	
  #header-left {
    display: table-cell;
    padding: 10px 0 ;
    width: 50%;
    text-align: left;
  }	
  #header-left img{
    width: 100%;
    max-width: 250px;
height:auto;
  }		
  #header-right {
 /*    display: table-cell;
    vertical-align: middle;
    text-align: right;
   padding-right: 44px;
    padding-left: 8px;*/
  }
.header-right-content {
  padding-top: 8px;
	margin: 0 0 0 auto ;
   padding-left: 15px;
    padding-right: 35px;
/*    padding-bottom: 10px;*/
  min-width: 160px;
  width: auto;
}	
  .head-line {
    display: none;
  }
  .head-wechat {
    display: none;
  }
  /* トップページ　メイン画像
----------------------------------*/
  #mainImg {
    z-index: 0;
    height: 310px;
    margin-bottom: 15px;
  }
#mainImg p.copy1 {
    max-width: 300px;
  margin: 0 15px 15px 15px;
	padding: 15px 0 0;
	  font-size: 17px;
}	
  #mainImg p.copy2 {
	margin: 0 0 0px 15px;
  padding: 0px 0 12px 2px;
  }
h1 {
  margin: 0 0 10px 15px;
  padding: 0;
  font-size: 37px;
  font-weight: bold;
  color: #022656;
  line-height: 110%;
  font-family: "MS Serif", "New York", serif;
  letter-spacing: 1.0px;
}
.hero-copy {
  position: absolute;
   left: 19px;
  top: 44px;
	z-index: 10;
  width: 100%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 800;
}	
.hero h1 {
  margin: 0 0 5px;
  color: #0033a6;
  font-size: 45px;
  line-height: 1.18;
  letter-spacing: .02em;
font-weight: bolder;
}
.hero-copy p {
  margin: 0;
  font-size: 22px;
  line-height: 1.42;
  color: #0033a6;
}
.hero-message {
  position: absolute;
  z-index: 1;
  left: 0px;
  bottom: 10px;
  min-width: 100%;
  padding: 8px 16px 6px;
  border-radius: 2px;
  background: #294585;
  color: white;
  font: 800 15px/1.6 "Yu Mincho", "Hiragino Mincho ProN", serif;
	letter-spacing: .82px;
}	
  /* トップページ　入管業務のご案内
----------------------------------*/
.thumbWrap {
    width: 95%;
    margin: 0 auto;
}
  .thumb {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .thumb li {
    background-image: url(../assets/images/arrow1.jpg);
    background-position: 80% 100%;
    background-repeat: no-repeat;
    width: 49%;
    padding: 0 2px;
    margin-bottom: 20px
  }

  /* トップページ　新たな許可基準
----------------------------------*/
  .middleImg {
    display: block;
    height: auto;
    width: 100%;
    background-color: #002457;
  }
  .middleImg p.bg-left {
    display: block;
    width: 95%;
    padding: 20px 0px 20px 0px;
    margin: 0 auto;
  }
  .middleImg p.point-right {
    display: block;
    background-image: url(../assets/images/main_p4.jpg);
    background-repeat: no-repeat;
    background-position: right 80%;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    max-height: 240px;
    margin: 0 auto;
  }
  /* トップページ　５つの理由
----------------------------------*/
  .five-reason {
    display: block;
    background-image: url(../assets/images/main_p5.jpg);
    background-repeat: no-repeat;
    background-position: left 100%;
    width: 100%;
    height: 450px;
    margin: 10px 0;
  }
  .five-left {
    padding-top: 15px;
    padding-left: 10px;
    display: block;
    width: 234px;
    vertical-align: top;
	  margin-bottom: 10px;
  }
  .five-right {
    display: block;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 10px;
    vertical-align: top;
  }
  .five-box {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
  }
  .five-box li {
    width: 30%;
    background-color: #fff;
    text-align: center;
    padding: 8px 2px;
    font-size: 90%;
	  margin-bottom: 10px;
  }

  /* トップページ　お困りではありませんか？
----------------------------------*/
  .middleImg2 {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: center;
    background-image: url(../assets/images/main_p3.jpg);
    background-repeat: no-repeat;
    background-position: center 90%;
    width: 100%;
    height: 365px;
    margin: 0 auto;
	  flex-direction: column;
  }
.world-heading {
  flex: 0 0 120px;
  color: #003bb7;
  font-family: "Yu Mincho", serif;
  text-shadow: 1px 1px 3px #fff;
	  background-color: rgba(255, 255, 255, 0.8);
		padding:10px 5px 10px 15px;
	margin: 10px 0 20px 0;
}
.world-questions {
  position: relative;
  z-index: 1;
  flex: 0 0 172px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 4px;
  color: #003bb5;
  box-shadow: 0 2px 6px #bed2e1;
	margin-right: 0px;
}	
  .middleImg2 p {
    width: 100%;
    padding: 1px 10px 0 10px;
  }
  .middleImg2 p.trouble-box {
    width: 100%;
    padding: 0px 10px 10px 10px;
    text-align: center;
  }
 
  .top-flow-right {
    width: 100%;
    display: block;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: top
  }
  .top-flow {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto 20px;
  }
  .top-flow li {
    width: 28%;
    height: 110px;
    background-color: #fff;
    text-align: center;
    padding: 8px 1px;
    font-size: 85%;
    border: 1px solid #cdebfd;
    border-radius: 5px;
    margin: 0px 3px 10px;
    background-repeat: no-repeat;
    background-position: 8px 6px;
  }
  /* トップページ　ボトムインフォメーション
----------------------------------*/
  .bottom-box {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 95%;
    font-size: 90%;
    margin: 0 auto 20px;
  }
  .bottom-box-left {
    width: 100%;
    max-width: 340px;
    height: 104px;
    margin: 0 auto 10px;
  }
  .bottom-box-center {
    width: 100%;
    max-width: 340px;
    height: 104px;
    margin: 0 auto 10px;
  }
  .bottom-box-right {
    width: 100%;
    max-width: 340px;
    height: 104px;
    margin: 0 auto 0px;
  }
  /* フッター
*****************************************************/
.bottom-cta {
  position: relative;
height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4% 20px 4%;
  background: url("../assets/bottom-cta.jpg") center 65% / cover no-repeat;
   flex-direction: column;

}
.bottom-cta h2 {
  flex: 0 0 392px;
  margin: 0;
  color: #0039b7;
  font: bolder 18px/1.3 "Yu Mincho", "Hiragino Mincho ProN", serif;
  text-shadow: 0 1px 1px white;
	flex-basis: 100%;
}
.bottom-cta a {
display: flex;
	  flex: 0 0 55px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: auto;
  padding: 0 20px; 
  border-radius: 40px;
  background: linear-gradient(#127eea, #0039bc);
  box-shadow: 0 4px 10px #0d40946b;
  color: white;
  font: 800 18px "Yu Mincho", serif;
  white-space:inherit;
}	

.footer-inner {
    display: block;
    min-height: 0;
    padding: 30px 22px;
}
.footer-brand, .footer-details {
    display: flex;
    border-right: 0;
    padding: 0 0 22px;
    border-bottom: 1px solid rgba(255,255,255,.4);
}	
.footer-logo {
    width: 243px;
    max-width: 100%;
}
.footer-details {
    gap: 16px;
    padding-top: 22px;
}
.footer-phone a {
    font-size: 24px;
}
.footer-actions {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 22px;
}
	.line-ban.chat-ban{
		display: none;
	}	



@media (max-width: 340px) {
.footer-inner {
    padding-left: 16px;
    padding-right: 16px;
}
	}


 /* 共通ヘッダーメニュー
*****************************************************/
 #nav-open {
    position: absolute;
    top: 40px;
    right: 3px;
    width: 30px;
    height: 40px;
    cursor: pointer;
    z-index: 1000;
  }
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;
    width: 30px;
    border-radius: 3px;
    background: #002457;
    display: block;
    content: '';
	  left:0;
  }	
  #nav-open span:before {
    top: 9px;
    left: 0;
  }
  #nav-open span:after {
    top: 18px;
    left: 0;
  }	
#nav-open .nav-text {
position: absolute;
    top: 27px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 10px; 
    font-weight: bold;
    color: #002457;
	line-height: 1; 
	display: block;
}	
/* 下層ページ　ヒーロー共通
*****************************************************/
.hero {
 position: relative;
  height: 240px;
 z-index: 0;
}

.hero-copy {
  position: absolute;
   left: 15px;
  top: 30px;
	z-index: 10;
  width: 95%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 800;
}
.hero h1 {
  margin: 0 0 5px;
  color: #0033a6;
  font-size: 41px;
  line-height: 1.1;
  letter-spacing: .02em;
font-weight: bolder;
}

.hero h1 span{
  font-size: 27px;  letter-spacing: normal;
}
.hero-copy p {
  margin: 0;
  font-size: 20px;
  line-height: 1.42;
  color: #0033a6;
}
.hero-copy p.copy1 {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #014de3;
}
.hero-copy p.copy2 {
  margin: 0;
  font-size: 14px;
}
.hero-message {
  position: absolute;
  z-index: 1;
  left: 15px;
  bottom: 10px;
	width:95%;
  min-width: 320px;
  padding: 8px 16px 6px;
  border-radius: 2px;
  background: #294585;
  color: white;
  font: 800 15px/1.6 "Yu Mincho", "Hiragino Mincho ProN", serif;
	letter-spacing: .82px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 5px 15px 15px;
  font-size: 14px;
  font-weight: 700;
}
	
	/* 下層ページ　レイアウト	共通
*****************************************************/
.section-heading {
  margin: 0 0 10px;
  padding: 4px 0 4px 12px;
  border-left: 6px solid var(--blue);
  background: linear-gradient(90deg, white 35%, #e8f6ff);
  font-size: 20px;
 	line-height: 1.1;
}
  .feature-grid, .support-grid,.field-grid, .requirement-grid, .doc-grid, .flow-grid, .point-grid, .advantage-grid,.faq-grid,.two-columns {
    grid-template-columns: repeat(1, 1fr);
  }
  .flow-grid li::after {
    display: none;
  }




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

  #header-right {
/*    display: table-cell;
    width: 52%;
    max-width: 164px;
    vertical-align: middle;
    text-align: right;
    padding-right: 39px;
    padding-left: 4px;*/
  }
	#mainImg br{
		display: none;
	}
h1 {
	font-size: 35px;
	}	
	#mainImg h1 br{
		display: block;
	}
	
  /* トップページ　入管業務のご案内
----------------------------------*/
  .thumb li {
    background-image: url(../assets/images/arrow1.jpg);
    background-position: 94% 100%;
    background-repeat: no-repeat;
    width: 49%;
    padding: 0 1px;
    margin-bottom: 20px
  }
  /* トップページ　5つの理由
----------------------------------*/
  .five-reason {
    display: block;
    background-image: url(../assets/images/main_p5.jpg);
    background-repeat: no-repeat;
    background-position: left 100%;
    width: 100%;
    height: 550px;
    margin: 10px 0;
  }	
  .five-box {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
  }
  .five-box li {
    width: 48%;
    background-color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 90%;
	  margin-bottom: 10px;
  }
/* 下層ページ　レイアウト	共通
*****************************************************/
	.page-main {
	  position: relative;
  padding: 2px 18px 6px 20px
}
/* 下層ページ　ヒーロー　共通
*****************************************************/
	.hero h1 {
  margin: 0 0 5px;
  color: #0033a6;
  font-size: 35px;
  line-height: 1.18;
  letter-spacing: .02em;
font-weight: bolder;
}
.hero h1 span{
  font-size: 23px;  letter-spacing: normal;
}
.hero-copy p {
  margin: 0;
  font-size: 19px;
  line-height: 1.32;
  color: #0033a6;
}
.hero-copy p.copy1 {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #014de3;
}
.hero-copy p.copy2 {
  margin: 0;
  font-size: 14px;
}
.hero-message {
  position: absolute;
  z-index: 1;
  left: 0px;
  bottom: 0px;
  min-width: 320px;
  padding: 8px 15px 6px;
  border-radius: 2px;
  background: #294585;
  color: white;
  font: 800 14px/1.3 "Yu Mincho", "Hiragino Mincho ProN", serif;
	letter-spacing: .82px;
}	
}