@charset "utf-8";
/* ===================================================================
CSS information
 file name  :  top.css
 style info :  スタイル指定
=================================================================== */




/* もっと見る
----------------------------------------------------------------------------- */
.cp_box *,
.cp_box *:before,
.cp_box *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.cp_box {
    position: relative;
}

.cp_box label {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 330px;
    /* グラデーションの高さ */
    cursor: pointer;
    text-align: center;
    /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
    background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 1) 41%);
    margin: auto;
}

.cp_box input:checked+label {
    background: inherit;
    /* 開いた時にグラデーションを消す */
}

.cp_box label:after {
    line-height: 88px;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    width: 411px;
    font-size: 24px;
    font-weight: bold;
    content: 'もっと見る';
    transform: translate(-50%, 0);
    letter-spacing: 0.05em;
    color: #ffffff;
    font-weight: bold;
    background: url(../images/more_btn_bg.png);
}

.cp_box label:before {
    font-family: "Font Awesome 5 Free";
    content: "\f078";
    font-weight: bold;
    position: absolute;
    bottom: 43px;
    right: 304px;
    color: #fff;
    font-size: 24px;
    z-index: 3;
}

.cp_box input {
    display: none;
}

.cp_box .cp_container {
    overflow: hidden;
    height: 500px;
    /* 開く前に見えている部分の高さ */
    transition: all 0.5s;
}

.cp_box input:checked+label {
    /* display: none ; 閉じるボタンを消す場合解放 */
}

.cp_box input:checked+label:after {
    font-family: "Font Awesome 5 Free";
    content: '閉じる';
}

.cp_box input:checked+label:before {
    font-family: "Font Awesome 5 Free";
    content: '\f00d';
}

.cp_box input:checked~.cp_container {
    height: auto;
    padding-bottom: 200px;
    /* 閉じるボタンのbottomからの位置 */
    transition: all 0.5s;
}

/* body
----------------------------------------------------------------------------- */
body {
    background:
        url(../images/main_bg_top.jpg),
        url(../images/main_bg_bot.jpg),
        url(../images/main_bg_mid.jpg);
    background-repeat:
        no-repeat,
        no-repeat,
        repeat;
    background-position:
        top center,
        bottom center,
        top center;
    border-top: 15px solid #423f5c;
    border-bottom: 15px solid #423f5c;
}

/* header
----------------------------------------------------------------------------- */
header {
    margin: 62px auto 55px;
}

/* c01
----------------------------------------------------------------------------- */
#c01 {
    margin: 0 auto 213px;
}

#c01 .box {
    margin: -80px auto 0;
    width: 1026px;
    border: 14px solid #423f5c;
    border-top: 25px solid #423f5c;
    border-bottom: 25px solid #423f5c;
    padding: 85px 105px;
    background: #ffffff;
    z-index: -1;
}

#c01 .box ul {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

#c01 .box img.ribbon {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -220px;
}

/* c02
----------------------------------------------------------------------------- */
#c02 {
    margin: 0 auto 267px;
}

#c02 .profile {
    margin: 0 auto;
}

#c02 .profile ul {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width: 1026px;
}

#c02 .profile ul li:nth-child(2) {
    width: 515px;
}

#c02 .profile ul li:nth-child(2) img {
    width: 100%;
}

#c02 .work {
    margin: 145px auto 0;
    width: 940px;
}

#c02 .work ul {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#c02 .work ul li {
    text-align: right;
    margin-bottom: 45px;
    width: 430px;
    font-size: 24px;
    font-weight: bold;
}

#c02 .work ul li img {
    width: 100%;
    ;
}

#c02 .work .cp_container ul li {
    width: 431px;
}

#c02 .work .cp_container ul li img {
    width: 100%;
    height: auto;
}

#c02 .work ul li.title {
    width: 100%;
    margin: 59px auto 68px;
    text-align: center;
}

#c02 .work ul li.title img {
    width: auto;
    margin: 59px auto 68px;
    text-align: center;
}

/* footer
----------------------------------------------------------------------------- */
footer {
    margin: 0 auto 590px;
}

footer dl {
    margin: 50px auto 0;
    width: 924px;
    text-align: left;
}

footer dl dt {
    margin: 0 auto 20px;
    font-size: 24px;
    color: #423f5c;
    font-weight: bold;
}

footer dl dd {
    margin: 0 auto 45px;
}

footer dl dd input {
    width: 100%;
    padding: 0 30px;
    font-size: 21px;
    line-height: 80px;
    border: 2px solid #423f5c;
}

