/**
Mobile-first Design
Media Breakpoints Ref: https://ricostacruz.com/til/css-media-query-breakpoints

Use BEM (Block Element Modifier) methodology:
- http://getbem.com/introduction/
- https://css-tricks.com/bem-101/

*/

/* Body */
body {
    background-image: url('../../../img/rg_bg.jpg');
    margin-top: 10px;
}

@media only screen and (min-width: 2160px) {
    /* Main Row */
    body {
        font-size: 1.5rem;
    }

}


/* Head Container */
#head_container {
    margin-bottom: 5px !important;
}

#title_kanji_img, #title_en_img {
    cursor: pointer;
}

/* Product Search */
#prod_search_form, #prod_search_keyword {
    margin: 0 auto;
}
#prod_search_form {
    display: inline-block;
    width: 100%;
}
#prod_search_result {
    position: absolute;
    z-index: 2000;
    overflow: auto;
}

/* Jumbotron Image */
#jumbotron {
    background-color: black;
    border-radius: .3rem .3rem 0 0;
    display: none;
}

/* Navigation */
.navbar {
    width: 100%;
    height: 100%;
    border-top: 0;
    background-image: none;
    padding: 0;
    justify-content: center;
}
.navbar_actual {
    width: 100%;
    border-top: 1px solid #CC9900;
    background-image: url("../../../img/nav/nav_row_background.jpg");
    margin-bottom: 10px;
}
.nav-item {
    width: 15%;
    height: 100%;
    border-left-style: solid;
    border-left-color: #999;
    background-image: url("../../../img/nav/nav_row_background.jpg");
}
.nav_row1_underline {
    border-bottom: 1px solid white;
}
.nav-item-last {
    border-right-style: solid;
    border-right-color: #999;
}
.nav-link {
    color: white !important;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
}
.dropdown-menu {
    text-align: center;
}
.dropdown-item {
    color: black !important;
}

/* Slogan */
.slogan {
    font-weight: bold;
    font-size: x-large;
}
#slogan_non-mobile {
    display: none;
}

/* Event Banners */
#banners_row {
    display: none;
}

/* Black-and-White Row */
.bw_row {
    padding-left: 0;
    padding-right: 0;
    background-color: black !important;
    color: white !important;
    border-top: 1px solid white;
}

/* Blog and Shinchaku Updates List */
.update_list {
    width: 100%;
    font-size: large;
}
.update_list a {
    text-decoration: none;
    color: white;
}
.update_list_row:hover {
    color: black !important;
    text-decoration: black !important;
    background-color: white !important;
}
.update_list_row:hover a {
    color: black !important;
    background-color: white !important;
}

/*~ Sword List (Hanbai Token) ~*/
.sword_list {
    width: 100%;
    font-size: large;
}
.sword_list a {
    color: black;
    text-decoration: none;
}
.sword_list:hover {
    color: white;
    background-color: grey;
}
.sword_list:hover a {
    color: white;
    text-decoration: none;
}

/* Blue Kumiai Logo Image (Non-Mobile Browsers) */
#kumiai_logo_nonmobile {
    display: none;
}

.twitter_logo {
    display: block;
    margin: 0 auto 1rem;
}

.instagram_logo {
    display: block;
    margin: 0 auto 1rem;
}
/* PayPal and DigiCert Text */
#paypal_text, #digicert_text {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cc_img {
    margin-top: 3px;
    margin-bottom: 3px;
}

.repair_table td, th {
    vertical-align: middle !important;
}

.ti_head {
    color: #000;
}
.ti_head a {
    color: red;
}
#gs_table {
    border: 1px solid #dcdcdc;
}
.ti_newprodbg {
    background-color: #FFFFCC;
}
.ti_normprodbg {
    background-color: white;
}

.koshi_img_cont {
    width: 91% !important;
    max-width: 91% !important;
}
.prod_img_cont {
    width: 91% !important;
    max-width: 91% !important;
    margin-right: 2px;
}

/* Footer */
footer {
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
    text-align: center;
}

.shousai_prod_img {
    align-items: flex-start;
}

#pur_prod_dat_box {
    background-color: #ff9;
    border: 3px solid #666;
}

