.top-bar {
    padding: 12px 36px;
    margin: 28px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 90px;
}

.top-content {
    padding: 12px 128px !important;
    position: relative;
}

.logo-image {
    height: 58px;
}


@media (max-width: 576px) {
    .logo-image {
        height: 28px;
    }
}

.footer-copyright {
    padding: 20px;
    padding-bottom: 100px;
}


@media (max-width: 576px) {
    .footer-copyright {
        padding: 20px;
        padding-bottom: 100px;
    }
}

@media (max-width: 576px) {

    .top-bar {
        margin: 20px;
        height: 50px;
        padding: 12px 20px;
    }

    .logo-image {
        height: 28px;
    }

    .top-content {
        padding: 0px 20px !important;
        height: 600px;
        /* margin: 20px !important; */
        width: 100%;
    }

    .top-sub-content {
        padding: 28px 0px;
    }

    .custom-input {
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    .search-input {
        width: 60px !important;
    }
}

.custom-input {
    all: unset;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    width: auto;
}

.bg-image {
    position: relative;
    background: rgba(46, 146, 115, 0.75);
    z-index: 0;
}

.bread-crumb {
    padding: 28px 50px !important;
    display: flex;
    align-items: center;
}

.main-content {
    padding: 0 128px;
    width: 1440px;
    margin: auto;
    font-size: 16px
}

@media (max-width: 576px) {
    .main-content {
        padding: 0 20px;
        margin: auto;
        font-size: 16px;
        width: inherit;
    }
}

.main-title {
    padding: 80px 0px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .main-title {
        display: block;
        text-align: center;
        padding: 40px 0px;
    }
}

.main-title-content {
    color: #2E9273;
    font-size: 44px;
    background-color: white;
    font-weight: bold;
}

@media (max-width: 576px) {
    .main-title-content {
        color: #2E9273;
        font-size: 28px;
        background-color: white;
        font-weight: bold;
    }
}


.main-sub-content {
    position: absolute;
    right: 0;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

@media (max-width: 576px) {
    .main-sub-content {
        position: static;
        font-size: 16px;
        font-weight: bold;
        display: flex;
        margin: auto;
        align-items: center;
        justify-content: center;
    }
}

.dotted-hr {
    border: none;
    border-top: 1px dotted #000;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin: 42px 0px;
    align-items: center;
}

@media (max-width: 576px) {
    .grid-container {
        display: block;
        margin: 22px 0px;
        align-items: center;
    }
}

.form-input {
    padding: 8px 12px;
    background-color: #FAFAFA;
    border: solid 1px #CCCCCC;
    width: 100%;
}

.form-label {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 576px) {
    .form-label {
        font-size: 16px;
        margin-bottom: 22px !important;
        font-weight: bold;
    }
}

.nessesary-badge {
    background-color: red;
    color: white;
    padding: 4px;
    font-size: 14px;
}

.main-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    outline: none;
}

.main-button {
    background-color: #2E9280;
    border-radius: 100vh;
    width: 275px;
    font-size: 20px;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 14px 0px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-form {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 30px;
}

.button-icon {
    position: absolute;
    right: 17px;
    width: 22px;
}

.clickable {
    text-decoration: none;
    /* リンクの下線を消す */
    color: inherit;
    /* テキストの色を継承する */
    display: block;
    /* aタグをブロック要素にする */
}

.clickable:hover {
    color: black;
}

.privacy-policy {
    align-items: start; 
    text-align: center; 
    display: inlineblock; 
    text-align: center;
}

@media (max-width: 576px) {
    .privacy-policy {
        align-items: start; 
        text-align: center; 
        display: inlineblock; 
        text-align: center;
        font-size: 12px;
    }
}

.custom-select {
    display: block;
    width: 25%;
    padding: 10px 15px;
    font-size: 16px;
    /* font-weight: bold; */
    color: #333;
    background-color: #fff;
    background-image: url('/img/btn_small_pc_white.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 22px;
    border: 1px solid #ccc;
    /* border-radius: 5px; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.custom-select:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}

.custom-select option {
    font-weight: normal;
}

/* Hover effect for the select box */
.custom-select:hover {
    border-color: #aaa;
}