@media screen and (min-width: 751px) {
    .lightbox, .lightboxOverlay {
        min-width: var(--site_size);
    }
    .under main .image_l {
        float: left;
        margin: 0 45px 0 0
    }
    .under main p.mb50_pc {
        margin-bottom: 50px !important;
    }
    .under main .image_r {
        float: right;
        margin: 0 0 0 45px
    }
    .under main .list_3anchor {
        max-width: 805px;
        margin: 0 auto 30px;
    }
    .under main .list_4anchor {
        max-width: 1080px;
        margin: 0 auto 30px;
    }
    /* BUTTON OVN DETAIL */
    .under main .btn_list {
        display: flex;
        justify-content: center;
        position: relative;
    }
    .under main .btn_list .is_prev {
        position: absolute;
        top: 0;
        left: 150px;
    }
    .under main .btn_list .is_next {
        position: absolute;
        top: 0;
        right: 150px;
    }
    /* HOVER */
    .under main #topic_path li a:hover {
        text-decoration: underline
    }
    .under main .bnn a:hover, .under main .bnr01 a:hover {
        opacity: 0.7;
    }
    .under main .link:not(a[target=_blank]):hover {
        color: var(--scolor);
    }
    .under main table.pd_sm th, .under main table.pd_sm td {
        padding: 15px 5px;
    }
}
@media screen and (max-width: 750px) {
    .under main #content {
        padding: 0 0 80px
    }
    .under main section {
        padding: 0 0 50px;
    }
    .under main .image_r, .under main .image_l {
        float: none;
        display: table;
        width: auto;
        text-align: center;
        margin: 0 auto 30px !important;
        padding: 0 25px;
    }
    .under main .image_r:before {
        width: 120px;
        height: 110px;
        right: 0px;
        bottom: -37px;
        background-size: 120px auto;
    }
    .under main .image_l:before {
        width: 150px;
        height: 118px;
        left: -3px;
        bottom: -44px;
        background-size: 130px auto;
    }
    /*==========================================================
                  C U S T O M
  ==========================================================*/
    /*  TOP INFO  */
    .under main #top_info {
        height: 200px;
        padding-top: 135px;
        margin-bottom: 35px;
    }
    .under main #top_info .inner:after {
        width: 120px;
        height: 30px;
        left: 10px;
        top: -30px;
        background-size: 100px auto;
    }
    .under main #top_info .inner:before {
        top: -20px;
        width: 100%;
        height: 20px;
        background-size: 750px auto;
        background-position: center bottom;
    }
    .under main #topic_path {
        margin-bottom: 15px
    }
    .under main #topic_path li, .under main #topic_path li a {
        font-size: 14px;
    }
    .under main #topic_path li:not(:last-child):before {
        top: 7px;
    }
    .under main #topic_path li:not(:last-child) {
        margin-right: 20px;
    }
    .under main #topic_path li:not(:last-child):before {
        right: -15px;
    }
    .under main #top_info .inner {
        height: 100px;
        width: calc(100% - 30px) !important;
    }
    .under main #top_info.line {
        padding-top: 100px;
    }
    .under main #top_info.line .inner {
        height: 135px;
    }
    /*============ HEAD TITLE ============ */
    .under main h2 {
        font-size: 25px;
        padding-bottom: 10px;
        line-height: 1.2;
    }
    .under main h3 {
        font-size: 24px;
        background-size: 50px auto;
        padding-top: 25px;
    }
    .under main h3 .en {
        font-size: 16px;
    }
    .under main h4 {
        font-size: 22px;
        padding: 12px 0 4px 17px;
        border-bottom-width: 1px;
        margin-bottom: 20px;
    }
    .under main h4::before {
        left: 0;
        top: 3px;
        background-size: 30px auto;
    }
    .under main h5 {
        font-size: 20px;
        background-size: 20px auto;
        background-position: left top 8px;
        padding-left: 30px;
        margin-bottom: 15px;
    }
    .under main h6 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .under main h6::before, .under main h6::after {
        height: 2px;
    }
    /*============ TABLE ============ */
    .under main table {
        margin-bottom: 30px
    }
    .under main table td, .under main table th {
        padding: 10px 7px;
        line-height: 1.5;
    }
    .under main table.mailform tr, .under main table.tb_block tr {
        display: flex;
        flex-direction: column
    }
    .under main table.mailform th, .under main table th {
        font-size: 18px;
    }
    .under main table.mailform tr:not(:first-child) th, .under main table tr:not(:first-child) th {
        border-bottom: none;
        border-top: none;
    }
    .under main table.mailform tr:not(:last-child) th, .under main table.tb_block tr:not(:last-child) th {
        border-bottom: none
    }
    .under main table.tb_block .bor_t {
        border-top: 1px var(--mcolor) solid;
    }
    .under main table.mailform td + td, .under main table.tb_block td + td {
        border-top: none;
    }
    .under main table.mailform th, .under main table.mailform td, .under main table.tb_block th, .under main table.tb_block td {
        width: 100%;
    }
    /*.under main table.tb_block {
    border-top: 1px var(--mcolor) solid;
  }*/
    /* TABLE SCROLL */
    .under main .tb_scroll {
        overflow: scroll;
    }
    .under main .tb_scroll:not(:last-child) {
        margin-bottom: 15px;
    }
    .under main .tb_scroll table {
        width: 800px;
    }
    .under main .tb_note {
        margin-bottom: 10px;
        color: #999;
    }
    /*============ LIST ============ */
    .under main .list01 {}
    .under main .list01 li, .under main .list_point, .under main .ovn_content ul li {
        font-size: 18px;
        padding-left: 20px;
    }
    .under main .list01 li::before, .under main .list_point:before, .under main .ovn_content ul li:before {
        width: 14px;
        height: 14px;
        top: 10px;
        left: 0;
    }
    .under main .list02 {}
    .under main .list02 li, .under main .ovn_content ol li {
        font-size: 18px;
        padding-left: 30px;
    }
    .under main .list02 li::before, .under main .ovn_content ol li:before {
        width: 24px;
        height: 24px;
        top: 5px;
        font-size: 16px;
        line-height: 20px;
        border-width: 1px;
    }
    .under main .list_check {}
    .under main .list_check li {}
    /* LIST FAQ */
    .under main .list_faq dl {
        margin-bottom: 30px;
        padding: 15px
    }
    .under main .list_faq dt span {
        top: 3px;
    }
    .under main .list_faq dt {
        font-size: 18px;
        min-height: 50px;
        padding-bottom: 3px;
        line-height: 1.4;
    }
    /* List STEP */
    .under main .list_step dl {
        margin-bottom: 20px;
        padding-bottom: 40px
    }
    .under main .list_step dl:not(:last-child)::before {
        border-right: 20px solid transparent;
        border-left: 20px solid transparent;
        border-top: 20px solid var(--scolor);
        bottom: -2px;
    }
    .under main .list_step dt .icon {
        padding: 15px 10px 10px;
        font-size: 16px;
    }
    .under main .list_step dt .tt {
        font-size: 18px;
    }
    /*============ FRAME ============ */
    .under main .frame01 {
        padding: 25px 15px;
        border-width: 2px;
        margin-bottom: 20px;
    }
    .under main .frame02 {
        padding: 30px 15px
    }
    .under main .frame_pick {
        padding: 15px;
        border-width: 3px;
    }
    .under main .frame_pick .pick_ttl {
        font-size: 20px;
    }
    /*============ ORTHER ============ */
    .under main .box_map iframe {
        height: 250px
    }
    .under main .btn_2line a {
        height: 80px;
    }
    .under main .list_anchor_mid a {
        width: 290px;
    }
    .under main .bnr01 a {
        font-size: 18px;
        height: 130px;
    }
    .under main .bnr01 a span {
        font-size: 113%;
    }
    /* ===========  OVERNOTE ===========  */
    .under main .list_ovn {
        justify-content: space-between;
    }
    .under main .list_ovn li {
        margin: 0 0 20px 0;
        flex-direction: column;
    }
    .under main .list_ovn li .cate {
        font-size: 14px;
    }
    .under main .list_ovn li .img {
        height: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        aspect-ratio: 3/2;
    }
    .under main .list_ovn .info_box {
        width: 100%;
        flex-direction: column;
        margin-bottom: 0;
    }
    .under main .list_ovn .info_box .cate {
        padding: 3px 15px 2px;
    }
    .under main .list_ovn .big {
        font-size: 18px;
    }
    .under main .ft_bnr li.bnr_tel, .under main .ft_bnr li.bnr_line {
        padding: 15px 15px 7px;
    }
    .under main .ft_bnr li.bnr_line {
        padding: 20px 15px 15px;
    }
    .under main .ft_bnr li.bnr_tel a {
        padding-top: 5px;
        padding-left: 30px;
        background-position: left 40px center;
    }
    .under main .flex_2col img {
        width: 45%;
    }
    .under main .list_ovn li .blink {
        height: 24px;
        top: 5px;
        line-height: 20px;
    }

    .under#ovn_detail .ttl_related {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .under#ovn_detail .related_list {
        flex-wrap: wrap;
        gap: 20px 10px;
    }

    .under#ovn_detail .related_list li {
        width: calc(100% / 2 - 5px);
    }

    .under#ovn_detail .news_list_btn {
        flex-wrap: wrap;
        gap: 20px;
    }
}
/* IPHONE 14 */
@media screen and (max-width: 440px) {
    /*============ OVERNOTES ============ */
    .under main .list_ovn li {
        width: 100%;
    }
    .under main .list_ovn li .img {
        max-width: 100%;
    }
    .under main .list_ovn li:last-child {
        margin-bottom: 0;
    }

    .under#ovn_detail .related_list {
        gap: 30px;
    }

    .under#ovn_detail .related_list li {
        width: 100%;
        max-width: 320px;
    }

    .under#ovn_detail .related_list li .img {
        text-align: center;
    }
}
/* IPHONE 6 */
@media screen and (max-width: 360px) {}
/* FIREFOX ONLY */
@-moz-document url-prefix() {
    table div.fmail_must::before {
        padding-bottom: 3px;
    }
}
/* Safari 10.1+ (which is the latest version of Safari at this time) */
@media not all and (min-resolution: 0.001dpcm) {}