/* iPhone 5/SE Portrait */
@media only screen and (max-width: 320px) {
    /* Main Row */
    .row {
        margin-right: 0;
        margin-left: 0;
    }

    /* 概要 section of Market Page */
    .market_row {
        margin-left: 0 !important;
    }

    /* Body Row */
    #body_row {
        justify-content: center;
        align-content: center;
    }

    /* Main */
    main {
        min-width: 100%;
    }

    /*~ Header ~*/
    #header-row {
        margin-bottom: 10px !important;
    }
    #header-left {
        display: none;
    }
    #header-right {
        display: none;
    }

    /* Title Kanji / Image */
    #title_kanji_img {
        margin: 0 auto;
        content: url('../../../img/title/logo_kanji.png');
        align-self: center;
        text-align: center;
        max-height: 42px;
        width: auto !important;
    }
    #title_en_img {
        /*max-width: 300px;*/
        margin: 0 auto;
        content: url('../../../img/title/logo_en_mobile.png');
        align-self: center;
        text-align: center;
        margin-bottom: 8px;
        max-height: 42px;
        width: auto !important;
    }

    /* Slogan */
    .slogan {
        font-size: smaller;
    }

    /*~ Nav ~*/
    #nav_non-mobile {
        display: none;
    }
    .navbar-nav {
        flex-direction: unset;
    }
    .nav_mob_row {
        min-width: 100% !important; /* without this, both rows appear on same row */
    }
    .nav-item {
        display: inline-block;
        float: left;
        width: 25%;
    }
    .dropdown {
        position: unset;
    }
    .dropdown-menu {
        font-size: x-small;
        width: 20%;
    }
    #nav_row_3 {
        margin-top: 0;
        margin-bottom: 10px !important;
    }

    /* Left Column */
    #left_column {
        margin-top: 10px;
        margin-left: 12px;
        margin-right: 12px;
        padding-left: 0;
        padding-right: 0;
    }

    /*~ Events ~*/
    #event_namedate_col {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: -10px;
        margin-right: -10px;
        max-width: 120%;
    }
    #event_namedate_box {
        justify-content: center;
    }
    .event_names {
        max-width: 40%;
        margin-left: 2px !important;
        padding-left: 0 !important;
        font-size: 95%;
        display: block !important;
    }
    .event_dates {
        max-width: 60%;
        text-align: right;
        margin-right: 2px !important;
        padding-right: 0 !important;
        font-size: 95%;
    }

    /* Middle Column */
    #middle_column {
        justify-content: center;
        align-content: center;
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .update_list {
        margin-bottom: 15px;
    }

    /*~ Blog ~*/
    #blog_entry_list {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    .blog_entry_list_row {
        min-height: auto; /*55px;*/
        font-size: large;
    }
    .blog_date_ja {
        width: 38%;
        align-self: normal;
    }
    .blog_title_ja {
        width: 62%;
    }
    .blog_date_en {
        width: 38%;
        align-self: normal;
    }
    .blog_title_en {
        width: 62%;
    }

    /*~ Shinchaku Updates ~*/
    #sc_update_list {
        margin-bottom: 25px !important;
        padding-bottom: 20px;
    }
    .sc_update_list_row {
        min-height: 55px;
    }
    .sc_date {
        width: 33%;
        height: 100%;
    }
    .sc_title {
        width: 67%;
        height: 100%;
        padding-left: 0;
    }

    #hanbai_touken_section {
        margin-top: 30px !important;
    }

    /* Blue Kumiai Logo (for Mobile) */
    #bnr_psc_mob {
        margin-top: 25px;
    }

    /* Footer */
    footer {
        max-width: 100%;
    }

    /* Time Period */
    .tperiod_col-1-xs {
        /*min-width: 20%;*/
        width: 35%;
    }
    .tperiod_col-2-xs {
        width: 65%;
    }
    .tperiod_col-3-xs {
        min-width: 100%;
        width: 100%;
        text-align: left !important;
    }

    /* Koshirae, Product and Envelope Images for Product Lists */
    .koshi_img_cont {
        width: 85% !important;
        max-width: 85% !important;
    }
    .prod_img_cont {
        width: 80% !important;
        max-width: 80% !important;
        margin-right: 2px;
    }
    .env_img_cont {
        max-width: 10%;
        align-self: center;
        margin-left: 5px;
    }
    .env_img {
        height: 40px !important;
        margin: auto;
    }
    .list_img_tosogu {
        width: 70px;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Kounyuu Page Product Data */
    .pur_prod_dat_col1 {
        padding-left: 2px;
        margin-left: 0;
        width: 40%;
    }
    .pur_prod_dat_col2 {
        width: 60%;
    }
    .pur_prod_img_col {
        padding-left: 2px;
        padding-right: 2px;
        margin-bottom: 2px;
    }

    #pur_email_lbl {
        min-width: 100% !important;
        width: 100% !important;
    }

    #pur_pmt_lbl, #pur_pmt {
        width: 100% !important;
    }

    #pur_pmt_date_lbl, #pur_pmt_date {
        width: 100% !important;
        flex: unset;
    }

}

/* iPhone X Portrait */
@media only screen and (min-width: 321px) and (max-width: 567px) {
    /* Main Row */
    .row {
        margin-right: 0;
        margin-left: 0;
    }

    /* 概要 section of Market Page */
    .market_row {
        margin-left: 0 !important;
    }

    /* Main */
    main {
        min-width: 100%;
    }

    /*~ Header ~*/
    #header-row {
        margin-bottom: 10px !important;
    }
    #header-left {
        display: none;
    }
    #header-right {
        display: none;
    }

    /* Title Kanji / Image */
    #title_kanji_img {
        margin: 0 auto;
        content: url('../../../img/title/logo_kanji.png');
        align-self: center;
        text-align: center;
        max-height: 50px;
        width: auto !important;
    }
    #title_en_img {
        /*max-width: 300px;*/
        margin: 0 auto;
        content: url('../../../img/title/logo_en_mobile.png');
        align-self: center;
        text-align: center;
        max-height: 50px;
        width: auto !important;
    }

    /* Slogan */
    .slogan {
        font-size: smaller;
    }

    /*~ Nav ~*/
    #nav_non-mobile {
        display: none;
    }
    .navbar-nav {
        flex-direction: unset;
    }
    .nav_mob_row {
        min-width: 100% !important; /* without this, both rows appear on same row */
    }
    .nav-item {
        display: inline-block;
        float: left;
        width: 25%;
    }
    .dropdown {
        position: unset;
    }
    .dropdown-menu {
        font-size: x-small;
        width: 20%;
    }
    #nav_row_3 {
        margin-top: 0;
        margin-bottom: 10px !important;
    }

    /*~ Events ~*/
    #left_column {
        margin-top: 10px;
        padding-left: 0;
        padding-right: 0;
    }
    #event_namedate_col {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: -10px;
        margin-right: -10px;
        max-width: 120%;
    }
    #event_namedate_box {
        justify-content: center;
    }
    .event_names {
        max-width: 46%;
        margin-left: 2px !important;
        padding-left: 0 !important;
    }
    .event_dates {
        max-width: 51%;
        text-align: right;
        margin-right: 2px !important;
        padding-right: 0 !important;
    }

    /* Middle Column */
    #middle_column {
        justify-content: center;
        align-content: center;
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }

    /*~ Blog ~*/
    .blog_date_ja {
        width: 26%;
    }
    .blog_title_ja {
        width: 74%;
    }
    .blog_date_en {
        width: 35%;
    }
    .blog_title_en {
        width: 65%;
    }

    /*~ Shinchaku Updates ~*/
    .sc_date {
        width: 28%;
    }
    .sc_title {
        width: 72%;
        padding-left: 0;
    }

    /* Blue Kumiai Logo (for Mobile) */
    #bnr_psc_mob {
        margin-top: 25px;
    }

    /* Time Period Table */
    .tperiod_col-1-xs {
        /*min-width: 20%;*/
        width: 35%;
    }
    .tperiod_col-2-xs {
        width: 65%;
    }
    .tperiod_col-3-xs {
        min-width: 100%;
        width: 100%;
        text-align: left !important;
    }

    /* Koshirae, Product and Envelope Images for Product Lists */
    .koshi_img_cont {
        width: 85% !important;
        max-width: 85% !important;
    }
    .prod_img_cont {
        width: 80% !important;
        max-width: 80% !important;
        margin-right: 2px;
    }
    .env_img_cont {
        max-width: 10%;
        align-self: center;
        margin-left: 5px;
    }
    .env_img {
        height: 50px !important;
        margin: auto;
    }
    .list_img_tosogu {
        width: 85px;
    }

    /* Kounyuu Page Product Data */
    #pur_prod_dat {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .pur_prod_dat_col1 {
        padding-left: 2px;
        margin-left: 0;
        width: 30%;
    }
    .pur_prod_dat_col2 {
        width: 70%;
    }
    .pur_prod_img_cont {
        height: 100%;
        text-align: center;
        vertical-align: middle;
        align-items: center;
        align-content: center;
        padding-bottom: 0;
        padding-top: 0;
        margin-bottom: 0;
        margin-top: 0;
    }
    #pur_prod_img {
        max-width: 100%;
    }
}

