html {
    scroll-behavior: smooth;
}

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

html,
body {
    overflow-x: hidden;
}

img.im-100 {
    width: 100%;
    height: auto;
}

.posi {
    margin: 4em auto;
    position: relative;
}

img.im-pos {
    position: absolute;
    width: 80px;
    height: auto;
    top: -35px;
    left: 50%;
    z-index: -2;
    transform: translate(-50%, -50%);
}

.main_1900 {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
}

.marg1 {
    margin: 1em auto;
}

.bac-1 {
    background-color: #ffbcbc;
    width: 100%;
    height: auto;
    margin: -5em auto -2em auto;
    padding: 4em 0;
}

.po1 {
    width: 90%;
    background-color: white;
    padding: 32px 2.5%;
    margin: 1em auto;
    border-radius: 20px;
    box-shadow: 5px 5px 15px #ffffffab;
}

.po1 h2 {
    text-align: center;
    color: #f95d68;
    font-weight: bold;
    font-size: 28px;
    line-height: 38px;
    margin: 0.5em auto;
}

.po1 p {
    font-size: 15px;
    color: #575757;
    line-height: 24px;
    padding: 1em;
}

.fre-po {
    display: flex;
}

.fre-po div {
    margin: 1%;
}

.po1 img {
    border-radius: 15px;
}

.bac_02 {
    margin: -5em auto 1em auto;
    background-color: #fff9c4;
    text-align: center;
    padding-bottom: 2em;
}

.bac_02 img {
    margin: 0.5em auto;
    width: 95%;
    text-align: center;
    height: auto;
}

.bac_04 {
    margin: -4em auto 1em auto;
    width: 100%;
    height: auto;
    padding: 5em 0 3em 0;
    background: rgb(171, 232, 205);
}

.bac_04>.fre {
    display: flex;

}

.bac_05 {
    background-color: #ffe7e4;
    margin: -2em auto 1em auto;
    padding: 2em 0;
    width: 100%;
    height: auto;
}

.bac_04>.fre>div {
    width: 48%;
    height: auto;
    margin: 1%;
}

.bbb {
    margin: 1em auto;
    text-align: center;
}

.bbb img {
    margin: 0.5em auto;
    width: 95%;
}

.faq-container {
    border-radius: 8px;
    padding: 10px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    background: #f0f0f0;
    padding: 16px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    margin: 16px auto;
}

.faq-question .q-icon {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 10px;
    line-height: 21px;
}

.faq-answer {
    display: none;
    padding: 10px;
    background: white;
    line-height: 22px;
}

.oubo {
    margin: 1em auto;
    text-align: center;
}

.oubo img {
    margin: 0.5em 0;
    width: 98%;
}

/* 画面幅が768px以下のとき */
@media screen and (max-width: 768px) {
    .fre-po {
        flex-wrap: wrap;
    }

    .fre-po div {
        margin: 0.5em auto;
    }
}



.form-container {
    width: 90%;
    max-width: 750px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    display: flex;
    align-items: center;
    margin: 1em auto;
}

.required {
    background: red;
    color: white;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 4px;
    margin-left: 8px;
}

.optional {
    background: blue;
    color: white;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 4px;
    margin-left: 8px;
}

input,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    width: 98%;
    padding: 10px;
    border: none;
    background: linear-gradient(to bottom, #ffcc00, #ff9900);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: linear-gradient(to bottom, #ffdd44, #ff9900);
}

.fot_kotei {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.fot {
    display: flex;
    width: 100%;
    height: auto;
}

.fot a {
    width: 50%;
    height: auto;
    padding: 1em;
    color: white;
    text-align: center;
    text-decoration: none;
    /* 下線を消す */
}

.fot img {
    width: 25px;
    height: auto;
    margin-right: 10px;
}

.line {
    background-color: #56c27e;
}

.mail {
    background-color: #6fa2c9;
}

.fot div p {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
}

.fot a p {
    display: flex;
    align-items: center;
    /* アイコンとテキストを中央揃え */
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
}

.fot img {
    width: 25px;
    height: auto;
    margin-right: 8px;
    vertical-align: middle;
    /* 画像の縦揃え */
}


#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, #d2a9d2, #dfa6c3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 2s ease-in-out;
}

.loading-text {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    color: #fffcfd;
    opacity: 0;
    text-align: center;
    line-height: 40px;
}

.loading-text img {
    width: 80%;
    height: auto;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
}






/* フェードイン＆下からふわっと表示 */
.fadeInUp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fadeInUp.visible {
    opacity: 1;
    transform: translateY(0);
}

input,
textarea {
    font-size: 16px;
}

input:focus {
    transform: none !important;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    z-index: 999;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.popup-content button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.popup-content button:hover {
    background: #45a049;
}



.captcha-center-wrapper>.g-recaptcha {
    display: inline-block !important;
    margin: 0 auto !important;
    float: none !important;
}

.captcha-center-wrapper {
    width: 100% !important;
    margin: 1em auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.g-recaptcha.mb-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1em auto;
}