@media screen and (max-width:480px) {
    body {
        background-color: rgb(249, 249, 250);
    }

    #contactContainer {
        width: 100%;
        margin: 100px auto;
    }

    .breadcrumb {
        width: 90%;
        margin: 40px auto;
        text-align: left;
    }

    .header-title {
        color: rgb(230, 61, 148);
        text-align: left;
        font-size: 24px;
        margin: 20px;
    }

    .header-description {
        margin: 20px;
    }

    .contact-form {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        border-radius: 10px;
        background-color: #f9f9f9;
    }

    /* ラベルスタイル */
    label {
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
    }

    /* 入力フィールドスタイル */
    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .privacy-policy-title {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        cursor: pointer;
    }

    /* 送信ボタンスタイル */
    [type="submit"] {
        width: 100%;
        background-color: rgb(230, 61, 148);
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 20px;
        cursor: pointer;
    }

    [type="submit"]:hover {
        background-color: rgb(230, 61, 148);
    }

    /* ラベルのスタイル */
    label {
        display: block;
        margin-bottom: 10px;
    }

    /* プライバシーポリシーのスタイル */
    .privacy-policy-content {
        max-height: 200px;
        overflow-y: auto;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        margin-top: 10px;
    }

    /* checkbox */
    .checkbox-container {
        display: inline-block;
        position: relative;
        padding-left: 30px;
        margin-right: 15px;
        cursor: pointer;
        font-size: 16px;
    }

    .checkbox-container input {
        position: absolute;
        cursor: pointer;
    }

    .checkbox-container input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 40px; /* チェックボックスの高さ */
        width: 40px; /* チェックボックスの幅 */
    }

    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        width: 25px;
        background-color: #eee;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .checkbox-container:hover input ~ .checkmark {
        background-color: #ccc;
    }

    .checkbox-container input:checked ~ .checkmark {
        background-color: #2196F3;
    }

    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .checkbox-container input:checked ~ .checkmark:after {
        display: block;
    }

    .checkbox-container .checkmark:after {
        left: 9px;
        top: 5px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }
    .send-button {
        width: 90%;
        margin: 0 auto;
    }

    .wpcf7 .screen-reader-response {
        position: absolute;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%);
        height: 50px;
        width: 100%;
        padding: 0;
        border: 0;
        word-wrap: normal !important;
        text-align: center;
        color: #000000;
    }
}

/* タブレット・PC */
@media screen and (min-width: 481px) and (min-width: 960px) {
    body {
        background-color: rgb(249, 249, 250);
    }

    #contactContainer {
        width: 50%;
        margin: 100px auto;
    }

    .breadcrumb {
        width: 100%;
        margin: 40px auto;
        text-align: left;
    }

    .header-title {
        width: 100%;
        color: rgb(230, 61, 148);
        font-size: 2.4rem;
        text-align: center;
    }

    .header-description {
        width: 90%;
        margin: 40px auto;
        text-align: center;
        font-size: 1.2rem;
    }

    .contact-form {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        border-radius: 10px;
        background-color: #f9f9f9;
    }

    /* ラベルスタイル */
    label {
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
    }

    /* 入力フィールドスタイル */
    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .privacy-policy-title {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        cursor: pointer;
    }

    /* 送信ボタンスタイル */
    .send-button {
        width: 50%;
        margin: 40px auto;
        text-align: center;
    }
    [type="submit"] {
        width: 300px;
        background-color: rgb(230, 61, 148);
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        margin: 0 auto;
    }

    [type="submit"]:hover {
        background-color: rgb(230, 61, 148);
    }

    /* ラベルのスタイル */
    label {
        display: block;
        margin-bottom: 10px;
    }

    /* プライバシーポリシーのスタイル */
    .privacy-policy-content {
        max-height: 200px;
        overflow-y: auto;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        margin-top: 10px;
    }

    /* checkbox */
    .checkbox-container {
        display: inline-block;
        position: relative;
        padding-left: 30px;
        margin-right: 15px;
        cursor: pointer;
        font-size: 16px;
    }

    .checkbox-container input {
        position: absolute;
        cursor: pointer;
    }

    .checkbox-container input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 40px; /* チェックボックスの高さ */
        width: 40px; /* チェックボックスの幅 */
    }

    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        width: 25px;
        background-color: #eee;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .checkbox-container:hover input ~ .checkmark {
        background-color: #ccc;
    }

    .checkbox-container input:checked ~ .checkmark {
        background-color: #2196F3;
    }

    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .checkbox-container input:checked ~ .checkmark:after {
        display: block;
    }

    .checkbox-container .checkmark:after {
        left: 9px;
        top: 5px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }

    .wpcf7 .screen-reader-response {
        position: absolute;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%);
        height: 50px;
        width: 100%;
        padding: 0;
        border: 0;
        word-wrap: normal !important;
        text-align: center;
        color: #000000;
    }
}