/* iPhone 5/SE Landscape */
@media only screen and (min-width: 568px) and (max-width: 767px) {
    /* Body Row */
    .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    #body_row {
        margin-right: 0;
        margin-left: 0;
        justify-content: center;
        justify-items: center;
        align-content: center;
        align-items: center;
    }

    /*~ Header ~*/
    #header-left {
        display: none;
    }
    #header-right {
        display: none;
    }

    /* Title Kanji / Image */
    #title_kanji_img {
        margin: 0 auto;
        content: url('../../../img/title/logo_kanji.png');
        align-self: center;
        text-align: center;
        display: inline-block;
        max-height: 50px;
        width: auto !important;
    }
    #title_en_img {
        margin: 0 auto;
        content: url('../../../img/title/logo_en_mobile.png');
        align-self: center;
        text-align: center;
        display: inline-block;
        max-height: 50px;
        width: auto !important;
    }

    /*~ Nav ~*/
    #nav_non-mobile {
        display: none;
    }
    .navbar-nav {
        flex-direction: unset;
    }
    .nav_mob_row {
        min-width: 100% !important; /* without this, both rows appear on same row */
    }
    .nav-item {
        display: inline-block;
        float: left;
        width: 20%;
    }
    .dropdown {
        position: unset;
    }
    .dropdown-menu {
        font-size: x-small;
        width: 20%;
    }
    #nav_row_3 {
        margin-top: 10px;
    }

    /* Zentosho Banner Row */
    #bnr_zts_ja {
        margin-right: 0;
        margin-left: 0;
    }

    /* Left Column */
    #left_column {
        padding-right: 0;
        padding-left: 0;
        justify-content: center;
        justify-items: center;
        align-content: center;
        align-items: center;
    }

    /*~ Events ~*/
    #event_schedule_row {
        width: 80% !important;
        margin-left: 10% !important;
    }

    /* Middle Column */
    #middle_column {
        justify-content: center;
        text-align: center;
        align-items: center;
        width: 75% !important;
        margin-bottom: 20px;
    }

    /*~ Blog ~*/
    .blog_date_ja {
        max-width: 38%;
    }
    .blog_title_ja {
        max-width: 62%;
    }
    .blog_date_en {
        max-width: 20%;
    }
    .blog_title_en {
        max-width: 80%;
    }

    /*~ Shinchaku Updates ~*/
    .sc_date {
        max-width: 22%;
    }
    .sc_title {
        max-width: 78%;
    }

    /* Blue Kumiai Logo (for Mobile) */
    #bnr_psc_mob {
        margin-top: 25px;
    }

    /* Japanese Time Periods Table */
    .tperiod_col-1-xs {
        width: 25%;
    }
    .tperiod_col-2-xs {
        width: 55%;
    }
    .tperiod_col-3-xs {
        min-width: 20%;
        width: 20%;
        text-align: left !important;
    }

    /* Koshirae, Product and Envelope Images for Product Lists */
    .koshi_img_cont {
        width: 85% !important;
        max-width: 85% !important;
    }
    .prod_img_cont {
        width: 80% !important;
        max-width: 80% !important;
        margin-right: 2px;
    }
    .env_img_cont {
        max-width: 10%;
        align-self: center;
        margin-left: 5px;
    }
    .env_img {
        height: 75px !important;
        margin: auto;
    }
    .list_img_tosogu {
        width: 140px;
    }

    /* Kounyuu Page Product Data */
    #pur_prod_dat {
        width: 100%;
    }
    .pur_prod_dat_col1 {
        padding-left: 2px;
        margin-left: 0;
        width: 20%;
    }
    .pur_prod_dat_col2 {
        width: 55%;
    }
    .pur_prod_img_cont {
        width: 100%;
        text-align: center;
        margin-bottom: 3px;
    }
    #pur_prod_img {
        max-width: 100%;
    }

    #pur_pmt_lbl {
        max-width: 40% !important;
        width: 40% !important;
    }

    #pur_pmt_date_lbl {
        max-width: 40% !important;
        width: 40% !important;
    }

}

