:root {
  --mainvisual_bk: url(../img/mainvisual_bk.jpg);
  --mainvisual_line_pc: url(../img/mainvisual_line_pc.svg);
  --mainvisual_line_sp: url(../img/mainvisual_line_sp.svg);
}

/* Miligram overrides */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.top-nav-links,
.side-nav,
h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    color: #363637;
}

a {
    color:#2f85ae;
    -webkit-transition:all 0.2s linear;
    transition:all 0.2s linear;
}

a:hover,
a:focus,
a:active  {
    color:#2a6496;
    -webkit-transition:all 0.2s easeout;
    transition:all 0.2s ease-out;
}

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #606c76;
}

.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus {
    color:#2f85ae;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding: 2rem;
    margin: 0 auto 2rem;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #d33c43;
}
.top-nav-title span {
    color: #404041;
}
.top-nav-links a {
    margin: 0 0.5rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.warning {
    background: #fffabc;
    color: #8d7b00;
    border-color: #d3b800;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}

html {
    font-size: 62.5%;
}

@media all {
    ul {
        box-sizing: border-box;
    }
}

@media all {

    div.wpforms-container-full,
    div.wpforms-container-full .wpforms-form * {
        background: none;
        border: 0 none;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        float: none;
        font-size: 100%;
        height: auto;
        letter-spacing: normal;
        list-style: none;
        outline: none;
        position: static;
        text-decoration: none;
        text-indent: 0;
        text-shadow: none;
        text-transform: none;
        width: auto;
        visibility: visible;
        overflow: visible;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        -ms-box-shadow: none;
        -o-box-shadow: none;
        box-shadow: none;
    }

    div.wpforms-container-full {
        margin-left: auto;
        margin-right: auto;
    }

    div.wpforms-container-full .wpforms-form input,
    div.wpforms-container-full .wpforms-form label,
    div.wpforms-container-full .wpforms-form select,
    div.wpforms-container-full .wpforms-form button,
    div.wpforms-container-full .wpforms-form textarea {
        margin: 0;
        border: 0;
        padding: 0;
        display: inline-block;
        vertical-align: middle;
        background: none;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    div.wpforms-container-full .wpforms-form textarea {
        width: 100%;
    }

    div.wpforms-container-full .wpforms-form ul,
    div.wpforms-container-full .wpforms-form ul li {
        background: none !important;
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    div.wpforms-container-full .wpforms-form ul li {
        margin-bottom: 5px !important;
    }

    div.wpforms-container-full .wpforms-form ul li:last-of-type {
        margin-bottom: 0 !important;
    }

    .wpforms-clear:before {
        content: " ";
        display: table;
    }

    .wpforms-clear:after {
        clear: both;
        content: " ";
        display: table;
    }

    div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium {
        height: 120px;
    }

    div.wpforms-container-full .wpforms-form input.wpforms-field-large,
    div.wpforms-container-full .wpforms-form select.wpforms-field-large {
        max-width: 100%;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field {
        padding: 10px 0;
        clear: both;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field-description,
    div.wpforms-container-full .wpforms-form .wpforms-field-limit-text {
        font-size: 13px;
        line-height: 1.3;
        margin: 8px 0 0 0;
        word-break: break-word;
        word-wrap: break-word;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field-label {
        display: block;
        font-weight: 700;
        font-size: 16px;
        float: none;
        line-height: 1.3;
        margin: 0 0 4px 0;
        padding: 0;
        word-break: break-word;
        word-wrap: break-word;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field-label-inline {
        display: inline;
        vertical-align: baseline;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.3;
        word-break: break-word;
    }

    div.wpforms-container-full .wpforms-form .wpforms-required-label {
        color: #ff0000;
        font-weight: 400;
    }

    div.wpforms-container-full .wpforms-form input[type=email],
    div.wpforms-container-full .wpforms-form input[type=tel],
    div.wpforms-container-full .wpforms-form input[type=text],
    div.wpforms-container-full .wpforms-form select,
    div.wpforms-container-full .wpforms-form textarea {
        background-color: #fff;
        box-sizing: border-box;
        border-radius: 2px;
        color: #333;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        display: block;
        float: none;
        font-size: 16px;
        font-family: inherit;
        border: 1px solid #ccc;
        padding: 6px 10px;
        height: 38px;
        width: 100%;
        line-height: 1.3;
    }

    div.wpforms-container-full .wpforms-form input[type=checkbox] {
        border: 1px solid #ccc;
        background-color: #fff;
        width: 14px;
        height: 14px;
        margin: 0 10px 0 3px;
        display: inline-block;
        vertical-align: baseline;
    }

    div.wpforms-container-full .wpforms-form select {
        max-width: 100%;
        text-transform: none;
        white-space: nowrap;
    }

    div.wpforms-container-full .wpforms-form button[type=submit],
    div.wpforms-container-full .wpforms-form .wpforms-page-button {
        background-color: #eee;
        border: 1px solid #ddd;
        color: #333;
        font-size: 1em;
        padding: 10px 15px;
    }

    div.wpforms-container-full .wpforms-form .wpforms-page-button {
        font-size: 0.9em;
        font-weight: 400;
        margin: 0 5px;
        min-width: 90px;
        text-align: center;
    }

    div.wpforms-container-full .wpforms-form button[type=submit]:hover,
    div.wpforms-container-full .wpforms-form button[type=submit]:focus,
    div.wpforms-container-full .wpforms-form button[type=submit]:active,
    div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
    div.wpforms-container-full .wpforms-form .wpforms-page-button:active,
    div.wpforms-container-full .wpforms-form .wpforms-page-button:focus {
        background-color: #ddd;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    div.wpforms-container-full .wpforms-form button[type=submit]:disabled,
    div.wpforms-container-full .wpforms-form .wpforms-page-button:disabled {
        background-color: #eee;
        border: 1px solid #ddd;
        cursor: default;
        opacity: 0.5;
    }

    div.wpforms-container-full .wpforms-form input:focus,
    div.wpforms-container-full .wpforms-form textarea:focus,
    div.wpforms-container-full .wpforms-form select:focus {
        border: 1px solid #999;
        box-shadow: none;
    }

    div.wpforms-container-full .wpforms-form input:disabled,
    div.wpforms-container-full .wpforms-form textarea:disabled,
    div.wpforms-container-full .wpforms-form select:disabled {
        background-color: #f9f9f9;
        border-color: #ddd;
        color: #999;
        cursor: not-allowed;
    }

    div.wpforms-container-full .wpforms-form noscript.wpforms-error-noscript {
        color: #990000;
    }

    div.wpforms-container-full .wpforms-form .wpforms-submit-container {
        padding: 10px 0 0 0;
        clear: both;
        position: relative;
    }

    div.wpforms-container-full .wpforms-form .wpforms-submit-spinner {
        margin-left: 0.5em;
        display: inline-block;
        vertical-align: middle;
        max-width: 26px;
    }

    div.wpforms-container-full .wpforms-form .wpforms-pagebreak-left {
        text-align: left;
    }

    div.wpforms-container-full .wpforms-form .wpforms-pagebreak-left .wpforms-page-button {
        margin: 0 10px 0 0;
    }

    div.wpforms-container-full .wpforms-form .wpforms-page-indicator {
        margin: 0 0 20px 0;
        overflow: hidden;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field-select select>option {
        color: inherit;
    }

    div.wpforms-container-full .wpforms-form .wpforms-field-select select>option.placeholder,
    div.wpforms-container-full .wpforms-form .wpforms-field-select select>option[disabled] {
        color: inherit;
        opacity: 0.5;
    }

    div.wpforms-container-full .wpforms-field.wpforms-field-select-style-classic select {
        padding-left: 6px;
    }

    div.wpforms-container-full {
        margin: 24px auto;
    }

    @media only screen and (max-width: 600px) {
        div.wpforms-container-full .wpforms-form .wpforms-field:not(.wpforms-field-phone):not(.wpforms-field-select-style-modern) {
            overflow-x: hidden;
        }

        div.wpforms-container-full .wpforms-form .wpforms-field>* {
            max-width: 100%;
        }

        div.wpforms-container-full .wpforms-form input.wpforms-field-large,
        div.wpforms-container-full .wpforms-form select.wpforms-field-large {
            max-width: 100%;
        }
    }
}

*:where(:not(iframe, canvas, img, svg, video):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a,
button {
    cursor: revert;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

textarea {
    white-space: revert;
}

::placeholder {
    color: unset;
}

.CONTAINER {
    background: #fff;
    font-weight: 400;
    font-size: 16px;
    font-size: 1.6rem;
    color: #333;
    font-family: "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "游ゴシック", sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

.CONTAINER a,
.CONTAINER a:active,
.CONTAINER a:hover,
.CONTAINER a:visited {
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: .3s;
    transition: .3s;
}

.CONTAINER a:hover {
    -webkit-filter: opacity(0.6);
    filter: opacity(0.6);
}

.CONTAINER .SECTION .SECTION__WRAPPER {
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: auto;
}

@media screen and (max-width: 959px) {
    .CONTAINER .SECTION .SECTION__WRAPPER {
        max-width: 560px;
        width: calc(100% - 48px);
    }
}

.CONTAINER .large {
    font-size: 1.32em;
}

@media screen and (min-width: 960px) {
    .CONTAINER .nonPC {
        display: none !important;
    }
}

@media screen and (max-width: 959px) {
    .CONTAINER .nonPC {
        display: inline;
    }
}

@media screen and (min-width: 960px) {
    .CONTAINER .nonSP {
        display: inline;
    }
}

@media screen and (max-width: 959px) {
    .CONTAINER .nonSP {
        display: none !important;
    }
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    overflow: hidden;
}

@media screen and (max-width: 959px) {
    #header {
        position: fixed;
        max-height: 100%;
        overflow-y: scroll;
        overflow: hidden;
    }
}

#pagetop {
    position: fixed;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #b5a87f;
    z-index: 999;
}

#pagetop a {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}

#pagetop a::before {
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    -webkit-transform: rotate(-45deg) translate(-68%);
    transform: rotate(-45deg) translate(-68%);
    left: 50%;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
}

@media screen and (max-width: 959px) {
    #pagetop {
        display: none;
    }
}

input#btn-list {
    display: none;
}

input#btn-list~.btn-list__wrapper {
    position: fixed;
    background: rgba(0, 0, 0, .7);
    width: 100vw;
    height: 100vh;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    opacity: 0;
    z-index: -99;
}

input#btn-list:checked~.btn-list__wrapper {
    opacity: 1;
    z-index: 999;
    -webkit-transition: .3s;
    transition: .3s;
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box {
    background: #fff;
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 24px 40px 64px;
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn-list__close {
    position: relative;
    cursor: pointer;
    display: block;
    height: 40px;
    width: 40px;
    margin: 0 0 0 auto;
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn-list__close::after,
input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn-list__close::before {
    display: block;
    position: absolute;
    content: "";
    background: #333;
    width: 100%;
    height: 1px;
    top: 0;
    bottom: 0;
    margin: auto;
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn-list__close::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn-list__close::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn__list .btn__item {
    margin-bottom: 40px;
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn__list .btn__item:last-child {
    margin-bottom: 0;
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn__list .btn__item .item__text {
    font-weight: 600;
    font-size: 20px;
    font-size: 2rem;
    margin-bottom: 8px;
    text-align: center;
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn__list .btn__item .item__btn {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 48px;
    line-height: 48px;
    background: #dc6b29;
    color: #fff;
    text-align: center;
    margin: auto;
}

input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn__list .btn__item .item__btn:hover {
    -webkit-filter: brightness(1.2);
    filter: brightness(1.2);
}

input#btn-list+input#list-close {
    display: none;
}

@media screen and (max-width: 959px) {
    input#btn-list:checked~.btn-list__wrapper .btn-list__box {
        padding: 16px 16px 32px;
    }

    input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn-list__close {
        height: 32px;
        width: 32px;
    }

    input#btn-list:checked~.btn-list__wrapper .btn-list__box .btn__list .btn__item .item__text {
        font-size: 18px;
        font-size: 1.8rem;
    }

    input#btn-list+input#list-close {
        display: none;
    }
}

#page-cmc {
    line-height: 1.5;
    color: #000;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
}

#page-cmc .SECTION__WRAPPER {
    max-width: 800px;
}

#page-cmc #mainvisual {
    background: var(--mainvisual_bk) no-repeat center/cover;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    height: 26vw;
    position: relative;
}

#page-cmc #mainvisual::after {
    display: block;
    content: "";
    position: absolute;
    height: 100%;
    width: 98.4vw;
    background: var(--mainvisual_line_pc) no-repeat center/contain;
    left: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    top: 0;
    bottom: 0;
    margin: auto;
}

#page-cmc #mainvisual .mainvisual__wrapper {
    height: 100%;
    max-width: 41.6%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
}

#page-cmc #mainvisual .mainvisual__wrapper .mainvisual__illust {
    position: absolute;
    height: 100%;
    width: auto;
    display: block;
    top: 0;
}

#page-cmc #mainvisual .mainvisual__wrapper .mainvisual__illust:nth-child(-n+2) {
    left: 0;
    -webkit-transform: translate(-100%);
    transform: translate(-100%);
}

#page-cmc #mainvisual .mainvisual__wrapper .mainvisual__illust:nth-last-child(-n+2) {
    right: 0;
    -webkit-transform: translate(100%);
    transform: translate(100%);
}

#page-cmc #mainvisual .mainvisual__wrapper .mainvisual__title {
    color: #ff9a40;
    padding: 8px 16px;
    line-height: 1;
    background: #fff;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 2.9vw;
    font-size: max(12px, 1.6vw);
}

