#root {
    font-family: var(--subpage-sec-font-text);
}

.form-container {
    min-width: 320px;
    width: 80%;
    margin-inline: auto;
}

.form .formRow {
    margin-bottom: 32px;
    display: flex;
    /* flex-direction: column; */
}
.form .formRow:last-child {
    margin-bottom: 0;
}

.form p {
    margin: 0;
}

.form .formRow:not(:has(.formTd)) .col {
    margin-left: -15px;
}

.form .requiredText {
    color: #fff;
    background: #FF0000;
    font-size: 0.8em;
    padding: 2px 10px;
    margin-left: 10px;
}

.form .formTh .label {
    font-weight: bold;
}

.form .formTd textarea,
.form .formTd input:not([type=radio]):not([type=checkbox]) {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background-color: #fff;
    padding: 0.5em 1em;
    width: 100%;
}

.form .formTd textarea {
    field-sizing: content;
    min-height: 10em;
}

.form input[type=checkbox]+.label {
    margin-left: 5px;
}

.radioArea {
  display : flex;
  flex-wrap :wrap;
  gap : 2rem;
}
.radioArea label {
  margin : 0;
}

.h3_tit {
    margin-bottom: -20px;
}

.h2_tit.contactend {
    margin-bottom: 20px;
}

.privacyLabel {
  font-size : 14px;
}

body:has(.form) #floatingBtn {
  display : none !important;
}


/* 問い合わせページ */
.text-vertical {
    writing-mode: vertical-rl;
    margin : auto auto 2rem auto;
}
.border-box {
    border: 1px solid #000;
    padding: 2rem;
}
.text-font-heading {
    font-family: var(--subpage-sec-font-title);
    font-weight: bold;
}
.scroll-box {
    overflow-y: auto;
    height: 240px;
}

.btn {
    background-color: var(--color-gold);
    border-radius: 0;
    line-height: 1;
    font-size: 1rem;
    border-color: var(--color-gold);
    padding : 0;
    a {
        color: #fff;
        display: block;
        padding : 24px  32px;
    }
    a:hover {
        text-decoration: none;
    }
}
.btn:hover,
.btn:active {
    background-color: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    opacity: .8;
    outline: none;
}

.formBtn {
    background-color: var(--color-gold);
    color: #fff;
    border: none;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    max-width: 304px;
}

.form-group .top-hero-action {
    background-color: var(--color-gold);
}

.form-group-exlink {
    display: flex;
    gap: 0.75rem;
    width: fit-content;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding : 24px  32px;
    margin-inline: auto;
    font-size: 2vw;
    img {
        width :24px;
    }
    p {
        margin: 0;
    }
}
.form-group-exlink:hover {
    color: #fff;
}

@media(min-width : 768px){
    .border-md-right {
        border-right: 1px solid;
    }
}