@charset "utf-8";
/* 1024px以下表示
------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
#wrapper, .inner, #mainImg, #subImg, #nav-drawer, #footer {
  margin: 0 auto;
  width: 100%;
}

  img {
    max-width: 100%;
    height: auto;
  }
  .pc-none {
    display: block;
  }
.site-shell {
    width: 100%;
}	
  #header {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    z-index: 999;
  }
  .header-content {
    margin: 0 auto;
  }
/* ヘッダーメニュー　共通
----------------------------------*/	
  #headerWrap {
    display: table;
    width: 100%;
  }
  #header-left {
    display: table-cell;
    padding: 10px 0 ;
    width: 250px;
    text-align: left;
  }
  #header-left img{
    width: 250px;
    max-width: 250px;
height:56px;
  }	
  #header-center {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 0;
  }
  #header-right {    
    display: table-cell;
    text-align: right;
  padding-top: 1px;
  }
.header-right-content {
  padding-top: 8px;
	margin: 0 0 0 auto ;
   padding-left: 20px;
    padding-right: 50px;
  min-width: 410px;
  width: auto;
}
	
  #nav-open {
    position: absolute;
    top: 55px;
    right: 5px;
    width: 35px;
    height: 50px;
    cursor: pointer;
    z-index: 1000;
  }
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;
    width: 35px;
    border-radius: 3px;
    background: #002457;
    display: block;
    content: '';
	  left:0;
  }
  #nav-open span {
    top: 0;
    left: 0;
  }
  #nav-open span:before {
    top: 11px;
    left: 0;
  }
  #nav-open span:after {
    top: 22px;
    left: 0;
  }
#nav-open .nav-text {
position: absolute;
    top: 31px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 11px; 
    font-weight: bold;
    color: #002457;
	line-height: 1; 
	display: block;
}
  #nav-close {
    display: none;
    position: fixed;
    z-index: 1099;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    transition: .3s ease-in-out;
  }
  #nav-content {
    overflow: hidden;
    position: fixed;
    top: 0;
    right: -300px;
    margin: auto;
    z-index: 9999;
    width: 300px;
    padding: 0px;
    background-color: #fff;
    height: 100vh;
    transition: right 0.3s ease-in-out;
  }
  #nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
  }
  #nav-input:checked ~ #nav-content {
    right: 0;
    box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
  }
  .multi-menu {
    width: 100%;
    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-direction: column;
    align-items: flex-start;
    margin: 20px 0 0;
    background-color: #fff;
  }
  ul.multi-menu li {
    width: 90%;
    font-size: 16px;
    color: #016ba9;
    line-height: 20px;
    text-align: left;
    padding: 9px 20px 8px 30px;
  }
  ul.multi-menu li a {
    display: block;
    color: #016ba9;
  }
  .multi-menu ul.drawer-nav {
    display: block;
    margin-top: 10px;
	  visibility: visible;
	  opacity: inherit;
	  position:inherit;
	    box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
  border-bottom:none;
  }
  ul.multi-menu ul.drawer-nav li {
    width: 100%;
    /*background-color: #034198;*/
    color: #016ba9;
	    border-bottom:none;
	    font-size: 15px;
  }
  ul.multi-menu ul.drawer-nav li a {
    display: block;
    color: #016ba9;
    background: url(../assets/images/sub1.png) no-repeat left 50%;
    padding: 0px 10px;
  }
  ul.multi-menu ul.drawer-nav li:last-child a {
    background-image: url(../assets/images/subLast.png) no-repeat 0px 50%;
  }
  ul.multi-menu li.current-menu-item a {
    display: block;
    width: 100%;
    color: #022656;
    font-weight: bold;
  }
  ul.drawer-nav2 {
    width: 80%;
    margin: 10px auto 0;
    display: table;
    text-align: center;
  }
  ul.drawer-nav2 li {
    display: table-cell;
    padding: 5px;
    background-color: #fff;
  }

