@charset "UTF-8";

/* EXACT LEGACY CONTACT FORM RULES (style.css) */
.contact{background-color:#F8F8F8}.contact__txt{color:#333;margin-bottom:30px}.contact-form{background-color:#fff;border-radius:10px}@media screen and (min-width: 768px){.contact-form{padding:40px;margin-bottom:60px}}@media screen and (max-width: 767px){.contact-form{padding:10px 20px;margin-bottom:30px}}@media screen and (min-width: 768px){.contact-form__item{display:-webkit-box;display:-ms-flexbox;display:flex;align-items:center}}.contact-form__item dt{text-align:left}@media screen and (min-width: 768px){.contact-form__item dt{white-space:nowrap;flex:1;padding-left:10px;margin-right:50px}}@media screen and (max-width: 767px){.contact-form__item dt{padding-top:30px;margin-bottom:20px}}.contact-form__item dd{width:100%}@media screen and (min-width: 768px){.contact-form__item dd{flex:2.5;max-width:600px;padding:30px 0}}@media screen and (max-width: 767px){.contact-form__item dd{padding-bottom:30px}}.contact-form__item:not(:last-child){border-bottom:1px solid #E5E5E5}.contact-form__ttl{display:flex;align-items:center}@media screen and (min-width: 768px){.contact-form__ttl{justify-content:space-between}}.contact-form__ttl .hissu{border:1px solid #AA0F36;border-radius:50px;color:#AA0F36;font-size:1.2rem;padding:3px 10px}@media screen and (max-width: 767px){.contact-form__ttl .hissu{margin-left:30px}}.contact-form__box{display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:wrap}.contact-form__box span{width:100%}.contact-form__box span:not(:last-child){margin-bottom:10px}.contact-form__list{display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:wrap}@media screen and (min-width: 768px){.contact-form__list .mwform-checkbox-field{width:48%;margin-bottom:10px}.contact-form__list .mwform-checkbox-field:nth-child(odd){margin-right:4%}}@media screen and (max-width: 767px){.contact-form__list .mwform-checkbox-field:not(:last-child){margin-bottom:10px}}.contact-form__list .mwform-checkbox-field-text{display:inline-block}.contact input[type="text"],.contact input[type="email"],.contact input[type="tel"],.contact input[type="number"],.contact select,.contact textarea{-webkit-appearance:none;-moz-appearance:none;background:#F8F8F8;border:1px solid #dadada;border-radius:2px;font-size:1.5rem;padding:15px;width:100%}.contact select::-ms-expand{display:none}.contact input[type="radio"]{display:none}.contact input[type="radio"]+span{cursor:pointer;padding-left:30px;position:relative}.contact input[type="radio"]+span::before{content:"";background:#F8F8F8;border:1px solid #dadada;border-radius:50%;display:block;width:20px;height:20px;position:absolute;top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}@media screen and (max-width: 767px){.contact input[type="radio"]+span::before{top:3px;-webkit-transform:translateY(0);transform:translateY(0)}}.contact input[type="radio"]+span::after{content:"";background:#AA0F36;border-radius:50%;width:6px;height:6px;padding:2px;position:absolute;top:50%;left:6px;-webkit-transform:translateY(-50%);transform:translateY(-50%);transition:all 0.3s ease 0s;opacity:0}@media screen and (max-width: 767px){.contact input[type="radio"]+span::after{top:8px;-webkit-transform:translateY(0);transform:translateY(0)}}.contact input[type="radio"]:checked+span::after{opacity:1}.contact .mw_wp_form .horizontal-item+.horizontal-item{margin-left:0}.contact input[type="checkbox"]{display:none}.contact input[type="checkbox"]+span{padding-left:30px;position:relative}.contact input[type="checkbox"]+span::before{content:"";display:block;position:absolute;top:3px;left:0;width:20px;height:20px;background-color:#F8F8F8;border:1px solid #dadada;border-radius:2px}@media screen and (max-width: 767px){.contact input[type="checkbox"]+span::before{display:block}}.contact input[type="checkbox"]:checked+span::after{content:"";display:block;position:absolute;top:3px;left:6px;width:7px;height:14px;transform:rotate(40deg);border-bottom:3px solid #AA0F36;border-right:3px solid #AA0F36}.contact-form__submit{text-align:center}.contact-form__submit .submit-txt{color:#AA0F36}.contact-form__submit .submit-btn{margin-bottom:30px;background-color:#AA0F36;font-size:1.6rem;padding:15px 10px}@media screen and (min-width: 768px){.contact-form__submit .submit-btn{width:300px}}@media screen and (max-width: 767px){.contact-form__submit .submit-btn{width:80%}}.contact-form__submit .back-btn{background-color:#888;margin:0 auto 10px;display:block;width:260px;padding:10px}.contact input[type="submit"]{-webkit-appearance:none;background-image:none;border:none;border-radius:50px;color:#fff;cursor:pointer;font-weight:700;text-decoration:none}.contact input[type="submit"]:hover,.contact input[type="submit"]:focus{outline:none}.contact input[type="submit"]::-moz-foucus-inner{border:none;padding:0}.mw_wp_form_confirm .select-wrap::after{display:none}

/* EXACT LEGACY FORM RULES (style_form.css) */
@charset "UTF-8";.custom-select{height:auto;overflow:hidden;position:relative;line-height:normal;background-color:inherit}.custom-select:after{content:"▼";display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:20px;height:100%;position:absolute;font-size:1em;top:0;right:5px;pointer-events:none}.custom-select select{width:100%;padding-right:30px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.custom-select select::-ms-expand{display:none}.custom-select select::focus{outline:none}.mw_wp_form_confirm .custom-select:after{content:""}.filed-note{font-size:1.2rem;margin-top:.8em}.ua-error-msg{color:#aa0f36;font-size:2rem}.apply-schedule{width:calc(100% - 40px);max-width:950px;margin:80px auto;padding:30px;border:1px solid #d3d3d3;border-radius:10px}.apply-schedule .schedule-title{margin-bottom:.5em;font-size:2rem;font-weight:700;color:#aa0f36}.apply-schedule .schedule-period{font-size:1.5rem}.apply-schedule>a{cursor:pointer;margin-left:auto;margin-right:0;padding:.3em 1.5em;color:#fff;font-size:1.5rem;font-weight:400;text-align:center;line-height:1;position:relative;border-radius:6px;border:2px solid transparent;outline:none;background-color:#262626;transition:.3s}.apply-schedule>a:hover{color:#262626;border-color:#262626;background-color:transparent}.apply-form .hide{display:none}.apply-form span{width:auto}.apply-form span:not(:last-child){margin-bottom:0}.apply-form .contact-form__item.applicant_name_ja:not(:first-child){border-top:3px solid #333}.apply-form .radio>span,.apply-form .checkbox>span{display:block}.apply-form .radio>span:not(:last-child),.apply-form .checkbox>span:not(:last-child){margin-bottom:.8rem}.apply-form .custom-select{margin-left:.8rem;margin-right:.8rem}.apply-form .custom-select:first-child{margin-left:0}.apply-form .contact-form__box{-ms-flex-align:center;align-items:center}.apply-form input[name=applicant_num]{width:30%;margin-right:10px}.apply-form .company-address-item{width:100%;margin-bottom:10px}.apply-form .company-address-item span{width:15%}.apply-form .company-address-item input{width:85%}.apply-form .company-address-item+.filed-note{padding-left:15%;margin-top:0;margin-bottom:10px}.apply-form .test_type-box .box__ttl{margin-bottom:.8rem}.apply-form .test_type-box .box__body{margin-bottom:.8rem}.apply-form .contact-form__privacy{margin-bottom:60px;text-align:center}.apply-form .contact-form__privacy a{display:inline-block;margin-bottom:.8em;color:#aa0f36;font-size:1.3rem;font-weight:500;text-decoration:underline}.apply-form .contact-form__privacy a:hover{text-decoration:none}.apply-form .contact-form__privacy .checkbox{font-size:1.5rem}.remove-seat-trigger{padding:.8rem;color:#fff;font-size:1.5rem;text-align:center;background-color:#b3b3b3;margin-bottom:30px}.remove-seat-trigger:hover{opacity:.9}#add-seat-trigger{cursor:pointer;display:block;text-align:center;background-color:#707070;margin-left:-20px;margin-right:-20px;margin-bottom:-10px;padding:10px 0;font-size:1.4rem;color:#fff;border-bottom-left-radius:10px;border-bottom-right-radius:10px}#add-seat-trigger:hover{opacity:.9}.mw_wp_form_confirm .remove-seat-trigger,.mw_wp_form_confirm #add-seat-trigger,.mw_wp_form_confirm .filed-note{display:none}.mw_wp_form .error{width:100%}.schedule .contact{margin-bottom:80px;background-color:transparent}.schedule .trainings .box{margin:auto}.schedule .trainings .box>span{display:block}.calendar{width:100%;max-width:780px;margin:auto}.calendar .calendar__head{display:-ms-flexbox;display:flex;max-width:500px;margin:0 auto 20px;-ms-flex-align:center;align-items:center}.calendar .calendar__head .prev-link a,.calendar .calendar__head .next-link a{display:block;width:35px;height:35px;font-size:1.2rem;line-height:35px;text-align:center;border-radius:6px;background-color:#efefef}.calendar .calendar__head .prev-link{margin-left:0;margin-right:auto}.calendar .calendar__head .next-link{margin-left:auto;margin-right:0}.calendar .calendar__head .yymm{color:#aa0f36;font-size:2.4rem;font-weight:700;text-align:center;line-height:1;position:relative}.calendar .calendar__table{table-layout:fixed;border-collapse:separate;width:100%;margin:auto;border-radius:8px;border:2px solid #d3d3d3;background-color:#f8f8f8}.calendar .calendar__table .saturday{color:#3e8596}.calendar .calendar__table .sunday{color:#aa0f36}.calendar .calendar__table .can_apply{background-color:#fff}.calendar .calendar__table thead tr:first-child th:first-child{border-top-left-radius:6px}.calendar .calendar__table thead tr:first-child th:last-child{border-top-right-radius:6px}.calendar .calendar__table thead .saturday{background-color:#b1e4f0}.calendar .calendar__table thead .sunday{background-color:#fff4f7}.calendar .calendar__table tbody td:last-child{border-right:1px solid #d3d3d3}.calendar .calendar__table tbody tr:last-child td{border-bottom:1px solid #d3d3d3}.calendar .calendar__table tbody tr:last-child td:first-child{border-bottom-left-radius:6px}.calendar .calendar__table tbody tr:last-child td:last-child{border-bottom-right-radius:6px}.calendar .calendar__table th,.calendar .calendar__table td{font-size:1.5rem;text-align:center;border-top:1px solid #d3d3d3;border-left:1px solid #d3d3d3}.calendar .calendar__table th{padding:10px 0}.calendar .calendar__table td{height:140px;padding:5px 10px}.calendar .calendar__table .remaining-seats{display:block;color:#aa0f36;margin-bottom:.5em;font-size:1.4rem}.calendar .calendar__table .remaining-seats.disabled{opacity:.8;color:#d3d3d3}.calendar .calendar__table input[type=submit]{cursor:pointer;display:block;width:100%;padding:.5em 0;color:#fff;font-size:1.5rem;font-weight:400;text-align:center;line-height:1;position:relative;border-radius:6px;border:2px solid transparent;outline:none;background-color:#aa0f36;transition:.3s}.calendar .calendar__table input[type=submit]:hover{color:#aa0f36;border-color:#aa0f36;background-color:transparent}.calendar .calendar__table input[type=submit][disabled]{pointer-events:none;opacity:.8;background-color:#d3d3d3}.calendar .calendar__table .period .event-data{margin-left:-10px;margin-right:-10px}.calendar .calendar__table .event-data{margin-top:3px;height:68px;position:relative}.calendar .calendar__table .event-data.is-expired{height:90px}.calendar .calendar__table .event-data .period-line{display:block;width:100%;height:1px;position:absolute;bottom:20px;background-color:#aa0f36}.calendar .calendar__note{margin-top:10px;display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;font-size:1.3rem}@media screen and (max-width:767px){.custom-select:after{font-size:.8em;right:2px}.filed-note{font-size:1rem}.apply-schedule .schedule-period{margin-bottom:20px}.apply-form .custom-select{margin-left:.4rem;margin-right:.4rem}.apply-form .custom-select select{padding-left:10px;padding-right:20px}.apply-form .contact-form__ttl .hissu{margin-left:10px}.apply-form .company-address-item span{width:30%}.apply-form .company-address-item input{width:70%}.apply-form .company-address-item+.filed-note{padding-left:30%}.apply-form .tel input[type=text]{padding-left:10px;padding-right:10px}.calendar .calendar__head .prev-link a,.calendar .calendar__head .next-link a{width:30px;height:30px;font-size:1rem;line-height:30px}.calendar .calendar__head .yymm{font-size:2.2rem}.calendar .calendar__table th,.calendar .calendar__table td{font-size:1.2rem}.calendar .calendar__table th{padding:5px}.calendar .calendar__table td{height:120px;padding:5px 3px}.calendar .calendar__table .remaining-seats{font-size:1.2rem}.calendar .calendar__table .remaining-seats>span{display:none}.calendar .calendar__table input[type=submit]{font-size:1.2rem}.calendar .calendar__table .period .event-data{margin-left:-3px;margin-right:-3px}.calendar .calendar__table .event-data{height:55px}.calendar .calendar__table .event-data.is-expired{height:97px}.calendar .calendar__table .event-data .period-line{bottom:15px}}@media screen and (min-width:768px){.apply-schedule{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.apply-form .company-address-item input[name=company_post],.apply-form .company-address-item input[name=company_region],.apply-form .company-address-item input[name=company_locality]{width:30%}#add-seat-trigger{margin:40px -40px -40px;padding:20px 0;font-size:1.8rem}}@media screen and (max-width:321px){.calendar .calendar__table .remaining-seats{font-size:1rem}.calendar .calendar__table input[type=submit]{font-size:1rem}.calendar .calendar__table .event-data{height:50px}.calendar .calendar__table .event-data.is-expired{height:84px}}

.test_type .test_type__item:nth-child(3) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(7){display: none!important;}

.contact-form__item.test_type .test_type-box .test_type__item:nth-child(1) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(1){display: none;}
.contact-form__item.test_type .test_type-box .test_type__item:nth-child(1) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(2){display: none;}
.contact-form__item.test_type .test_type-box .test_type__item:nth-child(1) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(4){display: none;}
dl.contact-form__item.test_apply_new_0 dt {
    white-space: normal;
    display: block;
}



dl.contact-form__item.test_apply_new_0 dt .hissu {
    min-width: 47px;
}


.apply-form .contact-form .contact-form__unit .multiple_for_seats dl.contact-form__item.test_new_grp_0 dd .radio span.mwform-radio-field.horizontal-item:nth-of-type(1):nth-of-type(-n+7){

}

.test_type-box.item-siken .test_type__item.siken-item .contact-form__box .radio span.mwform-radio-field.horizontal-item:nth-of-type(8){
	display: none!important;
}

.contact-form__item.test_type .test_type-box .test_type__item:nth-child(1) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(2){
    display: none;
}

.contact-form__item.test_type .test_type-box .test_type__item:nth-of-type(2) .contact-form__box span.mwform-radio-field.horizontal-item:nth-of-type(20){
    display: none!important;
}

dl.contact-form__item.test_new_grp_1,dl.contact-form__item.test_new_grp_2,dl.contact-form__item.test_new_grp_3 {
    display: none;
}

.test_type-box.item-siken .test_type__item.siken-item .contact-form__box .radio span.mwform-radio-field.horizontal-item:nth-of-type(6){
    display: none!important;
}


a.underline-link {
    margin-bottom: 0.8em;
    color: #aa0f36;
    font-weight: 500;
    text-decoration: underline;
}

a.underline-link:hover{
	    text-decoration: none;
}

div#mw_wp_form_mw-wp-form-6315 dl.contact-form__item.applicant_name_ja {
    border-top: 0;
}

div#mw_wp_form_mw-wp-form-6316 dl.contact-form__item.applicant_name_ja {
    border-top: 0;
}

div#mw_wp_form_mw-wp-form-6315 .h-adr .contact-form:first-of-type {
    display: none;
}

