/* 全体共通スタイル */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f7f7;
}



 body {
            margin: 0;
            background-color: #f9f9f9;
            font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
            color: #333;
        }
        .spacer {
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
        }

        .story {
            padding: 100px 20px;
            max-width: 800px;
            margin: 0 auto;
        }
        .story-inner {
            position: relative;
        }
        .story-kicker {
            display: block;
            color: #d94b2b;
            font-weight: bold;
            letter-spacing: 0.1em;
            margin-bottom: 10px;
        }
        .story-title {
            font-size: 2rem;
            margin-bottom: 50px;
        }

        /* --- タイムラインの線の設定 --- */
        .story-timeline {
            padding-left: 30px;
            position: relative;
        }
        /* ベースの薄い線 */
        .story-timeline::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 2px;
            height: 100%;
            background: #eee;
        }
        /* スクロールで伸びる赤い線 */
        .story-timeline::after {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 2px;
            height: 100%;
            background: #d94b2b;
            transform-origin: top;
            
            /* 線が伸びるアニメーション */
            animation: line-grow linear both;
            animation-timeline: view();
            animation-range: entry 10% contain 50%;
        }

        @keyframes line-grow {
            from { transform: scaleY(0); }
            to { transform: scaleY(1); }
        }

        .story-row {
            margin-bottom: 60px;
            position: relative;
        }
        /* ドットのアニメーション */
        .story-row::before {
            content: "";
            position: absolute;
            left: -35px; /* 線の上に配置 */
            top: 8px;
            width: 12px;
            height: 12px;
            background: #d94b2b;
            border-radius: 50%;
            z-index: 2;

            animation: dot-pop linear both;
            animation-timeline: view();
            animation-range: entry 20% contain 30%;
        }

        @keyframes dot-pop {
            from { opacity: 0; transform: scale(0); }
            to { opacity: 1; transform: scale(1); }
        }

        .story-year {
            font-weight: bold;
            font-size: 1.2rem;
            display: block;
            color: #d94b2b;
        }
        .story-note {
            margin-top: 60px;
            font-style: italic;
            color: #666;
        }

        /* --- 文字要素のフェードイン --- */
        .story-anim {
            opacity: 0;
            animation: text-fade linear both;
            animation-timeline: view();
            animation-range: entry 25% contain 40%;
        }

        @keyframes text-fade {
            from { 
                opacity: 0; 
                transform: translateX(20px); 
            }
            to { 
                opacity: 1; 
                transform: translateX(0); 
            }
        }

/* ヒーローアニメーション */
@keyframes heroFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-anim-1 {
    opacity: 0;
    animation: heroFadeInDown 0.7s ease-out forwards;
    animation-delay: 0.1s;
}
.hero-anim-2 {
    opacity: 0;
    animation: heroFadeInDown 0.7s ease-out forwards;
    animation-delay: 0.4s;
}
.hero-anim-3 {
    opacity: 0;
    animation: heroFadeInDown 0.7s ease-out forwards;
    animation-delay: 0.8s;
}
.hero-anim-4 {
    opacity: 0;
    animation: heroFadeInDown 0.7s ease-out forwards;
    animation-delay: 1.2s;
}
.hero-anim-5 {
    opacity: 0;
    animation: heroFadeInDown 0.7s ease-out forwards;
    animation-delay: 1.5s;
}

/* ヒーローエリア */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ラジオボタン（非表示） */
.hero-radio {
    display: none;
}

/* スライドショー */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.map-btn{
    background-image: url('../img/map.png');
}
.facility-btn{
    background-image: url('../img/facility.png');
}
.news-btn{
    background-image: url('../img/news.png');
}
.event-btn{
    background-image: url('../img/event.png');
}


