:root {
    --black: #211815;
    --white: #fff;
    --blue: #10378e;
    --sky: #2a99dd;
    --yellow: #fff134;
    --red: #c52b44;
}

.times,
.times * {
    font-family: 'Times New Roman', Times, serif !important;
    font-style: normal;
    font-weight: 600;
}

h1,
h2,
h3{
    font-weight: 600 !important;
    line-height: 1;
}

p {
    font-weight: 500;
}

input:hover,
select,
label:hover {
    cursor: pointer;
}

.pc {
    display: none;
}

.grecaptcha-badge {
    visibility: hidden;
}

.form h1 {
    font-size: 6.933vw;
    line-height: 1.4;
}

span {
    font-weight: inherit;
    color: inherit;
}

.flex,
.flex-x-center,
.flex-y-center {
    display: flex;
}

.flex-x-center {
    justify-content: center;
}

.flex-y-center {
    align-items: center;
}

.wrapper main{ padding-top: 0; }

form {
    overflow: hidden;
}

.form {
    padding: 0 0 6.4vw;
    background: var(--sky);
    overflow: hidden;
    position: relative;
    text-align: center;
}

.form::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 234.667vw;
    bottom: -12.8vw;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: var(--blue);
    transform: skewY(-54deg) translateY(256px);
    z-index: 10;
}

.form h1 {
    margin-bottom: 4.267vw;
    color: var(--white);
}

.form>div {
    background: var(--white);
    border-radius: 0 30px 0 0;
    padding: 6.4vw 0 5.333vw;
    margin: 0 4%;
    box-shadow: 1px 1px 10px #0000002a;
    position: relative;
    z-index: 20;
}

.form table {
    border: none;
    margin: 0 6.4vw;
}

.form tr {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form th,
.form td {
    width: 79.2vw;
    padding: 0;
    background: unset;
    text-align: left;
}

.form th {
    margin-bottom: 1.067vw;
}

.form th p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-weight: 600;
}

.form th p,
.form td p {
    margin: 0;
}

.form th strong,
.form th span {
    margin-left: 1.067vw;
    font-size: 3.2vw;
    vertical-align: text-bottom;
}

.form th strong {
    color: #FF3000;
}

.form th span {
    font-weight: 400;
}

.form th span:nth-child(2){ margin: 1.067vw 0 0 0; }

.form .wpcf7-list-item {
    display: block;
    margin: 3.2vw 0 0;
}

.form .wpcf7-list-item:first-child{ margin-top: 0; }

.form td {
    margin: 1.067vw 0 6.4vw;
    position: relative;
}

.form tr:first-child td .wpcf7-list-item {
    margin-bottom: 2.133vw;
}

.form td input {
    max-width: 100%;
    line-height: 1;
}

.form td span>input,
.form td span>textarea,
.form td span>select {
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid var(--blue);
    padding: 1.6vw;
}

.form td span>select {
    width: 100%;
    background: var(--white);
}

.form tr:nth-child(3) td span::after {
    content: '';
    width: 4.8vw;
    height: 4.267vw;
    position: absolute;
    top: 1.067vw;
    right: 2.133vw;
    background: linear-gradient(to bottom left, var(--blue) 50%, transparent 50%) top left/ 50% 100% no-repeat,
        linear-gradient(to bottom right, var(--blue) 50%, transparent 50%) top right / 50% 100% no-repeat;
}

.form .wpcf7-radio .wpcf7-list-item{ display: inline-block; margin: 2px 8px 0 0; }

.form td textarea {
    width: 100%;
    height: 21.333vw;
    resize: vertical;
}

.form td a {
    color: var(--blue);
    text-decoration: underline;
}

.form tr:last-child td p:first-child { font-size: 3.733vw; line-height: 1.6; }

.form tr:last-child td p:last-child {
    margin-top: 4.267vw;
}

.form .btn {
    border-radius: 0;
}

