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


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

.main-contents section {
	margin-bottom: 80px;
}

/*contents01*/

.contents01 .lay01, .contents01 .lay02 {
	width: 88%;
}

.contents01 p {
	padding-top: 40px;
	line-height: 2.2;
	text-align: left;
}

/*contents02*/

.contents02 .box {
	padding: 60px 6%;
	gap:30px 45px;
	flex-direction: column;
}

.contents02 .box:nth-child(1) {
	padding-top: 0px;
}

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

.contents02 .box-text {
	width: 100%;
	padding-top: 0px;
	position: relative;
}

.contents02 h4 img {
	height: 60px;
}

.contents02 h5 {
	font-size: 16px;
	padding: 20px 0px 20px;
	position: relative;
	border-bottom-style : solid;
border-color : rgba(255, 255, 255, 0.5);
border-width : 1px;
	margin-bottom: 30px;
}

.contents02 h5::before {
	display: none;
}

.contents02 h6 {
	font-size: 20px;
letter-spacing: 0.05em;
	margin-bottom: 20px;
}


/*contents03*/

.contents03 .box-inner {
	width: 90%;
	height: 220px;
background-position: right center;
background-size: cover;
}

.contents03 .box-inner a {
  justify-content: center;
	height: 220px;
	flex-direction: column;
}

.contents03 .box-inner a::before {
left: 8px;
top: 8px;
	right: 8px;
	bottom: 8px;
}

.contents03 .box-inner .lay01 {
	width: 100%;
	padding: 70px 0px 20px;
}

.contents03 .box-inner .lay02 {
	text-align: center;
	padding-right: 0px;
}

.contents03 .box-inner .lay03 {
	position: absolute;
right: 15px;
bottom: 25px;
}

.contents03 h3 {
	font-size: 40px;
letter-spacing: 0.2em;
}

.contents03 h4 {
	font-size: 18px;
	margin-bottom: 0px;
}

.contents03 h6 {
	font-size: 16px;
}

.contents03 h6::after {
	background-size: auto 16px;
}

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