@charset "utf-8";

#contents {
    width: 100%;
    margin: 0 auto;
    font-family: "メイリオ", Meiryo, Osaka, "MSPゴシック", "MS PGothic", sans-serif !important;
}

#contents * {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
p,
dt,
dd {
    color: #382511;
}

/*PC-------------------------------*/

#contents {
    width: 1024px;
    margin: 0 auto;
}

/*---title---*/
#contents .title h1 {
    font-size: 30px;
    font-weight: bold;
    position: relative;
    margin: 35px auto 30px;
}

#contents .title h1:before {
    content: '';
    position: absolute;
    bottom: -10px;
    display: inline-block;
    width: 50px;
    height: 2px;
    background: #ff9600;
    border-radius: 2px;
}



/*---menu---*/
#contents .menu {
    width: 1024px;
    margin: 0 auto 50px;
    background: #fcf8f2;
    padding: 15px;
    border-radius: 5px;
}

#contents .menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#contents .menu ul li {
    width: 18%;
    margin: 0 1%;
    text-align: left;
    background: #fff;
    border-radius: 5px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    position: relative;
}

#contents .menu ul li a {
    padding: 18px 0 18px 20px;
    display: flex;
    width:100%;
    height:100%;
    align-items: center;
    font-size: 16px;
}

#contents .menu ul li a:after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #ff8800;
    border-right: solid 2px #ff8800;
    -ms-transform: rotate(45deg) translate(-50%);
    -webkit-transform: rotate(45deg) translate(-50%);
    transform: rotate(45deg) translate(-50%);
    top: 50%;
    right: 0px;
    position: absolute;
    margin: 0 20px;
}

#contents .menu ul li a:hover {
    text-decoration: none;
}

#contents .menu ul li:hover {
    border: 2px solid #ff8800;
    transition: 0.4s;
}

#contents .menu ul li:last-child {
    background: #ff8800;
    border: 2px solid #ff8800;
}

#contents .menu ul li:last-child:hover {
    border: 2px solid #d86100;
    background: #d86100;
}

#contents .menu ul li:last-child a {
    color: #fff;
}


#contents .menu ul li:last-child a:after {
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
}

/*---info---*/

#contents .info {
    border: #ff8800 1px solid;
    width: 800px;
    padding: 20px;
    text-align: center;
    margin: 30px auto 0;
}

#contents .info p {
    font-size: 16px;
    line-height: 32px;
}

#contents .info span {
    font-size: 20px;
    font-weight: bold;
}

/*---list---*/
#contents>ul li {
    width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-flow: wrap;
    align-items: top;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
}

/*---h2---*/
#contents h2 {
    position: relative;
    left: -70px;
    padding: 60px 0 0 70px;
    font-size: 23px;
    font-weight: bold;
    margin: 0 auto 15px;
}

#contents h2:before {
    position: absolute;
    top: calc(85% - 2px);
    left: 0;
    width: 50px;
    height: 2px;
    content: '';
    background: #ff8800;
}

/*---img_area---*/
#contents ul li .img_area {
    width: 270px;
    height: 248px;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    padding: 20PX 15px 0;
    text-align: center;
    box-sizing: border-box;
}

#contents ul li .img_area img {
    width: 100%;
}


/*---txt_area---*/
#contents ul li .txt_area {
    width: 700px;
    margin: 0 0 0 53px;
}

/*---h3---*/
#contents ul li .txt_area h3 {
    border-left: 2px solid #ff8800;
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
    margin: 0 auto 18px;
    padding: 2px 0 0 15px;
}


/*---date---*/
#contents ul li .txt_area dl.date {
    display: flex;
    font-size: 16px;
    line-height: 28px;
}

/*---text---*/
#contents ul li .txt_area p {
    font-size: 16px;
    line-height: 28px;
    margin: 8px auto 25px;
}

/*---button---*/
#contents ul li .txt_area a {
    position: relative;
    border: 1px solid #ff8800;
    background: #ff8800;
    color: #fff;
    display: block;
    width: 230px;
    padding: 14px 0 12px;
    margin: 0 0 32px;
    font-size: 15px;
    text-align: center;
    border-radius: 40px;
    transition-duration: 0.2s;
}

