body {
    font-family: "MS Pゴシック", sans-serif;
    color: #333;
    background-image: url(img/p0305_s.jpg);
}



.marker {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #fed8a6 60%);
}

section {
    background: #F6F6F6;
    box-shadow: 0 0 8px;
    padding: 3%;
    margin: 10px 0;
}

p {
    padding: 2%;
}

a {
    color: inherit;
    text-decoration: underline;
}

h2 {
    color: #333;
    font-size: 1.4em;
    font-weight: bold;
    border: 2px solid #aaa;
    border-top: 10px solid #aaa;
    padding: 5px;

}

h2 img {
    width: 64px;
    margin-right: 5px;
    filter: drop-shadow(2px 1px 2px rgb(180, 180, 180));
}

h3 {
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
    background: #004689;
    border-left: 15px solid #FD940A;
    margin-top: 20px;
}

h4 {
    color: #004689;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 3px solid #aaa;
    margin: 50px 0 5px 0;
    padding-left: 5px;
    padding-bottom: 3px;
}

h5 {
    font-size: 1.1em;
    display: inline-block;
    color: #fff;
    background: #666;
    font-weight: bold;
    padding: 5px 30px;
    border-radius: 20px;
    margin-left: 10px;
    margin-top: 20px;
}




/*** バナー **************/

.banner {
    /*width: 100%;*/
    margin: 15px 0;
}

.banner img {
    display: block;
    margin: 5px auto;
}

.banner-tile {
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.banner-tile img {
    max-width: 125px;
}

.banner-wide img {
    /*
    width: 100%;
    max-width: 728px;
    */
}

.banner-underpost img {
    /*
    width: 100%;
    max-width: 468px;
    */
    margin-top: 30px;
    margin-bottom: 30px;
}



/***　ヘッダー　*************/
header {
    background: #F6F6F6;
    box-shadow: 0 0 8px;
    border-bottom: 10px solid #FD940A;
    font-size: .9em;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

header a {
    text-decoration: none;
    color: #004689 !important;
}


.nav-item:nth-child(-n+4) {
    border-right: 2px solid #DFDFDF;
}

.navbar-brand img {
    width: 300px;
    display: inline;
}




/***　メイン　*************/
#rules ul {
    border: solid 1px #aaa;
    background: #EDF0F1;
    margin: 4%;
    padding: 2% 8%;
    list-style: square;
}

#rules ul li {
    margin: 12px;
}

#training ul {
    list-style: none;
    padding: 5px 20px;

}

#training ul li {
    background-image: url(img/tick-icon.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 0px 4px;
    text-indent: 28px;
}

.main-section table {
    margin: 4%;
}

.main-section table th {
    background: #dfdfdf;
}

.main-section table td,
.main-section table th {
    border: 1px solid #aaa;
    padding: 10px;
    width: 50%;
}

.article-img {
    display: block;
    width: 100%;
}

.apps-item {
    font-size: .9em;
    padding: 10px;
    border: 1px solid #FD940A;
    margin: 2%;
}

.apps-item-img {}

.apps-item-img img {
    width: 100%;
}

.apps-item-r,
.apps-item-l {
    padding: 10px;
}

.apps-item-name {
    font-size: 1.5em;
    font-weight: bold;
}

.apps-item-name small {
    font-size: .7em;
}

.apps-item-lead {
    /*    background: #FD940A;*/
    background: #aaa;
    color: #fff;
    font-weight: bold;
    border-radius: 20px;
    padding: 3px 15px;
}

.apps-item-info-wrapper {
    width: 70%;
}

.apps-item-r .apps-dl {
    padding: 0 15px;
}

.apps-item-r .apps-dl span {
    display: block;
    color: #FD940A;
    font-weight: bold;
    font-size: 1.1em;
}

.apps-item-r .apps-dl a {
    display: block;
    background: #004689;
    color: #fff;
    border-radius: 20px;
    width: 50%;
    padding: 5px 0;
    text-align: center;
    text-decoration: none;
    margin: 5px 0;
    font-weight: bold;
}

.apps-item-r .apps-item-info {
    font-size: .8em;
    margin: 20px;
}

.search-item {
    border: 1px solid #dfdfdf;
    padding: 1%;
    margin-bottom: 10px;
    width: 100%;
}

.search-item-img {
    width: 15%;
}

.search-item-img img {
    width: 100%;
}

.search-item-name {
    margin: 0 10px;
}

.search-item-btn {
    margin-left: 10px;
}