div#mw_wp_form_mw-wp-form-6316 .h-adr .contact-form:first-of-type {
    display: none;
}



div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_1,
div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_2,
div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_3,
div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_4,
div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_5,
div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_6,
div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_7,
div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_8,
div#mw_wp_form_mw-wp-form-6316 .contact-form__item.applicant_name_sekinin_9{
    border-top: 2px solid #E5E5E5;
}

div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_1,
div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_2,
div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_3,
div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_4,
div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_5,
div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_6,
div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_7,
div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_8,
div#mw_wp_form_mw-wp-form-6315 .contact-form__item.applicant_name_sekinin_9{
    border-top: 2px solid #E5E5E5;
}


#mw_wp_form_mw-wp-form-6316 .remove-seat-trigger,#mw_wp_form_mw-wp-form-6315 .remove-seat-trigger{
	position: relative;
	color: #b3b3b3;
}

#mw_wp_form_mw-wp-form-6316 .remove-seat-trigger::before,#mw_wp_form_mw-wp-form-6315 .remove-seat-trigger::before {
    content: "×受講者を削除する";
    display: inline-block;
    color: #fff;
    position: absolute;
}

#mw_wp_form_mw-wp-form-6316 #add-seat-trigger,#mw_wp_form_mw-wp-form-6315 #add-seat-trigger{
		position: relative;
	color: #707070;
}

