@charset "UTF-8";

.main_photo{
    background-image: url(../common/images/stuff/top_photo.jpg);
    background-position: center;
    background-size: cover;
    height: 400px;
}
.main_photo_title{
    text-align: center;
    padding-top: 150px;
    margin-right: 500px;
}
.main_photo_title h1{
    margin-bottom: .5em;
}
.main_photo_title p{
    font-size: 1.5em;
    color: #B08B57;
}

@media (max-width:1200px) {
    .main_photo{
        background-image: url(../common/images/stuff/top_photo.jpg);
        background-position: right;
        background-size: cover;
        height: 400px;
    }
}

@media (max-width:800px) {
    .main_photo_title{
        margin-right: 200px;
    }
}
@media (max-width:500px) {
    .main_photo_title{
        margin: 0;
        padding: 0;
    }
    .main_photo{
        background-image: url(../common/images/stuff/top_photo.jpg);
        background-position: right;
        background-size: cover;
        display: flex;
        justify-content: center;  /* 水平方向の中央揃え */
        align-items: center;      /* 垂直方向の中央揃え */
        height: 400px;
        font-size: .8em;
    }
}

.ceo{
    max-width: 900px;
    margin: 80px auto;
    display: flex;
    padding: 30px;
    gap: 50px;
    align-items: center;
}
.explain{
    max-width: 500px;
    flex: 6;
}

.name{
    font-size: 1.7em;
    font-weight: bold;
    margin-left: 1.5em;
}
.intro{
    margin-top: 50px;
    line-height: 1.3em;
}
.ceo_face{
    flex: 4;
}

@media (max-width:900px) {
    .ceo{
        gap: 0px;
    }
}
@media (max-width:600px) {
    .ceo{
        max-width: 900px;
        margin: 30px auto;
        display: flex;
        padding: 30px;
        flex-direction: column-reverse;
        gap: 15px;
        align-items: center;
    }
    .intro{
        margin-top: 35px;
        line-height: 1.3em;
    }
}
.member{
    max-width: 750px;
    margin: 0 auto 80px;
}
.member ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 50px 100px;
    text-align: center;
    justify-content: center;
}

.member ul li{
    max-width: 300px;
    width: 100%;
}
.member ul li div{
    margin-bottom: 30px;
}

@media (max-width:700px) {
    .member ul{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        text-align: center;
    }
}

:target {
    scroll-margin-top: 140px;
  }