html,
body {
    color: #604c3f;
}
#container {
    width: 1024px;
    /*padding: 0;*/
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8em;
}
#container img {
    max-width: 100%;
}
.smart {
    display: none;
}
/* catch
--------------------*/
.catch {
    width: 100%;
    height: 1320px;
    position: relative;
}
.catch .btn_members_entry {
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 3;
}
.catch .btn_movie {
    position: absolute;
    top: 140px;
    right: 0;
    z-index: 3;
}
.catch .image {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
}
.catch .image2 {
    position: absolute;
    top: 540px;
    width: 100%;
    text-align: center;
    z-index: 2;
}
.catch .image2 img {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    box-sizing: border-box;
}
/* section1
--------------------*/
.section1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 100px;
    box-sizing: border-box;
}
.section1 h2 {
    display: none;
}
.section1 .text {
    width: 50%;
}
.section1 .text p {
    padding: 1.5em 0 0 0;
}
.section1 .image {
    width: 45%;
}
/* section2
--------------------*/
.section2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 30px;
    background-image: url(https://www.shokugaku.net/web2018/wp-content/themes/ifca/common/onkatsu/images/bg_paper.jpg);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    box-sizing: border-box;
}
.section2 .box {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 20px 0
}
.section2 .box:nth-of-type(odd) {
    width: 530px;
}
.section2 .box:nth-of-type(even) {
    width: 400px;
}
.section2 .box:first-of-type .text,
.section2 .box:nth-of-type(2) {
    padding-top: 30px;
}
.section2 .box .image {
    padding: 0 20px 0 0;
}
.section2 .box .text {
    width: 280px;
}
.section2 .box .text h2 {
    font-size: 1.15em;
    padding: 0 0 10px 0;
    color: #3f9feb;
}
.section2 .radius img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}
.section2 .line {
    width: 100%;
    line-height: 0;
    text-align: center;
    padding: 20px 0;
}
.section2 .box2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 0 0;
}
.section2 .box2 .image {
    width: 110px;
}
.section2 .box2 .text {
    width: 480px;
}
/* section3
--------------------*/
.section3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 0;
}
.section3 .title,
.section3 .title2,
.section3 .title3 {
    width: 100%;
    text-align: center;
    line-height: 0;
}
.section3 .title {
    padding: 0 0 40px 0;
}
.section3 .title2 {
    padding: 40px 0;
}
.section3 .title3 {
    padding: 40px 0 0 0;
}
.section3 .box {
    width: 32%;
}
.section3 .box2 {
    width: 23%;
}
.section3 .text {
    padding: 1em 0 0 0;
}
.section3 .text h2 {
    display: none;
}
/* onkatsu_course
--------------------*/
.onkatsu_course {
    line-height: 0;
}
/* greeting
--------------------*/
.greeting {
    width: 100%;
    height: 350px;
    padding: 40px 100px 0 414px;/*写真は314px*/
    background-image: url(https://www.shokugaku.net/web2018/wp-content/themes/ifca/common/onkatsu/images/greeting.jpg);
    background-repeat: no-repeat;
}
.greeting .text_box {
    height: 272px;
    overflow-y: scroll;
}
.greeting .text_box h2 {
    font-size: 1.2em;
    padding: 0 0 1em 0;
    text-align: center;
}
/* profile
--------------------*/
.profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-image: url(https://www.shokugaku.net/web2018/wp-content/themes/ifca/common/onkatsu/images/bg_paper.jpg);
}
.profile .text {
    width: 550px;
}
.profile .image {
    width: 330px;
}
.profile .name strong {
    font-size: 1.5em;
    font-weight: bold;
    padding: 0 0.5em;
}
.profile .title {
    font-size: 0.9em;
    font-weight: bold;
    padding: 1.5em 0;
}
.profile .image img {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
}
/* movie-information
--------------------*/
.movie-information {
    background-color: transparent;
    padding: 0;
    margin: 0;
}
/* start
--------------------*/
.start {
   padding: 25px 0 0 0; 
}
.smart {
    display: none;
}
#footer.page {
    padding-bottom: 180px;
}

