/* ========================================
   Marine Shop JINBEI - Activity Page Styles
   アクティビティページ共通スタイル
   ======================================== */

/* ========================================
   ヒーローセクション
   ======================================== */
.activity-hero {
    padding: 120px 40px 40px;
    background: var(--bg-light);
}

.activity-hero .container {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-breadcrumb {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-breadcrumb a {
    color: var(--accent);
}

.hero-breadcrumb a:hover {
    text-decoration: underline;
}

.activity-hero h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 500;
    color: var(--primary);
    line-height: 1.5;
    margin-bottom: 15px;
}

.hero-highlight {
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-meta {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   ギャラリーヒーロー
   ======================================== */
.gallery-hero-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.gallery-hero {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 8px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-hero:hover .show-all-btn {
    opacity: 1;
}

.gallery-main {
    grid-row: span 2;
    overflow: hidden;
}

.gallery-main img,
.gallery-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-hero:hover .gallery-main img,
.gallery-hero:hover .gallery-sub img {
    transform: scale(1.02);
}

.gallery-sub {
    overflow: hidden;
}

.show-all-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border: 1px solid #222;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.95;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.show-all-btn:hover {
    background: #f7f7f7;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
}

.content-left {
    min-width: 0;
}

/* セクション */
.section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    border-radius: 2px;
}

.section p {
    font-size: 15px;
    color: var(--text);
    line-height: 2;
}

/* 特徴グリッド */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.feature-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

/* プラン */
.plan-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.plan-card {
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
}

.plan-card.popular {
    position: relative;
}

.plan-card.popular::before {
    position: absolute;
    top: -12px;
    left: 20px;
    color: var(--white);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.plan-name-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.plan-price {
    text-align: right;
}

.plan-price strong {
    font-size: 28px;
    font-weight: 700;
}

.plan-price span {
    font-size: 14px;
    color: var(--text-light);
}

.plan-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.plan-tag {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text);
}

/* 流れ */
.flow-list {
    margin-top: 25px;
}

.flow-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dashed #ddd;
}

.flow-item:last-child {
    border-bottom: none;
}

.flow-number {
    width: 40px;
    height: 40px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.flow-content h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 5px;
}

.flow-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* FAQ (アクティビティページ用) */
.activity-faq-list {
    margin-top: 25px;
}

.activity-faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.activity-faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--bg-light);
    cursor: pointer;
    transition: background 0.3s;
}

.activity-faq-question:hover {
    background: var(--bg-cream);
}

.activity-faq-q {
    width: 28px;
    height: 28px;
    min-width: 28px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1;
}

.activity-faq-question-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.activity-faq-toggle {
    font-size: 20px;
    color: var(--text-light);
    transition: transform 0.3s;
}

.activity-faq-item.active .activity-faq-toggle {
    transform: rotate(45deg);
}

.activity-faq-answer {
    display: none;
    padding: 20px;
    background: var(--white);
}

.activity-faq-item.active .activity-faq-answer {
    display: block;
}

.activity-faq-answer p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   サイドバー
   ======================================== */
.sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.booking-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.booking-price-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.booking-price-value {
    font-size: 32px;
    font-weight: 700;
}

.booking-price-value span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.booking-info {
    margin-bottom: 20px;
}

.booking-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.booking-info-item:last-child {
    border-bottom: none;
}

.booking-info-item span:first-child {
    color: var(--text-light);
    min-width: 80px;
}

.booking-btn {
    display: block;
    width: 100%;
    padding: 18px;
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 12px;
}

.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.booking-btn-secondary {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--white);
    border: 2px solid;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.booking-btn-secondary:hover {
    background: var(--bg-cream);
}

.booking-note {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 他のアクティビティ */
.other-activities {
    margin-top: 30px;
}

.other-activities h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.other-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.other-activity-item:hover {
    background: var(--bg-cream);
    transform: translateX(5px);
}

.other-activity-thumb {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.other-activity-info {
    flex: 1;
}

.other-activity-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.other-activity-price {
    font-size: 12px;
    color: var(--primary-light);
}

/* ========================================
   フォトモーダル
   ======================================== */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    overflow-y: auto;
}

.photo-modal.active {
    display: block;
}

.modal-header {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    border-bottom: 1px solid #eee;
}

.modal-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close:hover {
    background: #f7f7f7;
}

.photo-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.photo-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.photo-grid img:hover {
    opacity: 0.9;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .activity-hero {
        padding: 100px 20px 30px;
    }

    .activity-hero h1 {
        font-size: 22px;
    }

    .gallery-hero-wrapper {
        padding: 0 20px 30px;
    }

    .gallery-hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 120px 120px;
    }

    .gallery-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .show-all-btn {
        bottom: 10px;
        right: 10px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .plan-header {
        flex-direction: column;
        gap: 10px;
    }

    .plan-price {
        text-align: left;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid img {
        height: 220px;
    }
}
