@charset "utf-8";
.abouts { margin-top: 70px; }
.abouts h1 { text-align: center; margin-bottom: 80px; }
.abouts> div { display: flex; justify-content: space-between; align-items: center; }
.abouts div p { width: 55%; text-align: justify; font-size: 17px; line-height: 1.8em; }
.abouts div p span { display: block; margin-top: 80px; color: #666; font-weight: 600; text-align: right; font-size: 20px; }
.abouts div .imgbox { width: 40%; aspect-ratio: 1/1; background: url(../img/sub1/image1.jpg) no-repeat center/cover; }

.historys { background: #FCFCFC; padding: 80px 0;  }
.historys div h2 { color: #666; margin-bottom: 40px; }
.historys div ul> :not(:last-child) { margin-bottom: 15px; }
.historys div ul li p { color: #666; font-size: 18px; }
.historys div ul li p::before { content: "-"; margin-right: 10px; }

footer { background: #333; padding: 50px 0; }
footer div .logo { display: block; width: 130px; margin-bottom: 40px; }
footer div .logo img { width: 100%; object-fit: cover;}
footer div .inner { display: flex; justify-content: space-between; align-items: flex-end;  color: #9f9f9f; }
footer div .inner ul li { line-height: 1.5; }
footer div .inner ul li a { color: #9f9f9f; }
footer div .inner> :last-child { text-align: right; }

@media screen and (max-width: 1024px) {
    .abouts div p { line-height: 1.6em; }
    /* .abouts div p span { font-size: 18px; } */
    .abouts div .imgbox { aspect-ratio: 1/1.618; }
}

@media screen and (max-width: 840px) {
    .abouts { margin: 0; }
    .abouts h1 { margin-bottom: 50px; }
    .abouts> div { flex-direction: column-reverse; }
    .abouts div .imgbox { width: 100%; aspect-ratio: 1.618/1; margin-bottom: 40px; }
    .abouts div p { width: 100%; font-size: 15px; line-height: 1.8em; }
    .abouts div p span { font-size: 16px; margin-top: 50px; }

    .historys div h2 { margin-bottom: 30px; }
    .historys div ul> :not(:last-child) { margin-bottom: 15px; }
    .historys div ul li p { font-size: 16px; }

    footer div .logo { width: 100px; margin: 0 auto 30px; }
    footer div .inner { flex-direction: column; align-items: center; text-align: center; }
    footer div .inner> :last-child { text-align: center; margin-top: 15px; }
}

@media screen and (max-width: 600px) {
    .abouts { margin-top: 50px; }
    .abouts h1 { margin-bottom: 30px; }

    .historys div ul> :not(:last-child) { margin-bottom: 10px; }
    .historys div ul li p { font-size: 15px; }
}