@charset "utf-8";

*[aria-hidden="true"] {
    display: none !important;
}


.request_form_nosp {
    display: none;
}

.request_form_content {
    align-items: center;
    box-sizing: border-box;
    color: #0D0D0D;
    display: flex;
    flex-direction: column;
    margin-bottom: 6rem;
    text-align: left;
    font: normal 18px YuGothic,sans-serif;
}

/* h3 */
.request_form_content h3 {
    align-items: center;
    color: #333;
    display: flex;
    font-size: 28px;
    font-weight: bold;
    height: 28px;
    margin: 60px 0 30px;
}
.request_form_content h3::before {
    background-image: linear-gradient(180deg, #265D5F 0%, #265D5F 50%, #587576 50%, #587576 100%);
    content: "";
    display: inline-block;
    height: 100%;
    margin-right: 20px;
    width: 14px;
}

/** フォーム遷移ナビ */
.request_form_step-container {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
}
.request_form_step-item {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 36px;
    justify-content: center;
    padding: 0;
    width: 100%;
}
.request_form_step-item span {
    align-items: flex-end;
    color: #0D0D0D;
    display: flex;
    font-size: 16px;
    font-weight: bold;
    height: 100%;
    justify-content: center;
    width: 100%;
}
.request_form_step-item:not(:first-of-type)::before,
.request_form_step-item:last-of-type::after {
    content: "";
    z-index: 1;
}
.request_form_step-active span {
    color: #A61955;
}


/** 画面共通 */
.request_form_screen {
    max-width: 700px;
}

.request_form_content input,
.request_form_content select,
.request_form_content textarea {
    border-width: thin;
    font-size: 16px; /* iphoneのズームアップ防止 */
    padding: 8px 4px 4px;
}

/* 必須マーク */
.request_form_required::before {
    align-items: center;
    background-color:#A61955;
    border-radius: 2px;
    color: white;
    content: '必須';
    display: flex;
    font-size: 18px;
    height: 24px;
    justify-content: center;
    margin-right: 10px;
    width: 60px;
}

/* 入力項目ヘッダ */
.request_form_item-header {
    text-align: left;
    margin: 20px 0 16px;
}

/* 入力項目コンテナ */
.request_form_item-box {
    margin-bottom: 2rem;
    width: 100%;
}
.request_form_item-box > div {
    margin-left: 10px;
}
.request_form_item-box p {
    margin-top: 10px;
    line-height: unset;
}
.request_form_item-box label {
    align-items: center;
    display: flex;
}

/* インプットの見た目 */
.request_form_item-box input[type="text"],
.request_form_item-box input[type="tel"],
.request_form_item-box input[type="email"]{
    box-sizing: border-box;
    width: 100%;
    max-width: 340px;
    height: 34px;
}
.request_form_item-box textarea {
    box-sizing: border-box;
    height: 183px;
    width: 100%;
}
.request_form_item-box select {
    width: 56px;
}

/* 検証NGスタイル */
input:invalid,
select:invalid,
textarea:invalid,
.request_form_invalid{
    border-color: #A61955;
    background-color: #FDD;
}
.request_form_validity-for {
    color: #A61955;
    font-size: 16px;
    margin: 10px 0;
    width: 100%;
}

/* チェックボタンのコンテナ */
.request_form_check-item, 
.request_form_radio-item {
    align-items: flex-start;
    display: flex;
}
.request_form_check-item > div,
.request_form_radio-item > div {
    display: flex;
    margin-right: 20px;
}
.request_form_check-item input,
.request_form_radio-item input {
    margin-right: 15px;
}

/* 希望日時のコンテナ */
.request_form_date-item {
    display: flex;
}
.request_form_date-item select {
    margin-right: 4px;
}
.request_form_date-item label {
    margin-right: 20px;
}
.request_form_date-item ~ p {
    color:#A61955;
}

/* 個人情報保護法について */
.request_form_personalinfo_button {
    /* background-color: #DAB3001A; */
    background-color: rgba(218, 179, 0, 0.1);
    border: 1px solid #333;
    color: #333;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    height: 50px;
    width: 255px;
    padding: 16px 20px;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box;
}
.request_form_personalinfo_button::after {
    border: 1.2px solid;
    border-color: #333 #333 transparent transparent;
    content: "";
    display: inline-block;
    height: 12px;
    transform: rotate(45deg);
    width: 12px;
}
.np_modal-wrapper {
    background: rgba(43, 46, 56, 0.9);
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    align-items: center;
    justify-content: center;
}
.np_modal {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    padding: 35px;
    color: #2b2e38;
    background: #fff;
}
.np_modal-opened {
    display: flex;
}
.request_form_personalinfo_window li {
    list-style: unset;
}
.request_form_personalinfo_window button {
    background-color: #28a745;
    border: 1px solid #28a745;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 16px;
    padding: 8px 16px;
    margin: 0 auto;
}
.request_form_personalinfo_text {
    margin-top: 4px;
}
.request_form_content svg {
    height: 14.4px;
    width: 12.6px;
    margin-right: 4px;
}

/* 確認画面 */
.np-confirm-screen .request_form_main {
    flex-direction: column;
}
.np-confirm-screen .request_form_main > div {
    display: flex;
    align-items: center;
}
.request_form_confirm-item-label, .request_form_confirm-item-value {
    box-sizing: border-box;
    display: inline-block;
    margin: 4px;
}
.request_form_confirm-item-label {
    font-weight: bold;
    text-align: right;
    width: 100px;
}
.request_form_confirm-item-value {
    text-align: left;
}
.np-confirm-screen .request_form_main .request_form_confirm-long-box {
    align-items: flex-start;
    flex-direction: column;
}
.request_form_confirm-long-box .request_form_confirm-item-label {
    width: auto;
}

.request_form_content button:disabled {
    background-color: lightgray;
    color: #efefef;
}
.request_form_button-box {
    padding: 2rem 0;
}
.np-confirm-button,
.np-back-button, .np-request-button {
    height: 50px;
    background-color: #265D5F;
    border: 1px solid #707070;
    color: #fff;
    font-size: 18px;
}
.np-confirm-button {
    width: 300px;
}
.np-back-button, .np-request-button {
    width: 120px;
    margin-right: 16px;
}

.request_form_tohome-button {
    background-color: transparent;
    border: 1px solid #707070;
    color: #252525;
    margin-top: 3rem;
    height: 50px;
    width: 260px;
}

.np-complete-screen {
    text-align: center;
}

/*===============================================
●スマホ用（699px以下）
===============================================*/
@media screen and (max-width:699px){
.request_form_content > h2::before {
    content: "";
    border-bottom: 46px solid transparent;
    border-left: 46px solid #414BE0;
}
.request_form_content > h2::after {
    content: "";
    border-top: 46px solid transparent;
    border-right: 46px solid #414BE0;
}
.request_form_content h3 {
    font-size: 20px;
}

/** フォーム遷移ナビ */
.request_form_step-container {
    width: 100%;
}
.request_form_step-item span {
    align-items: flex-end;
}
.request_form_step-item:last-of-type {
    height: 46px;
}
.request_form_step-item:not(:first-of-type) span{
    margin-top: -10px;
}
.request_form_step-item:first-of-type span,
.request_form_step-item:last-of-type span {
    background-color: #EDEDED;
}
.request_form_step-item:not(:first-of-type)::before,
.request_form_step-item:last-of-type::after {
    content: "";
    border: 80px solid #D8D8D8;
    border-top-width: 10px;
    border-bottom-width: 0;
    z-index: 1;
}
.request_form_step-item:nth-of-type(2)::before {
    border-color: #D8D8D8;
    border-top-color: #EDEDED;
}
.request_form_step-item:nth-of-type(2) span {
    background-color: #D8D8D8;
}
.request_form_step-item:last-of-type::before {
    border-color: #EDEDED;
    border-top-color: #D8D8D8;
}
.request_form_step-item:last-of-type::after {
    border-color: transparent;
    border-top-color: #EDEDED;
}
.request_form_step-active:first-of-type span,
.request_form_step-active:not(:first-of-type) span {
    background-color: #BFBFBF;
}
.request_form_step-active:first-of-type + li::before{
    border-color: #D8D8D8;
    border-top-color: #BFBFBF;
}
.request_form_step-active:not(:first-of-type) + li::before {
    border-color: #EDEDED;
    border-top-color: #BFBFBF;
}
.request_form_step-active:last-of-type::after {
    border-color: transparent;
    border-top-color: #BFBFBF;
}
.request_form_step-item:first-of-type + .request_form_step-active::before {
    border-color: #BFBFBF;
    border-top-color: #EDEDED;
}
.request_form_step-item:nth-of-type(2) + .request_form_step-active::before {
    border-color: #BFBFBF;
    border-top-color: #D8D8D8;
}

/* 画面共通*/
.request_form_screen {
    padding: 0 8px;
}

.request_form_date-item label {
    font-size: 10px;
    margin-right: 4px;
}

/* 個人情報保護法 */
.request_form_personalinfo_window > div {
    background-color: #fff;
    max-width: 80%;
    padding: 8px;
    box-sizing: border-box;
    pointer-events: auto;
    max-height: 80%;
    overflow: auto;
}
.request_form_personalinfo_window h4 {
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 8px;
}
.request_form_personalinfo_window ol {
    margin: 16px 0 16px 8px;
    font-size: 12px;
    padding-inline-start: 20px;
}
}

/*===============================================
●PC用（700px以上）
===============================================*/
@media screen and (min-width:700px){

.request_form_nosp {
    display: block;
}
.request_form_content > h2 {
    font-size: 40px;
    height: 80px;
    margin-bottom: 17px;
    max-width: 1000px;
}
.request_form_content > h2::before {
    content: "";
    border-bottom: 80px solid transparent;
    border-left: 80px solid #414BE0;
}
.request_form_content > h2::after {
    content: "";
    border-top: 80px solid transparent;
    border-right: 80px solid #414BE0;
}
/** フォーム遷移ナビ */
.request_form_step-container {
    flex-direction: row;
    justify-content: center;
}
.request_form_step-item {
    flex: 1 0 auto;
    flex-direction: row;
    height: 80px;
    max-width: 220px;
}
.request_form_step-item span {
    font-size: 22px;
    align-items: center;
}
.request_form_step-item:last-of-type {
    max-width: 260px;
}
.request_form_step-item:first-of-type span,
.request_form_step-item:last-of-type span {
    background-color: #EDEDED;
}
.request_form_step-item:not(:first-of-type)::before,
.request_form_step-item:last-of-type::after {
    border: 40px solid #D8D8D8;
    border-right-width: 0;
}
.request_form_step-item:nth-of-type(2)::before {
    border-left-color: #EDEDED;
}
.request_form_step-item:nth-of-type(2) span {
    background-color: #D8D8D8;
}
.request_form_step-item:last-of-type::before {
    border-color: #EDEDED;
    border-left-color: #D8D8D8;
}
.request_form_step-item:last-of-type::after {
    border-color: transparent;
    border-left-color: #EDEDED;
}
.request_form_step-active:first-of-type span,
.request_form_step-active:not(:first-of-type) span {
    background-color: #BFBFBF;
}
.request_form_step-active:first-of-type + li::before{
    border-color: #D8D8D8;
    border-left-color: #BFBFBF;
}
.request_form_step-active:not(:first-of-type) + li::before {
    border-color: #EDEDED;
    border-left-color: #BFBFBF;
}
.request_form_step-active:last-of-type::after {
    border-color: transparent;
    border-left-color: #BFBFBF;
}
.request_form_step-item:first-of-type + .request_form_step-active::before {
    border-color: #BFBFBF;
    border-left-color: #EDEDED;
}
.request_form_step-item:nth-of-type(2) + .request_form_step-active::before {
    border-color: #BFBFBF;
    border-left-color: #D8D8D8;
}
.request_form_check-item > div,
.request_form_radio-item > div {
    margin-right: 40px;
}
/* 個人情報保護法 */
.request_form_personalinfo_window > div {
    background-color: #fff;
    max-width: 700px;
    padding: 35px;
    box-sizing: border-box;
    pointer-events: auto;
    max-height: 100%;
    overflow: auto;
}
.request_form_personalinfo_window h4 {
    font-size: 29px;
    font-weight: normal;
    margin: 0 0 8px;
}
.request_form_personalinfo_window ol {
    margin: 16px 0 16px 48px;
}
.request_form_personalinfo_window button {
    font-size: 20px;
}
}