#contents ul li .txt_area a:hover {
    background: #d86100;
    border: 1px solid #d86100;
    color: #fff;
    text-decoration: none;
}

#contents ul li .txt_area a span:after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 17px;
    right: -2px;
    margin: 0 20px;
}

#contents ul li .txt_area a:hover span:after {
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
}

/*---eiyou---*/
#contents ul li .eiyou .wrap {
    border-top: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    display: flex;
    flex-flow: wrap;
}

#contents ul li .eiyou h4 {
    font-weight: bold;
    font-size: 16px;
    margin: 14px auto;
}

#contents ul li .eiyou dl {
    border-left: 1px solid #d0d0d0;
    text-align: center;
    width: 16.65%;
}

#contents ul li .eiyou dl dt,
#contents ul li .eiyou dl dd {
    font-size: 13px;
    padding: 10px 0;
}

#contents ul li .eiyou dl dt {
    background: #f7f7f7;
    border-bottom: 1px solid #d0d0d0;
}

/* TOPへボタン */
#page_top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
}

#page_top a {
    background: #fff;
    color: #ff8800;
    border: #ff8800 1px solid;
    text-align: center;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
}

#page_top a:hover {
    background-color: #ff8800;
    color: #fff;
    transition: 0.4s;
    text-decoration: none;
}

/*SP-------------------------------*/

@media only screen and (max-width: 767px) {

    /*SP-------------------------------*/
    #contents {
        width: 100%;

    }

    /*---title---*/
    #contents .title h1 {
        text-align: center;
        font-size: 26px;
        margin: 35px auto 50px;
    }

    #contents .title h1:before {
        left: 0;
        right: 0;
        width: 60px;
        height: 2px;
        margin: 0 auto;
        bottom: -16px;
    }

    /*---menu---*/
    #contents .menu {
        margin: 0;
        border-radius: 0;
        padding: 10px 10px 0;
        width: 100%
    }

    #contents .menu ul li {
        width: 100%;
        padding: 0;
        margin: 0 0 10px;
        text-align: left;
    }

    #contents .menu ul li a:after {
        width: 10px;
        height: 10px;
        top: 40%;
        right: 0;
    }

    #contents .menu ul li a {
        padding: 18px 20px;
        text-decoration: none;
    }


    /*---info---*/

    #contents .info {
        width: 90%;
        text-align: left;
        margin: 30px auto 0;
    }

    #contents .info p {
        line-height: 24px;
        font-size: 14px;
    }


    /*---list---*/
    #contents>ul li {
        width: 90%;
        display: block;
        padding: 30px 0;
    }

    /*---h2---*/
    #contents h2 {
        left: -30px;
        padding: 50px 0 0 60px;
        font-size: 20px;
        margin: 0 auto 10px;
    }

    /*---img_area---*/
    #contents ul li .img_area {
        width: 90%;
        height: auto;
        margin: 0 auto;
        padding: 20px 0;
    }

    #contents ul li .img_area img {
        width: 100%;
    }

    /*---txt_area---*/
    #contents ul li .txt_area {
        width: 100%;
        margin: 26px auto 0;
    }

    /*---h3---*/
    #contents ul li .txt_area h3 {
        margin: 0 auto 20px;
    }

    #contents ul li .txt_area h3 span {
        padding: 0px 15px 0;
        line-height: 24px;
        font-size: 14px;
    }

    /*---button---*/
    #contents ul li .txt_area a {
        width: 90%;
        margin: 0 auto 35px;
        padding: 14px 0 12px;
        font-size: 14px;
        text-decoration: none;
    }

    #contents ul li .eiyou {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    #contents ul li .eiyou .wrap {
        width: 650px;
    }


}

@media print {
    @page {
        margin: 19.05mm;
    }

    body {
        width: 1500px;
        transform: scale(0.5, 0.5);
        transform-origin: left top;
        overflow: visible !important;
        -webkit-print-color-adjust: exact;
    }
}