/* ========================================
   v3.0 ガントチャート式スケジュール管理
   gaプログラミング人吉校 カラースキーム
   
   カラーパレット:
   - ピンク: #f9039a
   - ブルー: #0375c1
   - グレー: #737373
   - ベース: #ffffff
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0375c1;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

/* ヘッダー */
header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2rem;
    color: #0375c1;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1rem;
    color: #737373;
}

/* ナビゲーション */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.nav-btn {
    background: #0375c1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: #025a94;
}

.current-date {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

/* ログインセクション */
/* アクションボタンエリア */
.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-refresh,
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-sizing: border-box;
}

.btn-refresh {
    background: #0375c1;
    color: white;
    border: none;
    cursor: pointer;
}

.btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 117, 193, 0.4);
    background: #025a94;
}

.btn-refresh:active {
    transform: translateY(0);
}

.btn-refresh:disabled {
    cursor: not-allowed;
}

.btn-login {
    background: #f9039a;
    color: white;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 3, 154, 0.4);
    background: #d4027f;
}

/* スマホでのボタン配置 */
@media (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-refresh,
    .btn-login {
        width: 100%;
        max-width: 280px;
        min-width: unset;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 更新通知 */
.update-notice {
    display: none;
    text-align: center;
    padding: 12px 20px;
    background: #E8F5E9;
    color: #2E7D32;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: fadeInOut 3s ease-in-out forwards;
}

.update-notice.show {
    display: block;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* ローディング */
.loading {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.loading.active {
    display: block;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0375c1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ガントチャートエリア */
.gantt-chart-area {
    display: none;
}

.gantt-chart-area.active {
    display: block;
}

/* コースセクション */
.course-section {
    margin-bottom: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.course-header {
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロボットコース：ピンク系 */
.course-header.robot {
    background: #f9039a;
}

/* ゲーム・動画・AIコース：ブルー系 */
.course-header.game {
    background: #0375c1;
}

.course-header h2 {
    font-size: 1.3rem;
    margin: 0;
}

.capacity-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ガントチャートコンテナ */
.gantt-container {
    padding: 20px;
    background: #fafafa;
}

/* スクロールヒント */
.scroll-hint {
    display: none;
    text-align: center;
    padding: 8px;
    background: linear-gradient(90deg, #e3f2fd, #bbdefb, #e3f2fd);
    color: #1565c0;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: pulse-hint 2s ease-in-out infinite;
}

@keyframes pulse-hint {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* スマホでのみスクロールヒントを表示 */
@media (max-width: 768px) {
    .scroll-hint {
        display: block;
    }
}

/* スクロール可能なガントチャートエリア */
.gantt-scroll-area {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

/* スクロールバーのスタイル */
.gantt-scroll-area::-webkit-scrollbar {
    height: 8px;
}

.gantt-scroll-area::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

.gantt-scroll-area::-webkit-scrollbar-thumb {
    background: #0375c1;
    border-radius: 4px;
}

.gantt-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #025a94;
}

/* タイムライン */
.timeline-row {
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
}

.timeline-slots {
    display: flex;
    background: transparent;
    border: none;
    height: auto;
}

.time-slot {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: bold;
    color: #737373;
    border-right: 1px solid #e0e0e0;
}

.time-slot:last-child {
    border-right: none;
}

/* 予約行 */
.gantt-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    min-height: 50px;
    position: relative;
}

.row-label {
    width: 80px;
    font-weight: bold;
    color: #737373;
    font-size: 0.9rem;
}

.row-timeline {
    flex: 1;
    display: flex;
    position: relative;
    height: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: visible;
}

/* タイムスロット（30分ごと） */
.slot {
    flex: 1;
    border-right: 1px solid #f0f0f0;
    position: relative;
    transition: background 0.3s;
    overflow: visible;
}

.slot:last-child {
    border-right: none;
}

.slot.available {
    background: #E8F5E9;
}

.slot.almost {
    background: #FFF9C4;
}

.slot.full {
    background: #F5F5F5;
}

.slot:hover {
    opacity: 0.8;
}

/* 予約バー */
.reservation-bar {
    position: absolute;
    height: calc(100% - 4px);
    top: 2px;
    left: 0;
    background: #0375c1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: default;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* スマホではホバー効果を無効化 */
@media (hover: hover) {
    .reservation-bar:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* コース別カラー：ロボット（ピンク系） */
.reservation-bar.robot {
    background: #f9039a;
}

/* コース別カラー：ゲーム（ブルー系） */
.reservation-bar.game {
    background: #0375c1;
}

/* コース別カラー：動画（ピンク薄め） */
.reservation-bar.video {
    background: #ff69b4;
}

/* コース別カラー：AI（ブルー濃いめ） */
.reservation-bar.ai {
    background: #025a94;
}

/* 空き状況サマリー */
.availability-summary {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    flex-wrap: wrap;
}

/* 予約可能時刻セクション */
.available-times-section {
    margin-top: 20px;
    padding: 20px;
    background: #E3F2FD;
    border-radius: 10px;
    border-left: 4px solid #0375c1;
}

.available-times-section h3 {
    color: #0375c1;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.no-available-times {
    padding: 15px;
    background: #FCE4EC;
    border-radius: 8px;
    text-align: center;
}

.no-available-times p {
    color: #c2185b;
    font-weight: bold;
    margin: 0;
}

.available-times-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.available-time-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: white;
    border-radius: 10px;
    border: 2px solid #4CAF50;
    transition: all 0.2s;
}

.available-time-item.clickable {
    cursor: pointer;
}

.available-time-item.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    background: #E8F5E9;
}

/* タップ時のフィードバック（スマホ用） */
.available-time-item.clickable:active {
    transform: scale(0.98);
    background: #C8E6C9;
}

.available-time-item.clickable.almost {
    border-color: #f9039a;
}

.available-time-item.clickable.almost:hover {
    box-shadow: 0 4px 12px rgba(249, 3, 154, 0.3);
    background: #FCE4EC;
}

.available-time-item.clickable.almost:active {
    background: #F8BBD9;
}

.time-range {
    font-weight: bold;
    color: #2E7D32;
    font-size: 1.1rem;
}

.available-time-item.almost .time-range {
    color: #c2185b;
}

.available-slots-info {
    font-size: 0.9rem;
    color: #737373;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.available-time-item.almost .available-slots-info {
    background: #FCE4EC;
    color: #c2185b;
}

.unavailable-info {
    margin-top: 15px;
    padding: 15px;
    background: #FFF9C4;
    border-radius: 8px;
}

.unavailable-label {
    color: #F57C00;
    font-weight: bold;
    margin-bottom: 10px;
}

.unavailable-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.unavailable-list li {
    padding: 5px 0;
    color: #737373;
    font-size: 0.9rem;
}

.availability-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.availability-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.availability-dot.available {
    background: #4CAF50;
}

.availability-dot.almost {
    background: #f9039a;
}

.availability-dot.full {
    background: #737373;
}

/* レスポンシブ */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
        border-radius: 15px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .navigation {
        flex-direction: column;
        gap: 15px;
    }

    .current-date {
        font-size: 1.1rem;
    }

    .nav-btn {
        width: 100%;
        padding: 12px;
    }

    /* コースヘッダー：スマホ向け */
    .course-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
        gap: 4px;
    }

    .course-header h2 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .capacity-info {
        font-size: 0.8rem;
        opacity: 0.9;
    }

    .gantt-container {
        padding: 10px;
        overflow: visible;
    }

    .gantt-scroll-area {
        overflow-x: auto;
        overflow-y: visible;
    }

    .gantt-row,
    .timeline-row {
        min-width: 700px;
    }

    .row-label {
        width: 80px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .row-timeline {
        min-width: 620px;
    }

    .time-slot {
        font-size: 0.75rem;
        padding: 5px 0;
    }

    .reservation-bar {
        font-size: 0.75rem;
        padding: 0 5px;
    }
}

/* カレンダーポップアップ */
.calendar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.calendar-overlay.active {
    display: block;
}

.calendar-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    width: 340px;
    max-width: 90%;
    overflow: hidden;
}

.calendar-popup.active {
    display: block;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    background: #0375c1;
    color: white;
}

.calendar-header button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
    flex-shrink: 0;
}

.calendar-header button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.month-year {
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 8px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.weekday {
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: #737373;
    padding: 5px 2px;
}

.weekday:first-child {
    color: #f9039a;
}

.weekday:last-child {
    color: #0375c1;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 8px;
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: white;
    cursor: pointer;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.calendar-day:hover {
    background: #e8e8e8;
}

.calendar-day.today {
    background: #0375c1;
    color: white;
    font-weight: bold;
}

.calendar-day.selected {
    background: #f9039a;
    color: white;
    font-weight: bold;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day.sunday {
    color: #f9039a;
}

.calendar-day.saturday {
    color: #0375c1;
}

.calendar-day.closed {
    background: #f5f5f5;
    color: #bbb;
    text-decoration: line-through;
}

.calendar-day.holiday {
    color: #f9039a;
    font-weight: bold;
}

.calendar-day.temporary-closed {
    background: #FFF9C4;
}

.calendar-day.today.sunday,
.calendar-day.today.saturday {
    color: white;
}

.calendar-footer {
    padding: 15px 10px;
    display: flex;
    justify-content: center;
    border-top: 1px solid #e0e0e0;
}

.calendar-footer button {
    padding: 12px 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-today {
    background: #4CAF50;
    color: white;
}

.btn-today:hover {
    background: #025a94;
}

.btn-close-calendar {
    background: #e0e0e0;
    color: #333;
}

.btn-close-calendar:hover {
    background: #d0d0d0;
}

/* 休校日表示 */
.closed-day-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    background: #FFEBEE;
    border-radius: 10px;
    margin: 20px 0;
}

.closed-day-message.closed-day-temporary {
    background: #FFF9C4;
}

.closed-day-icon {
    font-size: 48px;
}

.closed-day-text h3 {
    font-size: 1.5rem;
    color: #C62828;
    margin-bottom: 5px;
}

.closed-day-text p {
    font-size: 1rem;
    color: #D32F2F;
}

@media (max-width: 768px) {
    .closed-day-message {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
    }
    
    .closed-day-icon {
        font-size: 36px;
    }
    
    .closed-day-text h3 {
        font-size: 1.2rem;
    }
}

/* ========================================
   予約モーダル
======================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background: #0375c1;
    color: white;
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 0 0 16px 16px;
}

/* フォーム要素 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0375c1;
}

/* ボタン */
.btn-primary {
    background: #f9039a;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 3, 154, 0.4);
    background: #d4027f;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-cancel {
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cancel:hover {
    background: #d0d0d0;
}

.btn-back {
    background: white;
    color: #0375c1;
    border: 2px solid #0375c1;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #0375c1;
    color: white;
}

/* 予約情報ボックス */
.reservation-info-box {
    background: #E3F2FD;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #0375c1;
}

.reservation-info-box p {
    margin: 0;
}

.reservation-datetime {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 5px !important;
}

.student-info-box {
    background: #E8F5E9;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #4CAF50;
}

.student-info-box p {
    margin: 5px 0;
}

/* ログイン済み表示 */
.logged-in-info {
    background: #E8F5E9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #4CAF50;
}

.logged-in-info p:first-child {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.logged-in-info .student-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

/* ステップタイトル */
.step-title {
    font-size: 1rem;
    color: #737373;
    margin-bottom: 20px;
    text-align: center;
}

/* エラーメッセージ */
.error-message {
    color: #C62828;
    background: #FFEBEE;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: bold;
    display: none;
}

.error-message.show {
    display: block;
}

/* 空き状況表示 */
.availability-info {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
}

.availability-info.available {
    background: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid #4CAF50;
}

.availability-info.unavailable {
    background: #FFEBEE;
    color: #C62828;
    border-left: 4px solid #F44336;
}

/* 完了メッセージ */
.completion-message {
    text-align: center;
    padding: 20px 0;
}

.completion-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.completion-message h3 {
    font-size: 1.5rem;
    color: #2E7D32;
    margin-bottom: 10px;
}

.reservation-summary {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: left;
}

.reservation-summary p {
    margin: 8px 0;
}

.reservation-summary strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

/* 時間枠のクリック可能スタイル */
.time-slot.clickable {
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot.clickable:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    position: relative;
}

.time-slot.clickable.available:hover {
    background: #81C784;
}

.time-slot.clickable.almost:hover {
    background: #f9039a;
    color: white;
}

/* レスポンシブ（モーダル） */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
    }
    
    .btn-back {
        order: 2;
    }
    
    .btn-primary {
        order: 1;
    }
}

/* ========================================
   フッター
======================================== */
.site-footer {
    background: #0375c1;
    color: white;
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.sns-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.sns-link.line {
    background-color: #06C755;
}

.sns-link.line:hover {
    background-color: #05a648;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.4);
}

.sns-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sns-link.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.sns-icon {
    width: 20px;
    height: 20px;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .sns-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .sns-link {
        width: 100%;
        max-width: 200px;
        min-width: unset;
    }
}