#mw_wp_form_mw-wp-form-6316 #add-seat-trigger::before,#mw_wp_form_mw-wp-form-6315 #add-seat-trigger::before{
    content: "＋受講者を追加する";
    display: inline-block;
    color: #fff;
    position: absolute;
}

dl.contact-form__item.numradiowebtai {
    display: none;
}







.btn-webkit{
    -webkit-appearance: none;
    background-image: none;
    border: none;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

li.box__item.case-study {
    margin-bottom: 8rem;
}


.wrap.case-study {
    background-color: inherit !important;
	padding-bottom: 2.2rem;
}

.contact.case-study .contact-form {
    background-color: #f8f8f8;
}

.contact.case-study .custom-select select {
    background: #ffffff;
}


.case-flex {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.case-flex .left {
    width: 45%;
    padding: 4rem 0rem 4rem 4.5rem;
}

aside.p-contents__side.p-contents__side--demo {
    margin-top: 6rem;
}

ul.box__list {
    counter-reset: number 0;
}

.decimal-leading-zero span {
    position: relative;
    font-size: 1.8rem;
    font-family: "Lato", sans-serif;
    display: inline-block;
    font-weight: bold;
    line-height: 1;
    color: #aa1036;
    border-bottom: 1px solid #aa1036;
}







li.box__item.case-study:nth-child(3n+3) svg .st1{
fill: #00ade5;
}

li.box__item.case-study:nth-child(3n+2) svg .st1{
	fill:#e1f001;
}

li.box__item.case-study:nth-child(3n+1) svg .st1{
	fill: #aa1036;
}



li.box__item.case-study svg {
    position: absolute;
    height: 100%;
}




li.box__item.case-study {
    padding: 0;
}

.case-flex .right {
    width: 51%;
    background: #1a1a1a;
    color: #ffffff;
	    border-radius: 10px;
}

.wrap.overflow-hidden {
    overflow: hidden;
}

.p-dem__item.p-dem__item--case-study_Industry {
    display: none;
}



.decimal-leading-zero{
	position: relative;
}

.decimal-leading-zero span.num {
    font-family: "Lato", sans-serif;
    display: inline-block;
    font-weight: bold;
    font-size: 4rem;
    line-height: 1;
    position: relative;
    top: 0.6rem;
    color: #aa1036;
    margin-left: 0.4rem;
    border: 0;
}

.case-flex .left .partner-desc__ttl {
    font-size: 2.5rem;
	margin-top: 0.8rem;
    margin-bottom: 1.2rem;
}

.case-flex .left .partner-desc__inr dl {
	position: relative;
	background: none;
	    margin-bottom: 14px;
    padding-bottom: 14px;
}

.case-flex .left .partner-desc__inr dl::before{
  content: '';
  position: absolute;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right, 
    #aa1036 0%, #aa1036 25%,
	#cccccc 25%, #cccccc 50%,
	#cccccc 50%, #cccccc 75%,
    #cccccc 75%, #cccccc 100%
  );
}

.case-flex .left .partner-desc__inr dt {
        flex: 2;
        margin-right: 0px;
        padding-left: 1.5rem;
        font-weight: 600;
        color: #aa1036;
    }

span.case-txt-en {
    font-size: 1.8rem;
    font-family: "Lato", sans-serif;
    display: inline-block;
    border-bottom: 1px solid;
    line-height: 1;
	    margin-right: 1rem;
}

.case-stuy-message-inr {
    padding: 5.5rem;
    padding-left: 10rem;
    padding-right: 5rem;
}

p.r-case-ttl {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 1rem;
}


.p-dem__item.p-dem__item--case-study_publish {
    display: inline-block;
    background-color: #F8F8F8;
    color: #AA0F36;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 3px 15px;
	margin-top: 1rem;
}

p.r-case-text {
    margin-top: 2rem;
	font-size: 1.4rem;
    line-height: 2;

    position: relative;
    z-index: 9;

}

@media screen and (max-width:767px){

	.wave99{
		display: none;
	}

.case-flex {
    display: block;
}

.case-flex .left {
        width: 100%;
        padding: 5rem 2.5rem 5rem 2.5rem;
        position: relative;
        z-index: 2;
}

.case-flex .left .partner-desc__ttl {
    font-size: 2rem;
}

.case-icon {
    position: absolute;
    top: 2%;
    left: 6%;
    width: 6rem;
    height: 6rem;
    padding: 1.25rem;
}

p.r-case-text {
    max-height: 100%;
	    margin-top: 1rem;
}

.decimal-leading-zero::after {
    font-size: 3rem;
    top: 0.4rem;
}

span.case-txt-en {
    font-size: 1.4rem;
}

.case-icon {
    position: absolute;

    z-index: 3;
}

.case-flex .left .partner-desc__inr dt {
    margin-right: 0px;
	        padding: 0;
}

p.r-case-ttl {
    font-size: 1.6rem;
}

    .case-flex .right {
        width: 100%;
        background: #1a1a1a;
        color: #ffffff;
        position: relative;
        overflow: hidden;
        padding: 3.5rem;
        padding-left: 2rem;
        padding-right: 1rem;
        padding-bottom: 3rem;

    }

.case-flex .right::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
        box-sizing: border-box;
        border-right: 6rem solid transparent;
        border-left: 0rem solid transparent;
}

.case-stuy-message-inr {
    padding: 3.5rem;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-bottom: 6rem;
}

.case-stuy-message-inr{
	padding: 0;
}

li.box__item.case-study:nth-child(3n+3) .case-flex .right::before{
border-top:3rem solid #00ade5;
}

li.box__item.case-study:nth-child(3n+3) .case-flex .right{
		border: 1rem solid #00ade5;
}

li.box__item.case-study:nth-child(3n+2) .case-flex .right::before{
	border-top: 3rem solid #e1f001;
}

li.box__item.case-study:nth-child(3n+2) .case-flex .right{
		border: 1rem solid #e1f001;
}

li.box__item.case-study:nth-child(3n+1) .case-flex .right::before{
	border-top:3rem solid #aa1036;
}

li.box__item.case-study:nth-child(3n+1) .case-flex .right{
		border: 1rem solid #aa1036;
}


}