footer dl dd textarea {
    width: 100%;
    padding: 30px;
    font-size: 21px;
    height: 240px;
    border: 2px solid #423f5c;
}

.submit_btn {
    border: 0px;
    width: 400px;
    height: 95px;
    background: url(../images/form_btn.png) left top no-repeat;
}

.submit_btn:hover {
    cursor: pointer;
}

.thanks {
    text-align: center;
    display: none;
}

.thanks h2 {
    font-size: 24px;
}

.thanks p {
    font-size: 21px;
}

/* BreakPoint 960px
=============================================================*/
@media only screen and (max-width: 960px) {}

/* BreakPoint 560px
=============================================================*/
@media only screen and (max-width: 560px) {

    /* body
----------------------------------------------------------------------------- */
    body {
        background:
            url(../images/sp_main_bg_top.jpg),
            url(../images/sp_main_bg_bot.jpg),
            url(../images/sp_main_bg_mid.jpg);
        background-repeat:
            no-repeat,
            no-repeat,
            repeat;
        background-position:
            top center,
            bottom center,
            top center;
        background-size: contain;
        border-top: 15px solid #423f5c;
        border-bottom: 15px solid #423f5c;
    }

    /* header
----------------------------------------------------------------------------- */
    header {
        margin: 32px auto 24px;
    }

    header img {
        width: 65%;
    }

    /* c01
----------------------------------------------------------------------------- */
    #c01 {
        margin: 0 auto 213px;
        padding: 0 2%;
    }

    #c01 h2 img {
        width: 100%;
    }

    #c01 .box {
        margin: -8vw auto 0;
        width: 89%;
        border: 7px solid #423f5c;
        border-top: 17px solid #423f5c;
        border-bottom: 17px solid #423f5c;
        padding: 33px 0;
        background: #ffffff;
        z-index: -1;
    }

    #c01 .box p img {
        width: 85%;
    }

    #c01 .box ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 40px;
    }

    #c01 .box img.ribbon {
        position: absolute;
        margin: auto;
        left: 0;
        right: 0;
        bottom: -110px;
        width: 11%;
    }

    /* c02
----------------------------------------------------------------------------- */
    #c02 {
        margin: 0 7% 80px;
    }

    #c02 .profile ul {
        margin: 0 auto;
        display: block;
        justify-content: space-between;
        width: 100%;
    }

    #c02 .profile ul li:first-child {
        margin-bottom: 30px;
    }

    #c02 .profile ul li:nth-child(2) {
        width: 100%;
    }

    #c02 .profile ul li img {
        width: 100%;
    }

    #c02 .work {
        margin: 70px auto 0;
        width: 100%;
    }

    #c02 .work ul li {
        text-align: right;
        margin-bottom: 45px;
        font-size: 24px;
        font-weight: bold;
        width: 50%;
    }

    #c02 .work ul li img {
        width: 100%;
    }

    #c02 .work ul li {
        text-align: right;
        margin-bottom: 6vw;
        font-size: 14px;
        font-weight: bold;
        width: 100%;
    }

    #c02 .work .cp_container ul li {
        width: 46%;
    }

    #c02 .work .cp_container ul li img {
        width: 100%;
        height: auto;
    }

    #c02 .work ul li.title {
        width: 100%;
        text-align: center;
    }

    #c02 .work ul li.title img {
        width: 100%;
        margin: 0 auto;
    }

    .cp_box label:after {
        line-height: 70px;
        position: absolute;
        z-index: 2;
        bottom: 20px;
        left: 50%;
        width: 80%;
        font-size: 5vw;
        font-weight: bold;
        content: 'もっと見る';
        transform: translate(-50%, 0);
        letter-spacing: 0.05em;
        color: #ffffff;
        font-weight: bold;
        background: url(../images/more_btn_bg.png);
    }

    .cp_box label:before {
        font-family: "Font Awesome 5 Free";
        content: "\f078";
        font-weight: bold;
        position: absolute;
        bottom: 9vw;
        right: 13vw;
        color: #fff;
        font-size: 4vw;
        z-index: 3;
    }

    /* footer
----------------------------------------------------------------------------- */
    footer form h2 img {
        width: 50%;
    }

    footer dl {
        margin: 50px auto 0;
        width: 100%;
        text-align: left;
        padding: 0 7%;
    }

    .submit_btn {
        border: 0px;
        width: 57vw;
        margin: auto;
        height: 13vw;
        background: url(../images/form_btn.png) left top no-repeat;
        background-size: contain;
        background-position: center;
    }

    footer {
        margin: 0 auto 38vw;
    }



}