/* トップページ　メイン画像
----------------------------------*/
#mainImg p.copy2 {
  margin: 0px 0 0px 30px;
}	
#mainImg p.copy1 {
  margin: 0 0 10px 30px;
}	
.hero-copy {
  position: absolute;
   left: 39px;
  top: 40px;
	z-index: 10;
  width: 100%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 800;
}
.hero h1 {
text-shadow: 2px  2px 3px #fff,
            -2px  2px 3px #fff,
             2px -2px 3px #fff,
            -2px -2px 3px #fff;
}
  /* トップページ　入管業務のご案内
----------------------------------*/
  article {
    width: 100%;
    margin: 0 auto;
  }
.thumbWrap {
    width: 100%;
    margin: 0 auto;
}
.top-ico1 {
	width:35px;
	height:34px;
}

  /* トップページ　新たな許可基準
----------------------------------*/
  .middleImg {
    display: table;
    height: auto;
    width: 100%;
  }
  .middleImg p.bg-left {
    display: table-cell;
    width: 50%;
    padding: 20px 10px 20px 25px;
  }
  .middleImg p.point-right {
    display: table-cell;
    background-image: url(../assets/images/main_p4.jpg);
    background-repeat: no-repeat;
    background-position: right 80%;
    text-align: right;
    vertical-align: middle;
  }
  .middleImg p.bg-left img.tokushu {
    width: 100%;
    max-width: 350px;
    height: auto;
    padding-bottom: 10px;
  }
  .middleImg p.bg-left img.new_button {
    width: 100%;
    max-width: 130px;
    height: auto;
    padding-left: 10px;
  }
  .middleImg p.point-right img {
    width: 100%;
    max-width: 311px;
    height: auto;
  }
  .middleImg p.point-right img {
    margin: 5px 6% 0px 5px;
  }
  /* トップページ　５つの理由
----------------------------------*/
  .five-reason {
    display: block;
    background-image: url(../assets/images/main_p5.jpg);
    background-repeat: no-repeat;
    background-position:2% 85%;
    width: 100%;
    height: 320px;
    margin: 10px 0;
  }
  .five-left {
    padding-top: 15px;
    padding-left: 20px;
    display: block;
    width: 234px;
    vertical-align: top;
  	  margin-bottom: 10px;
  }
  .five-right {
    display: block;
    padding-top: 5px;
    padding-right: 20px;
    padding-left: 20px;
    vertical-align: top;
  }
  /* トップページ　お困りではありませんか？
----------------------------------*/
  .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: space-around;
    background-image: url(../assets/images/main_p3.jpg);
    background-repeat: no-repeat;
    background-position: center 70%;
    align-items: center;
    width: 100%;
    height: 200px;
  }
  .middleImg2 p {
    width: 100%;
    padding: 0 0 0 0px;
  }
  .middleImg2 p.trouble-box {
    padding: 0;
  }
.world-heading {
  flex: 0 0 280px;
  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-left: 20px;
}
	.world-questions {
  position: relative;
  z-index: 1;
  flex: 0 0 302px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 4px;
  color: #003bb5;
  box-shadow: 0 2px 6px #bed2e1;
	margin:0 20px 0 10px;
}
  /* トップページ　流れ
----------------------------------*/
  .top-flow-wraper {
    display: block;
    width: 100%;
  }
  .top-flow-left {
    padding-top: 15px;
  padding-left: 20px;
	padding-rightt: 20px;
    display: block;
    vertical-align: top;

  }
  .top-flow-left p {
    border: none;
    border-radius: 5px;
    padding: 3px 1px 6px;
    height: 100px;
    text-align: center;
  }

  .top-flow-left p img {
    border: 3px solid #cdebfd;
  }
.flow-bt{
	position: absolute;
	right:20px;
	top:80px;
	width:96px;

	height:22px;
	}	
  .top-flow-right {
    width: 100%;
    display: block;
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
    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: space-between;
    width: 95%;
    margin: 0 auto 20px;
  }
  .top-flow li {
    width: 19%;
    height: 130px;
    background-color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 85%;
    border: 1px solid #cdebfd;
    border-radius: 5px;
    margin: 0;
    background-repeat: no-repeat;
    background-position: 8px 6px;
  }

  /* トップページ　ボトムインフォメーション
----------------------------------*/
  .office-box {
    display: table;
    border: 1px solid #cdebfd;
    width: 100%;
    margin-bottom: 10px;
  }
  .voice-box {
    display: table;
    border: 1px solid #cdebfd;
    width: 100%;
    margin-bottom: 10px;
  }
  .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: 100%;
