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


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

/* title-top */


#about .title-page .box-inner {
    background-image: url("../../img/about/img-title-sp.svg");
}

#about .container {
	padding-top: 0px;
}

#about .container section {
	margin-bottom: 0px;
}

/* contents01 */

#about .contents01-wrap {
    padding-top: 70px;
    padding-bottom: 80px;
}


#about .contents01::before {
	width: 96%;
	height: 100%;
}

#about .contents01a::before {
    border-radius: 30px 0px 0px 0px;
}

#about .contents01b::before {
    border-radius: 0px 30px 0px 0px;
}


#about .contents01 .box-inner {
	width: 82%;
    padding-top: 80px;
}

#about .contents01 .box-inner::after {
	width: 65%;
    margin-top: -50px;
    margin-right: -15%;
}

#about .contents01b .box-inner::after {
	background-size: 80% auto;
    margin-top: -65px;
}


#about .contents01 .box-title {
	margin-bottom: 40px;
}

#about .contents01 .box-detail {
  justify-content: center;
    gap:30px;
}

#about .contents01 .box {
	width: 100%;
    padding: 40px 20px;
}

#about .contents01 .box-img img {
	max-width: 400px;
}

#about .contents01 h2 {
	font-size: 24px;
    line-height: 1.4;
}

#about .contents01 h3 {
	font-size: 18px;
    line-height: 1.6;
    padding-top: 65px;
}

#about .contents01 h3::before {
	height: 50px;
}


/* contents02 */

#about .contents02 {
	width: 100%;
    height: 110vh;
}

#about .contents02::before {
	height: 100px;
}

#about .contents02::after {
	height: 15vh;
}

#about .contents02 .box-detail {
    width: 92%;
    padding: 40px 6%;
    background-image: url("../../img/about/icon-text-sp.svg");
}

#about .contents02 h2 {
     font-size: 22px;
    line-height: 1.6;
    margin-bottom: 20px;
}

#about .contents02 p {
    font-size: 14px;
}



/* contents04 */

#about section.contents04 {
    height: 100vh;
}

#about .contents04::after {
	height: 15vh;
}



/* box-pwrap */

.box-pwrap::before {
    background-image: url("../../img/about/back-contents-sp.png");
}


/* contents03 */
    
#about .contents03 {
    padding: 80px 0px;
}

#about .contents03 .box-inner {
    width: 92%;
    border-radius: 30px;
    padding: 50px 5% 40px;
}

#about .contents03 .box-contentslink {
    gap:20px 0px;
    margin-bottom: 50px;
    flex-direction: column;
align-items: center;
}

#about .contents03 .box-contentslink .box {
    width: 100%;
    max-width: 330px;
}

#about .contents03 .box-contentslink .box a {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    padding-bottom: 25px;
}

#about .contents03 .box-contentslink .box a::before {
bottom: 15px;
	height: 25px;
}

#about .contents03 .box-about {
    padding: 50px 5% 40px;
}

#about .contents03 .box-about:not(:last-child) {
    margin-bottom: 50px;
}

#about .contents03 .box-about > div:not(:last-child) {
    margin-bottom: 50px;
}

/* #about .contents03 .lay01 */

#about .contents03 .lay01 h4 img {
   height: 30px;
}

#about .contents03 .lay01 p {
   font-size: 13px;
    padding: 25px 0px 40px;
    letter-spacing: 0em;
}


/* #about .contents03 .lay02 */

#about .contents03 .lay02 .inner {
  justify-content: center;
    gap:30px 0px;
    flex-direction: column;
}

#about .contents03 .lay02 .box-img {
    width: 100%;
}
    
#about .contents03 .lay02 .box-img img {
    max-width: 400px;
}

#about .contents03 .lay02 .box-detail {
    width: 100%;
}

/* #about .contents03 .lay03 */

#about .contents03 .lay03 .box {
  justify-content: center;
    gap:40px 0px;
    padding: 50px 0px;
}

#about .contents03 .lay03 .box:nth-child(1) {
    padding-top: 0px;
}

#about .contents03 .lay03 .box:nth-child(3) {
    padding-bottom: 0px;
}

#about .contents03 .lay03 .box-icon {
    width: 100%;
    padding-top: 0px;
}

#about .contents03 .lay03 .box-detail {
    width: 100%;
  justify-content: center;
    flex-wrap: wrap;
    gap:20px 6%;
}
    
#about .contents03 .lay03 .box-detail .box-box {
    width: 47%;
}
    
#about .contents03 .lay03 .box:last-child .box-detail .box-box:nth-child(1) {
    width: 100%;
}
    

/* #about .contents03 .lay04 */

#about .contents03 .lay04 {
  justify-content: center;
    gap:20px 6%;
}

#about .contents03 .lay04 .box {
    width: 47%;
}

#about .contents03 .lay04 .box-img {
border-width : 3px;
}

#about .contents03 h2, #about .contents03 h3 {
	font-size: 25px;
    margin-bottom: 30px;
}

#about #about01 h3 {
	font-size: 20px;
    margin-bottom: 10px;
}

#about #about02 h3 {
    margin-bottom: 0px;
}

#about #about03 h3 {
    margin-bottom: 0px;
}

#about .box-contentslink h6 {
    font-size: 22px;
}

#about .box-contentslink .box:nth-child(1) h6 {
    font-size: 18px;
}

#about .contents03 .lay02 h5 {
   font-size: 18px;
    margin-bottom: 25px;
}

#about .contents03 .lay02 h6 {
    font-size: 26px;
    text-align: center;
}

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