/* iPhone X Landscape, iPad Portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    /* Head Container (JA) */
    #head_container_jp {
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 35px;
    }

    /*~ Header ~*/
    #header-left {
        display: none;
    }
    #header-right {
        display: none;
    }

    /*~ Header Bar Middle ~*/
    #title_kanji_img {
        margin: 0 auto;
        content: url('../../../img/title/logo_kanji.png');
        align-self: center;
        text-align: center;
        max-height: 60px;
        width: auto !important;
    }
    #title_en_img {
        margin: 0 auto;
        content: url('../../../img/title/logo_en_mobile.png');
        align-self: center;
        text-align: center;
        max-height: 60px;
        width: auto !important;
    }

    /*~ Nav ~*/
    #nav_non-mobile {
        display: none;
    }
    .navbar-nav {
        flex-direction: unset;
    }
    .nav_mob_row {
        min-width: 100% !important; /* without this, both rows appear on same row */
    }
    .nav-item {
        display: inline-block;
        float: left;
        width: 20%;
    }
    .dropdown {
        position: unset;
    }
    .dropdown-menu {
        font-size: x-small;
        width: 20%;
    }
    /* end Nav */

    #body_container {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        width: 100%;
    }

    #body_row {
        justify-content: center !important;
        align-items: center;
    }

    /* Zentosho Banner Row */
    #bnr_zts_ja {
        margin-right: 0;
        margin-left: 0;
    }

    #left_column {
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        padding-right: 15px;
        padding-left: 15px;
    }

    /*~ Events ~*/
    #event_namedate_col {
        margin-left: 10% !important;
        margin-right: 10% !important;
    }
    #event_namedate_box {
        max-width: 80%;
        margin-left: 10% !important;
    }
    #event_names {
        padding-left: 10% !important;
        width: 40% !important;
    }
    #event_dates {
        padding-right: 10% !important;
        width: 30% !important;
    }

    /*~ Blog ~*/
    #middle_column {
        justify-content: center;
        align-content: center;
        align-items: center;
        text-align: center;
        flex: 0 0 80%;
        width: 80% !important;
        max-width: 80%;
        margin-left: 10% !important;
        margin-right: 10% !important;
        margin-bottom: 20px;
    }

    /*~ Blog ~*/
    .blog_title_en {
        max-width: 80%;
        width: 80%;
        flex: 0 0 80%;
    }
    .blog_date_en {
        max-width: 20%;
        width: 20%;
        flex: 0 0 20%;
    }

    .sword_list {
        max-width: 70%;
        margin-left: 15% !important;
        margin-right: 15% !important;
    }

    .links_row {
        margin-left: 10%;
    }

    /* Japanese Time Periods Table */
    .tperiod_col-1-xs {
        width: 25%;
        padding-left: 90px;
    }
    .tperiod_col-2-xs {
        width: 45%;
    }
    .tperiod_col-3-xs {
        min-width: 30%;
        width: 30%;
        text-align: left !important;
    }
    .tperiod_col-4 {
        padding-left: 90px;
    }

    /* Koshirae, Product and Envelope Images for Product Lists */
    .koshi_img_cont {
        width: 85% !important;
        max-width: 85% !important;
    }
    .prod_img_cont {
        width: 80% !important;
        max-width: 80% !important;
        margin-right: 2px;
    }
    .env_img_cont {
        max-width: 10%;
        align-self: center;
        margin-left: 5px;
    }
    .env_img {
        height: 100px !important;
        margin: auto;
    }
    .list_img_tosogu {
        width: 170px;
    }

    /* Kounyuu Page Product Data */
    #pur_prod_dat {
        margin: auto 0;
        min-width: 100%;
        justify-content: center;
        justify-items: center;
        align-content: center;
        align-items: center;
        align-self: center;

    }
    .pur_prod_dat_col1 {
        padding-left: 2px;
        margin-left: 0;
        width: 15%;
    }
    .pur_prod_dat_col2 {
        width: 45%;
    }
    .pur_prod_img_cont {
        min-width: 100%;
        text-align: center;
        margin-bottom: 3px;
    }
    #pur_prod_img {
        max-width: 100%;
    }
}