#page-cmc #mainvisual .mainvisual__wrapper .mainvisual__title .large {
    vertical-align: text-bottom;
    font-size: 2.5vw;
}

#page-cmc #mainvisual .mainvisual__wrapper .mainvisual__subtitle {
    font-size: 5.2vw;
    color: #fff;
    position: relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    line-height: 1;
}

#page-cmc #mainvisual .mainvisual__wrapper .mainvisual__subtitle img {
    position: absolute;
    display: inline-block;
    bottom: -16px;
    min-width: 110%;
    left: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    height: auto;
}

@media screen and (max-width: 959px) {
    #page-cmc #mainvisual {
        height: 40vw;
    }

    #page-cmc #mainvisual::after {
        width: 97.7vw;
        background: var(--mainvisual_line_sp) no-repeat center/contain;
    }

    #page-cmc #mainvisual .mainvisual__wrapper {
        max-width: calc(100% - 48px);
    }

    #page-cmc #mainvisual .mainvisual__wrapper .mainvisual__illust:nth-child(-n+2) {
        -webkit-transform: translate(-24px);
        transform: translate(-24px);
    }

    #page-cmc #mainvisual .mainvisual__wrapper .mainvisual__illust:nth-last-child(-n+2) {
        -webkit-transform: translate(24px);
        transform: translate(24px);
    }

    #page-cmc #mainvisual .mainvisual__wrapper .mainvisual__title {
        padding: 4px 8px;
        margin: 0 auto 2.9vw;
        font-size: max(12px, 3.7vw);
    }

    #page-cmc #mainvisual .mainvisual__wrapper .mainvisual__title .large {
        font-size: max(12px, 4.8vw);
    }

    #page-cmc #mainvisual .mainvisual__wrapper .mainvisual__subtitle {
        font-size: 8vw;
    }

    #page-cmc #mainvisual .mainvisual__wrapper .mainvisual__subtitle img {
        bottom: -8px;
    }
}

