/*==============================*/
/*===         about          ===*/
/*==============================*/
.ns_list li {
    list-style: none;
    padding: .5rem 0;
}
.gms_table_wrapper {
    width: 100%;
    overflow-x: scroll;
}
.gms_table th,
.gms_table td {
    text-align: center;
    vertical-align: middle;
}
.gms_table th {
    word-break: keep-all;
}
.bgc-ns-kjb {
    background-color: #533D5B;
}
/*=== distance and span ===*/
.ban_effect_list {
    padding-left: 20px;
}
.ban_effect_list li {
    list-style: none;
    padding: .5rem 0;
    letter-spacing: .1rem;
    color: #555;
}

.effect_span_table {
    width: 70%;
}
.effect_span_table th:first-child {
    width: 30%;
}
@media (max-width: 767px) {
    .effect_span_table {
        width: 100%;
    }
}

.effect_timing_list {
    padding-left: 20px;
}
.effect_timing_list li {
    list-style: none;
    padding: .5rem 0;
    letter-spacing: .1rem;
    color: #555;
}
@media (max-width: 767px) {
    .effect_timing_list {
        padding-left: 10px;
    }
    .effect_timing_list li {
        letter-spacing: 0;
    }
}
.netsuke_list li {
    line-height: 2rem;
}

/* houiban */
.ns_txt.ban_angle_8 {
    font-size: 12px;
}
.ns_txt.ban_angle_12 {
    font-size: 12px;
}

.about_junishi_table {
    width: 500px;
}
.about_junishi_table .rows {
    width: 100px;
}
.about_junishi_table tr th,
.about_junishi_table tr td {
    padding: .5rem;
    font-size: .9rem;
    vertical-align: middle;
}
@media (max-width: 991px) {
    .about_junishi_table {
        width: 100%;
    }
}
.ns_txt.ban_junishi {
    font-size: 14px;
}

.about_hakke_table {
    width: 500px;
}
.about_hakke_table tr th,
.about_hakke_table tr td {
    padding: .5rem;
    font-size: .9rem;
}
@media (max-width: 991px) {
    .about_hakke_table {
        width: 100%;
    }
}

/* gogyou and kyusei */
.ga_table th {
    text-align: center;
    vertical-align: middle;
}
.ga_table td {
    vertical-align: middle;
}
.ga_table span {
    display: inline-block;
}
.ga_left_fixed_width_table tr th:first-child {
    width: 120px;
    font-weight: normal;
}
.ga_left_fixed_width_table tr:first-child th:first-child {
    font-weight: bold;
}
.ga_left_fixed_width_table_half_th {
    width: 400px;
}
.ga_sjsk_table td {
    text-align: center;
}
.ga_two_row_header_table tr th:first-child {
    font-weight: normal;
}
.ga_two_row_header_table tr:first-child th:first-child {
    font-weight: bold;
}
.ga_two_row_header_table tr:nth-child(2) th:first-child {
    font-weight: bold;
}
.sjsk_fix_width_th {
    width: 120px;
}
.ga_sm_table th {
    font-weight: normal;
}
.ga_sm_table th.th_gms {
    font-weight: bold;
    width: 80px;
    white-space: nowrap;
}
.ga_sm_table .th_max_houi {
    width: 80px;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .ga_left_fixed_width_table tr th:first-child {
        width: 80px;
        white-space: nowrap;
    }
    .sjsk_fix_width_th {
        width: 80px;
        white-space: nowrap;
    }
}

/* unsei */
.about_unsei_table_lg td {
    vertical-align: middle;
}

.about_unsei_table_sm thead th {
    border-bottom: 1px solid #bbb;
}
.about_unsei_table_sm tbody tr:nth-child(2n-1) td {
    background-color: #EAEAEA;
}
.about_unsei_table_sm td {
    vertical-align: middle;
}

