main {
    background-color: white;
    height: 1800px;
    position: relative;
    z-index: 50;
    top: 100px;
    overflow: auto; /* コンテンツがはみ出したらスクロールバーを表示 */
}
@media screen and (max-width: 1590px) {
    main {
        top: 200px;
    }
}
@media screen and (max-width: 1000px) {
    main {
        top: 100px;
        height: 1500px;
    }
}
@media screen and (max-width: 760px)  {
    main {
        height: 1200px;
    }
}
@media screen and (max-width: 600px)  {
    main {
        height: 1800px;
    }
}






a {
    text-decoration: none;
    color: black;
}

.main_title {
    display: grid;
    align-items: center;
    color: white;
    background-color: rgb(14, 154, 14);
    font-size: 2rem;
    height: 90px;
    padding-left: 11%;
    margin: 0;
}


.breadcrumb-001 {
    display: flex;
    gap: 0 22px;
    list-style: none;
    padding: 0;
    padding-left: 10%;
    font-size: 1em;
}
.home_icon {
    width: 1rem;
    height: 1rem;
}

.breadcrumb-001 li {
    display: flex;
    align-items: center;
}


.breadcrumb-001 li:first-child::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    background-repeat: no-repeat;
    content: '';
}

.breadcrumb-001 li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    margin-left: 10px;
    border-top: 1px solid #1fab03;
    border-right: 1px solid #1fab03;
    content: '';
}

.breadcrumb-001 a {
    color: #1fab03;
    text-decoration: none;
}



.menu_box {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width: 768px) {
    .menu_box {
        display: block;
    }
}

.menu_box li {
    list-style: none;
    padding-right: 4rem;
    padding-top: 5rem;
}


.kuwashiku_icon {
    position: absolute; /* 親要素（.box-017）を基準に絶対配置 */
    bottom: 0px; /* 親要素の下端から10px上 */
    right: 30px;  /* 親要素の右端から10px左 */
    z-index: 150;
    /*    text-align: right;*/
}


.container {
    max-width: 50%;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: calc(50% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}
textarea {
    width: calc(70% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}
textarea {
    resize: vertical;
    min-height: 120px;
}
.required::after {
    content: " 必須";
    color: red;
    margin-left: 4px;
    font-size: small;
}
button {
    display: block;
    width: 120px;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}
.honey-pot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.recaptcha-notice {
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
    color: #777;
}
/* バリデーションエラーメッセージのスタイル */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none; /* 初期状態では非表示 */
}
/*
input:invalid:not(:placeholder-shown), textarea:invalid:not(:placeholder-shown) {
    border-color: red;
}
*/
input:focus:invalid, textarea:focus:invalid {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.3);
}

.grecaptcha-badge {
    z-index: 200; /* 他の要素より手前に表示 */
/*
    left: 4px;
    right: auto;
*/
}
.page_up {
    right: 1rem;
    bottom: 5rem;
}


.contact_button {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 20px;
}

.success_msg {
    font-size: 1.5rem;
    color: #1fab03;
}
