/*==============================*/
/*===        toppage         ===*/
/*==============================*/

/* head */
.top_lead_wrapper {
    text-align: center;
    background-color: #dfd9e8;
}
.top_lead {
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5rem;
}

.check_container {
    padding: 2rem 0 4rem 0;
    background-color: #533D5B;
    background-image: url("/images/top/free_uranai_bg.png");
    color: #eee;
}
.fm_search_drp {
    display: inline-block;
    width: auto;
}
@media (max-width: 767px) {
    .fm_search_drp {
        font-size: 16px;
        transform: scale(0.9);
    }    
}
.search_btn:hover {
    cursor: pointer;
}
.top_search_title {
    font-size: 2.5rem;
    margin: 1rem auto 2rem;
}
.top_search_lead {
    color: inherit;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/*==============================*/
/*===         news           ===*/
/*==============================*/
.news_title {
    margin-top: 0;
}
.news_table {
    width: 100%;
    letter-spacing: 0.1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.news_table a {
    text-decoration: none;
}
.news_date {
    font-size: 0.8rem;
    width: 130px;
}
.news_label {
    font-size: 0.8rem;
    width: 120px;
}
.news_label_wrapper {
    border-width: 1px;
    border-radius: 15px;
    padding: 0.1rem 1rem;
    display: block;
    text-align: center;
    width: 105px;
    color: #eee;
}
.news_label_news,
.news_label_add,
.news_label_update,
.news_label_famouse {
    border-color: rgba(0, 0, 0, .3);
    background-color: rgba(0, 0, 0, .3);
}
@media (max-width: 991px) {
    .news_date,
    .news_label {
        display: inline-block;
    }
    .news_text {
        display: block;
        margin-top: 0.8rem;
    }
}
@media (max-width: 767px) {
    .news_date,
    .news_label,
    .news_text {
        display: inline-block;
    }
    .news_date,
    .news_label {
        font-size: 0.9rem;
    }
    .news_date {
        width: 130px;
    }
    .news_text {
        margin-top: 0.8rem;
    }
}
@media (max-width: 543px) {
    .news_text {
        display: block;
    }
}

/*==============================*/
/*===       convenient       ===*/
/*==============================*/
/*--- map ---*/
.cc_map_wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: rgba(129, 199, 212, .4);
    background-image: url("/images/top/map_bg.png");
}

/* lg */
.map_img_lg {
    width: 300px;
    height: 300px;
    margin-left: 100px;
    background-image: url("/images/top/japan_map.png");
    background-position: center right;
    background-repeat: no-repeat;
}
.map_text_wrapper_lg {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 1199px) {
    .map_img_lg {
        margin-left: 30px;
    }
}

/* md */
.map_img {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url("/images/top/japan_map.png");
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    left: 15%;
}
.map_text_wrapper {
    position: absolute;
    text-align: center;
    top: 10%;
    right: 10%;
    z-index: 2;
}
.map_title h3 {
    font-size: 2rem;
}
.map_text {
    margin-top: 1.5rem;
    line-height: 2rem;
}
.map_btn {
    margin-top: 1rem;
}

@media (max-width: 991px) {
    .map_img {
        width: 100%;
        left: auto;
        opacity: .4;
    }
    .map_text_wrapper {
        width: 100%;
        right: auto;
    }
}


/*--- direction ---*/
.cc_direction_wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: rgba(251, 226, 81, .4);
    background-image: url("/images/top/direction_bg.png");
}

/* lg */
.direction_img_lg {
    width: 300px;
    height: 300px;
    background-image: url("/images/top/compass.png");
    background-position: center right;
    background-repeat: no-repeat;
}
.direction_text_wrapper_lg {
    text-align: center;
    margin-top: 2rem;
    margin-left: 180px;
}

@media (max-width: 1199px) {
    .direction_text_wrapper_lg {
        margin-left: 120px;
    }
}

/* md */
.direction_img {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: url("/images/top/compass.png");
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    right: 15%;
}
.direction_text_wrapper {
    position: absolute;
    text-align: center;
    top: 10%;
    left: 15%;
    z-index: 2;
}
.direction_title h3 {
    font-size: 2rem;
}
.direction_text {
    margin-top: 1.5rem;
    line-height: 2rem;
}
.direction_btn {
    margin-top: 1rem;
}

