@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap");
@import url("https://use.typekit.net/zkq2emd.css");
body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
}

.top-header {
    display: block;
    width: 100%;
    height: 33.5vw;
    position: relative;
    text-align: center;
}

.header-overlay {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    opacity: 1;
    background: url(../assets/images/general/kv_dot.png) repeat 0 0;
    background-size: 5px 5px;
}

.header-overlay::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 40%);
    position: absolute;
    top: 0;
    left: 0;
}
.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.lines {
    position: absolute;
    width: 100%;
    z-index: 2;
    border-bottom: 4px solid #fff;
}

h1.top_ttl {
    color: white;
    z-index: 2;
    font-family: rift, sans-serif;
    letter-spacing: 2px;
    font-size: 60px;

    margin: 0;
}

img.top-header-image {
    width: 100%;
    height: 100%;
}

.inquiry-top-parent {
    background: url(../assets/images/general/bg-pc.png);
    background-size: 80%;
    background-position: -100% 0vw;
    background-repeat: no-repeat;
    padding: 60px 0px 60px;
}

.inquiry-top-ttl-parent {
    width: 800px;
    margin: auto;
}

.inquiry-top-section {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.inquiry-top-section h2 {
    color: #ac1821;
    font-size: 90px;
    margin: 0;
    font-family: rift, sans-serif;
    line-height: 1;
}

.inquiry-top-section p {
    color: #ac1821;
    font-size: 15px;
    margin-bottom: 10px;
    margin-left: 4px;
    font-weight: bold;
}
form {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.content-parent {
    display: flex;
    justify-content: center;
}
.required {
    background: #d13636;
    color: #fff;
    font-size: 12px;
    font-size: 0.67rem;
    padding: 2px 4px 3px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 2px;
    margin: 0 0 0 10px;
    line-height: 1;
}
.input {
    box-sizing: border-box;
    border: 1px solid black !important;
    padding: 3px 12px !important;
    height: 37px !important;
    position: relative;
    border-radius: 8px !important;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13.3333px !important;
}

.custom-select {
    position: relative;
    width: 100%;
}

.js-custom-select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.custom-select__trigger {
    width: 100%;
    text-align: left;
    background-color: #fff;
    cursor: pointer;
    padding-right: 34px !important;
}

.custom-select__trigger::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #111;
}

.custom-select__trigger.is-placeholder {
    color: #666;
}

.custom-select.is-open .custom-select__trigger {
    border-radius: 8px 8px 0 0 !important;
}

.custom-select__menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    border: 1px solid #aaa;
    border-top: 0;
    background: #fff;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 8px 18px rgb(0 0 0 / 8%);
}

.custom-select.is-open .custom-select__menu {
    display: block;
}

.custom-select__option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    color: #111;
    text-align: left;
    padding: 10px 16px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13.3333px;
    cursor: pointer;
}

.custom-select__option:last-child {
    border-bottom: 0;
}

.custom-select__option:hover {
    background: #f7f7f7;
}

.custom-select__option.is-selected {
    background: #d13636;
    color: #fff;
    font-weight: 700;
}

select.input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, transparent 50%, #555 50%),
        linear-gradient(135deg, #555 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px !important;
    cursor: pointer;
}

select.input:focus {
    outline: none;
    border-color: #ac1821 !important;
    box-shadow: 0 0 0 2px rgb(172 24 33 / 12%);
}

/* Browsers only allow limited styling for opened native option lists. */
select.input option {
    background-color: #fff;
    color: #222;
}

select.input option:checked {
    background-color: #ac1821;
    color: #fff;
}

select.input option:hover {
    background-color: #f7e9ea;
    color: #222;
}

select.input::-ms-expand {
    display: none;
}

.inquiry-submit-button {
    display: inline-block;
    width: fit-content;
    min-width: 180px;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: #ac1821;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgb(172 24 33 / 20%);
}

.inquiry-submit-button:hover {
    background: #8f1219;
    transform: translateY(-1px);
}

.inquiry-submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgb(172 24 33 / 20%);
}

#inquiry {
    height: 150px !important;
}
.counter-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.characters {
    font-size: 12px;
    color: #666;
    margin: 0;
}
.inquiry-submit-button {
    position: relative;
    display: block;
    width: 225px;
    height: 48px;
    margin: 0px auto 0;
    background-color: #bd1821;
    cursor: pointer;
    border: none;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-weight: bold;
}
