body {
    color: #000000;
    background-size: cover;
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: auto;
    padding: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: .03em;
    line-height: 1.8;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
}

.form__success-message,
.form__button {
    font-size: 14px;
}

/*loading*/
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.loading-bar {
    width: 200px;
    /* ロゴの幅に合わせる */
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.loading-logo {
    width: 100%;
    height: auto;
    display: block;
    animation: revealLogo 2s ease-in-out forwards;
    /* アニメーション */
}

@keyframes revealLogo {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
        /* 左端だけ表示 */
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        /* 全体表示 */
    }
}

/* メインコンテンツ */
main {
    flex: 1;
    margin-left: 240px;
    box-sizing: border-box;
    background-size: 100% 100%;
    color: #000000;
}

/* フォームセクション */
.form-section {
    width: calc(100% - 60px);
    max-width: 600px;
    position: relative;
    margin: 0 auto;
    padding-bottom: 100px;
    padding-top: 100px;
}

.form-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.form {
    display: grid;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: grid;
}

.form-label {
    font-size: 16px;
    margin-bottom: 5px;
}

.form-input,
.form-textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox-group {
    display: grid;
    gap: 10px;
}

.form-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.form-button:hover {
    background-color: #fff;
    color: #000000;
    border: 1px solid #000000;
}

.form-success-message,
.form-error-message {
    margin-top: 20px;
    margin-left: 0;
    /* 左マージンを0に設定 */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 4px;
}

@media screen and (max-width: 768px) {
    main {
        margin: 0;
    }
}

.hidden-iframe {
    display: none !important;
}