.hero-slideshow{
  transform-origin: center 45%;
  animation: heroZoomLoop 12.9s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroZoomLoop{
  from { transform: scale(1.08); }
  to   { transform: scale(1.22); }
}

/* いまのこれでOK */
.hero-slide{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center 45%;
  opacity: 0;
}

.hero-slide-1 { animation: slideShow 12.9s infinite; }
.hero-slide-2 { animation: slideShow 12.9s infinite; animation-delay: 4.3s; }
.hero-slide-3 { animation: slideShow 12.9s infinite; animation-delay: 8.6s; }

@keyframes slideShow{
  0%   { opacity: 0; }
  8%   { opacity: 1; }   /* フェードイン */
  33%  { opacity: 1; }   /* 表示 유지 */
  41%  { opacity: 0; }   /* フェードアウト */
  100% { opacity: 0; }
}

.hero-slide-1 {
    background-image: url('../img/hero1.jpg');
}

.hero-slide-2 {
    background-image: url('../img/hero2.jpg');
}

.hero-slide-3 {
    background-image: url('../img/hero3.jpg');
}

/* ラジオボタンで切り替え */
#slide1:checked ~ .hero-slideshow .hero-slide-1,
#slide2:checked ~ .hero-slideshow .hero-slide-2,
#slide3:checked ~ .hero-slideshow .hero-slide-3 {
    opacity: 1;
}

/* インジケーター */
.hero-indicators {
    display: inline-flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

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

.hero-indicator:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.1);
}

#slide1:checked ~ .hero-content .hero-indicators label:nth-child(1),
#slide2:checked ~ .hero-content .hero-indicators label:nth-child(2),
#slide3:checked ~ .hero-content .hero-indicators label:nth-child(3) {
    background: #fff;
    transform: scale(1.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.25) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.5) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

/* ヒーローコンテンツ */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

/* ロゴ */
.hero-logo {
    margin-bottom: 20px;
     display: inline-block;
}
.hero-logo img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-text-wrapper {
    position: relative;
}

.font-ii {
    font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    font-size: 24px;
}

.hero-catchcopy {
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 30px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 15px 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35),
    0 0 12px rgba(255,255,255,0.08);
    position: relative;
    display: inline-block;
    
}


.hero-title {
  letter-spacing: 0.11em;
}


.hero-title {
  animation: titleFade 1.2s ease-out both;
}

@keyframes titleFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: rgba(255,255,255,0.95);
    color: #e67e22;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 0.85rem;
    margin-top: 20px;
    letter-spacing: 0.15em;
    color: #e67e22;
    font-weight: 600;
    line-height: 1.8;
}

/* カテゴリーセクション */
.categories {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}
.categories h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}
.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    text-decoration: none;
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.category-image {
    width: 140px;
    height: 110px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0px;
}
.category-title {
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
}

/* カテゴリーカード色分け */
.card-news {
    background-color: #ffb74d;
}
.card-event {
     background-color: #f06292;
   
}
.card-shop {
     background-color: #64b5f6;
    
}
.card-map {
   background-color: #81c784;
}

/* ブログカードセクション */
.blog-card-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    background-image: url('../img/hero3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 50% 40%;
}

.blog-card {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.blog-card-thumbnail {
    flex-shrink: 0;
    width: 200px;
}

.blog-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    line-height: 1.4;
}
.voice-font{
    font-style: italic;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", serif;
}

.blog-card-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.blog-card-source {
    font-size: 0.8rem;
    color: #888;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .blog-card {
        flex-direction: column;
    }
    .blog-card-thumbnail {
        width: 100%;
        height: 180px;
    }
}

/* アクセスセクション */
.access {
    padding: 60px 20px;
    background-color: #f9f5ef;
    text-align: center;
}
.access h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 20px;
}
.access-info {
    margin-top: 20px;
    font-size: 1rem;
}
.access-info a {
    color: #d88700;
    text-decoration: none;
}

/* Instagram セクション */
.instagram {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}
.instagram h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.instagram-lead {
    color: #666;
    margin-bottom: 30px;
}
.instagram-container {
    max-width: 540px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.instagram-container iframe {
    width: 100%;
    min-height: 600px;
    border: none;
}
.instagram-link {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

/* フッター */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    font-size: 0.9rem;
}
.footer p {
    margin: 5px 0;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 70vh;
        padding: 60px 20px;
    }
    .hero-logo img {
        width: 80px;
       
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-catchcopy {
        font-size: 1rem;
    }
    .hero-badge {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    .category-card {
        width: 45%;
    }
}


/* ------------------------------
   OUR STORY section - スクロールアニメーション
------------------------------ */


/* --- responsive --- */
@media (max-width: 767px){
  .story{ padding: 64px 18px; }
  .story-inner{
        max-width: 980px;
  }
  .story-title{ font-size: 24px; }
  .story-year{ width: 78px; }
}

