@media screen and (min-width: 751px) {
  .under main .pagination li a:hover, .under main .pagination li span:not(.current):hover{color: var(--mcolor);}
  .under:not(.ja) main .mail_form table .box_policy_fix .wpcf7-list-item{position: relative;padding: 0 0 0 20px;}
  .under:not(.ja) main .wpcf7-list-item-label{display: block;padding: 0 0 0 50px;text-align: left;}
  .under:not(.ja) main .mail_form table .box_policy_fix input{position: absolute;}
  .under.en main .cln_dir_content dt,
  .under.vi main .cln_dir_content dt{min-width: 130px;}
  .under.en main .mail_form table th{padding-left: 65px;}
  .under.vi main .mail_form table th{padding-left: 65px;width: 250px;}
  .under main .bt_center{position: absolute;left: 50%;transform: translateX(-50%);}
  .under main .bt_right{position: absolute;right: 0;}
  .under main .bt_left{position: absolute;left: 0;}
  .under main .list_anchor_fun li a:hover{color: var(--mcolor);}
  .under main .fit_post a:hover{text-decoration: none;}
  .under main .cln_cat_list li a:hover{color: var(--mcolor);}
  .under main .class_submit p:hover::before{opacity: 0;visibility: hidden;}
  .under main .class_submit input:hover{color: #fff;filter: brightness(0) invert(1);}
  .under main .cln_right_row:hover{border-color: var(--mcolor);}
  .under main .case_detail_small p:not(.slick-current):hover img{transform: scale(1.2);}
  .under main .u_btn_mail a:hover::before{opacity: 0;visibility: hidden;}
  .under main .u_btn_mail a:hover::after{opacity: 1;visibility: visible;}
  .under main .u_btn_mail a::after{content: '';position: absolute;top: 0px;left: 0px;width: calc((100% - 0px));height: calc((100% - 0px));background: #fff;border-radius: 999px;transition: .3s ease-in-out;background: #F8E618;background: linear-gradient(90deg, rgba(248, 230, 24, 1) 2%, rgba(12, 195, 126, 1) 49%, rgba(0, 122, 76, 1) 98%);z-index: -1;opacity: 0;visibility: hidden;}
  .under main .u_btn_mail a:hover{background: #F8E618;background: linear-gradient(120deg, rgb(206, 205, 194) 2%, rgba(12, 195, 126, 1) 49%, rgba(0, 122, 76, 1) 98%)}
  .under main .u_btn_mail a:hover span{color: #fff;}
  .under main .u_btn_mail a:hover span::before{filter: brightness(0) invert(1);}
  .under main .sv_list_tab li:not(.active):hover{background: #F1FCF8;}
  .under main .sv_list_tab li:hover::after{filter: unset;}
  .lightbox,
  .lightboxOverlay{min-width: var(--site_size);}
  .under main .image_l{float:left;margin:0 50px 0 0}
  .under main .image_r{float:right;margin:0 0 0 50px}

  /* 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{opacity: 0.7;}
  .under main .link:not(a[target=_blank]):hover{color: var(--scolor);}

}

@media screen and (min-width: 751px) and (max-width: 1400px) {
  .under main .topic_path_inner{padding: 0 40px;}
}

@media screen and (max-width: 750px) {
  .under.case main h1{width: 100%;}
  .under.column main h1{width: 100%;}
  .under main .s7_item{border: 1px solid var(--mcolor);}
  .under main .s7_item:not(:last-child){margin: 0 0 15px 0;}
  .under main .s7_info{width: 100%;}
  .under main .s2_ttl a{text-align: left;min-height: auto;}
  .under main .mail_form .custom_radio01 .wpcf7-form-control-wrap .wpcf7-list-item{margin: 0;}
  .under main .mail_form table th, .under main .mail_form table td{padding: 8px 0;}
  .under main .mail_form .custom_radio01 .wpcf7-list-item label{display: flex;}
  .under main .mail_form table .must{position: unset;font-size: 12px;padding: 2px 3px 4px 2px;margin: 0 5px 0 0;}
  .under main .mail_form .custom_radio01 .wpcf7-form-control-wrap .wpcf7-list-item input::before{top: 5px;}
  .under main .mail_form .custom_radio01 .wpcf7-form-control-wrap .wpcf7-list-item input::after{top: 10px;}
  /* fix */
  .under main .mail_form .custom_radio01 .wpcf7-form-control-wrap .wpcf7-list-item .wpcf7-list-item-label{margin: 0 0 0 15px;}
  .under main .mail_form .custom_radio01 .wpcf7-form-control-wrap .wpcf7-list-item .wpcf7-list-item-label::before{top: 5px;}
  .under main .mail_form .custom_radio01 .wpcf7-form-control-wrap .wpcf7-list-item .wpcf7-list-item-label::after{top: 10px;}
  /* fix */
  .under main .list_anchor_fun li{margin: 5px 5px;}
  .under main .list_anchor_fun{flex-direction: column;align-items: center;}
  .under main .cln_right_ttl{margin: 0 0 10px 0;}
  .under main .cln_cat_list li a{padding: 5px 10px;}
  .under main .column_head .list_category{padding: 15px 15px;}
  .under main .column_flex{flex-direction: column;}
  .under main .column_left{width: 100%;margin: 0 0 60px 0;}
  .under main .column_right{width: 100%;padding: 0;}
  /* .under main .case_detail_small p{width: 60px;height: 40px;margin: 0 0 0 0;} */
  .under main .case_detail_big{height: 400px;}
  .under main .case_detail_big img{max-height: 400px;}
  .under main .case_detail_flex{flex-direction: column;}
  .under main .case_detail_left{width: 100%;margin: 0 0 20px 0;}
  .under main .case_detail_big p{width: 100%;}
  .under main .case_detail_right{width: 100%;}
  .under main .list_category ul li a{padding: 2px 10px;}
  .under main .list_category ul li{margin: 2px 2px;}
  .under main .list_category{margin: 0 0 20px 0;}
  .under main .case_body{margin: 15px 0 0 0;}
  .under main .list_category ul li.active a{padding: 2px 10px;}
  .under main .case_head{flex-direction: column;}
  .under main .case_list .s2_col{width: 50%;max-width: 100%;}
  .under main .sv_row02{flex-direction: column;padding: 0 0 10px 0;margin: 0 0 10px 0;}
  .under main .sv02_img{margin: 5px auto 15px auto;}
  .under main .sv02_ttl p{font-size: 16px;text-align: center;}
  .under main .u_sv_info_ttl p{margin: 0;font-size: 20px;text-align: center;}
  .under main .sv_list_tab li{height: auto;padding: 5px 10px;font-size: 14px;width: 50%;letter-spacing: -1px;}
  .under main .sv_list_tab{margin: 0 0 30px 0;}
  .under main .u_sv_ttl p{font-size: 24px;text-align: center;}
  .under main .u_sv_flex{flex-direction: column;}
  .under main .u_sv_img{flex-shrink: unset;margin: 20px auto;text-align: center;}
  .under main .sv_list_tab li.active::before{display: none;}
  .under main .sv_list_tab li.active{border: 1px solid var(--mcolor);border-radius: 10px;}
  .under main .sv_list_tab li.active:last-child{border-bottom: 0;border-radius: 10px 10px 0 0;}
  .under main .u_sv_ttl{margin: 0 0 20px 0;}
  .under main .sv_list_tab li::after{width: 10px;margin: 0 0 0 5px;}
  .under main .u_step_flex{flex-direction: column;}
  .under main .u_step_left{margin: 0;flex-shrink: unset;}
  .under main .u_step_icon{width: 40px;height: 40px;margin: 0 10px 0 0;}
  .under main .sv_list_tab ul{flex-wrap: wrap;}
  .under main .topic_path_inner{padding: 0 15px;}
  .under main .fit_post .alignleft,
  .under main .fit_post .alignright,
  .under main .fit_post .aligncenter{margin: 0 auto 20px;float: none;display: block;}
  .under main .fit_post img{max-height: 300px;}
  .under main #content{padding: 0 0 50px;}
  .under main section{padding:0 0 60px;}

  .under main .image_r,
  .under main .image_l{float:none;display:inline-block;width:100%;text-align:center;margin:0 auto 30px !important}

  /*==========================================================
                  C U S T O M
  ==========================================================*/
  /*  TOP INFO  */
  .under main #topic_path{margin-bottom:15px}
  .under main #topic_path li,
  .under main #topic_path li a{font-size: 14px;}
  .under main #top_info{margin: 0 0 30px 0;}
  .under main .u_sec_ttl .ja{font-size: 14px;}
  .under main .u_sec_ttl{text-align: center;}
  .under main .about_flex{flex-direction: column-reverse;}
  .under main .about_right{flex-shrink: unset;margin: 0 auto 20px auto;}
  .under main .u_step_number p{font-size: 14px;}
  .under main .u_step_ttl p{font-size: 16px;}
  .under main .u_step_des_box{padding: 10px 0 0 20px;}
  .under main .u_btn_mail a span{font-size: 14px;padding: 0 0 0 25px;}
  .under main .u_case_post_other_ttl{flex-direction: column;align-items: center;}
  .under main .u_sec_ttl_case_sub p{font-size: 18px;}
  .under main .u_case_post_other .u_sec_ttl{padding: 0 0 10px 0;margin: 0 0 10px 0;}
  .under main .u_case_post_other .u_sec_ttl::after{width: 100px;height: 1px;left: calc((100% - 100px)/2);bottom: 0;top: unset;}
  .under main .sec02 .slick-dots{bottom: -25px;}
  .under main .u_case_post_other_list{width: 100%;}
  .under main .u_btn_mail a{width: 160px;height: 50px;}
  .under main .about_ttl{margin: 0 0 20px 0;}
  .under main .about_left_ttl p{font-size: 18px;text-align: center;}
  .under main .u_case_post_other_content{margin: 15px 0 0 0;}
  .under main .u_step_des_box p.u_step_des_box_ttl{font-size: 15px;}
  .under main .u_step_des_box p{font-size: 14px;}
  .under main .about_left_ttl{margin: 0 0 5px 0;}
  .under main p{font-size: 14px;margin: 0 0 10px 0;}
  .under main .about_row{flex-direction: column;}
  .under main .about_row .u_sec_ttl{margin: 0 0 10px 0;min-width: auto;width: 100%;}
  .under main .about_row_des{width: 100%;margin: 0;}
  .under main .about_table dt{width: 100px;font-size: 14px;padding: 5px;}
  .under main .about_table dd{width: calc((100% - 100px));font-size: 14px;padding: 8px 5px;}
  .under main .about_history dt{font-size: 14px;margin: 0 20px 0 0;}
  .under main .about_history dd{font-size: 14px;}
  /*============ HEAD TITLE ============ */
  .under.column main h1{font-size:26px;}
  .under.case main h1{font-size:26px;}
  .under main h2{font-size:26px;}
  .under main h3{font-size:24px}
  /* .under main .column_detail h3{font-size: 22px;margin: 0 0 15px 0;} */
  .under main .column_detail h1{font-size: 22px;margin: 0 0 15px 0;}
  .under main .u_sec_ttl .en{font-size: 24px;}
  .under main h4{font-size:22px;}
  /* .under main .column_detail h4{font-size: 18px;padding: 5px 20px;margin: 0 0 15px 0;} */
  .under main .column_detail h3{font-size: 18px;padding: 5px 20px;margin: 0 0 15px 0;}
  .under main h5{font-size:20px;}
  /* .under main .column_detail h5{font-size: 16px;padding: 10px;margin: 0 0 15px 0;} */
  .under main .column_detail h4{font-size: 16px;padding: 10px;margin: 0 0 15px 0;}
  /* .under main .column_detail h6{padding: 0 0 10px 0;margin: 0 0 10px 0;} */
  .under main .column_detail h5{padding: 0 0 10px 0;margin: 0 0 10px 0;}
  .under main .column_detail h6{font-size: 16px;margin: 0 0 10px 0;}
  .under main h6{font-size:18px;}
  .under main .column_dt_field01_list{flex-direction: column;align-items: center;justify-content: center;}
  .under main .cln_dt_col{width: 100%;}
  .under main .cln_dt_col:not(:last-child){margin: 0 0 15px 0;}
  /*============ TABLE ============ */
  .under main table{margin-bottom:30px}
  .under main table td,
  .under main table th{padding:15px 10px}
  .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%;}
  .under main .cln_dt_img{height: 400px;}

  /* 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 .list01{}
  .under main .list01 li{}

  .under main .list02{}
  .under main .list02 li{}
  .under main .list02 li::before{}

  .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: 16px;min-height: 50px;padding-bottom: 3px;}

  /* List STEP */
  .under main .list_step dl{margin-bottom: 20px;padding-bottom: 40px}

  /*============ FRAME ============ */
  .under main .frame01{padding:30px 15px}

  .under main .frame02{padding:30px 15px}

  .under main .frame_pick{padding:30px 15px}


  /*============ ORTHER ============ */
  .under main .box_map{height: 200px}


  /*============ KIJIKAKU ============ */
  .under main .kiji_detail_ct img{max-width: 100%;max-height: 300px;}

  /* .under main .case_detail_ttl p{font-size: 22px;} */
  .under main .case_detail_ttl h1{font-size: 22px;}
  .under main .case_detail_ttl{margin: 0 0 10px 0;}
  .under main .case_detail_building{padding: 10px 10px;}
  .under main .case_detail_building_ttl p{font-size: 18px;}
  .under main .case_detail_building_des p{font-size: 22px;}
  .under main .case_detail_note p{font-size: 12px;}
  .under main .case_detail_note{margin: 0;}
  .under main .case_detail_info_des li{font-size: 14px;}
  .under main .case_detail_info_des li.cd_building_icon::before{top: 0;}
  .under main .case_detail_info_des li.cd_work_icon::before{top: 3px;}
  .under main .case_detail_info_des li.cd_link_icon::before{top: 4px;}
  .under main .case_detail_info_des li.cd_address_icon::before{top: 2px;}
  .under main .case_detail_info_ttl{margin: 0 0 5px 0;}
  .under main .list_sv_all{flex-wrap: wrap;justify-content: center;}
  .under main .list_sv_all li{width: 25%;margin: 8px 8px;}
  .under main .list_sv_all li:not(:last-child){margin: 8px 8px;}
  .under main .list_sv_all .txt{font-size: 12px;}
  .under main .case_detail_title02 p{line-height: 1.8;font-size: 20px;}
  .under main .case_detail_title02{margin: 0 0 10px 0;}
  .under main .column_detail_director{padding: 15px 15px;flex-direction: column;margin: 30px 0 0 0;}
  .under main .cln_dir_head .name p{font-size: 16px;}
  .under main .cln_dir_head{flex-direction: column;align-items: center;justify-content: center;}
  .under main .cln_dir_head .posi p{font-size: 16px;padding: 0 0 0 25px;}
  .under main .cln_dir_head .posi{margin: 0 0 0 0;}
  .under main .cln_dir_head .posi p::before{width: 20px;height: 20px;}
  .under main .cln_dir_img{margin: 0 0 20px 0;}
  .under main .cln_dir_content dt{font-size: 14px;}
  .under main .cln_dir_content dd{font-size: 13px;}
  .under main .column_social ul li:not(:last-child){margin: 0 10px 0 0;}
  .under main .column_social{margin: 30px 0 0 0;}
  .under main .column_detail_field{margin: 30px 0 0 0;}
  .under main .mail_form table tr:last-child td{text-align: left;}
  .under main .mail_form table .box_policy_fix input{margin: 0 -5px 0 5px}
  .under main .mail_form table .box_policy_fix .wpcf7-list-item{margin: 0 0 0 0;padding: 0 0 0 30px;}
  .under main .mail_form table .box_policy_fix .wpcf7-list-item::before{left: 0;}
  .under main .mail_form table .box_policy_fix .wpcf7-list-item::after{left: 4px;}
  .under main .class_submit input{font-size: 16px;}
}


/* IPHONE 14 */
@media screen and (max-width: 600px) {
  /*============ ORTHER ============ */
  .under main .case_list .s2_col{width: 100%;}

  /*============ KIJIKAKU ============ */
  .under .kiji_list dl{flex-wrap: wrap;}
  .under .kiji_list dd{width: 100%;margin-top: 10px;}
  .under .kiji_list dt img{top: inherit;}
  .under main .case_detail_big{height: 250px;margin: 0 0 10px 0;}
  .under main .case_detail_big img{max-height: 250px;}
  .under main .cln_dt_img{height: 220px;}
} 


/* IPHONE 6 */
@media screen and (max-width: 360px) {
  .under main .about_left_ttl p{font-size: 16px;}
  .under main .about_table dt{width: 80px;}
  .under main .about_table dd{width: calc((100% - 80px));}
  .under main .sv_list_tab li{font-size: 12px;}
  .under main .u_sv_ttl p{font-size: 20px;}
  .under main .u_sec_ttl_case_sub p{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) {}