/* 27卒・専門卒向け SP専用LP */
html {
    background: #eef1f5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    max-width: 470px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background: #fff;
    overflow-x: hidden;
}
.wrapper,
.lp-27sotsu-senmon {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    overflow-x: hidden;
    background: #fff;
}
img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
section {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
}
.sec-img {
    background: #fff;
    line-height: 0;
}
.sec-img img {
    width: 100%;
}

/* CTA：添付画像をそのまま使用 */
.sec-cta {
    background: #fff;
    padding: 24px 28px;
    line-height: 0;
}
.lp-cta-img {
    display: block;
    animation: lpCtaPulse 1.6s ease-in-out infinite;
}
.lp-cta-img img {
    width: 100%;
}
@keyframes lpCtaPulse {
    0%, 100% { transform: scale(0.97); }
    50% { transform: scale(1); }
}

/* 戻るボタン */
.resetflex {
    display: flex;
    justify-content: space-evenly;
    margin: 30px 10px 0 10px;
}
.resetflex .reset-step,
.resetflex .next-step {
    background-color: #DFC167;
    color: white;
    width: 30%;
    height: 30px;
    border-radius: 10px;
    padding: 1%;
    font-size: 18px;
    font-family: "Hiragino Sans", sans-serif;
    text-align: center;
}

/* 個人情報の取扱・サービス運営規約 */
.modal-content {
    max-height: calc(100vh - 10.5rem);
}
.modal-body {
    overflow-y: auto;
}
.modal-dialog {
    max-width: 94vw !important;
}

/* チェックボックス */
.custom-control-input {
    position: inherit !important;
    z-index: 1 !important;
    opacity: 1 !important;
}
label input[type="checkbox"] + span {
    padding-left: 3px;
}
label input[type="checkbox"] + span::before,
label input[type="checkbox"] + span::after {
    top: 3px;
}
label input[type="checkbox"]:checked + span::after {
    border: 2px solid #068acc;
    border-width: 0 2px 2px 0;
}
.yoyaku label input[type="checkbox"] + span::before,
.yoyaku label input[type="checkbox"] + span::after {
    top: -2px;
}
input[type="checkbox"] {
    width: 25px;
    height: 25px;
    background-color: #EEE;
    position: inherit;
    opacity: 1;
    margin-right: 8px;
}
input[type="checkbox"]:checked {
    background-color: #2196F3;
}
.checkbox {
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
}
.checkbox a {
    color: #007bff;
}
@-moz-document url-prefix() {
    .yoyaku label input[type="checkbox"] + span::before,
    .yoyaku label input[type="checkbox"] + span::after {
        top: -1px;
    }
}