/* kyusei calendar */
.spcr {
    width:1px;
    height: 18px;
}
select.select_year {
    width: auto;
    display: inline;
}
input.btn_change_year {
    margin-bottom: .5rem;
    margin-left: 1rem;
}
.kyusei_calendar_month_link,
.kyusei_calendar_month_link_sm {
    display: flex;
    justify-content:space-between;
    text-align: center;
}
.kyusei_calendar_month_link div,
.kyusei_calendar_month_link_sm div {
    flex-grow: 1;
    width: 8%;
    border-top: solid 1px #aaa;
    border-right: solid 1px #aaa;
    border-bottom: solid 1px #aaa;
    background-color: #FFF;
}
.kyusei_calendar_month_link div:first-child,
.kyusei_calendar_month_link_sm div:first-child {
    border-left: solid 1px #aaa;
}
.kyusei_calendar_month_link_sm div {
    border-top: none;
}
.kyusei_calendar_month_link div a,
.kyusei_calendar_month_link_sm div a {
    padding: .2rem 0;
    display: block;
    color: #333;
    transition: background-color .5s ease 0s;
}
.kyusei_calendar_month_link div a:hover,
.kyusei_calendar_month_link_sm div a:hover {
    text-decoration: none;
    background-color: #ded1d5;
}
.kyusei_calendar_month_link div a.this_month,
.kyusei_calendar_month_link_sm div a.this_month {
    color: #F00;
}

.kyusei_calendar_year {
    margin-bottom: .5rem;
    font-size: 2rem;
}
.kyusei_calendar_table {
    width: 100%;
    border: solid 1px #BBB;
    margin-bottom: 2rem;
}
.kyusei_calendar_table th,
.kyusei_calendar_table td {
    border: solid 1px #BBB;
    text-align: center;
}
.kyusei_calendar_table th {
    background-color: #ded1d5;
}
.kyusei_calendar_table tr.date th {
    height: 2.4rem;
}
.kyusei_calendar_table tr.date th.sun {
    color: #D55;
}
.kyusei_calendar_table tr.date th.sat {
    color: #44E;
}
.kyusei_calendar_table th.month_title {
    color: #333;
    border-color: #bbb;
    font-size: 1.6rem;
    padding: .5rem 0;
}
.kyusei_calendar_table td {
    padding: .5rem 0;
    width: 14.2% !important;
    font-size: .9rem;
    background-color: #FFF;
    vertical-align: top;
}
.kyusei_calendar_table td .day_wrapper {
    margin-bottom: .5rem;
}
.kyusei_calendar_table td.dy {
    background-color: #CCC;
}
.kyusei_calendar_table td.dym {
    background-color: #E0E0E0;
}
.kyusei_calendar_table td.today {
    background-color: #FCC;
}
.kyusei_calendar_table td span.day {
    font-size: 1.2rem;
    display: block;
    line-height: 1rem;
    padding: .5rem 0 .2rem;
}
.kyusei_calendar_table td span.day.today {
    color: #F00;
    font-weight: bold;
}
.kyusei_calendar_table td span.day.sun {
    color: #F55;
}
.kyusei_calendar_table td span.day.sat {
    color: #44E;
}
.kyusei_calendar_table td span.hdnm {
    display: block;
    color: #F55;
}
.kyusei_calendar_table td a.ddlink {
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.kaiunbi_attention {
    font-size: .8rem;
    line-height: 1.5rem;
    display: block;
    margin-top: .5rem;
}
.year_doyou_days_table {
    width: 70%;
}
.year_doyou_days_table th,
.year_doyou_days_table td {
    vertical-align: middle;
}
.th_doyou {
    width: 150px;
}
.cal_kikkyou_table td,
.cal_kikkyou_table th {
    vertical-align: middle;
}
.cal_kikkyou_table th {
    width: 110px;
}
.cal_kikkyou_table .tensha_days_wrapper {
    border-top: dashed 1px #AAA;
    padding-top: .3rem;
    margin-top: .3rem;
}
.cal_kikkyou_table .tensha_days_wrapper span {
    display: inline-block;
}

.cal_filter_table .filter_input_wrapper {
    padding-bottom: 0;
}
.cal_filter_table .divider {
    border-top: 1px #aaa dashed;
    margin-bottom: .75rem;
}
.cal_filter_table #filtered_datas span {
    display: inline-block;
    line-height: 1.8rem;
}