#page-cmc #form {
    padding: 120px 0 128px;
}

#page-cmc #form .form__title {
    color: #ff9a40;
    font-size: 40px;
    font-size: 4rem;
    position: relative;
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 64px;
    z-index: 1;
}

#page-cmc #form .form__title::after {
    z-index: -1;
    position: absolute;
    display: block;
    width: calc(100% + 32px);
    left: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    bottom: 8px;
    background: rgba(255, 240, 0, .2);
    height: 16px;
    content: "";
}

#page-cmc #form .form__text {
    font-size: 24px;
    font-size: 2.4rem;
    margin-bottom: 24px;
}

#page-cmc #form .form__item {
    margin-bottom: 40px;
    padding: 0;
}

#page-cmc #form .wpforms-field-limit-text {
    display: none;
}

#page-cmc #form label:not(.wpforms-field-label-inline):not(.label-plain):not(.after):not(.wpforms-error) {
    position: relative;
    padding-left: 16px;
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 10px;
}

#page-cmc #form label:not(.wpforms-field-label-inline):not(.label-plain):not(.wpforms-field-label-none):not(.after):not(.wpforms-error)::after {
    position: absolute;
    content: "";
    display: block;
    width: 4px;
    height: 26px;
    background: #ff9a40;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

#page-cmc #form label:not(.wpforms-field-label-inline):not(.label-plain):not(.after):not(.wpforms-error) span {
    position: relative;
    display: inline-block;
    margin-left: 16px;
    color: rgba(0, 0, 0, 0);
}

