/*
Theme Name:arkhe_child
Template:arkhe
Version:3.8.0
*/

/* 変数 */
:root {
    --primary-color: #00428c;
    --secondary-color: #a72126;
    --background-color: #e6e6e6;
    --heading-font: "Playfair Display", serif;
}

/* インポート */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* グローバルスタイル */
h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    font-weight: 600;
    font-style: normal;
}

h1 {
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--secondary-color) 0% 100%);
    background-repeat: no-repeat;
    background-size: 40px 2px;
    background-position: left bottom;
    font-weight: bold;
    text-align: left;
    color: #000;
}

.l-content {
    background-color: var(--background-color);
}

.c-filterLayer {
    z-index: -1;
}

.p-topArea {
    height: min(30vw, 350px);
    padding: 0;
    align-items: end;
}

.p-topArea__title {
    background-color: #fff;
    border-radius: 16px 16px 0 0;
    padding: 2rem 2.5rem 10rem 2.5rem;
    margin: 6rem 0.5rem 0rem 0.5rem;
}

.c-pageTitle__main {
    font-size: min(6vw, 34px);
    margin-bottom: 0;
}

.l-content__body {
    margin-top: -8rem;
}

/* 会員向けログインフォーム */
.groupsloginform {
    form>p {
        display: flex;
        flex-direction: column;
        max-width: 60%;
        min-width: 240px;
        margin: 1rem 0;
    }

    input {
        width: 100%;
    }

    form>p.login-remember input {
        width: auto;
    }
}

/* セクションスタイル */
section.sec1:nth-of-type(1) {
    border-radius: 0 0 16px 16px;
    padding-top: 0;
}

section.sec1 {
    background-color: #fff;
    border-radius: 16px;
    margin: 0 0.5rem 3rem 0.5rem;
    padding: 2rem 2.5rem;
    position: relative;
}

section.sec1 p {
    margin-bottom: 1rem;
}

span.overindex {
    color: var(--secondary-color);
    font-family: var(--heading-font);
    font-weight: 600;
    font-style: normal;
    font-size: 36px;
    line-height: 36px;
    position: absolute;
    top: -1.25rem;
    left: 0.75rem;
}

/* ボタンスタイル */
button,
input[type="submit"],
.wpcf7-submit {
    border-radius: 26px;
    width: 200px;
    background-color: var(--primary-color);
    padding: 8px;
    color: #fff;
    font-weight: bold;
    margin: 1rem 0;
    appearance: none;
}

/* ローダー */
.loader {
    display: none;
    margin: 100px auto;
    font-size: 20px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite ease;
    animation: load5 1.1s infinite ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes load5 {

    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #636363, 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.5), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.7);
    }

    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.7), 1.8em -1.8em 0 0em #636363, 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.5);
    }

    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.5), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.7), 2.5em 0em 0 0em #636363, 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.5), 2.5em 0em 0 0em rgba(99, 99, 99, 0.7), 1.75em 1.75em 0 0em #636363, 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.5), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.7), 0em 2.5em 0 0em #636363, -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.5), 0em 2.5em 0 0em rgba(99, 99, 99, 0.7), -1.8em 1.8em 0 0em #636363, -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.5), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.7), -2.6em 0em 0 0em #636363, -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.5), -2.6em 0em 0 0em rgba(99, 99, 99, 0.7), -1.8em -1.8em 0 0em #636363;
    }
}

@keyframes load5 {

    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #636363, 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.5), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.7);
    }

    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.7), 1.8em -1.8em 0 0em #636363, 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.5);
    }

    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.5), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.7), 2.5em 0em 0 0em #636363, 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.5), 2.5em 0em 0 0em rgba(99, 99, 99, 0.7), 1.75em 1.75em 0 0em #636363, 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.5), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.7), 0em 2.5em 0 0em #636363, -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.2), -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.5), 0em 2.5em 0 0em rgba(99, 99, 99, 0.7), -1.8em 1.8em 0 0em #636363, -2.6em 0em 0 0em rgba(99, 99, 99, 0.2), -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.5), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.7), -2.6em 0em 0 0em #636363, -1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2);
    }

    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(99, 99, 99, 0.2), 1.8em -1.8em 0 0em rgba(99, 99, 99, 0.2), 2.5em 0em 0 0em rgba(99, 99, 99, 0.2), 1.75em 1.75em 0 0em rgba(99, 99, 99, 0.2), 0em 2.5em 0 0em rgba(99, 99, 99, 0.2), -1.8em 1.8em 0 0em rgba(99, 99, 99, 0.5), -2.6em 0em 0 0em rgba(99, 99, 99, 0.7), -1.8em -1.8em 0 0em #636363;
    }
}

/* WPT診断テキスト */
.wpcf7 {
    span.wpcf7-not-valid-tip {
        font-weight: bold;
    }

    span.wpcf7-list-item {
        display: block;
    }

    .wpcf7-form-control.wpcf7-radio{
        width: 100%;
    }
    .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
        display: inline-grid;
    }

    #myChartarea {
        max-width: 800px;
        height: auto;
        margin: 0 auto;
    }

    #myChart {
        width: 100%;
        max-width: 800px;
        height: auto;
    }

    .sec-send {
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    section.sec-results {
        border-radius: initial;
        box-shadow: 0 0 0 100vmax #fff;
        clip-path: inset(0 -100vmax);
        padding-left: 0;
        padding-right: 0;
    }

    #myResults table {
        border: none;
        margin: 1rem 0;
    }

    #myResults tr {
        font-weight: bold;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--background-color);

        th {
            background-color: #fff;
            border: none;
            table-layout: fixed;
            width: 50%;
        }

        td {
            border: none;
            width: 50%;
            table-layout: fixed;
        }

        p {
            display: contents;
        }
    }


    .wpcf7-radio .wpcf7-list-item {
        margin-left: 0;
        width: 100%;
    }

    .wpcf7-radio .wpcf7-list-item-label {
        cursor: pointer;
        display: flex;
        line-height: 2rem;
        padding: .5rem;
        width: 100%;
    }

    .wpcf7-radio input[type="radio"] {
        opacity: 0;
        position: absolute;
        appearance: none;
    }

    .wpcf7-radio .wpcf7-list-item-label::before {
        background: #fff;
        border: 1px solid #333;
        border-radius: 100%;
        content: "";
        height: 1.2rem;
        margin-bottom: auto;
        margin-top: auto;
        margin-right: .5em;
        transition: background-color .3s;
        width: 1.2rem;
    }

    .wpcf7-radio input[type="radio"]:checked+.wpcf7-list-item-label::before {
        background-color: var(--primary-color);
        box-shadow: inset 0 0 0 3px #fff;
    }

    .wpcf7-radio input[type="radio"]:checked+.wpcf7-list-item-label {
        background-color: var(--background-color);
        transition: background-color .5s;
        font-weight: bold;
    }

    .wpcf7-text {
        width: 100%;
        max-width: 250px;
    }

    .wpcf7-response-output {
        border-width: 0 0 1px 0 !important;
    }

}