/* iPad Pro Portrait, iPad Landscape */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    /* Hide Mobile Nav */
    .nav_mobile {
        display: none;
    }

    /*~ Header Bar Middle ~*/
    #title_kanji_img {
        margin: 0 auto;
        content: url('../../../img/title/logo_kanji.png');
        align-self: center;
        text-align: center;
        max-height: 60px;
        width: auto !important;
    }
    #title_en_img {
        /*max-width: 300px;*/
        margin: 0 auto;
        content: url('../../../img/title/logo_en_mobile.png');
        align-self: center;
        text-align: center;
        max-height: 60px;
        width: auto !important;
    }
    #header-right {
        display: block;
    }

    /* Zentosho Banner Row */
    #bnr_zts_ja {
        margin-right: 0;
        margin-left: 25px;
    }
    #bnr_zts_en {
        margin-right: 0;
        margin-left: 48px;
    }

    /* Event Title */
    #event_title {
        margin-right: 70px;
        width: 25%;
        padding-left: 0;
        padding-right: 0;
    }

    /* Event Banners */
    #banners_row {
        display: block;
    }

    /* Show jumbotron image */
    #jumbotron {
        display: block;
    }

    /*~ Nav ~*/
    #nav_non-mobile {
        display: block;
    }
    #navbar_row {
        width: 100%;
    }
    .navbar-nav {
        flex-direction: unset;
    }
    .nav_mob_row {
        min-width: 100% !important; /* without this, both rows appear on same row */
    }
    .nav-item {
        display: inline-block;
        float: left;
    }
    .dropdown {
        position: unset;
    }
    .dropdown-menu {
        font-size: x-small;
        width: 20%;
    }
    #nav_row_3 {
        margin-top: 10px;
    }
    /* End Nav */

    /* Slogan */
    #slogan_mobile {
        display: none;
    }
    #slogan_non-mobile {
        display: block;
    }

    /* Body */
    #body_container {
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
    #body_row {
        margin-left: -60px;
        margin-right: -70px;
    }

    #left_column {
        margin-right: 5px;
        margin-left: 5px;
        padding-right: 0;
        padding-left: 5px;
    }

    /* Show Kumiai Logo */
    #bnr_psc_mob {
        display: none;
    }
    #kumiai_logo_nonmobile {
        display: inline-flex;
    }

    /*~ Events ~*/
    #event_schedule_row {
        margin-left: 55px !important;
        margin-right: 55px !important;
    }
    #event_namedate_col {
        padding-right: 0;
        min-width: 100%;
    }
    #event_namedate_box {
        justify-content: center;
        font-size: smaller;
        margin-left: 5px;
        margin-right: 20px;
    }
    .event_names {
        width: 40% !important;
        max-width: 40%;
    }
    .event_dates {
        text-align: right;
        padding-right: 72px !important;
        width: 30%;
    }

    /* Banners */
    #banners_row img {
        margin-left: 40px !important;
        width: 75% !important;
    }

    /*~ Blog ~*/
    #middle_column {
        justify-content: center;
        text-align: center;
        align-items: center;
        width: 75% !important;
        margin-bottom: 20px;
    }
    .blog_date_ja {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .blog_title_ja {
        flex: 0 0 75%;
        max-width: 75%;
    }
    .blog_date_en {
        width: 32%;
    }
    .blog_title_en {
        width: 68%;
        padding-left: 0;
    }

    /* Shinchaku Updates */
    .sc_date {
        min-width: 21%;
    }
    .sc_title {
        max-width: 79%;
        padding-left: 5px;
    }

    /* Right Column */
    #right_column {
        margin-right: 5px;
        margin-left: 0;
        padding-right: 5px;
        padding-left: 0;
        max-width: 25%;
        align-content: center;
    }

    .links_row {
        margin-left: 23%;
        width: 60%;
    }

    /* Koshirae, Product and Envelope Images for Product Lists */
    .koshi_img_cont {
        width: 85% !important;
        max-width: 85% !important;
    }
    .prod_img_cont {
        width: 80% !important;
        max-width: 80% !important;
        margin-right: 2px;
    }
    .env_img_cont {
        max-width: 10%;
        align-self: center;
        margin-left: 5px;
    }
    .env_img {
        height: 130px !important;
        margin: auto;
    }
    .list_img_tosogu {
        width: 230px;
    }

    /* Kounyuu Page Product Data */
    #pur_prod_dat {
        width: 50%;
        max-width: 50%;
        padding-right: 0;
    }
    .pur_prod_dat_col1 {
        padding-left: 2px;
        margin-left: 0;
        width: 20%;
    }
    .pur_prod_dat_col2 {
        width: 50%;
    }
    .pur_prod_img_cont {
        width: 35%;
        margin-top: 3px;
        text-align: center;
        margin-bottom: 3px;
    }
    #pur_prod_img {
    }

}

/* iPad Pro Landscape */
@media only screen and (min-width: 1200px) and (max-width: 1823px) {
    /* Hide Mobile Nav */
    .nav_mobile {
        display: none;
    }

    #slogan_mobile {
        display: none;
    }

    /* Show jumbotron image */
    #jumbotron {
        display: block;
    }

    #slogan_non-mobile {
        display: block;
    }

    #navbar_row {
        width: 75%;
    }

    .nav-item {
        width: 15%;
    }

    #body_container {
        padding-left: 0;
        padding-right: 0;
    }

    #body_row {
        margin-left: -85px;
        margin-right: -85px;
    }

    #left_column {
        padding-left: 0;
    }
    /* Zentosho Kumiai Banner */
    #bnr_zts_en {
        margin-right: 0;
        margin-left: 48px;
    }

    /* Event Banners */
    #banners_row {
        display: block;
    }

    /* Blog */
    .blog_date_ja {
        width: 38%;
        align-self: normal;
    }
    .blog_title_ja {
        width: 62%;
    }

    /* Shinchaku Updates */
    .sc_date {
        flex: 0 0 20%;
        max-width: 20%;
        width: 20%;
    }
    .sc_title {
        flex: 0 0 80%;
        max-width: 80%;
        width: 80%;
    }

    /* Right Column */
    #right_column {
        padding-right: 30px;
        padding-left: 0 !important;
        margin-left: -35px;
    }

    /* Show Public Safety Commission Logo */
    #bnr_psc_mob {
        display: none;
    }
    #kumiai_logo_nonmobile {
        display: inline-flex;
    }

    .links_row {
        margin-left: 23%;
        width: 60%;
    }

    /* Koshirae, Product and Envelope Images for Product Lists */
    .koshi_img_cont {
        width: 85% !important;
        max-width: 85% !important;
    }
    .prod_img_cont {
        width: 80% !important;
        max-width: 80% !important;
        margin-right: 2px;
    }
    .env_img_cont {
        max-width: 10%;
        align-self: center;
        margin-left: 5px;
    }
    .env_img {
        height: 130px !important;
        margin: auto;
    }
    .list_img_tosogu {
        width: 230px;
    }

    /* Kounyuu Page Product Data */
    #pur_prod_dat {
        /*width: 50%;
        max-width: 50%;*/
        padding-right: 0;
    }
    .pur_prod_dat_col1 {
        padding-left: 2px;
        margin-left: 0;
        width: 22%;
    }
    .pur_prod_dat_col2 {
        width: 50%;
    }
    .pur_prod_img_cont {
        width: 35%;
        margin-top: 3px;
        text-align: center;
        margin-bottom: 3px;
    }
    #pur_prod_img {
    }
}