#page-cmc #form label:not(.wpforms-field-label-inline):not(.label-plain):not(.after):not(.wpforms-error) span::after {
    position: absolute;
    display: block;
    content: "必須";
    background: #ff9a40;
    color: #fff;
    font-size: 14px;
    font-size: 1.4rem;
    border-radius: 6px;
    padding: 4px 8px;
    left: 0;
    bottom: 0;
    white-space: nowrap;
}

#page-cmc #form label.wpforms-field-label-inline {
    font-size: 22px;
    font-size: 2.2rem;
}

#page-cmc #form input,
#page-cmc #form textarea,
#page-cmc #form select {
    border-radius: 4px;
    border: 1px solid #231815;
    padding: 8px 16px;
    font-size: 20px;
    font-size: 2rem;
    height: auto;
}

#page-cmc #form input[type=checkbox] {
    all: revert;
}

#page-cmc #form .wpforms-page-button,
#page-cmc #form .wpforms-submit {
    margin: auto;
    width: 260px;
    font-size: 24px;
    font-size: 2.4rem;
    text-align: center;
    line-height: 48px;
    height: 48px;
    background: #ff9a40;
    color: #fff;
    padding: 0;
    border: none;
    display: block;
}

#page-cmc #form .wpforms-page-button.wpforms-page-prev {
    background: #727171;
    color: #fff;
}

