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

@import "common.css";

/* GREETING */

#contents {
    padding-bottom: 0;
}
.greeting {
    padding-bottom: 100px;
}
.contents-header {
    background: url("../overview/images/header-img.jpg") center/cover no-repeat;
}
.wrapper figure.mv img, .mv img {
    width: 300px;
    margin-bottom: 10px;
}
.mv {
    width: 300px;
    margin-right: 60px;
    font-size: 1.2rem;
    line-height: 1.5;
}
.wrapper figure.mv figcaption {
    position: relative;
    bottom: 0;
    left: 0;
}
.itemtitle {
    font-weight: 500;
    margin-bottom: 10px;
    display: inline-block;
}
#contents .wrapper {
    width: 86%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    margin-bottom: 60px;
}
.main-txt {
    position: relative;
}
.main-txt p {
    margin-bottom: 20px;
    line-height: 1.5;
    position: relative;
}
.main-txt p.director-name {
    text-align: left;
    position: absolute;
    right: 0;
    display: block;
    text-indent: -1em;
}
.btn-white {
    margin: auto;
}

/* OVERVIEW */

#lead {
    width: 86%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    margin-bottom: 60px;
}
h4 {
    font-weight: 500;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
address {
    font-weight: 500;
    font-size: 1.2rem;
}
.notice-box {
    padding: 30px;
}
.notice-box li {
    line-height: 1.5;
    margin-bottom: 10px;
    text-indent: -1em;
    margin-left: 1em;
    font-weight: 500;
}
.notice-box li:last-child {
    margin-bottom: 0;
}
.margin-clear {
    margin: 0;
}
#about {
    background-color: var(--main-color);
    color: var(--sub-color);
    padding-bottom: 80px;
}
#about .head1, #about .head2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 86%;
    margin: auto;
    padding: 60px 0 40px 0;
}
#about .head1 img, #about .head2 img {
    width: 500px;
    margin-bottom: 10px;
}
#about .head1 figure {
    margin-right: 40px;
}
#about .head2 figure {
    margin-left: 40px;
}
#about figcaption {
    font-size: 1.2rem;
    font-weight: 500;
}
#about h4 {
    font-family: var(--mincho-font);
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5;
}
#about p {
    max-width: 1000px;
    width: 86%;
    margin: 20px auto 0;
    line-height: 1.8;
}
.sidebyside-img {
    display: flex;
    flex-wrap: wrap;
    width: 86%;
    max-width: 1000px;
    margin: 80px auto;
}
.sidebyside-img img {
    width: 50%;
    margin-bottom: 10px;
}
#about .wrapper {
    width: 86%;
    max-width: 1000px;
    margin: 100px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.reverse {
    flex-direction: row-reverse;
}
.img-box img, .wrapper figure img {
    width: 360px;
}
#about figure {
    position: relative;
    }
.wrapper figcaption {
    position: absolute;
    bottom: 10px;
    left: 10px;
}
#about .txt {
    width: 56%;
}
#about .txt p {
    margin: 0 0 20px 0;
    width: 100%;
}
#about .txt h4 {
    margin-bottom: 60px;
    width: 100%;
}
.smp-h4 {
    display: none;
}

@media screen and (max-width: 1200px) {
    
    #about .head1 img, #about .head2 img {
        max-width: 350px;
        margin-bottom: 10px;
    }
    #about h4 {
        font-size: 2.2rem;
    }
    .img-box img, .wrapper figure img {
        width: 250px;
    }    
}

@media screen and (max-width: 800px) {
    
    .pcbr {
        display: none;
    }
}
    
@media screen and (max-width: 767px) {
    
    /* GREETING */

    #contents .wrapper {
        width: 86%;
        flex-direction: column-reverse;
        margin-bottom: 90px;
    }
    .mv {
        margin-right: 0;
        width: 100%;
        margin-bottom: 0;
        margin-top: 100px;
    }
    .wrapper figure.mv img, .mv img {
        width: 100%;
        margin: 0 auto 10px;
    }
    .main-txt p {
        font-size: 1.6rem;
    }
    .main-txt p.director-name {
        right: 0;
        display: block;
    }
    
    /* OVERVIEW */

    #lead {
        flex-direction: column;
    }
    #lead .mv {
        margin-top: 0;
    }
    #lead .main-txt {
        text-align: center;
    }
    #lead .main-txt p, .notice-box {
        text-align: left;
    }
    #about .head1, #about .head2 {
        width: 100%;
        flex-direction: column-reverse;
        padding: 80px 0 40px 0;
        text-align: center;
    }
    #about .head1 img, #about .head2 img {
        max-width: 100%;
        margin-bottom: 10px;
        margin-top: 40px;
    }
    #about h4 {
        font-size: 2.2rem;
        margin: 0 auto;
        width: 86%;
        text-align: center;
    }
    .sidebyside-img {
        width: 100%;
        flex-direction: column-reverse;
        margin: 60px auto 100px;
        text-align: center;
        position: relative;
    }
    .sidebyside-img img {
        width: 100%;
        margin-bottom: 2px;
    }
    .sidebyside-img figcaption {
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -22px;
    }
    .img-box img, .wrapper figure img {
        width: 100%;
    }    
    #about .head1 figure {
        margin-right: 0;
    }
    #about .head2 figure {
        margin-left: 0;
    }
    #about .wrapper {
        width: 100%;
        margin: 60px auto 0;
        flex-direction: column;
    }
    .img-box img, .wrapper figure img {
        width: 100%;
    }
    .wrapper figcaption {
        position: absolute;
        bottom: 10px;
        left: 10px;
    }
    #about .txt {
        width: 86%;
        margin: 40px auto 0;
    }
    #about .txt p {
        margin: 0 0 20px 0;
        width: 100%;
    }
    #about .txt h4 {
        margin-bottom: 60px;
        width: 100%;
    }
    .smp-h4 {
        display: block;
        padding-bottom: 40px;
    }
    .pc-h4 {
        display: none;
    }
}