@charset "UTF-8";
/* CSS Document */


@media screen and (max-width: 768px) {

/* layout01 */

.layout01 {
    padding: 20px 8%;
}

.layout01 .box-inner {
  justify-content: center;
    flex-direction: column;
    gap:50px;
}

.layout01 .box-img {
	width: 100%;
    text-align: center;
}
    
.layout01 .box-img img {
	max-width: 400px;
}

.layout01 .box-detail {
	width: 100%;
}

.layout01 h2 {
font-size: 26px;
    margin-bottom: 15px;
}

.layout01 h3 {
    font-size: 15px;
}

.layout01 h4 {
    font-size: 22px;
line-height: 1.6;
    padding-top: 15px;
}

/* layout02 */

.layout02 .box-inner {
    width: 88%;
    display: flex;
  justify-content: center;
flex-wrap: wrap;
    gap:40px 4%;
    padding: 30px 0px;
}

.layout02 .box {
    width: 48%;
}
    
@media screen and (max-width: 500px) {
    .layout02 .box {
    width: 100%;
        max-width: 320px;
}
}

.layout02 .box::before {
	width: 65px;
	height: 95px;
}

.layout02 .box-comment, .layout02 .box-detail {
    padding: 20px 8%;
}
    
    .layout02 .box-comment {
   padding-top: 25px;
}

.layout02 .box-detail .inner {
  justify-content: center;
    gap:20px;
}

.layout02 .box-detail .box-img {
   width: 100%;
    text-align: center;
}
    
.layout02 .box-detail .box-img img {
   max-width: 200px;
}

.layout02 .box-detail .box-text {
   flex: auto;
    width: 100%;
}
    
.layout02 .box-number {
    height: 56px;
}

.layout02 h4, .layout02 h5 {
    font-size: 22px;
}

.layout02 h4 {
    padding-left: 80px;
}
    
.layout02 p {
    min-height: 0px;
}

    
@media screen and (max-width: 500px) {
    .layout02 ul {
   display: flex;
  justify-content: space-between;
flex-wrap: wrap;
}
    
.layout02 ul li {
    width: 50%;
    margin-left: 0px;
}
}

    .pc-view {
        display: none;
    }
    .sp-view {
         display: inline-block;
    }
   
}