/* footer：添付画像＋リンク重ね */
.lp-footer {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    background: #0b0a4a;
    padding: 0;
    line-height: 0;
}
.lp-footer img {
    width: 100%;
    display: block;
}
.lp-footer .footer-links {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 48%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lp-footer .footer-links a {
    display: block;
    width: 32%;
    height: 28px;
    font-size: 0;
    color: transparent;
}

/* form */
#form {
    scroll-margin-top: 8px;
}
.frame-area {
    background-color: #A6D9E3;
    padding: 12px 0 40px;
}
.iframe_step_form {
    width: 100%;
    max-width: 470px !important;
    height: auto;
    min-height: 550px;
}
.iframe_step_form .stepform h2 {
    background-color: #1B1464;
    border-radius: 32px 32px 0 0;
    margin-bottom: 0;
    color: white;
    padding: 1%;
}
.iframe_step_form .stepform h2 div {
    font-family: 'Arial', sans-serif;
    color: white;
    font-size: 16px;
    font-weight: 550;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
}
.iframe_step_form .stepform .stepform__step_formarea table {
    width: 80%;
    margin: 0 auto;
    font-size: 14px;
}
.iframe_step_form .stepform .stepform__step_graph_send_img {
    padding: 0 10%;
}
.iframe_step_form .stepform .stepform__step_title {
    font-family: 'Arial', sans-serif;
    background-position: top;
    background-image: url(https://event.meetscompany.xyz/wp-content/uploads/2024/08/stepbg-q.png);
    display: flex;
    justify-content: space-evenly;
    color: black;
    font-size: 18px;
    font-weight: 550;
    padding-top: 5%;
    margin-bottom: 5%;
}
.iframe_step_form .stepform .stepform__step_title02 {
    border-radius: 25px 25px 0 0;
}
.iframe_step_form .stepform .stepform__step_title .stepform__step_number {
    font-family: 'Helvetica', sans-serif;
    font-size: 22px;
}
.iframe_step_form .wpcf7-step {
    background-color: white;
    padding-bottom: 16px;
    border-radius: 32px;
    box-shadow: 0px 8px 20px #e4e4e4;
    width: 90%;
    margin: 0 5% 5%;
    overflow: visible !important;
}
.wpcf7-step .flex-step {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    gap: 12px;
}
span.wpcf7-list-item {
    width: 80%;
    font-size: 16px;
    border: solid 1.5px #1B1464;
    border-radius: 10px;
    margin: 1.5% 10%;
    text-align: center;
    line-height: 30px;
}
input[type="radio"]:checked {
    background-color: #1B1464;
}
.flex-step .step-child {
    padding-top: 0;
    width: 4.8em;
    flex: 0 0 4.8em;
    white-space: nowrap;
    font-size: 15px;
}
.flex-step .wpcf7-form-control-wrap {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
    padding: 10px 8px;
    line-height: 18px;
    margin-top: 0;
    border-radius: 10px;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    border: solid 1px #3F397C;
}
span.wpcf7-list-item:hover {
    color: white;
    background-color: #1B1464;
}
span.wpcf7-list-item label {
    margin-bottom: 0;
    width: 100%;
    height: 100%;
    padding: 15px 10px;
}
.wpcf7-radio .wpcf7-list-item {
    display: block;
    border: 1px solid #1b1464;
    cursor: pointer;
    transition: background-color 0.3s;
}
.wpcf7-radio .wpcf7-list-item.selected {
    background-color: #1B1464;
    color: white;
}
.wpcf7-radio .wpcf7-list-item input[type="radio"] {
    display: none;
}
span.wpcf7-list-item label.selected {
    background-color: #1B1464;
}
.stepform__step_formarea table tbody tr {
    line-height: 32px;
}
button[disabled] {
    cursor: not-allowed;
    background-color: #ffffff;
}
.stepform__step_graph .stepform__step_graph_graph {
    width: 80%;
    margin: 10px auto;
}
.stepform .stepform__step_graph .bar_graph01 span { margin-left: 10%; }
.stepform .stepform__step_graph .bar_graph02 span { margin-left: 25%; }
.stepform .stepform__step_graph .bar_graph03 span { margin-left: 35%; }
.stepform .stepform__step_graph .bar_graph04 span { margin-left: 60%; }
.stepform .stepform__step_graph .bar_graph05 span { margin-left: 85%; }
.stepform .stepform__step_graph .bar_graph01,
.stepform .stepform__step_graph .bar_graph02,
.stepform .stepform__step_graph .bar_graph03,
.stepform .stepform__step_graph .bar_graph04,
.stepform .stepform__step_graph .bar_graph05 {
    background: linear-gradient(90deg, #dec26b 0%, #e5bc2b 50%, lightgray 50%, lightgray 100%);
    background-size: 200% 100%;
    background-position: 100% 0%;
    height: 30px;
    line-height: 30px;
    color: #fff;
    border-radius: 15px;
    width: 100%;
}
.stepform .stepform__step_graph .bar_graph01 { animation: expandBar 2s ease-in-out forwards; }
.stepform .stepform__step_graph .bar_graph02 { animation: expandBar02 2s ease-in-out forwards; }
.stepform .stepform__step_graph .bar_graph03 { animation: expandBar03 2s ease-in-out forwards; }
.stepform .stepform__step_graph .bar_graph04 { animation: expandBar04 2s ease-in-out forwards; }
.stepform .stepform__step_graph .bar_graph05 { animation: expandBar05 2s ease-in-out forwards; }
@keyframes expandBar { from { background-position: 100% 0%; } to { background-position: 75% 0%; } }
@keyframes expandBar02 { from { background-position: 80% 0%; } to { background-position: 60% 0%; } }
@keyframes expandBar03 { from { background-position: 75% 0%; } to { background-position: 50% 0%; } }
@keyframes expandBar04 { from { background-position: 50% 0%; } to { background-position: 25% 0%; } }
@keyframes expandBar05 { from { background-position: 20% 0%; } to { background-position: 0% 0%; } }

.wpcf7-form-control {
    width: 100%;
}

.form .questionnaire-container input[type="submit"],
.form .submit-container input[type="submit"] {
    border: 0;
    border-radius: 40px;
    color: #fff;
    font-size: 0 !important;
    margin: 10px auto 0;
    width: 100% !important;
    background-repeat: no-repeat !important;
    background-color: white !important;
    background-position: center !important;
    background-size: contain;
}
.form .submit-container input[type="submit"] {
    height: 48px !important;
    background-image: url(https://talk.dshu.jp/wp-content/uploads/2024/04/pc_cta-1.png);
}
.imgbtn:hover {
    opacity: 0.8 !important;
}

/* Step5 カレンダー：カード内に収めて見切れ防止 */
#steps-container,
.iframe_step_form,
.iframe_step_form .wpcf7-step,
#step5,
.stepform__step_formarea,
#step5 .flex-calender,
#step5 .wpcf7-form-control-wrap {
    overflow: visible !important;
    contain: none !important;
}
#step5 .flex-calender {
    width: 90%;
    margin: 0 auto 12px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 12px;
}
#step5 .step-child-hope {
    width: 4.8em !important;
    min-width: 4.8em;
    flex: 0 0 4.8em;
    padding-top: 0;
    margin-right: 0;
    white-space: nowrap;
}
#step5 .flex-calender .wpcf7-form-control-wrap {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none;
    min-width: 0;
    margin-left: 0;
    position: static !important;
}
#step5 input[type="text"] {
    width: 100%;
    min-height: 44px;
    font-size: 15px;
    padding: 10px 8px;
    box-sizing: border-box;
}
/* absoluteのleft:0でカード外に出ないよう、フロー内に置く */
.flatpickr-calendar,
.flatpickr-calendar.static,
.flatpickr-calendar.two-stage,
.flatpickr-calendar.animate,
.flatpickr-calendar.open {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 16px;
    padding: 6px 0 10px !important;
    box-shadow: none;
    margin: 8px 0 12px !important;
}
.flatpickr-calendar.static.open,
.flatpickr-calendar.open {
    display: block !important;
}
.flatpickr-innerContainer,
.flatpickr-rContainer,
.flatpickr-days,
.dayContainer,
.flatpickr-weekdays,
.flatpickr-days .dayContainer {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
.flatpickr-current-month {
    width: 78%;
    left: 11%;
    font-size: 16px;
    padding-top: 4px;
}
.flatpickr-monthDropdown-months,
#step5 .flatpickr-month select {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    font-size: 16px !important;
    max-width: 72%;
    background: transparent;
}
.flatpickr-weekdaycontainer,
span.flatpickr-weekday {
    width: 100%;
    font-size: 12px;
    font-weight: 700;
}
.flatpickr-day {
    max-width: calc(100% / 7) !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
}
.flatpickr-day.fp2-em {
    font-weight: 800;
    color: #1b1464;
}
.fp2-container {
    min-height: 300px;
}
.fp2-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
}
.fp2-time {
    height: 46px;
    font-size: 16px;
    font-weight: 600;
}
.fp2-back,
.fp2-date-label,
.fp2-footer {
    font-size: 14px;
}
