body {
    margin: 0;
}

/* ↓タイトルバー↓ */
.taitle_bar {
    position: relative;
}

.taitle_bar img {
    width: 100%;
}

/* PC用のスタイル */
@media screen and (min-width: 900px) {
    .title_img_PC {
        display: block; /* MV_text_areaを表示 */
    }

    .title_img_SP {
        display: none; /* mobile_text_areaを非表示 */
    }
}

/* スマートフォン用のスタイル */
@media screen and (max-width: 899px) {
    .title_img_PC {
        display: none; /* MV_text_areaを非表示 */
    }

    .title_img_SP {
        display: block; /* mobile_text_areaを表示 */
    }
}

.title_bar_company {
    position: absolute;
    top: 65%; /* 垂直方向に中央揃え */
    left: 50%; /* 水平方向に中央揃え */
    transform: translate(-50%, -50%); /* 中央に位置調整 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title_en {
    margin-bottom: 5px; /* 適宜マージンを調整 */
    font-family: "Frank Ruhl Libre", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(12px, 0.7vw, 14px);
    letter-spacing: 7px;
    color: #fff;
}

.underline {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(28px, 1.6vw, 32px);
    letter-spacing: 3px;
    display: inline-block;
    position: relative;
    color: #fff;
}

.underline:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px; /* 下線の上下位置調整 */
    display: inline-block;
    width: 36px; /* 下線の幅 */
    height: 3px; /* 下線の太さ */
    transform: translateX(-50%); /* 位置調整 */
    background-color: #fff; /* 下線の色 */
}
/* ↑タイトルバー↑ */

/* ↓フォーム↓ */
.contact_form {
    margin: 5% 30%;
}

.group {
    margin-bottom: 5%;
}

.type02 {
    color: #1e1e1e;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}

.any {
    padding: 0 3px 1.5px;
    color: #fff;
    background-color: #434d55;
    border-radius: 4px;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    white-space: nowrap;
}

.required {
    padding: 0 3px 1.5px;
    color: #fff;
    background-color: #d03030;
    border-radius: 4px;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    white-space: nowrap;
}

input,textarea {
    margin: 1.5% 0 2% 0;
    border-radius: 4px;
    border:  1px solid #dcdcdc;
}

#company_name, #name, #furigana, #company_yomi, #email, #email_confirm, #pref01, #addr01, #addr02, #remarks {
    margin-bottom: 0;
    width: 100%;
    padding: 12px 12px;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

#phone,#zip01 {
    margin-bottom: 0;
    width: 30%;
    padding: 12px 12px;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

::placeholder {
    color: #dcdcdc;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

.checkbox {
    text-align: center;
}

button[type="submit"] {
    margin: 5% auto;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
    border-radius: 4px;
    border: none;
    width: 40%;
    display: block;
    background: #1e1e1e;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    transition: .3s;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

input[type="submit"]:hover{
    opacity: 0.7;
}

button:disabled {
    background-color: grey;
    cursor: not-allowed;
}

/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
    .contact_form {
        margin: 10% 5%;
    }

    input,textarea {
        margin-bottom: 5%;
    }

    #company_name, #name, #furigana, #company_yomi, #email, #email_confirm, #pref01, #addr01, #addr02, #remarks {
        width: 92%;
    }

    .checkbox {
        margin-top: 10%;
    }

    button[type="submit"] {
        margin: 10% 0 20%;
        padding-top: 5%;
        padding-bottom: 5%;
        width: 100%;
    }
}
/* ↑フォーム↑ */