/* Surface Portrait */
@media only screen and (min-width: 1824px) and (orientation: portrait) {
    /* Hide Mobile Nav */
    .nav_mobile {
        display: none;
    }

    #slogan_mobile {
        display: none;
    }

    /* Show jumbotron image */
    #jumbotron {
        display: block;
    }

    #slogan_non-mobile {
        display: block;
    }

    .navbar-nav {
        justify-content: space-around;
        align-items: center;
        text-align: center;
    }
    #navbar_row {
        width: 65%;
    }
    .nav-item {
        width: 15%;
    }

    #body_container {
        padding-left: 0;
        padding-right: 0;
    }

    #body_row {
        margin-left: -85px;
        margin-right: -85px;
    }

    #left_column {
        padding-left: 0;
    }
    /* Zentosho Kumiai Banner */
    #bnr_zts_en {
        margin-right: 0;
        margin-left: 48px;
    }

    /* Event Banners */
    #banners_row {
        display: block;
    }

    /* Right Column */
    #right_column {
        padding-right: 30px;
        padding-left: 0 !important;
        margin-left: -25px;
    }

    /* Show Kumiai Logo */
    #bnr_psc_mob {
        display: none;
    }
    #kumiai_logo_nonmobile {
        display: inline-flex;
    }

    /* Blog */
    .blog_date_ja {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .blog_title_ja {
        flex: 0 0 75%;
        max-width: 75%;
    }

    /*~ Shinchaku Updates ~*/
    .sc_date {
        max-width: 20%;
        flex: 0 0 20%;
        width: 20%;
    }
    .sc_title {
        max-width: 80%;
        flex: 0 0 80%;
        width: 80%;
    }

    .links_row {
        margin-left: 23%;
        width: 60%;
    }

    /* Koshirae, Product and Envelope Images for Product Lists */
    .koshi_img_cont {
        width: 85% !important;
        max-width: 85% !important;
    }
    .prod_img_cont {
        width: 80% !important;
        max-width: 80% !important;
        margin-right: 2px;
    }
    .env_img_cont {
        max-width: 4%;
        align-self: center;
    }
    .list_img_tosogu {
        width: 240px;
    }

}

/* Surface Landscape */
@media only screen and (min-width: 1824px) and (orientation: landscape) {
    /* Hide Mobile Nav */
    .nav_mobile {
        display: none;
    }

    #slogan_mobile {
        display: none;
    }

    /* Show jumbotron image */
    #jumbotron {
        display: block;
    }

    #slogan_non-mobile {
        display: block;
    }

    .navbar-nav {
        justify-content: space-around;
        align-items: center;
        text-align: center;
    }
    #navbar_row {
        width: 45%;
    }
    .nav-item {
        width: 15%;
    }

    #body_container {
        padding-left: 0;
        padding-right: 0;
    }

    #body_row {
        margin-left: -85px;
        margin-right: -85px;
    }

    #left_column {
        padding-left: 0;
    }
    /* Zentosho Kumiai Banner */
    #bnr_zts_en {
        margin-right: 0;
        margin-left: 48px;
    }

    /* Event Banners */
    #banners_row {
        display: block;
    }

    /* Right Column */
    #right_column {
        padding-right: 30px;
        padding-left: 0 !important;
        margin-left: -25px;
    }

    /* Show Kumiai Logo */
    #bnr_psc_mob {
        display: none;
    }
    #kumiai_logo_nonmobile {
        display: inline-flex;
    }

    /* Blog */
    .blog_date_ja {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .blog_title_ja {
        flex: 0 0 75%;
        max-width: 75%;
    }

    /*~ Shinchaku Updates ~*/
    .sc_date {
        max-width: 20%;
        flex: 0 0 20%;
        width: 20%;
    }
    .sc_title {
        max-width: 80%;
        flex: 0 0 80%;
        width: 80%;
    }

    .links_row {
        margin-left: 23%;
        width: 60%;
    }

    /* Koshirae, Product and Envelope Images for Product Lists */
    .koshi_img_cont {
        width: 85% !important;
        max-width: 85% !important;
    }
    .prod_img_cont {
        width: 80% !important;
        max-width: 80% !important;
        margin-right: 2px;
    }
    .env_img_cont {
        max-width: 4%;
        align-self: center;
    }
    .list_img_tosogu {
        width: 240px;
    }

}

#div_curr_convert {
    display: inline-block;
}
    
#div_row_curr_convert {
    display: none;
}
@media only screen and (max-width: 400px) {
    #div_curr_convert {
        display: none;
    }
    
    #div_row_curr_convert {
        display: block;
    }
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
    height: inherit;
}

.table .thead-light th {
    color: #495057;
    background-color: white;
    border-color: #dee2e6;
    text-decoration: underline;
}

.mb-5, .my-5 {
    margin-bottom: 1rem!important;
}

.cell_for_fitting {
    width: 33%;
}

@media only screen and (max-width: 320px) {
    .card-title {
       font-size:10px;
    }
    
    .cell_for_fitting {
        width: 33%;
        font-size:10px;
    }
}

