/* ===========================
   基本設定
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1C86C7;
    --dark-blue: #0B4F7A;
    --light-blue: #D6ECFA;
    --ultra-light-blue: #EBF6FD;
    --accent-orange: #F28C28;
    --bg-gray: #F3F5F7;
    --text-dark: #1F2A44;
    --text-gray: #5A6C7D;
    --white: #FFFFFF;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   ヘッダー
   =========================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: 0.3s;
}

/* ===========================
   ヒーロースライダー（固定版）
   =========================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: var(--dark-blue);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--dark-blue);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 79, 122, 0.85);
    color: var(--white);
    padding: 1rem 2rem;
    text-align: center;
}

.slide-caption p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* スライダーボタン */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: var(--primary-blue);
    border: none;
    font-size: 3rem;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--white);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* ドットナビゲーション */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--white);
}

/* ===========================
   ページヒーロー（他ページ用）
   =========================== */
.page-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--dark-blue);
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ===========================
   活動写真ギャラリー（2列グリッド）
   =========================== */
.gallery-section {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.gallery-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-tag {
    display: inline-block;
    background: var(--light-blue);
    color: var(--dark-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-info h3 {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===========================
   4つの約束
   =========================== */
.promises-section {
    padding: 4rem 0;
    background: var(--white);
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.promise-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.promise-card:hover {
    transform: translateY(-5px);
}

.promise-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.promise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promise-content {
    padding: 1.5rem;
}

.promise-content h3 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.promise-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===========================
   CTA
   =========================== */
.cta-section {
    padding: 4rem 0;
    background: var(--light-blue);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-blue);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-accent {
    background: var(--accent-orange);
    color: var(--white);
}

.btn-accent:hover {
    background: #d17620;
}

/* ===========================
   フッター
   =========================== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* ===========================
   トップへ戻るボタン
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-blue);
}

/* ===========================
   レスポンシブ
   =========================== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: left 0.3s;
        padding: 2rem;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .page-hero {
        height: 300px;
    }
    
    .slider-btn {
        font-size: 2rem;
        padding: 0.3rem 0.8rem;
    }
    
    .gallery-grid,
    .promises-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}