body {
    font-family: 'M PLUS 1', 'Montserrat', sans-serif;
}

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #6AA84F 0%, #CB94FF 100%);
}

.cta-button {
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(101, 119, 134, 0.15);
}

/* スクロール時のフェードイン効果のためのスタイル */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-logo {
        display: none;
    }
}

@media (min-width: 769px) {
    .hero-logo {
        width: 50%;
        margin: 0 auto;
        padding: 14px;
    }
}
.hidden {
    display: none !important;
}
/* Modal Styles */
#terms-modal {
    position: fixed;
    inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; と同じ */
    background-color: rgba(31, 41, 55, 0.75); /* 背景の暗いオーバーレイ */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* 他の要素より前面に表示 */
}

#terms-modal .bg-white {
    position: relative;
    z-index: 10000; /* モーダルの中身をさらに前面に */
}

#terms-modal .modal-content {
    background: white;
    width: 80%;
    height: 80%;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}
#terms-modal iframe {
    width: 95%; 
    height: 95%;
    margin: 0 auto; /* 中央揃え */
    display: block; /* ブロック要素として扱う */
}

#terms-modal .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}