@media screen and (min-width: 768px) {
.categoryBox {
	padding-top: 20px;
	padding-bottom: 20px;
}
.catetitle {
  font-size: 30px;
  padding: 0.3em 0.5em;
  font-weight: 600;
  background: transparent;
  border-left: solid 5px #2D4EA0;
  margin: 20px 20px 20px 0px;
}
.aisatsubox {
  background-image: url(../images/aisatsu_img.jpg);
  background-size: cover;
  width: 1000px;
  }
.aisatsubox p {
  padding-top: 100px;
  padding-left: 100px;
  padding-bottom: 80px;
  color: #ffffff;
  font-size: 20px;
  }
.imgname {
 text-align: center;	
}  
.left_img {
	float:left;
	padding-left: 100px;
}
.left_img  img {
	width: 300px;
	}
.rightname {
	float: right;
}  
.rightname p{
	padding-right: 100px;
	text-align: left;
}
.gaiyouTable {
	  border-collapse: collapse;
	  width: 100%;
	  border: solid 1px;
	  font-size: 18px;
}  
.gaiyouTable th {
	border: solid 1px #000000;
	width: 20%;
	background-color: #2D4EA0;
	color: #ffffff;
	padding: 20px 0;
} 
.gaiyouTable td {
	border: solid 1px;
	width: 80%;
	padding: 20px 20px;		
}
.kojibox {
	width: 100%;
	overflow: hidden;
	padding-bottom: 30px !important;
}
.kojibox .koji_left {
	width: 45%;	
	float: left;
	}
.kojibox .koji_right p {
	width: 55%;
	float: right;
	margin: 0 !important;   	
}
.koji_right .kojititle {
	font-size: 25px;
	font-weight: 600;
	color: #2D4EA0;
}
.indexBox02_R .koji_soudanp {
	color: #2D4EA0;
}
.flow {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  background: #e6f0fb;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 20px;
}

.step-number {
  background: #2D4EA0;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
}

.step-title {
  width: 30%;
  color: #2D4EA0;
  font-size: 24px;
}

.step-text {
  width: 65%;
  font-size: 18px;
  line-height: 1.6;
}

.arrow {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.arrow::after {
  content: "▼";
  font-size: 20px;
  color: #2D4EA0;
}
.anzenbox {
	width: 100%;
	overflow: hidden;
	padding-bottom: 30px !important;
}
.anzenbox .anzen_left {
	width: 55%;	
	float: left;
	margin-top: 0 !important;
	margin: 10px;  	
	}
.anzenbox .anzen_right {
	width: 40%;
	float: right; 	
}
.anzen_right .anzentitle {
	font-size: 25px;
	font-weight: 600;
	color: #2D4EA0;
}
.trouble-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  border-left: 6px solid #2D4EA0;
  padding-left: 12px;
  margin-bottom: 30px;
}

.trouble-box {
  border-radius: 10px;
  padding: 20px 25px;
  background-color: #fff;
  box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.trouble-box h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
}

.trouble-box h3 span {
  border-bottom: 3px solid #f39c12;
}

.trouble-box p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* Box with image */
.trouble-box.with-image {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.text-content {
  flex: 1 1 60%;
}

.image-content {
  flex: 1 1 35%;
  text-align: right;
}

.image-content img {
  max-width: 70%;
  height: auto;
}
.works-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 20px;
  color: #333;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  border-left: 6px solid #2D4EA0;
  padding-left: 12px;
  margin-bottom: 10px;
}

.sub-title {
  font-size: 22px;
  color: #2D4EA0;
  margin-bottom: 30px;
}

.work-case {
  margin-bottom: 40px;
}

.images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.images img {
  width: 47%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.arrow2 {
  font-size: 24px;
  color: #2D4EA0;
}
.arrow2::before {
  content: "▶︎";  /* 例：PCでは右向き矢印 */
  font-size: 20px;
  display: inline-block;
  text-align: center;
  margin: 10px 0;
  }

.description {
  font-size: 15px;
  line-height: 1.8;
}



}		
@media screen and (max-width: 767px) {
.categoryBox {
	padding: 20px 3px;
}	
.catetitle {
  font-size: 25px;
  padding: 0.3em 0.5em;
  font-weight: 600;
  background: transparent;
  border-left: solid 5px #2D4EA0;
  margin: 20px 20px 20px 0px;
}
.aisatsubox {
		width: 100%
		}
.aisatsubox p {
  font-size: 20px;
}
.rightname {
	text-align: right;
}    
.left_img img{
	width: 100%;
}
.gaiyouTable {
	  border-collapse: collapse;
	  width: 100%;
	  border: solid 1px;
	  font-size: 16px;
}  
.gaiyouTable th {
	width: 100%;
	background-color: #2D4EA0;
	color: #ffffff;
	padding: 20px 0;
	float: left;
} 
.gaiyouTable td {
	width: 96%;
	height: auto;
	margin: 5px;
	padding: 10px 5px;	
	float: left;
}
.shikaku {
	padding: 0 !important;	
}
.kojibox {
	width: 100%;
}
.kojibox .koji_left {
	width: 100%;	
	}
.kojibox .koji_left img{
	width: 100%;	
	}	
.kojibox .koji_right {
	width: 100%; 	
}
.koji_right .kojititle {
	font-size: 23px;
	font-weight: 600;
	color: #2D4EA0;
}
.flow-container {
  padding: 20px 16px;
  background-color: #f8f8f8;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

 .step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .step-number {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background-color: #2D4EA0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
  }

  .step-content {
    flex-grow: 1;
  }

  .step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2D4EA0;    
  }

  .step-text {
    font-size: 15px;
    color: #333;
    }
  
.anzen_right img {
	width: 100%;
}
 .trouble-box.with-image {
    flex-direction: column;
  }
 
  .text-content,
  .image-content {
    flex: 1 1 100%;
    text-align: left;
  }
 .trouble-box .image-content img {
    width: 90%;
    }
.trouble-box h3 span {
  border-bottom: 3px solid #f39c12;
}	
    .images {
    flex-direction: column;
  }

  .images img {
    width: 100%;
  }
.arrow2 {
  font-size: 26px;
  color: #2D4EA0;
  text-align: center;
}  
    .arrow2::before {
    content: "▼";  /* スマホ用の矢印 */
    font-size: 20px;
  }

}