@charset "UTF-8";

/* 要素リセット */
body{
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 75%;
    font-family: 'メイリオ' ,Meiryo, 'ヒラギノ角ゴ Pro W3' , 'Hiragino Kaku Gothic Pro' , 'ＭＳ Ｐゴシック' , 'Osaka' ,sans-serif;
    color: #000000; /* 標準文字色 */
}
/* Safari用ハック 文字サイズ調整 */
/*\*/
html:first-child body{
    font-size: 16px;
}
/* end */

img{
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

/*--------------------------------------------------------
  レイアウト設定
--------------------------------------------------------*/
#hpb-container{
	
}

#hpb-header{
	width: 90%;
	margin-left: 5%;
	margin-right: 5%;
	height: 80px;
	overflow: hidden;
}
.header-box{
	display:flex;
	width: 100%;
	margin: 0;
    flex-wrap:wrap;
    padding: 0;
}
.header-box-logo{
	width:150px;
}
.header-box-nav {
    width: auto;
    margin-left: auto; 
    display: flex;
    align-items: center; 
}
.nav-j{
  font-size: 12px;
  position: relative;
  top: -5px;
}

.header-box-menu {
    display: none;
}

.header-box-nav ul {
    display: flex;
}

/* hpb-nav */
/* #hpb-nav{
	position:absolute;
	right: 5%;
}*/
.header-box-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header-box-nav li {
     margin: 0 0 0 40px;
}

.header-box-nav a {
    text-decoration: none;
    color: #333; 
	font-size: 16px;
	font-weight: 600;
}

#hpb-inner{
	position: relative;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: -1px;
	padding: 0;
}

.backbutton {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 6px 0px;
    z-index: 999;
}

#hpb-main{
    width: 100%;
    float: left;
    text-align: left;
    padding-top: 85px;
}

.hpb-layoutset-01 #hpb-main{
 
}
.hpb-layoutset-02 #hpb-main{
    padding-top: 10px;
}


/*top-tittle*/
.slide {
    position: absolute;
    width: 100%;
    height: 800px;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide:nth-child(1) {
    background-image: url(top/haikei-1.jpg);
  }
  
  .slide:nth-child(2) {
    background-image: url(top/haikei-2.jpg);
  }
  
  .slide:nth-child(3) {
    background-image: url(top/haikei-3.jpg);
  }
  
  .slide:nth-child(4) {
    background-image: url(top/haikei-4.jpg);
  }
  .slide:nth-child(5) {
    background-image: url(top/haikei-5.jpg);
  }
  .slide:nth-child(6) {
    background-image: url(top/haikei-6.jpg);
  }
  
  .slide.active {
    opacity: 1;
  }

  /*流れるテキスト*/
  .bbs{
	align-items: center;
	color: rgba(19, 114, 55, 0.1);
	display: flex;
	height: 75px;
	line-height: 40px;
	overflow:hidden;
	width: 100%;
	white-space:nowrap;
	margin-top: 25px;
	margin-bottom: 25px;
	z-index: 1;
	font-family: sans-serif,Arial, Helvetica ;
  }
  .bbs ul {
	animation: flowing 120s linear infinite;
	font-size: 85px;
	font-weight: bold;

	transform:translateX(100%);
	margin: 0;
	padding: 0;
  }
  .bbs ul li{
	display: inline-block;
	padding-right: 10px;
  }
  @keyframes flowing {
	0% { transform:translateX(0); }
	100% { transform:translateX(-100%); }
  }


  /*hover*/
.hover-zoom{
	width:100%; 
	margin:0 auto; 
	overflow:hidden;
}
.hover-zoom img:hover{
	 transform:scale(1.2,1.2);
	 transition:1s all;
}
.hover-zoom img{
	transition:1s all;
   }



.border {
  border: 2px solid black; 
  padding: 10px;
}

/*動くテキスト*/
.moving-text {
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  color: #301F13;
  font-size: 40px;
  font-weight: 500;
  padding-right: 5%;
  padding-left: 0;   
  margin-bottom: 0;
}

.moving-text span{
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.moving-text.-visible span {
  transform: translate(0, 0);
}

.moving-text span:nth-child(2) {
  transition-delay: 0.06s;
}
.moving-text span:nth-child(3) {
  transition-delay: 0.12s;
}
.moving-text span:nth-child(4) {
 transition-delay: 0.18s;
}
.moving-text span:nth-child(5) {
  transition-delay: 0.24s;
}
.moving-text span:nth-child(6) {
  transition-delay: 0.30s;
}
.moving-text span:nth-child(7) {
  transition-delay: 0.36s;
}
.moving-text span:nth-child(8) {
  transition-delay: 0.42s;
}
.moving-text span:nth-child(9) {
  transition-delay: 0.48s;
}
.moving-text span:nth-child(10) {
  transition-delay: 0.54s;
}
.moving-text span:nth-child(11) {
  transition-delay: 0.6s;
}
.moving-text span:nth-child(12) {
  transition-delay: 0.66s;
}
.moving-text span:nth-child(13) {
  transition-delay: 0.72s;
}

/*折り畳み*/
.collapsible-header {
    cursor: pointer;
    color: #292929;
    font-weight: bold;
    margin-top: 10px;
  }

  .collapsible-content {
    display: none;
    margin-top: 10px;
  }


/*--------------------------------------------------------
  デザイン設定
--------------------------------------------------------*/
/* タイトル */

.hpb-layoutset-01 #hpb-title{
    width: 100%;
    height: 710px;
    overflow: hidden;
}

.hpb-layoutset-02 #hpb-title{
  width: 100%;
  height: 180px;
	background-image : url(sub/haikei.png);
  background-position: top left;
  background-repeat: no-repeat;
	overflow: hidden;
  background-size: cover;
}