.calendar_header_description .tensha,
.kyusei_calendar_table .tensha {
    color: #F00;
}
.calendar_header_description .manbai,
.kyusei_calendar_table .manbai {
    color: #00F;
}
.calendar_header_description .hujou,
.kyusei_calendar_table .hujou {
    color: #428460;
}

.doyou_span_wrapper {
    border-bottom: dashed 1px #aaa;
    padding-bottom: .3rem;
}
.doyou_mabi_wrapper {
    padding-top: .5rem;
    font-size: .8rem;
}

@media (max-width: 991px) {
    .year_doyou_days_table {
        width: 100%;
    }
}
@media (max-width: 767px) {
    select.select_year {
        font-size: 16px;
        height: auto !important;
    }
    .cal_kikkyou_table th {
        width: 100px;
    }
}
@media (max-width: 543px) {
    .th_doyou {
        width: 100px;
    }
    .kyusei_calendar_table svg {
        width: 12px;
        height: 12px;
    }
    .calendar_header_description svg {
        width: 14px;
        height: 14px;
    }
}

/* images */
.img_wrapper {
    width: 100%;
    text-align: center;
}
.img_border {
    border: solid 1px #999;
    background-color: #fff;
}
.img_text {
    display: block;
    font-size: 120%;
    margin-top: 1rem;
}

/* direction */

.links {
    background-color: #eee;
    border: solid 1px #ccc;
    padding: 0 2rem;
    width: 350px;
}
@media (max-width: 400px) {
    .links {
        width: 100%;
    }
}
.links h4 {
    font-size: 1.4rem;
    margin-top: 1rem;
}
.links ul li {
    list-style: none;
    line-height: 2rem;
}

/* keisha */
.joui_kyuu_ban_wrapper .text_table_top,
.joui_kyuu_ban_wrapper .text_table_middle,
.joui_kyuu_ban_wrapper .text_table_bottom {
    font-size: 15px;
}

.figure_ex {
    padding: 0;
    margin: 0;
    margin-top: -1rem;
}

.keisha_ninestar_table {
    width: 60%;
}
@media (max-width: 991px) {
    .keisha_ninestar_table {
        width: 70%;
    }
}
@media (max-width: 767px) {
    .keisha_ninestar_table {
        width: 100%;
    }
}
.keisha_ninestar_table th,
.keisha_ninestar_table td {
    border: solid 1px #bbb;
    vertical-align: middle;
    text-align: left;
    padding: .5rem;
}

.keisha_search_title {
    color: #4A225D;
    margin-top: 3rem;
    font-size: 1.5rem;
}

.hms_gms_keisha_table_title {
    margin-bottom: .2rem;
    font-size: 1.1rem;
}
.hms_gms_keisha_table {
    width: auto;
}
.hms_gms_keisha_table th,
.hms_gms_keisha_table td {
    border: solid 1px #bbb;
    vertical-align: middle;
    text-align: left;
    padding: .5rem 3rem .5rem .5rem;
}

.keisha_character_title {
    color: #4A225D;
    border-left: solid 3px #4A225D;
    padding-left: .5rem;
    margin-top: 3rem;
    font-size: 1.5rem;
}
.keisha_character_yomi {
    font-size: 1.1rem;
}

.houijin_character_title {
    color: #4A225D;
    border-left: solid 3px #4A225D;
    padding-left: .5rem;
    margin-top: 3rem;
    font-size: 1.75rem;
}