/* ////////////////////////////////////////// */
/* 寿賞・秀作賞画面　縦書きレイアウト用 */
/* ////////////////////////////////////////// */

.center_block_tategaki {
    width: 100%;
    padding: 0;
}
.awardimg_search {
    width: 60%;
}

.backimage_r {
    width: 180px;
}

.window_dantai {
    border: solid 5px #f05a24;
}
.dantai_h2 {
    color: #f05a24!important;
}

.lower_common_block {
    flex-direction: row-reverse;
    justify-content: unset;
    width: 100%;
}
.lower_common_block h4 {
    width: 1.35rem;
    text-align: left;
    padding: 10px 5px 0;
    margin-bottom: 10px;
    writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    height: 185px;
}
.kotobuki_cat_image {
    width: 1.35rem;
    margin: 0;
    border-radius: 0;
    padding: 0 5px;
    border: none;
    margin-bottom: 3px;
    writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    height: 233px;
    box-shadow: none;
    background-color: unset;
}
.kotobuki_cat_image:hover {
    border: unset;
    transform:none;
}
.dantai_cat_image {
    border: none;
    margin-bottom: 3px;
    width: 120px;
}
.kotobuki_movie {
    width: 500px;
    height: 300px;
    margin: 0 auto;
    display: block;
    margin-bottom: 30px;
}
.kotobuki_p {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 14px;
    width: 100%;
    text-align: center;
}
.cat_kotobuki_txt {
    padding-bottom: 0;
    margin-bottom: 7px;
    color: unset;
}

/* スクロール途中から表示されるヘッダー部分 */
#scroll_header {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    transition: padding .3s;
    display: none;
    height: 100px;
}
#scroll_header.scroll {
    padding: 7px 15px;
    display: block;
}
#scroll_header img {
    /*max-width: 350px;*/
    height: 80px;
    display: block;
    padding-top: 10px;
    /*margin: 0 auto;*/
}
.dantai_title {
    margin: 0;
    padding: 10px 0;
    text-align: left;
    font-size: 14px;
}
.dantai_title span {
    font-weight: normal;
}
.dantai_txt {
    width: 100%;
    text-align: left;
    margin: 5px auto 20px;
    max-width: 650px;
}
.kotobuki_error_txt {
    writing-mode: lr-tb;
    writing-mode: horizontal-tb;
    -moz-writing-mode: horizontal-tb;
    -o-writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    width: 100%;
    text-align: center;
}

/* 切り替えボタン */
.shusaku_hosoku {
    margin-top: 50px;
    text-align: center;
    margin-bottom: 10px;
    color: #014622;
    font-size: 14px;
}
.shusaku_category_flex {
    display: flex;
    justify-content: center;
    margin: 0px auto 50px;
}
.shusaku_category_btn {
    display: block;
    width: 180px;
    padding: 10px;
    font-size: 20px;
    text-align: center;
    margin: 0 15px;
    border-radius: 15px;
    background-color: #fff;
    color: #014622;
    border: solid 2px #014622;
    transition: .5s;
}
.shusaku_category_btn:hover {
    background-color: #018148;
    border: solid 2px #018148;
    color: #fff;
}
.shusaku_category_selected {
    background-color: #ea545e;
    border: solid 2px #ea545e;
    color: #fff;
}


/* ///////////////// */
/*     優秀団体賞      */
/* ///////////////// */
.dantaitop_h4 {
    margin-top: 30px!important;
    padding: 10px 0!important;
    font-size: 18px;
    background-color: #004098!important;
}
.dantai_table {
    width: 100%;
    margin-top: 30px;
}
.dantai_table th {
    width: 120px;
    margin-right: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: #004098;
    color: #fff;
}
.dantai_table td {
    padding-bottom: 15px;
}
.dantai_td_flex {
    display: flex;
    flex-wrap: wrap;
}
.dantai_table .dantai_cat_image {
    width: 20%;
    background-color: unset;
}
.dantai_table .kotobuki_cat_image {
    width: 40%;
}
.dantai_title {
    margin-top: 0;
    text-align: left;
    font-weight: normal;
    font-size: 14px;
}
.awardimg_dantai {
    margin-bottom: 0;
}


/* /////////////// */
/*   PCサイズ調整    */
/* /////////////// */

/* 横幅が小さいPC */
@media screen and (max-width:1550px){
}
@media screen and (max-width:1100px){
    .dantai_table .kotobuki_cat_image {
        width: 28%;
    }
    .dantai_table .dantai_cat_image {
        width: 28%;
    }
}
@media screen and (max-width:1100px){
    .dantai_table .kotobuki_cat_image {
        width: 28%;
    }
    .dantai_table .dantai_cat_image {
        width: 28%;
    }
}
@media screen and (max-width:950px){
    #scroll_header img {
        height: 60px;
        padding-top: 20px;
    }
}



/* /////////////// */
/*  レスポンシブ対応  */
/* /////////////// */
@media screen and (max-width:767px){
    #scroll_header {
        z-index: 90;
    }
    .awardimg_search {
        width: 100%;
    }
    #scroll_header.scroll {
        padding: 15px 70px 10px 0;
        height: 84px;
    }
    .kotobuki_cat_image {
        width: 1.15rem;
        /*height: 230px;*/
    }
    .lower_common_block h4 {
        height: 170px;
    }
    .kotobuki_movie {
        width: 100%;
        height: 250px;
    }
    .dantai_table .kotobuki_cat_image {
        width: 90%;
    }
    .dantai_table .dantai_cat_image {
        width: 90%;
    }
    .dantai_table th {
        width: 90px;
    }

    #scroll_header img {
        max-width: calc(100vw - 150px);
        height: 60px;
        padding-top: 0;
    }

    .shusaku_category_btn {
        width: 25%;
        margin: 0 5px;
        padding: 7px 5px;
        font-size: 14px;
        border-radius: 10px;
    }
}
@media screen and (max-width:480px){
    .kotobuki_movie {
        width: 100%;
        height: 170px;
        margin-bottom: 10px;
    }
}