/* ---------------------------------------------
Reset
--------------------------------------------- */
html,
body,
header,
footer,
main,
section,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto sans JP', sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

picture {
    display: flex;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

p {
    font-size: 16px;
    line-height: 1.5;
}

@media screen and (max-width: 480px) {
    p {
        font-size: 14px;
    }
}

.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }
}

#masthead,
.breadcrumb,
#connect,
#colophon,
p#gotop,
.accordion {
    display: none !important;
}

#articles {
    padding-top: 0;
}

.wrapper {
    max-width: 500px;
    margin: auto;
    background-color: #FBDAD1;
}

header {
    position: relative;
    padding: 12px 24px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a.header-logo {
    display: block;
    width: 35%;
}

header a.header-cta {
    display: block;
    width: 55%;
}

.form_field {
    width: 90%;
    margin: auto;
    margin-bottom: 28px;
    background-color: #FFF;
    border-radius: 5px;
}

#step5 .form_field {
    /* padding-top: 28px; */
}

#step5 .form_field {
    padding-bottom: 0;
}

.flexs-no {
    background-color: #e6e6e6;
    width: 24%;
    padding: 5px 2% 5px 2%;
    border-radius: 30vw;
    color: #222a58;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.flexs-no div p {
    text-align: center;
}

.flexs {
    width: 24%;
    background-color: #00b3de;
    padding: 5px 2% 5px 2%;
    border-radius: 30vw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.contents .worry {
    background-color: #fff;
}

.solution {
    position: relative;
}

.solution a {
    position: absolute;
    display: block;
    width: 90%;
    margin: 16px 5%;
    top: 0%;
}

.solution a:hover {
    opacity: 0.8;
}
.course{
    width: 90%;
    margin: 5%;
}
.skills picture {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1%;
    width: 90%;
    margin: 5%;
    margin-bottom: 0;
}

.skills picture img {
    width: 49%;
    margin-bottom: 8px;
}

.skills img.update {
    width: 50%;
    margin: 0px 25%;
}

.flow-txt {
    background-color: #fff;
    color: #878787;
    padding: 8px 12px;
    text-align: center;
    font-weight: 600;
    width: 48%;
    margin: 24px auto 16px;
}

.step-ttl {
    color: #F08D9A;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    padding: 12px 0 8px;
}

.subtitle {
    width: 90%;
    padding: 6px 5%;
    margin: 0 5%;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background-color: #F08D9A;
    border-radius: 5px;
}

.subtitle p {
    font-size: 18px;
}

@media screen and (max-width: 480px) {
    .subtitle p {
        font-size: 16px;
    }
}

.subtitle .big {
    font-size: 18px;
    padding-right: 12.5px;
}

@media screen and (max-width: 480px) {
    .subtitle .big {
        font-size: 16px;
        padding-right: 10.5px;
    }
}

#step4 .subtitle {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 4px 5%;
}

#step4 .subtitle ul {
    margin: 0;
    padding-left: 0;
}

#step4 .subtitle li {
    padding: 0 8px;
    list-style: none;
    color: #F15A24;
    font-size: 12px;
    background-color: #FFF;
    border-radius: 100px;
}

#step4 .subtitle li:first-child {
    margin-bottom: 4px;
}

input[type="radio" i] {
    display: none;
}

.radio_inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 16px;
    width: 90%;
    margin: auto;
    padding-top: 24px;
}

.wpcf7-list-item {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 7px 0;
    text-align: center;
    color: #646464;
    background-color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    border-radius: 4px;
    border: 2px solid #ABAAAA;
    border-radius: 32px;
}

.wpcf7-list-item label {
    width: 100%;
    margin-bottom: 0;
}

.wpcf7-list-item.selected {
    /* color: #047ACC;
    background-color: #FFF; */
    background-color: #F2A0A9;
    color: #FFF;
    background-image: unset;
}

#step2 .wpcf7-list-item {
    height: 40px;
}

#step4 .wpcf7-form-control,
select.wpcf7-form-control {
    display: flex;
    width: 100%;
    padding: 5px 8px;
    color: #000000;
    font-size: 14px;
    border: 1px solid #000000;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #FFF;
}
#step4 .texttitle{
    width: 30%;
}
#step4 .wpcf7-form-control-wrap{
    width: 75%;
}
.form_flex {
    display: flex;
    width: 90%;
    margin: 16px auto;
}

.form_flex>div,
.form_flex .texttitle{
    width: 30%;
}

.form_flex>p,
.form_flex .wpcf7-form-control-wrap {
    width: 75%;
}
#step4 .name-input{
    display: flex;
    justify-content: space-between;

}
#step4 .name-input > span{
    width: 48%;
}
#step5 .form_flex .texttitle{
    width: 100%;
}
#step5 .wpcf7-form-control-wrap,
#step5 .wpcf7-form-control-wrap input{
    width: 100%;

}
#step5 .doui input{
    width: auto;
}


