@charset "utf-8";

/* CSS Document */


/***************<下層ページ共通>**************/

header {
    position: fixed;
    top: 0;
}

p.white {
    display: none;
}

.subject {
    margin-top: 200px;
    text-align: center;
    height: 152px;
    background-image: url(../images/subject_bar.png);
    background-repeat: repeat-x;
    background-position: center;
}

.subject img {
    position: relative;
    top: 25px;
}


/**************</下層ページ共通>***************/

#height {
    height: 450px;
    margin-top: auto;
    margin-bottom: auto;
}

.reverse {
    flex-direction: row-reverse;
}

.box {
    margin-bottom: 50px;
}

.about_box_left,
.about_box_right {
    box-sizing: border-box;
    width: 520px;
    height: 370px;
    padding: 20px;
}

.about_box_left {
    margin-left: 30px;
}

.about_box_right {
    margin-right: 30px;
}

.about_box_left p,
.about_box_right p {
    font-size: 18px;
}

.indent {
    line-height: 1.5;
}


/**********************<レスポンシブ>*********************/

@media screen and (max-width: 640px) {
    #height {
        height: auto;
        margin-top: auto;
        margin-bottom: auto;
    }
    .subject {
        background-image: none;
        margin: 100px 0 70px;
        height: auto;
    }
    .subject p img {
        width: 50%;
    }
    .about_box_left,
    .about_box_right {
        width: auto;
        height: auto;
    }
    .about_box_left p,
    .about_box_right p {
        font-size: 16px;
    }
    .about_box_left {
        margin-left: 0;
    }
    .about_box_right {
        margin-right: 0;
    }
    .history_position {
        text-align: center;
    }
    .history_photo {
        width: 95%;
    }
    .box {
        margin-bottom: 30px;
    }
}


/**********************</レスポンシブ>*********************/