.search-item-btn a {
    display: inline-block;
    border: solid 1px #dfdfdf;
    background: #FFF4E5;
    color: #FD940A;
    text-decoration: none;
    padding: 10px 15px;
    font-size: .8em;
}

.pagination {}

.pagination .page-item {}

.pagination .page-item .page-link {
    color: #fff;
    border: solid 2px #F6F6F6;
    background: #FD940A;
    text-decoration: none;
    border-radius: 0 !important;
}

.pagination .disabled .page-link {
    background: #ddd;
}

.cur_page {
    display: inline-block;
    border: solid 1px #dfdfdf;
    background: #ddd;
    color: #000;
    text-decoration: none;
    padding: 10px 15px;
    /* font-size: .8em; */
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    border: solid 2px #F6F6F6;
    /* text-decoration: none; */
    /* border-radius: 0 !important; */
}

.search-item-detail table {
    margin: 10px;
    font-size: .8em;
}

.search-item-detail table th {
    width: 15%;
}

.search-item-detail .search-item-img {
    background: #F6F6F6 !important;
    border-right: none;
}

.search-item-detail .search-item-name {
    border-left: none;
    font-size: 1.2em;
    font-weight: bold;
}

.buttons {
    display: block;
    text-align: center;
}

.buttons a {
    display: inline-block;
    color: #fff;
    border: solid 2px #F6F6F6;
    background: #FD940A;
    text-decoration: none;
    border-radius: 20px;
    width: 150px;
    line-height: 2;
}





/***　サイド　*************/
.side-section h2 {
    background: #004689;
    color: #fff;
    font-size: 1em;
    border: none;
    padding: 10px;
    margin-bottom: 0;
}

.pref-list {
    border: 2px solid #004689;
}

.pref-list ul {
    list-style: none;
    padding: 10px;
}

.pref-list ul li {
    background-image: url(img/flag-icon.svg);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: 0px 9px;
    text-indent: 28px;
    line-height: 2.5;
    border-bottom: solid 1px #DFDFDF;
    font-size: .8em;
}

.pref-list ul li a {
    color: #666;
    text-decoration: none;
}


/***　フッター　*************/
footer {
    background: #E9F3F4;
    border-top: solid 10px #74B2B4;
    width: 100%;
    font-size: .8rem;
    padding: 30px;
}





/*** レスポンシブ  **********/
@media screen and (min-width: 993px) {
    .navbar-nav .sp-only {
        display: none !important;
    }

}

@media screen and (max-width: 992px) {
    .navbar-nav .sp-only {
        display: list-item !important;
    }



    body {
        font-size: .8rem;
    }

    h2 img {
        width: 32px;
        margin-right: 0;
        filter: drop-shadow(1px 1px 1px rgb(180, 180, 180));
    }

    p {
        font-size: .9em;
    }

    h5 {
        margin-left: 0;
    }

    table {
        font-size: .8em;
    }

    #training ul {
        padding: 0 5px;
    }

    #training ul li {
        font-size: .9em;
        line-height: 2;
        background-size: 14px;
        background-position: 0px 5px;
        text-indent: 20px;
    }

    .navbar-brand img {
        width: 180px;
    }

    .apps-item-r .apps-item-img {
        width: 30%;
    }

    .apps-item-r .apps-dl {
        /*        width: 70%;*/
        padding: 0 7px;
    }

    .apps-item-r .apps-dl a {
        width: 90%;
        margin: 2px auto;
    }

    .search-item {
        font-size: .9em;
        padding: 5px;
    }

    .search-item-img {
        width: 30%;
    }

    .search-item-name {
        margin: 0 5px;
        width: 50%;
    }

    .search-item-detail table th {
        width: 25%;
    }

    .search-item-detail .search-item-img {
        padding: 10px 5px;
    }

    .pref-list ul li {
        display: inline-block;
        background-size: 16px;
        background-position: 0px 7px;
        text-indent: 20px;
        line-height: 3;
    }

    .apps-item-r .apps-dl span {
        text-align: center;
    }

    .apps-item-r .apps-dl a {
        width: 100%;
    }

}

@media screen and (max-width: 768px) {
    .search-item-btn {
        width: 60px;
        text-align: right;
        margin-left: auto;
    }

    .search-item-btn a {
        padding: 5px;
    }

    .apps-item-l .sp-only {
        display: block !important;
        font-size: .8em;
    }

    .apps-item-info-wrapper .pc-only {
        display: none !important;
    }
}

@media screen and (min-width: 769px) {
    .apps-item-l .sp-only {
        display: none !important;
    }

    .apps-item-info-wrapper .pc-only {
        display: block !important;
        font-size: .8em;
    }

}