dl.contact-form__item.test_apply_new_0 dd.tblcount0 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_0 dd.tblcount0 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

dl.contact-form__item.test_apply_new_1 dd.tblcount1 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_1 dd.tblcount1 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

dl.contact-form__item.test_apply_new_2 dd.tblcount2 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_2 dd.tblcount2 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

dl.contact-form__item.test_apply_new_3 dd.tblcount3 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_3 dd.tblcount3 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

dl.contact-form__item.test_apply_new_4 dd.tblcount4 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_4 dd.tblcount4 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}


dl.contact-form__item.test_apply_new_5 dd.tblcount5 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_5 dd.tblcount5 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

dl.contact-form__item.test_apply_new_6 dd.tblcount6 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_6 dd.tblcount6 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}


dl.contact-form__item.test_apply_new_7 dd.tblcount7 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_7 dd.tblcount7 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

dl.contact-form__item.test_apply_new_8 dd.tblcount8 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_8 dd.tblcount8 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

dl.contact-form__item.test_apply_new_9 dd.tblcount9 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_9 dd.tblcount9 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

dl.contact-form__item.test_apply_new_10 dd.tblcount10 .radio span.mwform-radio-field.horizontal-item:nth-child(1) {
    display: none;
}

dl.contact-form__item.test_apply_new_10 dd.tblcount10 .radio span.mwform-radio-field.horizontal-item:nth-child(2) {
    display: none;
}

/* EXACT LEGACY QUALIFICATION FORM RULES (style_apply.css) */
.test_type .test_type__item:nth-child(3) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(7){display: none!important;}

.contact-form__item.test_type .test_type-box .test_type__item:nth-child(1) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(1){display: none;}
.contact-form__item.test_type .test_type-box .test_type__item:nth-child(1) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(2){display: none;}
.contact-form__item.test_type .test_type-box .test_type__item:nth-child(1) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(4){display: none;}
dl.contact-form__item.test_apply_new_0 dt {
    white-space: normal;
    display: block;
}



dl.contact-form__item.test_apply_new_0 dt .hissu {
    min-width: 47px;
}


.apply-form .contact-form .contact-form__unit .multiple_for_seats dl.contact-form__item.test_new_grp_0 dd .radio span.mwform-radio-field.horizontal-item:nth-of-type(1):nth-of-type(-n+7){

}

.test_type-box.item-siken .test_type__item.siken-item .contact-form__box .radio span.mwform-radio-field.horizontal-item:nth-of-type(8){
	display: none!important;
}

.contact-form__item.test_type .test_type-box .test_type__item:nth-child(1) .contact-form__box span.mwform-radio-field.horizontal-item:nth-child(2){
    display: none;
}

.contact-form__item.test_type .test_type-box .test_type__item:nth-of-type(2) .contact-form__box span.mwform-radio-field.horizontal-item:nth-of-type(20){
    display: none!important;
}

dl.contact-form__item.test_new_grp_1,dl.contact-form__item.test_new_grp_2,dl.contact-form__item.test_new_grp_3 {
    display: none;
}

.test_type-box.item-siken .test_type__item.siken-item .contact-form__box .radio span.mwform-radio-field.horizontal-item:nth-of-type(6){
    display: none!important;
}

