@media screen and (min-width: 751px) {
    .lightbox, .lightboxOverlay {
        min-width: var(--container);
    }
    .under main .image_l {
        float: left;
        margin: 0 40px 0 0;
    }
    .under main .image_r {
        float: right;
        margin: 0 0 0 40px
    }
    /* 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: none;
    }
    .under main .bnn a:hover {
        opacity: 0.7;
    }
    .under main .link:not(a[target=_blank]):hover, .under main .frame01 .list01 li a:hover {
        color: var(--scolor);
        text-decoration: none;
    }
    .under main .un_list_bnr li a:hover, .under main .bnr_full a:hover {
        background-color: var(--mcolor);
    }
    .under main .un_list_bnr li:not(:nth-child(3n)) {
        margin-right: 15px;
    }
    .under main .un_list_bnr.bnr2 li {
        width: calc(50% - 8px);
    }
    .under main .un_list_bnr.bnr4 li {
        width: calc(25% - 11px);
        margin-right: 14px;
    }
    .under main .un_list_bnr.bnr4 li a {
        background-position: right 15px center;
    }
    .under main .un_list_bnr.bnr2 li:last-child, .under main .un_list_bnr.bnr4 li:last-child {
        margin-right: 0;
    }
    .under main .list_case .case_item:hover, .under main .list_ovn .ovn_item:hover {
        opacity: 0.8;
    }
    .under main .u_editor img {
        max-width: 500px;
        max-height: 400px;
    }
}
@media screen and (min-width: 751px) and (max-width: 1500px) {
    .under main #top_info .inner {
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media screen and (max-width: 750px) {
    .under main #content {
        padding: 0 0 60px
    }
    .under main section {
        padding: 0 0 50px;
    }
    .under main .image_r, .under main .image_l, .under main .u_editor img {
        float: none;
        display: inline-block;
        width: 100%;
        text-align: center;
        margin: 0 auto 20px !important;
    }
    .under main .u_editor img {
        float: none !important;
        display: table;
        max-height: 300px;
    }
    .under main p {
        margin: 0 0 1.6em;
    }
    /*==========================================================
                  C U S T O M
  ==========================================================*/
    /*  TOP INFO  */
    .under main #top_info {
        height: 240px;
    }
    .under main #top_info .inner {
        padding-left: 15px;
        padding-top: 50px;
    }
    .under main #topic_path {
        margin-bottom: 15px
    }
    .under main #topic_path li, .under main #topic_path li a {
        font-size: 14px;
    }
    /*============ HEAD TITLE ============ */
    .under main h2 {
        font-size: 26px;
    }
    .under main .u_editor h3, .under main .un_ttl3 {
        font-size: 24px;
        padding: 0 25px;
        margin: 0 auto 25px;
    }
    .under main .u_editor h4, .under main .un_ttl4 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .under main .u_editor h5, .under main .un_ttl5 {
        font-size: 20px;
        padding-right: 25px;
        margin-bottom: 20px;
        background-position: right top 7px;
    }
    .under main .un_ttl3:before, .under main .un_ttl3:after, .under main .u_editor h3:before, .under main .u_editor h3:after {
        height: 24px;
        top: calc(50% - 12px);
    }
    .under main .un_ttl3:before, .under main .u_editor h3:before {
        left: 4px;
    }
    .under main .un_ttl3:after, .under main .u_editor h3:after {
        right: 4px;
    }
    .under main .boxh5 {
        padding: 50px 0;
        margin-bottom: 50px;
    }
    .under main h6, .under main .un_ttl6 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    /*============ TABLE ============ */
    .under main table {
        margin-bottom: 30px
    }
    .under main table td, .under main table th {
        padding: 10px 10px;
        font-size: 14px;
    }
    .under main table.tb_block tr {
        display: flex;
        flex-direction: column
    }
    .under main table.tb_block tr:not(:last-child) th {
        border-bottom: none
    }
    /*  .under main table.tb_block td + td {
        border-top: none;
    }*/
    .under main table.tb_block th, .under main table.tb_block td {
        width: 100%;
        border-right: none;
    }
    .under main table.tb_block tr:not(:first-child) td, .under main table.tb_block tr:first-child td + td {
        border-bottom: none;
    }
    .under main table .bt_sp {
        border-top: 1px #6a95bc solid !important;
    }
    /* TABLE SCROLL */
    .under main .tb_scroll {
        overflow: scroll;
    }
    .under main .tb_scroll:not(:last-child) {
        margin-bottom: 30px;
    }
    .under main .tb_scroll table {
        width: 800px;
    }
    .under main .tb_note {
        margin-bottom: 10px;
        color: #999;
    }
    /*============ LIST ============ */
    .under main {
        background-size: contain;
        background-position: center top 215px;
    }
    .under main p {
        font-size: 14px;
    }
    .under main .list01 {}
    .under main .list01 li {}
    .under main .list01 li, .under main .list02 li, .under main .list_check li {
        font-size: 14px;
    }
    .under main .list02 {}
    .under main .list02 li {}
    .under main .list02 li::before {}
    .under main .list_check {}
    .under main .list_check li {}
    .under main .list01 li::before {
        top: 11px;
    }
    .under main .frame01 .list01 li a {
        display: block;
    }
    .under main .list02 li::before {
        top: 3px;
    }
    /* LIST FAQ */
    .under main .list_faq dl {
        margin-bottom: 30px;
        padding: 15px
    }
    .under main .list_faq dt span {
        top: 3px;
        margin-right: 12px;
    }
    .under main .list_faq dd span {
        font-size: 16px;
    }
    .under main .list_faq dt {
        font-size: 16px;
        min-height: 50px;
        padding-bottom: 3px;
    }
    .under main .list_faq dd {
        font-size: 14px;
    }
    /* List STEP */
    .under main .list_step .list_step_box {
        padding: 15px;
    }
    .under main .list_step_tt {
        font-size: 16px;
    }
    .under main .list_step .list_step_box:not(:last-child)::before {
        width: 60px;
        height: 22px;
        bottom: -40px;
        left: calc(50% - 30px);
    }
    /*============ FRAME ============ */
    .under main .frame01 {
        padding: 20px 15px;
    }
    .under main .frame02 {
        padding: 30px 15px
    }
    .under main .frame_pick {
        padding: 50px 0px;
    }
    .under main .frame_pick .pick_ttl {
        flex-direction: column;
        align-items: flex-start;
    }
    .under main .frame_pick .pick_ttl .lg {
        font-size: 20px;
        margin-right: 0px;
    }
    .under main .frame_pick .pick_ttl .en {
        font-size: 16px;
        padding: 0px 12px;
    }
    .under main .frame_pick .pick_ttl .en:before, .under main .frame_pick .pick_ttl .en:after {
        height: 15px;
        top: 4px;
    }
    /*============ ORTHER ============ */
    .under main .box_map {
        height: 250px
    }
    /*============ OVN ============ */
    .under main .ovn_detail_ct img {
        max-width: 100%;
        max-height: 300px;
    }
    .under main .un_list_bnr {
        flex-direction: column;
        padding: 15px 15px 0px;
    }
    .under main .un_list_bnr li {
        width: 100%;
        height: 80px;
    }
    .under main .btn_lg a {
        height: 50px;
        font-size: 14px;
    }
    .under main .btn_link a {
        font-size: 14px;
    }
    .under main .btn_link a span {
        background-size: 5px auto;
    }
    .under main .stoc_ttl, .under main .box_toc p {
        font-size: 16px;
        padding: 3px 15px;
        margin-bottom: 15px;
    }
    .under main .un_list_bnr li a, .under main .bnr_full a {
        font-size: 18px;
    }
    .under main .box_staff {
        flex-direction: column;
        align-items: center;
    }
    .under main .staff_img {
        width: 100%;
        margin: 0 auto 30px;
        text-align: center;
    }
    .under main .un_stl {
        font-size: 16px;
        line-height: 1.6;
    }
    .under main .bold {
        margin-bottom: 1.2em;
    }
    .under main .un_contact_tel a {
        font-size: 27px;
    }
    .under main .un_contact_tel a:before {
        width: 15px;
        height: 20px;
        top: 1px;
    }
    .under main .un_contact_tel a {
        padding-left: 22px;
    }
    /*OVN*/
    .under main .list_case .case_item:not(:nth-child(2n)) {
        margin-right: 0;
    }
    .under main .list_case {
        max-width: 500px;
        margin: 0 auto;
    }
    .under main .list_case .case_item {
        width: 100%;
        margin-bottom: 50px;
    }
    .under main .list_case .case_item .img {
        height: 50vw;
    }
    .under main .btn_list {
        justify-content: center;
        margin: 0 auto;
    }
    .under main .btn_list li:not(:last-child) {
        margin-bottom: 15px;
    }
    .under main .btn_list .is_prev a span {
        background-size: 5px auto;
    }
    .under main .list_big {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
        margin-bottom: 30px;
    }
    .under main .list_thumb {margin:0 -5px 50px}

    .under main .list_thumb li {
        width: calc((100vw - 80px) / 5);
        margin: 0 5px
    }
    .u_editor div, .u_editor div p {
        font-size: 12px;
    }
    .under main .btn_list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 290px;
        max-width: inherit;
    }
    .under main .btn_list .btn_link:not(:last-child) {
        margin-bottom: 30px;
    }
    .under main .btn_list .btn_link a {
        width: 240px;
    }
    .under main .btn_blue a {
        font-size: 14px;
    }
    .under main .center_post img {
        max-height: 300px;
    }
    .under main .bold {
        font-size: 18px;
    }
    .under main .frame02.cta .bold {
        font-size: 20px;
        margin-bottom: 10px;
    }
	.under main .list_ovn .ovn_item {
    flex-direction: column;
}
	.under main .list_ovn .ovn_item .img {
    margin: 0 auto 20px;
		width: 260px;
}
	.under main .list_ovn .ovn_item .info_box .big {
    font-size: 16px;
		line-height: 1.5;

}
	.under main .list_ovn .ovn_item .info_box .date {
    margin-bottom: 10px;
}
	
}
/* IPHONE 14 */
@media screen and (max-width: 440px) {
    /*============ ORTHER ============ */
    /*============ OVN ============ */
    .under .ovn_list dl {
        flex-wrap: wrap;
    }
    .under .ovn_list dd {
        width: 100%;
        margin-top: 10px;
    }
    .under .ovn_list dt img {
        top: inherit;
    }
    .under main h2.sm_sp {
        font-size: 24px;
    }
    .under main .list_step_tt span {
        margin-right: 12px;
    }
    .under main .list_thumb li {
        width: 100px;
        margin: 0 5px
    }
}
/* IPHONE 6 */
@media screen and (max-width: 360px) {
    .under main h2 {
        font-size: 24px;
    }
    .under main h3, .under main .un_ttl3 {
        font-size: 22px;
    }
    .under main .un_list_bnr li a, .under main .bnr_full a {
        background-position: right 13px center;
    }
    .under main .un_list_bnr li a, .under main .bnr_full a {
        font-size: 16px;
    }
}
/* FIREFOX ONLY */
@-moz-document url-prefix() {}
/* Safari 10.1+ (which is the latest version of Safari at this time) */
@media not all and (min-resolution: 0.001dpcm) {}