@charset "UTF-8";

body, html {
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "BIZ UDPGothic",
    Meiryo,
    sans-serif;
    scroll-behavior: smooth;
}

#wrap {
    padding-bottom: 30px;
}

.page__top {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/**---- mobile fist ----**/


/** タイトル装飾 **/
header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 130px;
    margin-bottom: 20px;
    background-image: url("../img/main_title.jpg");
    background-repeat: no-repeat;
    background-size: cover
}

.concours__title {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
}


/** メインコンテンツ **/
#main {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
}


/* エントリー文章 */
.entry__text {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.entry__text--title {
    max-width: 500px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #CCC;
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
}

.entry__text--desc {
    height: 150px;
    margin: 0;
    padding: 5px;
    overflow-y: scroll;
    border: solid 1px #ccc;
    font-size: 14px;
    line-height: 1.5
}


/* 賞一覧 */
.prize__list {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: dotted 1px #ccc;
}

.uk-accordion-content {
    margin-top: 0;
}

.prize__list--table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.prize__list--one {
    font-family: "Noto Serif JP", serif;
    cursor: pointer;
}

.prize__list--one a {
    -webkit-transition: color 0.2s ease;
    color: #444444;
    transition: color 0.2s ease;
}

.prize__list--one a:hover {
    color: #999999;
    text-decoration: none;
    opacity: 0.8
}

.kahoku__prize--block {
    display: block;
    margin-bottom: 10px;
}

.prize__name {
    display: block;
    margin-bottom: 0;
    padding: 5px 0 7px;
    background: #FFdddd;
    color: #5a5a5a;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.prize__target {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: dotted 1px #ccc;
    background: #fcfcfc;
    text-align: center;
}

.prize__target p {
    margin: 0
}

.prize__target--name {
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "BIZ UDPGothic",
    Meiryo,
    sans-serif;
    font-size: 12px;
}

/* 賞の内容（投稿作文） */

.prize__detail--titled {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 15px;
    background: #A03937;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.prize__detail--info {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: dotted 1px #ccc;
    font-family: "Noto Serif JP", serif;
}

.prize__detail--info p {
    margin: 0;
    color: #000;
}

.prize__detail--info .prize__target--name {
    margin-left: 10px;
}

.prize__detail--sentence {
    padding: 0 10px;
    color: #454545;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

#kahoku .prize__detail--sentence {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: dotted 1px #ccc;
}

.prize__detail--interview {
    -webkit-box-sizing: border-box;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    margin-bottom: 20px;
    padding: 10px;
    border: solid 1px orangered;
    background: #ffffe0;
}

.prize__interview--photo {
    width: 80px;
    margin: 0;
    padding: 0;
}

.detail--interview__text {
    width: calc(100% - 70px);
    height: 200px;
    padding: 0 10px;
    overflow-y: scroll;
    color: #454545;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

.detail--interview__text h4 {
    margin: 0;
    padding: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    font-weight: bold;
}

.detail--interview__text p {
    margin: 10px 0;
    padding-bottom: 0;
}

.other__prize--list {
    -webkit-box-sizing: border-box;
    -ms-flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 20px;
    padding: 10px;
}

.prize--list__detail {
    -webkit-box-sizing: border-box;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -ms-flex-pack: distribute;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-around;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    margin-bottom: 15px;
    padding: 15px;
    border: solid 1px #ccc;
    border-radius: 5px;
}

.prize--list__detail p {
    margin: 0;
}

.prize__level {
    margin-bottom: 2px;
    color: #ee395b;
    font-family: "Noto Serif JP", serif;
    font-size: 21px;
}

.prize__user {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

.prize__school {
    font-size: 14px;
    text-align: right;
}

/**-------- tablet --------**/
@media screen and (min-width: 500px) and (max-width: 1000px) {
    header {
        height: 180px;
    }

    .concours__title {
        font-size: 28px;
    }

    .entry__text--desc {
        height: auto;
        overflow: auto;
        border: hidden;
    }

    .prize__target--title {
        font-size: 21px;
    }

    .prize--list__detail {
        width: calc(100% / 2 - 10px);
    }

    .prize__user {
        font-size: 16px;
    }

    .prize__interview--photo {
        width: 160px;
    }

    .detail--interview__text {
        height: 210px;
    }
}

/**-------- pc --------**/
@media screen and (min-width: 1000px) {

    header {
        height: 200px;
    }

    .concours__title {
        font-size: 28px;
    }

    #main {
        width: 1000px;
        margin: 0 auto;
    }

    .entry__text--title {
        padding: 18px 30px 20px 30px;
        font-size: 25px;
    }

    .entry__text--desc {
        height: -webkit-max-content;
        height: -moz-max-content;
        height: max-content;
        overflow: auto;
        border: transparent;
        font-size: 18px;
        line-height: 1.7
    }

    .prize__target--title {
        font-size: 21px;
    }

    .prize__detail--sentence {
        font-size: 17px;
        line-height: 1.9;
    }

    .prize__detail--sentence p {
        margin-bottom: 10px;
    }

    .prize__interview--photo {
        width: 160px;
    }

    .detail--interview__text {
        height: -webkit-max-content;
        height: -moz-max-content;
        height: max-content;
        overflow-y: auto;
    }

    .prize--list__detail {
        width: calc(100% / 3 - 20px);
        margin-bottom: 20px;
    }
}