@media only screen and (max-width: 414px) {
    .card-title {
       font-size:10px;
    }
    
    .cell_for_fitting {
        width: 33%;
        font-size:10px;
    }
}

@media only screen and (max-width: 768px) {
    
    .cell_for_fitting {
        width: 33%;
    }
}

.holiday_schedule_frame {
    margin-left: 20px;
    width: 100%;
    height: 420px;
}

.holiday_schedule {
    margin-left: 20px;
}

.div_holiday_toppage {
    margin-top: 13px;
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 768px) {
    
    .holiday_schedule {
        margin-left: 0;
    }
}

.prod_list {
    max-width: 391px;
    padding-left: 15px;
}

.prod_list--wide {
    max-width: 784px;
    padding-left: 15px;
}

.prod_list2 {
    max-width: 784px;
    padding-left: 15px;
}

.prod_img_width {
    max-width: 392px !important;
    min-height: 50px;
}

.env_img_cont2 {
    max-height: 80px;
    top: -50px;
}

@media only screen and (max-width: 1024px) {
    
    .prod_list {
        max-width: 100%; /* 353px */
        padding-left: 15px;
    }

    .prod_list2 {
        max-width: 706px;
        padding-left: 15px;
    }

    .prod_img_width {
        max-width: 353px !important;
        min-height: 50px;
    }

    .env_img_cont2 {
        max-height: 80px;
        top: -50px;
    }
}


@media only screen and (max-width: 768px) {
    
    .prod_list {
        max-width: 100%; /* 267px; */
        padding-left: 15px;
    }

    .prod_list2 {
        max-width: 536px;
        padding-left: 15px;
    }

    .prod_img_width {
        max-width: 268px !important;
        min-height: 50px;
    }

    .env_img_cont2 {
        max-height: 80px;
        top: -20px;
    }
}

@media only screen and (max-width: 718px) {
    
    .prod_list {
        max-width: 100%;
        padding-left: 0;
    }

    .prod_list2 {
        max-width: 100%;
        padding-left: 0;
    }

    .prod_img_width {
        min-height: 60px;
        width: 80% !important;
        max-width: 80% !important;
    }

    .env_img_cont2 {
        max-height: 80px;
        top: 0;
    }
}

@media only screen and (max-width: 540px) {
    
    .prod_list {
        max-width: 100%;
        padding-left: 0;
    }

    .prod_list2 {
        max-width: 100%;
        padding-left: 0;
    }

    .prod_img_width {
        min-height: 80px;
        width: 80% !important;
        max-width: 80% !important;
    }

    .env_img_cont2 {
        top: 0;
    }
}

@media only screen and (max-width: 450px) {
    
    .prod_list {
        max-width: 100%;
        padding-left: 0;
    }

    .prod_list2 {
        max-width: 100%;
        padding-left: 0;
    }

    .prod_img_width {
        min-height: 60px;
        width: 80% !important;
        max-width: 80% !important;
    }

    .env_img_cont2 {
        top: 0;
    }
}


a {
    height: 100%;
}

#button_product_btm {
    max-width:784px !important;
}
    
@media only screen and (max-width: 1025px) {
    #button_product_btm {
        max-width:706px !important;
    }
}
@media only screen and (max-width: 897px) {
    #button_product_btm {
        max-width:660px !important;
    }
}
@media only screen and (max-width: 847px) {
    #button_product_btm {
        max-width:624px !important;
    }
}
@media only screen and (max-width: 812px) {
    #button_product_btm {
        max-width:565px !important;
    }
}
@media only screen and (max-width: 801px) {
    #button_product_btm {
        max-width:592px !important;
    }
}
@media only screen and (max-width: 769px) {
    #button_product_btm {
        max-width:536px !important;
    }
}
@media only screen and  (max-width: 741px) {
    #button_product_btm {
        max-width:361px !important;
    }
}
@media only screen and  (max-width: 737px), (max-width: 669px) {
    #button_product_btm {
        max-width:340px !important;
    }
}
@media only screen and (max-width: 668px) {
    #button_product_btm {
        max-width:340px !important;
    }
}
@media only screen and (max-width: 568px) {
    #button_product_btm {
        max-width:430px !important;
    }
}
@media only screen and (max-width: 540px) {
    #button_product_btm {
        max-width:408px !important;
    }
}
@media only screen and (max-width: 415px) {
    #button_product_btm {
        max-width:307px !important;
    }
}
@media only screen and (max-width: 376px) {
    #button_product_btm {
        max-width:276px !important;
    }
}
@media only screen and (max-width: 361px) {
    #button_product_btm {
        max-width:264px !important;
    }
}
@media only screen and (max-width: 320px) {
    #button_product_btm {
        max-width:232px !important;
    }
}
#button_product_btm div {
   font-size: 14px;
    padding: 0px !important;
    margin: 0px !important;
}
#button_product_btm div a {
    font-size: 14px;
        width: 80px;
        margin: 0px !important;
        padding-left: 2px;
        padding-right: 2px;
}

@media screen and (max-width: 400px) {
    #button_product_btm div {
       font-size: 14px;
        padding: 0px !important;
        margin: 0px !important;
    }
    #button_product_btm div a {
        font-size: 14px;
        width: 80px;
        margin: 0px !important;
        padding-left: 2px;
        padding-right: 2px;
    }
}
@media screen and (max-width: 320px) {
    #button_product_btm div {
        font-size: 14px;
        padding: 0px !important;
        margin: 0px !important;
    }
    #button_product_btm div a {
        font-size: 14px;
        width: 77px;
        margin: 0px !important;
        padding-left: 2px;
        padding-right: 2px;
    }
}