#page-cmc #form .form__link {
    color: #ff9a40;
    text-decoration: underline;
}

@media screen and (max-width: 959px) {
    #page-cmc #form {
        padding: 48px 0 56px;
    }

    #page-cmc #form .form__title {
        font-size: 24px;
        font-size: 2.4rem;
        margin: 0 auto 24px;
    }

    #page-cmc #form .form__title::after {
        width: calc(100% + 16px);
        bottom: 4px;
        height: 8px;
    }

    #page-cmc #form .form__text {
        font-size: 16px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    #page-cmc #form .form__text .link-container {
        display: block;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
        white-space: normal;
        font-size: 15px;
    }

    #page-cmc #form .form__item {
        margin-bottom: 24px;
    }

    #page-cmc #form label:not(.wpforms-field-label-inline):not(.label-plain):not(.after):not(.wpforms-error) {
        font-size: 18px;
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    #page-cmc #form label:not(.wpforms-field-label-inline):not(.label-plain):not(.after):not(.wpforms-error)::after {
        height: 16px;
    }

    #page-cmc #form label:not(.wpforms-field-label-inline):not(.label-plain):not(.after):not(.wpforms-error) span {
        margin-left: 8px;
    }

    #page-cmc #form label:not(.wpforms-field-label-inline):not(.label-plain):not(.after):not(.wpforms-error) span::after {
        font-size: 12px;
        font-size: 1.2rem;
        border-radius: 3px;
        padding: 2px 8px;
    }

    #page-cmc #form label.wpforms-field-label-inline {
        font-size: 16px;
        font-size: 1.6rem;
    }

    #page-cmc #form input,
    #page-cmc #form textarea,
    #page-cmc #form select {
        padding: 4px 8px;
        font-size: 16px;
        font-size: 1.6rem;
    }

    #page-cmc #form .wpforms-page-button,
    #page-cmc #form .wpforms-submit {
        width: 220px;
        font-size: 18px;
        font-size: 1.8rem;
        line-height: 40px;
        height: 40px;
    }
}