.form .btn input,.complete a {
    width: 82.667vw;
    padding: 4.267vw 0;
    background: var(--yellow);
    border: 1px solid var(--black);
    line-height: 1;
    font-weight: bold;
    border-radius: 0;
    color: #211815;
    text-decoration: none;
}

.confirm .form tr:last-child td p:last-child {
    margin-top: 0;
    font-size: 16px;
}

.confirm .btn input:first-child {
    background: #d3d3d3;
    border: none;
    margin-bottom: 4.267vw;
}

.form .btn span {
    display: none;
}

.form .wpcf7-not-valid-tip {
    margin-top: 4px;
    font-size: 0.8em;
}

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

header,footer,.p-top__bnr__wrap,.top__bnr{ display: none; }

.complete {
    padding: 13.867vw 0 12.8vw;
    background: var(--white);
    text-align: center;
}

.complete h1 {
    font-size: 6.4vw;
    line-height: 1.4;
}

.complete p {
    margin: 5.333vw auto;
    line-height: 2;
}

.complete a {
    border-radius: 0;
    border: 1px solid var(--black);
}

/*　＝＝＝＝＝＝＝＝＝＝＝＝　PC　＝＝＝＝＝＝＝＝＝＝＝＝　*/

@media screen and (min-width:979px) {

    .pc {
        display: block;
    }

    .sp {
        display: none;
    }

    p {
        font-size: 18px;
    }

    h4 {
        font-size: 20px;
    }

    .form {
        padding: 40px 0 120px;
    }

    .form::before {
        height: 1920px;
        bottom: -1200px;
    }

    .form h1 {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .form>div {
        padding: 48px;
        width: 752px;
        margin: 0 auto;
    }

    .form table {
        margin: 0;
    }

    .form th,
    .form td {
        width: 100%;
    }

    .form th {
        margin-bottom: 8px;
    }

    .form th strong,
    .form th span {
        margin-left: 4px;
        font-size: 12px;
    }

    .form th span:nth-child(2){ width: 100%; margin-top: 8px; font-size: 14px; }

    .form td {
        margin-bottom: 48px;
    }

    .form .wpcf7-list-item{ margin-top: 16px; }

    .form td .wpcf7-select,
    .form td .wpcf7-text {
        width: 100%;
    }

    .form tr:first-child td .wpcf7-list-item {
        margin-bottom: 8px;
    }

    .form td span>input,
    .form td span>textarea,
    .form td span>select {
        padding: 4px 12px;
    }

    .form td span input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .form tr:nth-child(3) td span::after{
        width: 20px;
        height: 16px;
        top: 7px;
        right: 16px;
    }

    .form td textarea {
        height: 160px;
    }

    .form tr:last-child td p:first-child { font-size: 14px; } 
    
    .form tr:last-child td p:last-child{ margin-top: 24px; }

    .form .btn{ width: 100%; padding: 0; }

    .form .btn input,.complete a {
        width: 100%;
        padding: 32px 0;
    }

    .confirm .form tr:last-child td p:last-child {
        margin-top: 8px;
        font-size: 18px;
    }

    .confirm .btn input:first-child {
        margin-bottom: 32px;
    }

    .complete {
        padding: 152px 0 150px;
    }

    .complete h1 {
        font-size: 40px;
    }

    .complete p {
        margin: 40px auto;
    }

    .complete a {
        width: 400px;
        margin: auto;
    }

}

/*　＝＝＝＝＝＝＝＝＝＝＝＝　タブレット　＝＝＝＝＝＝＝＝＝＝＝＝　*/

@media screen and (min-width:768px) and (max-width:1024px) {

    p,
    h4,
    .cta li a,
    .mordal-trigers {
        font-size: 3.2vw;
    }

    .question dt,
    .flow li,
    .form th p,
    .form td p {
        font-size: 4vw;
    }

    .form td input[type="checkbox"] {
        width: 3.733vw;
        height: 3.733vw;
    }

    .form td select {
        width: 100%;
    }


}