.hpb-layoutset-02 #hpb-title p{
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  color: #137237;
  font-size: 20px;
  margin: 0;
  padding-right: 5%;
  font-weight: 600;
}

/* ナビゲーション */

#hpb-nav{
	width: 100%;
	position: absolute;
	top: -29px;
	left: 0;
}

.btn {
    width: 200px;
    height: 50px;
    font-size: 18px;
    background-color: #137237;
    font-weight: 100;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10% auto 0;
    border-radius: 25px;
    border: 2px solid #137237;
    font-weight: 500;
}

 .effect {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 1s, visibility 1s, transform 1s;
}

.is-fadein {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.effect-right{
	opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: opacity 1s, visibility 1s, transform 1s;
} 

.is-fadein-right {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.effect-left{
	opacity: 0;
    visibility: hidden;
    transform: translateX(-30px);
    transition: opacity 1s, visibility 1s, transform 1s;
} 


.is-fadein-left {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* top */
.top-news {
  background-image: url(top/news-r.png), url(top/news.png);
  background-position: right top, left;
  background-size: contain, cover;
  background-repeat: no-repeat;
  max-width: 800px;
  margin: auto;
  padding: 5% 0 5% 5%;
}

.top-news-box {
  width: 100%;
  padding: 0 0 3%;
  margin: 0 auto;
  max-width: 900px;
}

.top-news-box p {
  display: flex;
  align-items: flex-start;
  margin: 0 0 8px;
}

.top-news-box a {
  display: flex;       
  text-decoration: none;
  color: inherit;      
}

.news-date {
  width: 10em;     
  flex-shrink: 0; 
}

.news-text {
  flex: 1;
  margin-bottom: 10px;  
  font-weight: 600;
}

.top-box{
	display:flex;
  flex-wrap:wrap;
  max-width:1200px;
  margin:auto;
  padding: 5% 0;
}
.top-box-mini{
  width: 46%;
  margin:2%;
  flex-grow: 1;
	display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-company{
  background-image: url(top/service.png);
  background-position: center;
  background-size: cover;
}
.top-recruit-box-mini{
  width: 36%;
  margin:2%;
  flex-grow: 1;
	display: flex;
  flex-direction: column;
  justify-content: center;
}
.top-recruit-box-mini-t{
  width: 46%;
  margin:2%;
  flex-grow: 1;
	display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.5);  
  padding: 5%;
}

.fixed-background {
  background-attachment: fixed;
  background-size: cover;
  background-position: left;
}
 
.background-1 {
  background-image: url(top/rec.jpg);
}

.top-service{
  background-image: url(top/service-haikei.png);
  background-size: cover;
}

.top-service-box-mini-l{
  width: 46%;
  margin:2%;
  flex-grow: 1;
	display: flex;
  flex-direction: column;
  justify-content: center;
}
.top-service-box-mini-r{
  width: 46%;
  margin:2%;
  flex-grow: 1;
	display: flex;
  flex-direction: column;
  justify-content: center;
}

.map{
	max-width: 1200px;
  position: relative;
	margin: auto;
	padding: 5% 0;
	height: auto;
}


/* フッター内パーツ */
#hpb-footer{
  padding-top: 150px;
  clear: both;
	background-color: #efefef;
}
.footer-box{
  display:flex;
  flex-wrap:wrap;
  max-width:1280px;
  width: 100%;
  margin:auto;
  padding: 0;
}

.footer-box-item {
  padding: 10px;
}
.footer-mini,.footer-mini-3{
  width: 33%;
  margin:0;
  flex-grow: 1;
}
.footer-mini-2{
  width: 33%;
  margin:0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-mini img{
  width: 80%; 
  padding: 10px 10%;
}

.footer-tell{
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #292929;
}
.footer-menu-box{
  padding-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 10px;
}
.footer-menu-box-mini{
  border: 1px solid #000000;
  background-color: #fff;
  padding: 5px;
  width: 100px;
}
.footer-menu-box-mini a{
  font-weight: 600;
  text-decoration: none;
  color: #333;
}
.copy{
  margin: 0; 
  text-align: center; 
  padding: 15px 0 10px;
  font-weight: 500;
  font-size: 10px;
}
.footer-c{
  font-size: 25px;
  font-weight: 600;
  color: #137237;
  margin: 0;
  padding-left: 3em;
}

.dotted{
  border-bottom: 1px dotted #696969;
  padding-bottom: 2px;
  margin: 3%;
}

.top-branch-box{
  display:flex;
  flex-wrap:wrap;
  width: 95%;
  margin: 0;
  padding: 0 0 0 5%;
}
.top-branch-box-mini{
  width: 12%;
  margin: 1% 0 1% 1%;
  flex-grow: 1;
}
.top-branch-box-mini p{
  padding: 0 !important;
}

.top-branch {
  max-width: 1280px;
  width: 100%;
  margin: 5% auto 0;
  padding: 0;
}

/*news*/
#news{

}

.news{
  max-width: 900px;
  margin:auto;
  padding: 5% 0;
}

.news-t{
  font-size: 30px;
}

.news-links {
  display: flex;
  justify-content: space-between;
}

.news-links .title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/*company*/
.greeting{
  max-width: 1200px;
  margin: auto;
  padding: 5% 0;
}

.greeting-box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.greeting-box-l {
  width: 65%;
  padding: 5%;
  background-color: #E7F1EB;
  position: relative; 
  z-index: 1; 
  margin-bottom: 165px;
  margin-left: 5%;
}

.greeting-box-r {
  width: 30%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  position: relative;
  left: -5%; 
  z-index: 2; 
}



.company{
  max-width: 900px;
  margin:auto;
  padding: 5% 0;
}

.history,.business{
  max-width: 900px;
  margin:auto;
  padding: 5% 0;
}

.branch{
  padding: 5% 0;
}
.branch-box{
  display:flex;
  flex-wrap:wrap;
  width: 100%;
  margin:auto;
  padding: 0 0 5% 0;
  max-width: 1200px;
}
.branch-box-mini{
  width: 24%;
  margin: 0.5%;
  flex-grow: 1;
}

.branch-box-mini a{
  text-decoration: none;
  color: #111827;
}

.branch-name {
  font-weight: 600;
  text-align: left;
  font-size: 18px;
  border-bottom: 1px dotted #696969;
  padding-bottom: 2px;              
}
.map-icon {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-right: 0.3em;
  margin-left: 1em;
}

#hpb-main #companyp .branch-box p{
  margin: 0;
}

.qualification{
  max-width: 1200px;
  margin:auto;
  padding: 5% 0;
}

.qualification-box{
  display:flex;
  flex-wrap:wrap;
  width: 100%;
  margin: 0;
  padding: 0;
}
.qualification-box-mini{
  width: 46%;
  margin: 0 2%;
  flex-grow: 1;
}

/* styles.css */
:root{
  --bd:#e5e7eb;
  --fg:#111827;
  --muted:#374151;
  --bg:#fff;
}

*{box-sizing:border-box}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--fg);line-height:1.7}