#pagetop {
    display: none;
}

#header {
    background: #fff;
    position: static;
}

#header .header__wrapper {
    max-width: unset;
    padding: 8px 0;
}

#header .header__wrapper .header__logo {
    width: 416px;
    display: block;
}

@media screen and (max-width: 959px) {
    #header .header__wrapper .header__logo {
        width: 208px;
    }
}

@media all {
    div.wpforms-container-full .wpforms-form * {
        background: none;
        border: 0 none;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        float: none;
        font-size: 100%;
        height: auto;
        letter-spacing: normal;
        list-style: none;
        outline: none;
        position: static;
        text-decoration: none;
        text-indent: 0;
        text-shadow: none;
        text-transform: none;
        width: auto;
        visibility: visible;
        overflow: visible;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        -ms-box-shadow: none;
        -o-box-shadow: none;
        box-shadow: none;
    }
}

*:where(:not(iframe, canvas, img, svg, video):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

::placeholder {
    color: unset;
}

#page-cmc #form .entry-preview-value {
    font-size: 24px;
    font-size: 2.4rem;
    margin-bottom: 32px;
}

@media screen and (max-width: 959px) {
    #page-cmc #form .entry-preview-value {
        font-size: 16px;
        font-size: 1.6rem;
        margin-bottom: 16px;
    }
}

@media all {
    .entry-preview-value,
    div.wpforms-container-full .wpforms-form .entry-preview-value {
        word-break: break-word;
        box-sizing: border-box;
    }

    .wpforms-entry-preview-basic .entry-preview-value,
    div.wpforms-container-full .wpforms-form .wpforms-entry-preview-basic .entry-preview-value {
        width: 100%;
    }

    .wpforms-entry-preview-basic .entry-preview-value,
    div.wpforms-container-full .wpforms-form .wpforms-entry-preview-basic .entry-preview-value {
        margin-bottom: 20px;
    }
}

.wpforms-submit-container {
    padding: 10px 0 0 0;
}

.wpforms-entry-preview {
    padding-bottom: 20px;
}

.wpforms-entry-preview-wrapper {
    border-bottom: 1px solid #dddddd;
}

.wpforms-page-button, .wpforms-submit.next__btn {
    cursor: pointer !important;
}

.mainvisual__title, .mainvisual__subtitle {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

.form__title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 4rem;
    font-weight: 100;
}

.wpforms-submit, .wpforms-page-next, wpforms-page-button {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 4rem;
    font-weight: 400;
}

.error-message {
    margin-bottom: 20px;
    color: red;
}

select[name='clinic_id'] > option[disabled], select[name='visit_date'] > option[disabled], select[name='visit_time'] > option[disabled], select[name='visit_purpose'] > option[disabled] {
    background-color: #8080804d;
}

.agree-span {
    cursor: default;
}

.option-hide {
    display: none;
}

.option-hide-v2 {
    display: none;
}

.no-session {
    margin-top: 5rem;
    text-align: center;
}

.no-session button {
    margin-top: 2rem;
}

.complete-message {
    text-align: center;
}