/* Gravity Forms compatibility only. Visual design above is copied from the legacy MW CSS. */
.contact__inr .gform_wrapper,
.contact__inr .gform_wrapper form,
.contact__inr .gform_wrapper .gform-body,
.contact__inr .gform_wrapper .gform_page,
.contact__inr .gform_wrapper .gform_fields { margin:0; padding:0; }
.contact__inr .gform_wrapper .gform_fields { display:block; }
.contact__inr .gform_wrapper .gfield_visibility_hidden,
.contact__inr .gform_wrapper .gfield--type-hidden,
.contact__inr .gform_wrapper input[type="hidden"] { display:none!important; }
.contact__inr .gx-mw-form .gfield_description,
.contact__inr .gx-mw-form .filed-note { width:100%; margin-top:.8em; padding:0; border:0; background:transparent; }
.contact__inr .gx-mw-form .gfield_validation_message,
.contact__inr .gx-mw-form .validation_message { width:100%; margin-top:.8em; padding:0; border:0; background:transparent; color:#aa0f36; }
.contact__inr .gx-mw-form .ginput_container,
.contact__inr .gx-mw-form .ginput_complex,
.contact__inr .gx-mw-form .gfield_radio,
.contact__inr .gx-mw-form .gfield_checkbox { width:100%; margin:0; padding:0; }
.contact__inr .gx-mw-form .gchoice { margin:0; padding:0; }
.contact__inr .gx-mw-form .gchoice label { display:block; margin:0; padding:0; font:inherit; }
.contact__inr .gx-mw-form .gform_page_footer,
.contact__inr .gx-mw-form .gform_footer { display:block; margin:0; padding:0; border:0; }
.contact__inr .gx-mw-form .gx-omit-section-title { display:none!important; }
.contact__inr .gx-mw-form [data-admin-label="attach_file"],
.contact__inr .gx-mw-form [data-admin-label="applicant_photo"],
.contact__inr .gx-mw-form [data-admin-label="face_photo"] { display:none!important; }
/* GF adds arrows/backgrounds. The legacy .custom-select:after is the only arrow. */
.contact__inr .gx-mw-form .custom-select select,
.contact__inr .gx-mw-form .custom-select select:hover,
.contact__inr .gx-mw-form .custom-select select:focus { background-image:none!important; box-shadow:none!important; }
.contact__inr .gx-mw-form .ginput_container_select::before,
.contact__inr .gx-mw-form .ginput_container_select::after { content:none!important; display:none!important; }
/* Dynamic rows use the same spacing as the legacy multiple_for_seats block. */
.contact__inr .gx-mw-form .genexus-applicant-card + .genexus-applicant-card { border-top:3px solid #333; }
.contact__inr .gx-mw-form .genexus-attend-fields[style*="display: none"],
.contact__inr .gx-mw-form .genexus-upgrade-fields[style*="display: none"] { display:none!important; }

/* v9: structural compatibility only — no new visual design */
.contact__inr .gform_wrapper.gravity-theme .gform_page_fields,
.contact__inr .gform_wrapper.gravity-theme .gform-body,
.contact__inr .gform_wrapper.gravity-theme .gform_body {
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.contact__inr .gform_wrapper.gravity-theme .apply-form .gfield,
.contact__inr .gform_wrapper.gravity-theme .apply-form .gsection {
  margin:0!important;
  padding:0!important;
}
.contact__inr .gform_wrapper.gravity-theme .contact-form__item .ginput_container,
.contact__inr .gform_wrapper.gravity-theme .contact-form__item .ginput_complex,
.contact__inr .gform_wrapper.gravity-theme .contact-form__item .gfield_radio,
.contact__inr .gform_wrapper.gravity-theme .contact-form__item .gfield_checkbox {
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.contact__inr .gform_wrapper.gravity-theme .gfield_description.filed-note {
  order:99;
  width:100%;
  margin:8px 0 0!important;
  padding:0!important;
}
.contact__inr .gform_wrapper.gravity-theme .gchoice {
  margin:0 0 10px!important;
  padding:0!important;
}
.contact__inr .gform_wrapper.gravity-theme .contact-form__submit input,
.contact__inr .gform_wrapper.gravity-theme .contact-form__submit button {
  width:auto;
}
.contact__inr .gform_wrapper.gravity-theme select {
  background-image:none!important;
}
.contact__inr .gform_wrapper.gravity-theme .custom-select::before {
  content:none!important;
}
.contact__inr .gform_wrapper.gravity-theme .gform_validation_errors {
  margin:0 0 30px;
}


/* v10: Gravity Forms interference reset and legacy layout bridge */
.contact .gform_wrapper,.contact .gform_wrapper.gravity-theme{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}
.contact .gform_wrapper .gform-body,.contact .gform_wrapper .gform_body,.contact .gform_wrapper .gform_page,.contact .gform_wrapper .gform_page_fields{width:100%!important;max-width:none!important}
.contact .apply-form{width:100%;max-width:950px;margin:0 auto}
.contact .apply-form .contact-form{display:block!important;width:100%!important;box-sizing:border-box!important}
.contact .apply-form .contact-form__unit{width:100%}
.contact .apply-form dl,.contact .apply-form dt,.contact .apply-form dd{margin:0}
.contact .apply-form .contact-form__box>input[type=text],.contact .apply-form .contact-form__box>input[type=email],.contact .apply-form .contact-form__box>input[type=tel],.contact .apply-form .contact-form__box>input[type=number]{display:block;width:100%!important;max-width:none!important;box-sizing:border-box}
.contact .apply-form .filed-note{display:block!important;flex-basis:100%;width:100%!important;margin:.8em 0 0!important;padding:0!important;line-height:1.7;order:20}
.contact .apply-form .gfield_description.filed-note{position:static!important;transform:none!important}
.contact .apply-form .radio{width:100%}
.contact .apply-form .mwform-radio-field.horizontal-item{display:block;width:100%;margin:0 0 .8rem}
.contact .apply-form .test_type-box{width:100%}
.contact .apply-form .test_type__item{width:100%}
.contact .apply-form .test_type__item .box__ttl{font-weight:400}
.contact .apply-form .genexus-test-note{margin-top:1.2em!important}
.contact .apply-form .genexus-attendance-group{width:100%}
.contact .apply-form .genexus-inline-selects{display:flex;flex-wrap:nowrap;width:100%}
.contact .apply-form .genexus-inline-selects .custom-select{flex:1;min-width:0}
.contact .apply-form select{background-image:none!important}
.contact .apply-form .custom-select::before{display:none!important}
.contact .apply-form .custom-select::after{content:"▼"!important}
.contact .gform_page_footer.contact-form__submit,.contact .gform_footer.contact-form__submit{display:block!important;text-align:center!important;margin:0 auto!important;padding:0 0 60px!important}
.contact .contact-form__submit input,.contact .contact-form__submit button{font-family:inherit!important;line-height:normal!important;min-height:0!important;box-shadow:none!important}
.contact .contact-form__submit .submit-btn{display:inline-block!important;border-radius:50px!important;color:#fff!important;border:0!important;background:#AA0F36!important}
.contact .contact-form__submit .back-btn{border-radius:50px!important;color:#fff!important;border:0!important;background:#888!important}
.contact .genexus-applicant-card:not(:first-child){border-top:0}
.contact .genexus-applicant-card:not(:first-child) .applicant_name_ja{border-top:3px solid #333}
@media screen and (min-width:768px){
 .contact .apply-form{max-width:950px}
 .contact .apply-form .contact-form__item>dt{flex:1!important;max-width:none!important}
 .contact .apply-form .contact-form__item>dd{flex:2.5!important;max-width:600px!important}
}


/* =========================================================
 * Verified MW → Gravity Forms visual bridge
 * Source of truth: legacy style.css / style_form.css / style_apply.css
 * ======================================================= */
.contact.wrap{background:#f8f8f8!important;}
.contact.wrap .contact__inr{max-width:1100px!important;margin:0 auto!important;padding-left:20px!important;padding-right:20px!important;}
.contact.wrap .gform_wrapper{margin:0 auto!important;}
.contact.wrap .gform_wrapper .gform_body{width:100%!important;}
.contact.wrap .gform_wrapper .gform_fields{display:block!important;grid-template-columns:none!important;grid-row-gap:0!important;}
.contact.wrap .gform_wrapper .gfield{grid-column:1/-1!important;}
.contact.wrap .apply-form{width:100%!important;max-width:none!important;margin:0!important;}
.contact.wrap .apply-form .heading04{margin:0 0 35px!important;text-align:center!important;}
.contact.wrap .apply-form .contact-form{width:100%!important;margin:0 0 60px!important;padding:40px!important;background:#fff!important;border-radius:10px!important;}
.contact.wrap .apply-form .contact-form__unit{display:block!important;width:100%!important;}
.contact.wrap .apply-form dl.contact-form__item{display:flex!important;align-items:center!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;}
.contact.wrap .apply-form dl.contact-form__item:not(:last-child){border-bottom:1px solid #e5e5e5!important;}
.contact.wrap .apply-form dl.contact-form__item>dt{flex:1 1 0!important;width:auto!important;min-width:0!important;margin:0 50px 0 0!important;padding:0 0 0 0px!important;text-align:left!important;white-space:normal!important;}
.contact.wrap .apply-form dl.contact-form__item>dd{flex:2.5 1 0!important;width:100%!important;max-width:600px!important;min-width:0!important;margin:0!important;padding:30px 0!important;}
.contact.wrap .apply-form .contact-form__ttl{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;width:100%!important;margin:0!important;color:#333!important;font-size:1.5rem!important;font-weight:400!important;line-height:1.8!important;}
.contact.wrap .apply-form .contact-form__ttl .hissu{display:inline-block!important;flex:0 0 auto!important;min-width:47px!important;margin:0!important;padding:3px 10px!important;border:1px solid #aa0f36!important;border-radius:50px!important;background:#fff!important;color:#aa0f36!important;font-size:1.2rem!important;font-weight:400!important;line-height:1.4!important;text-align:center!important;}
.contact.wrap .apply-form .contact-form__box{display:flex!important;flex-wrap:wrap!important;align-items:center!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;}
.contact.wrap .apply-form .ginput_container{width:100%!important;margin:0!important;padding:0!important;}
.contact.wrap .apply-form input[type=text],
.contact.wrap .apply-form input[type=email],
.contact.wrap .apply-form input[type=tel],
.contact.wrap .apply-form input[type=number],
.contact.wrap .apply-form textarea,
.contact.wrap .apply-form select{width:100%!important;max-width:none!important;min-height:42px!important;margin:0!important;padding:8px 12px!important;border:1px solid #dadada!important;border-radius:0!important;background:#f8f8f8!important;box-shadow:none!important;color:#333!important;font:inherit!important;line-height:1.5!important;}
.contact.wrap .apply-form textarea{min-height:140px!important;resize:vertical!important;}
.contact.wrap .apply-form .filed-note,
.contact.wrap .apply-form .gfield_description.filed-note{position:static!important;display:block!important;order:999!important;flex:0 0 100%!important;width:100%!important;max-width:none!important;margin:8px 0 0!important;padding:0!important;border:0!important;background:transparent!important;color:#555!important;font-size:1.2rem!important;font-weight:400!important;line-height:1.7!important;text-align:left!important;transform:none!important;}
.contact.wrap .apply-form .radio,
.contact.wrap .apply-form .gfield_radio,
.contact.wrap .apply-form .gfield_checkbox{display:block!important;width:100%!important;margin:0!important;padding:0!important;}
.contact.wrap .apply-form .mwform-radio-field.horizontal-item,
.contact.wrap .apply-form .mwform-checkbox-field.horizontal-item,
.contact.wrap .apply-form .gchoice{display:block!important;width:100%!important;margin:0 0 10px!important;padding:0!important;}
.contact.wrap .apply-form .mwform-radio-field.horizontal-item:last-child,
.contact.wrap .apply-form .mwform-checkbox-field.horizontal-item:last-child,
.contact.wrap .apply-form .gchoice:last-child{margin-bottom:0!important;}
.contact.wrap .apply-form .mwform-radio-field label,
.contact.wrap .apply-form .mwform-checkbox-field label,
.contact.wrap .apply-form .gchoice label{display:flex!important;align-items:flex-start!important;gap:9px!important;width:100%!important;margin:0!important;padding:0!important;font-weight:400!important;line-height:1.7!important;cursor:pointer!important;}
.contact.wrap .apply-form input[type=radio],
.contact.wrap .apply-form input[type=checkbox]{appearance:auto!important;-webkit-appearance:auto!important;flex:0 0 auto!important;width:auto!important;height:auto!important;min-height:0!important;margin:4px 0 0!important;padding:0!important;}
.contact.wrap .apply-form .genexus-inline-selects{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;}
.contact.wrap .apply-form .genexus-inline-selects .custom-select{flex:1 1 0!important;min-width:0!important;}
.contact.wrap .apply-form .custom-select{position:relative!important;width:100%!important;}
.contact.wrap .apply-form .custom-select:before{content:none!important;display:none!important;}
.contact.wrap .apply-form .custom-select:after{content:""!important;position:absolute!important;top:50%!important;right:14px!important;width:7px!important;height:7px!important;margin-top:-5px!important;border:0!important;border-right:1px solid #555!important;border-bottom:1px solid #555!important;background:none!important;transform:rotate(45deg)!important;pointer-events:none!important;}
.contact.wrap .apply-form .custom-select select{appearance:none!important;-webkit-appearance:none!important;padding-right:38px!important;background-image:none!important;}
.contact.wrap .apply-form .custom-select select:hover,
.contact.wrap .apply-form .custom-select select:focus{background-image:none!important;}

/* Applicant cards and per-applicant conditions */
.contact.wrap .genexus-applicant-card{display:block!important;width:100%!important;}
.contact.wrap .genexus-applicant-card[hidden],
.contact.wrap .genexus-applicant-card [hidden]{display:none!important;}
.contact.wrap .genexus-applicant-card+.genexus-applicant-card{margin-top:0!important;}
/*.contact.wrap .genexus-applicant-card+.genexus-applicant-card:before{content:"受験者情報";display:block!important;margin:0 -40px!important;padding:10px 15px!important;background:#858585!important;color:#fff!important;font-size:1.4rem!important;font-weight:700!important;line-height:1.5!important;text-align:center!important;}*/
.contact.wrap .genexus-applicant-card .test_type-box{display:block!important;width:100%!important;}
.contact.wrap .genexus-applicant-card .test_type__item{display:block!important;width:100%!important;}
.contact.wrap .genexus-applicant-card .test_type__item+.test_type__item{margin-top:20px!important;}
.contact.wrap .genexus-applicant-card .box__ttl{margin:0 0 10px!important;font-weight:400!important;line-height:1.7!important;}
.contact.wrap .genexus-applicant-card .box__body{display:block!important;width:100%!important;}
.contact.wrap .genexus-applicant-card .genexus-test-note{width:100%!important;margin:18px 0 0!important;}
/* Basic education is intentionally absent from the frontend. */
.contact.wrap .genexus-attendance-group,
.contact.wrap [class*=test_type_attend],
.contact.wrap [class*=test_type_date]{display:none!important;}

/* Gravity Forms validation/errors remain readable inside legacy layout. */
.contact.wrap .gfield_validation_message,
.contact.wrap .validation_message{flex:0 0 100%!important;width:100%!important;margin:8px 0 0!important;padding:8px 10px!important;font-size:1.2rem!important;line-height:1.6!important;}

/* Buttons: use legacy MW shape only and neutralize theme arrows/pseudo elements. */
.contact.wrap .contact-form__submit{display:block!important;width:100%!important;margin:0!important;padding:0 0 60px!important;text-align:center!important;}
.contact.wrap .contact-form__submit:before,
.contact.wrap .contact-form__submit:after,
.contact.wrap .contact-form__submit *:before,
.contact.wrap .contact-form__submit *:after{content:none!important;display:none!important;}
.contact.wrap .contact-form__submit input,
.contact.wrap .contact-form__submit button{position:static!important;display:block!important;appearance:none!important;-webkit-appearance:none!important;height:auto!important;min-height:0!important;margin-left:auto!important;margin-right:auto!important;border:0!important;border-radius:50px!important;background-image:none!important;box-shadow:none!important;color:#fff!important;font:inherit!important;font-size:1.6rem!important;font-weight:700!important;line-height:1.5!important;text-align:center!important;cursor:pointer!important;transform:none!important;}
.contact.wrap .contact-form__submit .submit-btn{width:300px!important;margin-bottom:30px!important;padding:15px 10px!important;background:#aa0f36!important;}
.contact.wrap .contact-form__submit .back-btn{width:260px!important;margin-bottom:10px!important;padding:10px!important;background:#888!important;}

@media screen and (max-width:767px){
 .contact.wrap .contact__inr{padding-left:0px!important;padding-right:0px!important;}
 .contact.wrap .apply-form .contact-form{margin-bottom:30px!important;padding:10px 20px!important;}
 .contact.wrap .apply-form dl.contact-form__item{display:block!important;}
 .contact.wrap .apply-form dl.contact-form__item>dt{width:100%!important;margin:0 0 20px!important;padding:30px 0 0!important;}
 .contact.wrap .apply-form dl.contact-form__item>dd{width:100%!important;max-width:none!important;padding:0 0 30px!important;}
 .contact.wrap .apply-form .contact-form__ttl{justify-content:flex-start!important;}
 .contact.wrap .apply-form .contact-form__ttl .hissu{margin-left:30px!important;}
/* .contact.wrap .genexus-applicant-card+.genexus-applicant-card:before{margin:0 -20px!important;}*/
 .contact.wrap .contact-form__submit .submit-btn{width:80%!important;}
}


/* v13: exact legacy MW behavior corrections */
.contact.wrap .apply-form h2.heading04,
.contact.wrap .apply-form .heading04{
  position:relative!important;
    color: #000;
    font-size: 2.4rem;
    font-weight: 700;
    padding-bottom: 10px;
}

/* Gravity Forms auto sublabels such as "Email" do not exist in the MW form. */
.contact.wrap .apply-form .gform-field-label--type-sub,
.contact.wrap .apply-form .ginput_complex>label,
.contact.wrap .apply-form .ginput_container_email>label{
  display:none!important;
}

/* Legacy MW radios: hidden input + clickable adjacent text span. */
.contact.wrap .apply-form .mwform-radio-field label,
.contact.wrap .apply-form .mwform-checkbox-field label{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  cursor:pointer!important;
}
.contact.wrap .apply-form input[type=radio]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.contact.wrap .apply-form input[type=radio]+.mwform-radio-field-text{
  display:block!important;
  position:relative!important;
  width:100%!important;
  min-height:22px!important;
  padding-left:30px!important;
  cursor:pointer!important;
}
.contact.wrap .apply-form input[type=radio]+.mwform-radio-field-text:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:50%!important;
  left:0!important;
  width:20px!important;
  height:20px!important;
  border:1px solid #dadada!important;
  border-radius:50%!important;
  background:#f8f8f8!important;
  transform:translateY(-50%)!important;
}
.contact.wrap .apply-form input[type=radio]+.mwform-radio-field-text:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:50%!important;
  left:6px!important;
  width:10px!important;
  height:10px!important;
  border-radius:50%!important;
  background:#aa0f36!important;
  opacity:0!important;
  transform:translateY(-50%)!important;
}
.contact.wrap .apply-form input[type=radio]:checked+.mwform-radio-field-text:after{
  opacity:1!important;
}
.contact.wrap .apply-form input[type=radio]:focus-visible+.mwform-radio-field-text:before{
  outline:2px solid #555!important;
  outline-offset:2px!important;
}

/* Per-applicant conditional blocks. */
.contact.wrap .genexus-applicant-card dl.test_type[hidden],
.contact.wrap .genexus-applicant-card .item-sikaku[hidden]{display:none!important;}
.contact.wrap .genexus-applicant-card dl.test_type:not([hidden]){display:flex!important;}

/* Preserve the legacy horizontal field layout. */
@media screen and (min-width:768px){
 .contact.wrap .apply-form dl.contact-form__item{display:flex!important;align-items:center!important;}
 .contact.wrap .apply-form dl.contact-form__item>dt{flex:1!important;margin-right:50px!important;}
 .contact.wrap .apply-form dl.contact-form__item>dd{flex:2.5!important;max-width:600px!important;}
}


/* v14: 条件分岐・確認画面・honeypot表示制御 */
.contact__inr .gform_validation_container,
.contact__inr .gfield--type-honeypot { display: none !important; position: absolute !important; left: -9999px !important; }
.contact__inr .genexus-confirm-input-style .heading04 { position: relative !important; }
.contact__inr .genexus-confirm-input-style .contact-form { margin-bottom: 50px; }
.contact__inr .genexus-confirm-input-style .gx-confirm-value { white-space: pre-wrap; overflow-wrap: anywhere; }
.contact__inr .genexus-confirm-input-style .gx-confirm-row .contact-form__box { min-height: 1.8em; }
.contact__inr [data-admin-label="invoice_destination_name"][hidden],
.contact__inr [data-admin-label="invoice_destination_kana_name"][hidden],
.contact__inr [data-admin-label="invoice_destination_tel"][hidden],
.contact__inr [data-admin-label="invoice_destination_email"][hidden] { display: none !important; }

/* v15: Gravity Forms honeypot must never enter the visible MW layout. */
.genexus-test-apply-form .gform_validation_container,
.genexus-test-apply-form .gfield--type-honeypot { display:none !important; position:absolute !important; left:-9999px !important; }


/* =========================================================
 * v17 minimal corrections — based on v15
 * No DOM relocation, no MutationObserver, no duplicate controller.
 * ======================================================= */

/* 旧MWと同じチェックボックス構造：input + 直後のspanをクリック対象にする。 */
.contact.wrap .apply-form .mwform-checkbox-field > label{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  cursor:pointer!important;
}
.contact.wrap .apply-form .mwform-checkbox-field input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.contact.wrap .apply-form .mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text{
  display:inline-block!important;
  width:auto!important;
  min-height:24px!important;
  padding-left:30px!important;
  position:relative!important;
  cursor:pointer!important;
}
.contact.wrap .apply-form .mwform-checkbox-field input[type="checkbox"] + .mwform-checkbox-field-text::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:3px!important;
  left:0!important;
  width:20px!important;
  height:20px!important;
  background:#f8f8f8!important;
  border:1px solid #dadada!important;
  border-radius:2px!important;
  box-sizing:border-box!important;
}
.contact.wrap .apply-form .mwform-checkbox-field input[type="checkbox"]:checked + .mwform-checkbox-field-text::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:3px!important;
  left:6px!important;
  width:7px!important;
  height:14px!important;
  transform:rotate(40deg)!important;
  border-bottom:3px solid #aa0f36!important;
  border-right:3px solid #aa0f36!important;
  box-sizing:border-box!important;
}

/* Gravity Formsの確認付きEmailはDOMを動かさず、同一フィールド内で2段表示する。 */
.contact.wrap .apply-form .applicant_manager_email .ginput_complex.ginput_container_email,
.contact.wrap .apply-form .invoice_destination_email .ginput_complex.ginput_container_email{
  display:block!important;
  width:100%!important;
}
.contact.wrap .apply-form .applicant_manager_email .ginput_complex.ginput_container_email > span,
.contact.wrap .apply-form .invoice_destination_email .ginput_complex.ginput_container_email > span{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.contact.wrap .apply-form .applicant_manager_email .ginput_complex.ginput_container_email > span + span,
.contact.wrap .apply-form .invoice_destination_email .ginput_complex.ginput_container_email > span + span{
  margin-top:12px!important;
}
.contact.wrap .apply-form .applicant_manager_email .ginput_complex.ginput_container_email > span + span::before,
.contact.wrap .apply-form .invoice_destination_email .ginput_complex.ginput_container_email > span + span::before{
  content:"メールアドレス（確認）"!important;
  display:block!important;
  width:100%!important;
  margin:0 0 6px!important;
  color:#333!important;
  font-size:1.3rem!important;
  line-height:1.6!important;
}

/* 初期値が「お申込み責任者様」の場合、指定送付先欄はJS初期化前も見せない。 */
.contact.wrap .genexus-test-apply-form .invoice_destination_name[hidden],
.contact.wrap .genexus-test-apply-form .invoice_destination_kana_name[hidden],
.contact.wrap .genexus-test-apply-form .invoice_destination_tel[hidden],
.contact.wrap .genexus-test-apply-form .invoice_destination_email[hidden],
.contact.wrap .genexus-test-apply-form [data-conditional-logic="hidden"].invoice_destination_name,
.contact.wrap .genexus-test-apply-form [data-conditional-logic="hidden"].invoice_destination_kana_name,
.contact.wrap .genexus-test-apply-form [data-conditional-logic="hidden"].invoice_destination_tel,
.contact.wrap .genexus-test-apply-form [data-conditional-logic="hidden"].invoice_destination_email{
  display:none!important;
}

/* OneDayトレーニング：資格試験と同じ確認付きEmail表示 */
.contact.wrap .genexus-oneday-form .apply-form .ginput_complex.ginput_container_email{
  display:block!important;
  width:100%!important;
}
.contact.wrap .genexus-oneday-form .apply-form .ginput_complex.ginput_container_email > span{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.contact.wrap .genexus-oneday-form .apply-form .ginput_complex.ginput_container_email > span + span{
  margin-top:12px!important;
}
.contact.wrap .genexus-oneday-form .apply-form .ginput_complex.ginput_container_email > span + span::before{
  content:"メールアドレス（確認）"!important;
  display:block!important;
  width:100%!important;
  margin:0 0 6px!important;
  color:#333!important;
  font-size:1.3rem!important;
  line-height:1.6!important;
}
.contact.wrap .genexus-oneday-form .apply-form .ginput_complex.ginput_container_email input[type="email"]{
  width:100%!important;
}
.contact.wrap .genexus-oneday-form .apply-form .gx-email-input-label{
  display:none!important;
}

.genexus-oneday-form h2.heading04[hidden],
.genexus-oneday-form .contact-form[hidden],
.genexus-oneday-form [data-gx-oneday-visible="0"] {
  display: none !important;
}

/* 通常研修：資格試験・OneDayと同じ確認付きEmail表示 */
.contact.wrap .genexus-training-form .apply-form .ginput_complex.ginput_container_email{
  display:block!important;
  width:100%!important;
}
.contact.wrap .genexus-training-form .apply-form .ginput_complex.ginput_container_email > span{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.contact.wrap .genexus-training-form .apply-form .ginput_complex.ginput_container_email > span + span{
  margin-top:12px!important;
}
.contact.wrap .genexus-training-form .apply-form .ginput_complex.ginput_container_email > span + span::before{
  content:"メールアドレス（確認）"!important;
  display:block!important;
  width:100%!important;
  margin:0 0 6px!important;
  color:#333!important;
  font-size:1.3rem!important;
  line-height:1.6!important;
}
.contact.wrap .genexus-training-form .apply-form .ginput_complex.ginput_container_email input[type="email"]{
  width:100%!important;
}
.contact.wrap .genexus-training-form .apply-form .gx-email-input-label{
  display:none!important;
}


/* v25: 通常研修は30名固定上限を使わず、schedule残席数そのものを上限にする。GF標準の範囲説明だけ非表示 */
.contact.wrap .genexus-training-form .gfield--type-number .gfield_description.instruction,
.contact.wrap .genexus-training-form .gfield--type-number [id^="gfield_instruction_"] {
  display: none !important;
}

/* v26: お問い合わせ（page.php共通テンプレート内のGravity Forms） */
.contact.wrap .genexus-contact-form .apply-form .ginput_complex.ginput_container_email,
.genexus-contact-form .apply-form .ginput_complex.ginput_container_email{
  display:block!important;
  width:100%!important;
}
.contact.wrap .genexus-contact-form .apply-form .ginput_complex.ginput_container_email > span,
.genexus-contact-form .apply-form .ginput_complex.ginput_container_email > span{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.contact.wrap .genexus-contact-form .apply-form .ginput_complex.ginput_container_email > span + span,
.genexus-contact-form .apply-form .ginput_complex.ginput_container_email > span + span{
  margin-top:12px!important;
}
.contact.wrap .genexus-contact-form .apply-form .ginput_complex.ginput_container_email > span + span::before,
.genexus-contact-form .apply-form .ginput_complex.ginput_container_email > span + span::before{
  content:"メールアドレス（確認）"!important;
  display:block!important;
  width:100%!important;
  margin:0 0 6px!important;
  color:#333!important;
  font-size:1.3rem!important;
  line-height:1.6!important;
}
.contact.wrap .genexus-contact-form .apply-form .ginput_complex.ginput_container_email input[type="email"],
.genexus-contact-form .apply-form .ginput_complex.ginput_container_email input[type="email"]{
  width:100%!important;
}
.genexus-contact-form .gform_validation_errors .hide_summary{
  display:block!important;
}

/* v28: お問い合わせも他フォームと同じ共通レイアウトを使用する。
 * 空のGravity Forms見出しだけ非表示にし、独自の2列化・カード化・エラー装飾は行わない。 */
.contact.wrap .genexus-contact-form_wrapper > .gform_heading,
.contact.wrap .genexus-contact-form_wrapper .gform_description:empty {
  display: none !important;
}


/* お問い合わせ：補足欄は独自JSの1系統だけで表示制御する */
.contact.wrap .genexus-contact-form .contact-form__item[data-gx-contact-supplement-visible="0"] {
  display: none !important;
}
.contact.wrap .genexus-contact-form .contact-form__item[data-gx-contact-supplement-visible="1"] {
  display: flex !important;
}

/* お問い合わせフォーム：確認画面用の進捗バーを非表示 */
.gform_wrapper .gf_progressbar_wrapper {
  display: none !important;
}


/* Gravity Forms：文字数超過メッセージは超過時だけ表示 */
.contact.wrap .apply-form .gfield_description.validation_message.gfield_validation_message.filed-note.gx-character-limit-error {
  display: none !important;
  color: #C02B0A !important;
}
.contact.wrap .apply-form .gfield_description.validation_message.gfield_validation_message.filed-note.gx-character-limit-error.is-visible {
  display: block !important;
}

/* Gravity Forms：エラー時のバリデーションメッセージ */
.contact.wrap .apply-form .gfield_description.validation_message.filed-note,
.contact.wrap .apply-form .gfield_description.gfield_validation_message.filed-note,
.contact.wrap .apply-form .validation_message.filed-note,
.contact.wrap .apply-form .gfield_validation_message {
  color: #C02B0A !important;
}


/* 全申込みフォーム：プライバシーポリシー同意欄の資料リンク */
.contact.wrap .apply-form .gx-privacy-policy-document-link {
  display: inline-block;
  margin-bottom: .8em;
  color: #aa0f36;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: underline;
}

/* v40.9 資格試験：受験者ごとの試験概要チェック必須エラー */
.contact.wrap .apply-form .genexus-applicant-card .exam_overview_check .gx-exam-overview-error {
  display: none !important;
  margin-top: .6em;
  color: #C02B0A !important;
}
.contact.wrap .apply-form .genexus-applicant-card .exam_overview_check.gx-dynamic-field-error .gx-exam-overview-error {
  display: block !important;
  color: #C02B0A !important;
}






.genexus-readonly-row {
    display: flex;
    gap: 2rem;
    font-weight: 500;
}




.genexus-gf-complete {
    background: #ffffff;
    padding: 1.3rem;
    border-radius: 1rem;
}

.genexus-gf-complete h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

div#field_16_15 p {
    margin-top: 2rem;
}
/* 資格試験：企業住所4フィールドを1つの「企業住所」項目として表示 */
.genexus-test-form .gx-company-address-group > dd.gx-company-address-fields {
  display: block;
}
.genexus-test-form .gx-company-address-group .gx-company-address-fields > .contact-form__item {
  border: 0;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  width: 100%;
}
.genexus-test-form .gx-company-address-group .gx-company-address-fields > .contact-form__item:last-child {
  margin-bottom: 0;
}
.genexus-test-form .gx-company-address-group .gx-company-address-fields > .contact-form__item > dt {
  width: 15%;
  flex: 0 0 15%;
  padding: 0;
  border: 0;
}
.genexus-test-form .gx-company-address-group .gx-company-address-fields > .contact-form__item > dt .hissu {
  display: none;
}
.genexus-test-form .gx-company-address-group .gx-company-address-fields > .contact-form__item > dd {
  width: 85%;
  flex: 0 0 85%;
  padding: 0;
  border: 0;
}
@media screen and (max-width: 767px) {
  .genexus-test-form .gx-company-address-group .gx-company-address-fields > .contact-form__item > dt {
    width: 30%;
    flex-basis: 30%;
  }
  .genexus-test-form .gx-company-address-group .gx-company-address-fields > .contact-form__item > dd {
    width: 70%;
    flex-basis: 70%;
  }
}

/* Front-end telephone: 3-part visual layout. Original GF input remains the stored value. */
.contact.wrap .gx-tel-split,
.contact .apply-form .gx-tel-split {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
}
.contact.wrap .gx-tel-split .gx-tel-part,
.contact .apply-form .gx-tel-split .gx-tel-part {
  display: block;
  width: calc((100% - 52px) / 3) !important;
  min-width: 0;
  box-sizing: border-box;
  text-align: left;
}
.contact.wrap .gx-tel-split .gx-tel-separator,
.contact .apply-form .gx-tel-split .gx-tel-separator {
  flex: 0 0 16px;
  width: 16px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .contact.wrap .gx-tel-split,
  .contact .apply-form .gx-tel-split { gap: 5px; }
  .contact.wrap .gx-tel-split .gx-tel-part,
  .contact .apply-form .gx-tel-split .gx-tel-part {
    width: calc((100% - 32px) / 3) !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  .contact.wrap .gx-tel-split .gx-tel-separator,
  .contact .apply-form .gx-tel-split .gx-tel-separator {
    flex-basis: 11px;
    width: 11px;
  }
}
