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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

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

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #a3b18a;
}

.bg-light { background-color: #f9f7f2; }

/* --- 追従ヘッダー --- */
header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    color: #588157;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { margin-left: 25px; }

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover { color: #a3b18a; }

.btn-contact {
    background: #a3b18a;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 25px;
    transition: background 0.3s !important;
}

.btn-contact:hover { background: #588157; }

/* --- ヒーロー --- */
/* --- ヒーロー（スライドショー対応） --- */
.hero {
    height: 100vh;
    position: relative; /* 子要素の基準にする */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

/* スライド全体の重なり設定 */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* コンテンツより後ろ */
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* 最初は透明 */
    animation: sliderAnime 15s infinite; /* 15秒で1ループ */
}

/* 画像の指定とアニメーションの遅延 */
.slide1 {
    background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), 
                      url('https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&q=80&w=1500');
    animation-delay: 0s;
}

.slide2 {
    background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), 
                      url('https://images.unsplash.com/photo-1510894347713-fc3ad6cb03a8?auto=format&fit=crop&q=80&w=1500');
    animation-delay: 5s; /* 5秒ずらす */
}

.slide3 {
    background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), 
                      url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&q=80&w=1500');
    animation-delay: 10s; /* 10秒ずらす */
}

/* スライドショーのアニメーション定義 */
@keyframes sliderAnime {
    0% { opacity: 0; transform: scale(1.0); }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; transform: scale(1.1); } /* 少し拡大しながら消える */
    100% { opacity: 0; }
}

/* コンテンツが画像より前に来るように調整 */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.3; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

.btn-main {
    display: inline-block;
    padding: 15px 45px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-main:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* --- メニュー --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s;
}

.menu-item:hover { transform: translateY(-5px); }
.menu-icon { font-size: 2.5rem; color: #a3b18a; margin-bottom: 20px; }
.price { font-weight: bold; font-size: 1.2rem; margin-top: 15px; color: #588157; }

/* --- アクセス & SNS --- */
.access-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-link { padding: 15px; background: #fff; text-align: center; border-top: 1px solid #eee; }
.btn-map { text-decoration: none; color: #a3b18a; font-weight: bold; font-size: 0.9rem; }

.sns-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: 0.3s;
}

.sns-btn i { margin-right: 12px; font-size: 1.3rem; }
.sns-btn:hover { transform: scale(1.03); opacity: 0.9; }

.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.x-twitter { background: #000; }
.line { background: #06C755; }

/* --- フッター --- */
footer {
    background: #3a3a3a;
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

.footer-sns {
    margin-bottom: 20px;
}

.footer-sns a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-sns a:hover { color: #a3b18a; }

/* --- アニメーション --- */
.fade-in { animation: fadeInUp 1s ease forwards; }
.fade-in-delay1 { animation: fadeInUp 1s ease 0.3s forwards; opacity: 0; }
.fade-in-delay2 { animation: fadeInUp 1s ease 0.6s forwards; opacity: 0; }

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

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .hero-content h2 { font-size: 2.2rem; }
    .access-content { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .section { padding: 60px 0; }
}