@media (max-width: 991px) {
    .direction_img {
        width: 100%;
        right: auto;
        opacity: .2;
    }
    .direction_text_wrapper {
        width: 100%;
        left: auto;
    }
}

/*==============================*/
/*===    birthday famouse    ===*/
/*==============================*/
.brth_fms {
    display: inline-block;
    margin-top: 0;
}
.brth_fms a {
    text-decoration: none;
}
@media (max-width: 543px) {
    .brth_fms {
        display: block;
    }
}

/*==============================*/
/*===        ns_card         ===*/
/*==============================*/
.ns_card {
    margin-bottom: 2rem;
}
.ns_card .card-block {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.ns_card .card {
    border: 1px solid rgba(0,0,0,.4);
    border-radius: 0;
}
.ns_card a {
    display: block;
}
.ns_card a .card {
    transition: background-color .3s linear;
}
.ns_card a:hover .card.card-bgc-sui {
    background-color: #81C7D4;
}
.ns_card a:hover .card.card-bgc-do {
    background-color: #E2943B;
}
.ns_card a:hover .card.card-bgc-moku {
    background-color: #5DAC81;
}
.ns_card a:hover .card.card-bgc-kon {
    background-color: #FBE251;
}
.ns_card a:hover .card.card-bgc-ka {
    background-color: #DB4D6D;
}
.ns_card a,
.ns_card a:hover {
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    background-color: #fee;
}
.card_text {
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    letter-spacing: 0.1rem;
    font-size: 1.2rem;
    color: #505050;
}

@media (max-width: 575px) {
    .ns_card .card-block {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/*==============================*/
/*===       about_card       ===*/
/*==============================*/
.about_card {
    margin-bottom: 2rem;
}
.about_card .card-block {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.about_card .card {
    border: 1px solid rgba(0,0,0,.4);
    border-radius: 0;
    overflow: hidden;
}
.about_card a {
    display: block;
}
.about_card a .card {
    transition: background-color .3s linear;
}
.about_card a:hover .card.card-bgc-sui {
    background-color: #81C7D4;
}
.about_card a:hover .card.card-bgc-do {
    background-color: #E2943B;
}
.about_card a:hover .card.card-bgc-moku {
    background-color: #5DAC81;
}
.about_card a:hover .card.card-bgc-kon {
    background-color: #FBE251;
}
.about_card a:hover .card.card-bgc-ka {
    background-color: #DB4D6D;
}
.about_card a,
.about_card a:hover {
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    background-color: #fee;
}

@media (max-width: 991px) {
    .about_card .card_text {
        font-size: 1rem !important;
    }
}
@media (max-width: 767px) {
    .about_card .card_text {
        font-size: 1.1rem !important;
    }
    .about_card .card-block {
        min-height: 90px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
}

/*==============================*/
/*===        other           ===*/
/*==============================*/
.other_container {
    text-align: center;
    background-color: rgba(128, 128, 128, .2);
}
.other_wrapper {
    padding: 3rem 2rem;
}
.other_wrapper h3 {
    margin: 0;
    padding: .5rem 0;
}
.other_wrapper p {
    text-align: left;
    margin-top: 1.5rem;
}
.famouse_wrapper h3 {
    background-color: rgba(93, 172, 129, .5);
    background-image: url("/images/top/top_famouse_bg.png");
}
.group_wrapper h3 {
    background-color: rgba(219, 77, 109, .5);
    background-image: url("/images/top/top_famouse_bg.png");
}
@media (max-width: 991px) {
    .other_wrapper {
        padding: 2rem 2rem 2rem 2rem;
    }
}

/*==============================*/
/*===     hms gms select     ===*/
/*==============================*/
.sct_hms_wrapper {
    margin: 1rem 0;
}
.sct_gms_wrapper {
    margin: 1rem 0 2rem;
}
.sct_hms,
.sct_gms {
    padding: .5rem;
    border: solid 1px #aaa;
    border-radius: .3rem;
    background-color: #fff;
    transition: background-color .3s linear;
}
.sct_hms:hover {
    background-color: #fcc;
    cursor: pointer;
}
.sct_gms:hover {
    background-color: #ffc;
    cursor: pointer;
}
.sct_hms.chk {
    background-color: #fcc;
}
.sct_gms.chk {
    background-color: #ffc;
}
@media (max-width: 543px) {
    .sct_hms_ttl,
    .sct_gms_ttl {
        margin-left: -.5rem;
    }
}