/*    font-size: 100%;*/
    margin: 0 auto 20px;
  }
  .bottom-box-left {
    width: 450px;
    height: 104px;
    margin: 0 auto 10px;
  }
  .bottom-box-center {
    width: 450px;
    height: 104px;
    margin: 0 auto 10px;
  }
  .bottom-box-right {
    width: 340px;
    height: 104px;
    margin: 0 auto 10px;
  }
  .bottom-box-left img {
    max-width: 150px;
  }
  .bottom-box-center img {
    max-width: 104px;
  }
  p.image-bt {
    position: relative;
    top: 5px;
    left: 10px;
  }
	.office-box-left > img ,.voice-box-left > img{
  width: auto;
  height: 104px;
  object-fit: cover;
}
  /* フッター
*****************************************************/
.bottom-cta {
  position: relative;
  height: 93px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4% 0 4%;
  background: url("../assets/bottom-cta.jpg") center 65% / cover no-repeat;
}
.bottom-cta h2 {
  flex: 0 0 392px;
  margin: 0;
  color: #0039b7;
  font: bolder 19px/1.3 "Yu Mincho", "Hiragino Mincho ProN", serif;
  text-shadow: 0 1px 1px white;
}
.bottom-cta a {
  flex: 0 0 215px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: 50px;
  border-radius: 40px;
  background: linear-gradient(#127eea, #0039bc);
  box-shadow: 0 4px 10px #0d40946b;
  color: white;
  font: 800 18px "Yu Mincho", serif;
  white-space: nowrap;
}

@media (max-width: 850px) {
.footer-inner {
   grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 30px;
}
.footer-details {
    border-right: 0;
    padding-right: 0;
}

.footer-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
	align-items: center;
	min-height: 57px;
}
	.footer-social{
    align-self: center;
}

}


.bottom-inner address {
  color: #cfcfcf;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: center;
	  padding: 0px 0px 5px 0px;
}
	
/* 下層ページ　レイアウト共通
*****************************************************/
.intro {
  width: 100%;
margin-bottom: 20px;
}
/*.intro h2 {
  height: 34px;
  padding-left: 11px;
  color: #0038b7;
  font: 800 27px/1.18 "Yu Mincho", "Hiragino Mincho ProN", serif
}*/
.intro p {
  margin: 7px 13px;

}
/* 下層ページ　ヒーロー共通
*****************************************************/
.hero {
 position: relative;
  height: 240px;
 z-index: 0;
}

.hero-copy {
  position: absolute;
   left: 49px;
  top: 44px;
	z-index: 10;
}
.hero h1 {
  margin: 0 0 5px;
  color: #0033a6;
  font-size: 49px;
  line-height: 1.38;
  letter-spacing: -.02em;
font-weight: bolder;
}
.hero h1 span{
  font-size: 38px; 
	letter-spacing: normal;
}
.hero-copy p {
  margin: 0;
  font-size: 24px;
  line-height: 1.42;
  color: #0033a6;
}
.hero-copy p.copy1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: #014de3;
}
.hero-copy p.copy2 {
  margin: 0;
  font-size: 15px;
}
.hero-message {
  position: absolute;
  z-index: 1;
  left: 32px;
  bottom: 10px;
  min-width: 496px;
  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: 10px;
  padding: 10px 20px 15px 30px;
  font-size: 16px;
  font-weight: 700;
}
.breadcrumbs span:not(:last-child) {
  color: #0777e6;
  font-size: 15px;
}
	/* 下層ページ　レイアウト	共通
*****************************************************/

 .requirement-grid {
    grid-template-columns: repeat(2, 1fr);
  }


/* 下層ページ　サイドバー共通
*****************************************************/
.contact-panel {
display: none;
}
}