/*----------------------------------------
 * スマホ向け
----------------------------------------*/
@media screen  and (max-width: 768px) {
    #container {
        width: 100%;
        /*padding: 0;*/
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.6em;
    }
    .smart {
        display: block;
    }
    /* catch
    --------------------*/
    .catch,
    .catch .btn_members_entry,
    .catch .btn_movie,
    .catch .image,
    .catch .image2 {
        width: 100%;
        height: auto;
        position: static;
    }
    .catch .btn_members_entry,
    .catch .btn_movie {
        padding: 5px 15%;
        box-sizing: border-box;
    }
    .catch .image2 img {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
    }
    /* section1
    --------------------*/
    .section1 {
        display: block;
        padding: 25px 5%;
        box-sizing: border-box;
    }
    .section1 h2 {
        display: block;
        font-size: 1.2em;
        line-height: 1.6;
        color: #3f9feb;
    }
    .section1 .text {
        width: 100%;
    }
    .section1 .image {
        width: 100%;
        padding: 2em 5% 0 5%;
        box-sizing: border-box;
    }
    /* section2
    --------------------*/
    .section2 {
        display: block;
        padding: 50px 5%;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
        box-sizing: border-box;
    }
    .section2 .box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 0 1em 0
    }
    .section2 .box:nth-of-type(odd),
    .section2 .box:nth-of-type(even) {
        width: 100%;
    }
    .section2 .box:first-of-type .text,
    .section2 .box:nth-of-type(2) {
        padding-top: 0;
    }
    .section2 .box .image {
        width: 26%;
        text-align: center;
        padding: 0;
    }
    .section2 .box .text {
        width: 70%;
    }
    .section2 .box .text h2 {
        font-size: 1.1em;
        padding: 0 0 5px 0;
        color: #3f9feb;
    }
    .section2 .box2 {
        width: 100%;
        display: block;
        padding: 20px 0 0 0;
    }
    .section2 .box2 .image {
        width: 100%;
        text-align: center;
        padding: 0 0 20px;
    }
    .section2 .box2 .text {
        width: 100%;
    }
    /* section3
    --------------------*/
    .section3 {
        display: block;
        padding: 50px 5%;
    }
    .section3 .title,
    .section3 .title2,
    .section3 .title3 {
        width: 100%;
        text-align: center;
        line-height: 0;
    }
    .section3 .title {
        padding: 0 0 40px 0;
    }
    .section3 .title2 {
        padding: 1em 0;
    }
    .section3 .title3 {
        padding: 1em 0 0 0;
    }
    .section3 .box,
    .section3 .box2 {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        padding: 1em 0;
    }
    .section3 .image {
        width: 26%;
        text-align: center;
        padding: 0;
    }
    .section3 .text {
        width: 70%;
        padding: 0;
    }
    .section3 .text h2 {
        display: block;
        font-size: 1.15em;
        padding: 0 0 5px 0;
    }
    .section3 img {
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -o-border-radius: 2px;
        border-radius: 2px;
    }
    .section3 h2.smart {
        display: block;
        font-size: 1.15em;
        line-height: 1.6;
        text-align: left;
        color: #ff6176;
    }
    /* greeting
    --------------------*/
    .greeting {
        width: 100%;
        height: auto;
        padding: 50px 5%;/*写真は314px*/
        background-image: url(https://www.shokugaku.net/web2018/wp-content/themes/ifca/common/onkatsu/images/smart/greeting.jpg);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .greeting .text_box {
        height: auto;
        overflow-y: hidden;
        background: rgba(255, 255, 255, 0.7);
        padding: 2em;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -o-border-radius: 6px;
        border-radius: 6px;
        box-sizing: border-box;
        box-sizing: border-box;
    }
    /* profile
    --------------------*/
    .profile {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding: 50px 5%;
        background-image: url(https://www.shokugaku.net/web2018/wp-content/themes/ifca/common/onkatsu/images/bg_paper.jpg);
    }
    .profile .text {
        width: 100%;
    }
    .profile .image {
        width: 100%;
        padding: 0 20% 2em 20%;
    }
    .profile .name strong {
        font-size: 1.1em;
        font-weight: bold;
        padding: 0;
        display: block;
    }
    .profile .name {
        text-align: center;
    }
    .profile .title {
        text-align: left;
    }
    .start {
       padding: 50px 0 0 0; 
    }
    #footer.page {
        padding-bottom: 3em;
    }
}