/* ==========================================================================
   変数定義
   ========================================================================== */
:root {
    --primary-color: #0021cd;  /* ForTuna 信頼のブルー */
    --accent-color: #ff4500;   /* アクティビティの情熱オレンジ */
}

/* ==========================================================================
   基本設定
   ========================================================================== */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
}

/* ==========================================================================
   ユーティリティクラス
   ========================================================================== */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

.transition-up {
    transition: transform 0.3s ease;
}
.transition-up:hover {
    transform: translateY(-5px);
}

/* ==========================================================================
   ボタン
   ========================================================================== */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
}
.btn-primary:hover {
    background-color: #0019a3;
}

/* ==========================================================================
   ナビゲーション
   ========================================================================== */
.navbar-nav .nav-link {
    color: #333 !important;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem 0;
    }
}

/* ==========================================================================
   ヒーローセクション
   ========================================================================== */
.hero {
    background-size: cover;
    background-position: center;
    min-height: 80vh;
}

.hero-content {
    background: rgba(255, 255, 255, 0.65);
    border-top: 5px solid var(--primary-color);
}

.hero-rogo-img {
    width: 180px;
    height: 180px;
}

@media (max-width: 991px) {
    .hero-rogo-img {
        width: 120px;
        height: 120px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   特徴アイコン
   ========================================================================== */
.feature-icon-small {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

/* ==========================================================================
   テーブル
   ========================================================================== */
.table thead th {
    border: none;
    font-weight: bold;
    padding: 15px;
}

/* ==========================================================================
   ギャラリー・画像拡大モーダル
   ========================================================================== */
.gallery-container img {
    transition: transform 0.3s ease;
    cursor: pointer;
}
.gallery-container img:hover {
    transform: scale(1.05);
}

.btn-modal-close {
    top: 5px;
    right: 5px;
    font-size: 2.5em;
}

@media (max-width: 991px) {
    .btn-modal-close {
        top: 0;
        right: 0;
        font-size: 2.0em;
    }
}

/* ==========================================================================
   フッター
   ========================================================================== */
.footer-sns a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 12px;
    text-decoration: none;
    transition: opacity 0.3s, transform 0.3s;
    display: inline-block;
}
.footer-sns a:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.footer-links a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.lemon8-text {
    font-weight: bold;
    font-family: sans-serif;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -4px;
}

@media (max-width: 991px) {
    footer {
        margin-bottom: 70px !important;
    }
}

/* ==========================================================================
   フローティングCTAバナー
   ========================================================================== */
.floating-cta-container {
    position: fixed;
    z-index: 1050;
    transition: all 0.3s ease;
}

/* PC版 (992px以上) */
@media (min-width: 992px) {
    .floating-cta-container {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .cta-link {
        display: flex;
        writing-mode: vertical-rl;
        padding: 25px 12px;
        background-color: var(--accent-color);
        color: #fff !important;
        border-radius: 10px 0 0 10px;
        text-decoration: none !important;
        letter-spacing: 2px;
    }
}

/* スマホ版 (991px以下) */
@media (max-width: 991px) {
    .floating-cta-container {
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 10px 15px;
        padding-right: 70px; /* トップに戻るボタンと重ならないよう */
        border-top: 1px solid #eee;
        display: flex;
        transform: none;
    }

    .cta-link {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        background-color: var(--accent-color);
        color: #fff !important;
        border-radius: 50px;
        font-size: 0.95rem;
        text-decoration: none !important;
    }
}

/* ==========================================================================
   トップに戻るボタン
   ========================================================================== */
.back-to-top {
    position: fixed;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* PC版 (992px以上) */
@media (min-width: 992px) {
    .back-to-top {
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
    }
}

/* スマホ版 (991px以下) */
@media (max-width: 991px) {
    .back-to-top {
        bottom: 12px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* ==========================================================================
   アニメーション
   ========================================================================== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}