.qual-section{margin:2rem 0}
.qual-section h2{
  font-size:1.1rem;
  margin:0 0 .6rem;
  color:var(--muted);
  letter-spacing:.03em;
}

.qual-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:var(--bg);
  border:1px solid var(--bd);
  border-radius:12px;
  overflow:hidden;
  margin: 0;
}

.qual-table colgroup col:first-child{width:80%}
.qual-table colgroup col:last-child{width:20%}

.qual-table td{
  padding:.7rem .9rem;
  border-bottom:1px solid var(--bd);
  vertical-align:middle;
}
.qual-table tr:last-child td{border-bottom:none}

.qual-table .label{font-weight:600}
.qual-table .num{
  text-align:right;
  white-space:nowrap;
  width:1%;
}

.business-box,.sitemap-box{
  padding-top: 5%;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #696969;
}
.b-name{
  font-weight: 600;
  font-size: 1.5em;
}

.bg-box {
  width: 100%;
  height: 400px; /* 高さは任意 */
  background-image: url("logo_1G1.png");
  background-size: cover;
  background-position: center;
}

#privacy,#contact{
  max-width: 900px;
  margin:auto;
  padding: 5% 0;
}

.contact-mall{
  max-width: 680px;
  margin: 0 auto;
}

.recruit-box{
  display:flex;
  flex-wrap:wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 1200x;
}
.recruit-box-r{
  width: 40%;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.recruit-box-l p{
  
}

.rec-point{
  padding: 5%;
}

.rec-point-box{
  display:flex;
  flex-wrap:wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 1200x;
}
.rec-point-box-mini{
  width: 20%;
  height: auto;
  margin: 1%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
  background: #137237;
  color: #fff;
  padding: 20px;
}
.rec-point-box-mini p{
  font-size: 20px;
  margin: 0;
}
.job-block {
  margin-bottom: 0.5em;
}
.message-t{
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #137237;
}

.recruit-box-l{
  width: 60%;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.recruit-box-2{
  display:flex;
  flex-wrap:wrap;
  width: 100%;
  margin: 0;
  padding: 5%;
  max-width: 700x;
}
.recruit-box-2-mini{
  width: 50%;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.rec-btn {
  width: 300px;
  height: 60px;
  font-size: 18px;
  background-color: transparent; 
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10% auto 0;
  border: 2px solid #137237;   
  font-weight: 500;
  cursor: pointer;              
}


.recruit-m{
  width: 100%;
  margin: 0;
  padding: 5% 0;
  background-color: #8EC31F;
}
.recruit-m-box{
  display:flex;
  flex-wrap:wrap;
  width: 90%;
  margin: auto;
  padding: 5%;
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.5); 
}
.recruit-m-box-l{
  width: 30%;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.recruit-m-box-r{
  width: 70%;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#recruit-n,#recruit-e{
  max-width: 900px;
  margin:auto;
  padding: 5% 0;
}

.interview-box {
  width: 100%;
  overflow: auto; 
  margin: 0;
  padding: 0;
}

.interview-box-l {
  float: left;
  width: 30%;  
  margin: 0 2% 1em 0; 
}

.interview-box-r {

}

/*service*/
.service-box{
  display:flex;
  flex-wrap:wrap;
  margin: 0;
  padding: 0;
}
.service-box-p{
  width: 50%;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.service-box-t{
  width: 50%;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.buiness-btn {
  width: 260px;
  height: 60px;
  font-size: 18px;
  background-color: transparent; 
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5% auto 0;
  border: 2px solid #137237;   
  font-weight: 500;
  cursor: pointer;              
  transition: background-color 0.3s; /* ←スムーズに変化 */
}

.buiness-btn:hover {
  border: 2px solid #8EC31F;  
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-right: 0.3em;
  margin-left: 0;
}

.contents-box{
  display:flex;
  flex-wrap:wrap;
  max-width:1200px;
  margin:auto;
  padding: 0;
}
.contents-box-mini{
  width: 40%;
  margin: 2% 5%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contents-box-mini p{
  
}
.contents-menu {
  text-align: center;
  font-size: 25px;
  padding: 5% 0 2%;
  font-weight: 600;
  color: #137237;
}

.contents-menu span {
  position: relative;
  display: inline-block;
}

.contents-menu span::after {
  content: "";
  position: absolute;
  left: -1em; 
  right: -1em; 
  bottom: -15px;
  height: 1.5px;
  background-color: #137237;
}

.contents-n{
  font-weight: 600;
  font-size: 18px;
}

.service-c{
  max-width: 1200px;
  margin: 5% auto;
}

#sitemap{
  max-width: 900px;
  margin: 5% auto;
}


/* =======================================================
  レスポンシブル設定
======================================================= */
@media screen and (max-width: 1090px) {
	
.header-box-menu {
  display: block;
  cursor: pointer;
	width: 40px;
	position: relative;
	top: 30px;
}

.header-box-nav ul {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 75px;
  right: 0;
  width: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 999;
	margin: 0;
}

.header-box-nav ul.show {
  display: flex;
  width: 50%;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-box-nav li {
  margin: 0;
  padding-bottom: 5%;
}

.nav-j{
  
}

.slide {
  height: 710px;
}

.footer-mini,.footer-mini-2{
    width: 46%;
    padding: 2%;
    margin: 0;
  }
  .footer-menu-box{
    width: 330px;
    padding: 2% 0;
    margin: auto;
  }

#hpb-main{
		width: 100%;
		float: none;
		padding: 0;
		margin: 0;
	}


}

/* =======================================================
  レスポンシブル設定
======================================================= */
@media screen and (max-width: 568px) {

	body{
		min-width: 100%;
	}

	/*--------------------------------------------------------
	  レイアウト設定
	--------------------------------------------------------*/
	#hpb-inner{
		background-image: none;
		width: 100%;
    margin-top: 10px;
	}
	#hpb-wrapper{
		width: 100%;
	}
	
	.hpb-layoutset-01 #hpb-main{
		padding-top: 0;
		margin-top: -10px;
	}
	.hpb-layoutset-02 #hpb-main{
		padding-top: 0;
	}

  .header-box-logo{
	  width:70%;
  }
  .header-box-menu{
    top: 15px;
    padding-right: 10px;
  }
	
  .header-box-nav ul {
    top: 50px;
  }
  .header-box-menu img{
    width: 98%;
    margin: 1%;
  }

  .header-box-nav ul.show{
    height: 430px;
  }

  .slide:nth-child(2) {
    background-image: url(top/haikei-7.jpg);
  }
  
  .slide:nth-child(3) {
    background-image: url(top/haikei-8.jpg);
  }
  
  .slide:nth-child(5) {
    background-image: url(top/haikei-9.jpg);
  }


	/*--------------------------------------------------------
	  デザイン設定
	--------------------------------------------------------*/
	/* タイトル */
	.hpb-layoutset-01 #hpb-title{
		width: 100%;
		height: 600px;
		overflow: hidden;
		background-size: contain;
		position: relative;
		top: 0;
		left: 0;
	}
	.hpb-layoutset-02 #hpb-title{
		width: 100%;
		background-size: cover;
		background-position: top right;
		position: relative;
		top: 0;
		left: 0;
		height: auto;
	}
	.hpb-layoutset-02 #hpb-title h2{
		line-height: 1;
		padding: 7px 0px 0px 10px;
		font-size: 2em;
	}

  /*top*/
  .top-news{
  	background-image: url(top/news-r.png),url(top/news.png);
    background-position: right top,left;
    background-size: contain,cover;
    background-repeat: no-repeat;
  }
  .top-news-box {
    width: 90%;
    padding: 0 5% 3%;
  }
  .top-box-mini,.top-recruit-box-mini{
    width: 96%;
    padding: 2%;
    margin: 0;
  }
  .top-recruit-box-mini-t{
    width: 96%;
    padding: 2%;
    margin: 0;
  }

  .fixed-background {
    background-position: center;
  }
  .background-1 {
    background-image: url(top/rec2.jpg);
    background-size: auto;
  }

  .top-service {
    background-image: url(top/service-haikei.png);
    background-size: contain;
    background-position: right;
  }
  .top-service-box-mini-r{
    width: 96%;
    padding: 2%;
    margin: 0;
    order: 1;
  }
  .top-service-box-mini-l{
    width: 96%;
    padding: 2%;
    margin: 0;
    order: 2;
  }
  .footer-mini,.footer-mini-2,.footer-mini-3{
    width: 96%;
    padding: 2%;
    margin: 0;
  }

  .footer-box {
    grid-template-columns: 1fr; /* 1列 */
    position: relative;
    top: 30px;
    margin-top: 0;
   }

  .footer-mini-2 p{
    text-align: center;
    padding: 0;
   }

   #hpb-footer {
    padding-top: 50px;
   }
  
  .top-branch-box-mini{
   width: 31%;
   margin: 1%;
   flex-grow: 1;
  }

  .news-t{
    font-size: 20px;
  }

  .top-news {
    padding: 5%;
 }

   .top-news-box p,
  .top-news-box a {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-date {
    width: 100%;  
    margin-bottom: 0.3em; 
  }

  .news-text {
    margin-bottom: 0; 
    padding-left: 1em;
  }

  
  .greeting {
    width: 100%; 
    margin: 0;
  }

  .greeting-box {
    display: block; 
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .greeting-box-l{
    width: 90%; 
    margin: 0 auto 20px;
    padding: 5%;
    box-sizing: border-box; 
  }
  .greeting-box-r {
    width: 90%; 
    margin: 5%;
    padding: 0;  
    box-sizing: border-box;
    position: relative;
    left: 0;  
  }

  .interview-box {
    width: 100%;
    overflow: auto; 
    margin: 0;
    padding: 0;
  }

  .interview-box-l,.interview-box-r {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .qualification-box-mini{
    width: 90%;
    margin: 0 5%;
    flex-grow: 1;
  }
  .qual-table td{padding:.65rem .75rem}
  .qual-section h2{font-size:1rem}

  .branch-box-mini{
    width: 48%;
    margin: 0.5%;
    flex-grow: 1;
  }

  .business-box{
    width: 90%;
    margin: 0 5%;
  }

  .message-t {
    font-size: 23px;
    margin-bottom: 20px;
}

  .recruit-box-2-mini,.recruit-m-box-l,.recruit-m-box-r,.recruit-box-l,.recruit-box-r,.contents-box-mini{
    width: 96%;
    padding: 2%;
  }

  .rec-point-box-mini{
    width: 90%;
    padding: 5%;
  }

  .service-box-p{
    order: 1;
    width: 96%;
    padding: 2%;
    margin: 0;
  }
  .service-box-t{
    order: 2;
    width: 96%;
    padding: 2%;
    margin: 0;
  }

}