.speaker_icon_img {
    height: 32px !important;
    width: 32px;
    margin-top: .25rem!important;
    margin-left: 5px;
}

/*css info access pages*/

.info_access_img_div {
    max-width: 160px;
}
.info_access_img {
    width: 150px;
}
.info_access_content_div {
    max-width: 500px;
}
.info_access_btn_detail {
    bottom: 0;position: absolute;
    height: unset;
}
.info_access_shop_img {
    height: 240px;
}
.info_access_shop__noda-img--margin {
    margin-right: 6.8em;
}
.info_access_shop_content {
    text-align: center;
}
.info_access_shop_map_bw {
    max-width: 453px;
}
.info_access_btn_detail_div {
    min-height: 40px;
}
.info_access_shop_two_imgs_div {
    margin-top: 5px;
}
.info_access_shop_two_img {
    height:70px;
}
.dim_min_width {
    min-width: 120px;
}

/* audio player */
@font-face {
    font-family: "FontAwesome";
    src: url("fonts/fontawesome-webfont.eot");
    src: url("fonts/fontawesome-webfont.eot?#iefix") format("eot"), 
       url("fonts/fontawesome-webfont.woff") format("woff"), 
       url("fonts/fontawesome-webfont.ttf") format("truetype"), 
       url("fonts/fontawesome-webfont.svg#FontAwesome") format("svg");
    font-weight: 400;
    font-style: normal;
}
a {
    text-decoration: none;
}
.jp-jplayer,.jp-audio {
    width: 288px;
    padding-left: 0.75rem;
}

.jp-title {
    font-size: 12px;
    text-align: center;
    color: #999;
}
 
.jp-title ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.jp-gui {
  position: relative;
  background: #C2C3C3;
  background: -moz-linear-gradient(top,  #C2C3C3 0%, #C6C6C6 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C2C3C3), color-stop(100%,#C6C6C6));
  background: -webkit-linear-gradient(top,  #C2C3C3 0%,#C6C6C6 100%);
  background: -o-linear-gradient(top,  #C2C3C3 0%,#C6C6C6 100%);
  background: -ms-linear-gradient(top,  #C2C3C3 0%,#C6C6C6 100%);
  background: linear-gradient(to bottom,  #C2C3C3 0%,#C6C6C6 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C2C3C3', endColorstr='#C6C6C6',GradientType=0 );
  -webkit-box-shadow:  0px 1px 1px 0px rgba(0, 0, 0, .1);    
    box-shadow:  0px 1px 1px 0px rgba(0, 0, 0, .1);
    border-radius: 3px;
  overflow: hidden;
  margin-top: 10px;
}

.jp-controls {
    padding: 0;
    margin: 0;
    list-style: none;
    font-family: "FontAwesome";
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}
 
.jp-controls li {
    display: inline;
}
 
.jp-controls a {
    color: #525050;
}

.jp-play,.jp-pause {
    width: 60px;
    height: 40px;
    display: inline-block;
    text-align: center;
    line-height: 43px;
    border-right: none;
}
 
.jp-controls .jp-play:hover,.jp-controls .jp-pause:hover {
    background-color: #C2C3C3;
}
 
.jp-mute,.jp-unmute {
    position: absolute;
    right: 55px;
    top: 0;
    width: 20px;
    height: 40px;
    display: none;
    line-height: 46px;
}
 
.jp-mute {
    text-align: left;
}
.jp-time-holder {
    color: #FFF;
    font-size: 12px;
    line-height: 14px;
    position: absolute;
    right: 20px;
    top: 14px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.jp-progress {
    background-color: #525050;
    border-radius: 20px 20px 20px 20px;
    overflow: hidden;
    position: absolute;
    right: 15px;
    top: 15px;
    width: 200px;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2) inset;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2) inset;
}
 
.jp-play-bar {
    height: 12px;
    background-color: #992E18;
    border-radius: 20px 20px 20px 20px;
}
 
.jp-volume-bar {
    position: absolute;
    right: 10px;
    top: 17px;
    width: 45px;
    height: 8px;
    border-radius: 20px 20px 20px 20px;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1) inset;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1) inset;
    background-color: #992E18;
    overflow: hidden;
    display: none;
}
 
.jp-volume-bar-value {
    background-color: #fff;
    height: 8px;
    border-radius: 20px 20px 20px 20px;
    display: none;
}

.label_ds_nbthk_date {
    width: 35px;
}

.tsuba_list_img {
    height: fit-content;
}

.faudio_body {
    margin: 0px !important;
    padding: 0px !important;
}

.faudio_frame {
    height: 110px;
    width: 100%;
}

/* touken shinchaku image list */

@media only screen and (min-width: 1025px) {
    .div_touken_shinchaku_images {
        min-height: 80px;
        max-height: fit-content;
    }

    .koshi_img_tag {
        border: 1px solid black; 
        bottom: 0;
        position: absolute;
        right: 0;
    }
}
@media only screen and (max-width: 1024px) {
    
    .div_touken_shinchaku_images {
        padding-bottom: 5px;
    }

    .koshi_img_tag {
        border: 1px solid black; 
        bottom: 0;
        right: 0;
    }
}

.div_speaker_tosogu {
    width: 100%;
}

.scrollToTop{
    width: 40px;
    height: 40px;
    padding: 5px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    display:none;
    color: white;
    background: rgba(200,124,33,0.75);
    text-align: center;
    opacity: 0.5;
    z-index: 100000;
}
.scrollToTop:hover{
    color: white;
}

.img-content-center {
    width: 100%;
}

.row-product-spacing {
    padding-bottom: 25px;
}

.archive-audio__label-display {
    color: #000;
    cursor: pointer;
}