.hissu {
    display: flex;
    width: fit-content;
    margin-bottom: 4px;
    padding: 1px 8px;
    color: #FFF;
    font-size: 12px;
    background-color: #00b3de;
}

.texttitle {
    color: #000000;
    font-size: 16px;
    line-height: 1.25;
}

.kiyaku-cont {
    width: 96%;
    margin: 8px auto;
    color: #777;
    font-size: 12px !important;
    line-height: 1.8;
    text-align: center;
}

.kiyaku-cont a {
    color: #777;
    text-decoration: 1px solid;
        font-weight: 600;
        font-size: 14px;
    background: linear-gradient(transparent 70%, #F8CACD 30%);
}

@media screen and (max-width: 480px) {
    .kiyaku-cont p {
        color: #777;
        font-size: 12px !important;
    }
}

.kiyaku-cont .kiyakuurl {
    text-decoration: underline;
}

input::placeholder,
textarea::placeholder {
    color: #bbb;
}

.flex2 {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 95%;
    margin: auto;
    justify-content: center;
}
.flex2 .wpcf7-list-item{
    border: none;
}

#step4 .wpcf7-form-control.doui {
    padding: 0;
    border: none;
}

#step4 .wpcf7-form-control.doui .wpcf7-list-item {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    background: transparent;
    border: none;
}

@media screen and (max-width: 480px) {
    #step4 .wpcf7-form-control.doui .wpcf7-list-item {
        font-size: 12px;
    }
}

#step4 .wpcf7-form-control.doui .wpcf7-list-item label {
    display: flex;
    align-items: center;
}

#step4 input[type="checkbox" i] {
    width: 16px;
    height: 16px;
}

.wpcf7-response-output {
    display: none;
}

.form_buttons,
.form_buttons p {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 5%;
    margin: 10px auto;
}

.form_buttons {
    /* flex-direction: column !important; */
}

.form_buttons button {
    width: 40%;
    background-color: transparent;
    border: none;
}

#step1 .form_buttons {
    margin-top: 0;
}

#step1 .form_buttons p {
    justify-content: center;
    flex-direction: row-reverse;
}

#step1 .form_buttons button {
    width: 36%;
    margin: 16px auto;
    padding: 0;
}

#step4 .form_buttons {
    align-items: center;
    gap: 14px;
    margin-top: 0;
}

#step5 .wpcf7-form-control.btn_submit {
    display: flex;
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 0;
    color: transparent;
    background-image: url(https://talk.dshu.jp/wp-content/themes/HTML5-Reset-WordPress-Theme/custom-post-template/2025-event/img/cta02.webp);
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: center;
}

.error_text {
    display: none;
    margin-top: 10px;
    color: #cc0000;
    text-align: center;
}

.wpcf7-spinner {
    display: none !important;
}

.last_text {
    padding: 5%;
    margin-bottom: 32px;
}

footer {
    background-color: #F08D9A;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    padding: 4px;
}

p.copyright {
    margin-bottom: 0;
    padding: 12px 0;
    color: #ffffff;
    background-color: #f1760f;
    font-size: 10px;
    text-align: center;
    letter-spacing: 1px;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.form_buttons .btn_next {
    width: 45%;
    margin: 0 0 0 5%;
}

.form_buttons button,
.btn_next {
    pointer-events: auto !important;
    opacity: 1 !important;
    z-index: 1;
    position: relative;
}


/* ⚡フォーム　ボタン押せるように */


/* 行の基本レイアウト */
.radio_inputs .wpcf7-list-item {
    display: inline-block;
    margin: .4rem .5rem .4rem 0;
}

/* クリック領域はラベルに持たせる */
.radio_inputs .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    padding: .6rem 1.2rem;
    cursor: pointer;
    transition: .15s ease-in-out;
}

/* inputは視覚的に消すが“フォーカスとクリック”は生かす */
.radio_inputs .wpcf7-list-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* テキスト（CF7標準） */
.radio_inputs .wpcf7-list-item-label {
    line-height: 1;
}
#step5 .wpcf7-list-item-label{
    font-weight: 500;
}

.radio_inputs .wpcf7-list-item input[type="radio"]:checked~*,
/* 保険 */
.radio_inputs .wpcf7-list-item:is(:has(input:checked)) {
    background-color: #F2A0A9;
    color: #FFF;
    border: 1px solid #F2A0A9;
}

/* ラベル領域をちゃんと“当たり判定”にする */
.wpcf7-form .wpcf7-list-item label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .5em;
    cursor: pointer;
}

.wpcf7-form .wpcf7-list-item input[type="radio"] {
    /* まずは素のまま動くか確認（見た目カスタムは後で） */
    position: static;
    opacity: 1;
    width: auto;
    height: auto;
}


