/*
Theme Name: wakasugi
Author: Gemini
Description: A WordPress theme for the Kappo Wakasugi website.
Version: 1.0
*/

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

body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
    color: #333;
    background-color: #1C1C1C;
    overflow-x: hidden;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(28, 28, 28, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(28, 28, 28, 0.95);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #F8F5E6;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #F8F5E6;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #C1A465;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 50%;
    background-color: #C1A465;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #F8F5E6;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.open span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.open span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* ファーストビュー */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}



/* スライドショーのコンテナ */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    text-align: center;
    /*
     * コンテナの中央寄せとサイズ調整
     * 画像が画面いっぱいに広がるので、この部分はコメントアウトしました
    */
    /* max-width: 1200px; */
    /* margin: 0 auto; */
}

/* 各スライドのスタイル */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* 初期状態では非表示 */
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1; /* 表示中のスライド */
}

.hero-slide img {
    /* 画像の中央寄せとサイズ調整 */
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 軽微なパララックス効果を無効化 */
/* window.addEventListener('scroll', function() { ... }) の中の parallax 関連のコードも削除推奨 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(28, 28, 28, 0.7), rgba(28, 28, 28, 0.3));
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 30px;
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: #F8F5E6;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #D93843;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #C1A465;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 164, 101, 0.3);
}

/* セクション共通 */
.section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #F8F5E6;
    position: relative;
    font-weight: 300;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #C1A465;
}

.subsection-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #C1A465;
    font-weight: 400;
    text-align: center;
}

/* コンセプトセクション */
.concept {
    background: linear-gradient(135deg, #1C1C1C, #2A2A2A);
}

.concept-intro {
    text-align: center;
    color: #F8F5E6;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.concept-intro p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.concept-text {
    color: #F8F5E6;
}

.concept-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #C1A465;
    font-weight: 400;
}

.concept-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.concept-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.concept-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* メニューセクション */
.menu-intro {
    text-align: center;
    color: #F8F5E6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.menu-intro p {
    font-size: 18px;
    line-height: 1.8;
}

.menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.menu-card {
    background: rgba(248, 245, 230, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(193, 164, 101, 0.2);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(193, 164, 101, 0.2);
}

.menu-card-image {
    height: 250px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-content {
    padding: 30px;
}

.menu-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #F8F5E6;
}

.menu-card p {
    color: #C1C1C1;
    line-height: 1.6;
}

.price {
    font-size: 20px;
    color: #C1A465;
    font-weight: 600;
    margin-top: 15px;
}

.drink-list {
    background: rgba(248, 245, 230, 0.05);
    border-radius: 15px;
    padding: 40px;
    color: #F8F5E6;
    border: 1px solid rgba(193, 164, 101, 0.2);
}

.drink-category {
    margin-bottom: 30px;
}

.drink-category h3 {
    font-size: 22px;
    color: #C1A465;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(193, 164, 101, 0.3);
}

.drink-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.drink-name {
    flex: 1;
}

.drink-price {
    color: #C1A465;
    margin-left: 20px;
}

.drink-description {
    font-size: 14px;
    color: #C1C1C1;
    margin-bottom: 15px;
}

/* ニュースセクション */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(193, 164, 101, 0.2);
    transition: all 0.3s ease;
}

.news-item:hover {
    background: rgba(248, 245, 230, 0.02);
    padding-left: 20px;
}

.news-date {
    font-size: 16px;
    color: #C1A465;
    margin-right: 30px;
    min-width: 120px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 18px;
    color: #F8F5E6;
    margin-bottom: 5px;
}

.news-text {
    color: #C1C1C1;
    font-size: 16px;
}

/* アクセスセクション */
.access {
    background: linear-gradient(135deg, #2A2A2A, #1C1C1C);
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.access-info {
    color: #F8F5E6;
}

.access-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #C1A465;
}

.access-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

.map-placeholder {
    background: rgba(193, 164, 101, 0.1);
    height: 350px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C1A465;
    font-size: 18px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 体験プログラムセクション */
.activity {
    background: linear-gradient(135deg, #1C1C1C, #2A2A2A);
}

.activity-intro {
    text-align: center;
    color: #F8F5E6;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.activity-intro p {
    font-size: 18px;
    line-height: 1.8;
}

.activity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.activity-card {
    background: rgba(248, 245, 230, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(193, 164, 101, 0.2);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(193, 164, 101, 0.2);
}

.activity-card-image {
    height: 250px;
    overflow: hidden;
}

.activity-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-card-image img {
    transform: scale(1.1);
}

.activity-card-content {
    padding: 30px;
}

.activity-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #F8F5E6;
}

.activity-card p {
    color: #C1C1C1;
    line-height: 1.6;
}

.activity-details {
    margin-top: 15px;
    font-size: 16px;
    color: #F8F5E6;
}

.activity-details span {
    display: block;
    margin-bottom: 5px;
}

.activity-price {
    font-size: 20px;
    color: #C1A465;
    font-weight: 600;
    margin-top: 15px;
}

/* フッター */
.footer {
    background-color: #0F0F0F;
    padding: 60px 0 30px;
    text-align: center;
    color: #F8F5E6;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-logo {
    font-size: 28px;
    margin-bottom: 20px;
    color: #C1A465;
    letter-spacing: 2px;
}

.footer-info {
    margin-bottom: 30px;
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: #F8F5E6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #C1A465;
}

.footer-bottom {
    border-top: 1px solid rgba(193, 164, 101, 0.2);
    padding-top: 20px;
    color: #888;
}

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

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .section {
        padding: 80px 30px;
    }
    
    .concept-grid,
    .access-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: fixed;
        top: 20px; /* ヘッダーのpaddingに合わせて調整 */
        right: 30px; /* nav-containerのpaddingに合わせて調整 */
        z-index: 1002; /* ナビメニューより前面に表示 */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(28, 28, 28, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
        padding: 50px 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 20px;
        margin: 15px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .concept-grid,
    .access-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu-cards,
    .activity-cards {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .subsection-title {
        font-size: 24px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-date {
        margin-bottom: 10px;
    }
    
    .map-placeholder iframe {
        width: 100%;
        height: 300px;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .nav-container {
        justify-content: center;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .concept-text h3,
    .subsection-title {
        font-size: 20px;
    }
    
    .concept-text p,
    .menu-intro p,
    .activity-intro p {
        font-size: 16px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* スクロールアニメーション用 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* Google マップのサイズを親要素に合わせる */
.map-placeholder iframe {
  width: 100%;
  height: 100%;
}

/* Googleマップを囲む親要素に高さを設定 */
.map-placeholder {
  height: 350px; /* PCでの推奨サイズ。必要に応じて調整してください */
}




