/* ===============================================
   基本設定 (全体・フォント)
   =============================================== */
html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.7;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.05em;
    box-sizing: border-box;
    opacity: 0;
    animation: fadeIn 1s forwards;
    padding-top: 100px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===============================================
   ヘッダー (.main-header)
   =============================================== */
.main-header {
    display: block;
    background-color: #000; /* 背景色を黒に固定 */
    color: #fff;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
    height: 80px;
}

.header-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 20px;
    overflow: visible;
}

.header-logo img {
    height: 100%;
    width: auto; /* アスペクト比を維持 */
    display: block;
    filter: invert(1); /* 黒いロゴを白に反転 */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s ease;
    padding: 10px 15px;
    display: block;
}

header nav ul li a:hover {
    color: #8B0000;
}

/* ===============================================
   ハンバーガーメニュー
   =============================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===============================================
   メインコンテンツ
   =============================================== */
main {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
}

.hero-image {
    text-align: center;
    width: 100%;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
    max-width: none;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
    filter: invert(1); /* 黒いロゴを白に反転 */
}

.parallax-bg {
    width: 100%;
    height: 70vh;
    background-image: url('images/hero.jpg'); /* ファイル名修正済み */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    margin-top: -1px;
    max-width: none;
}



/* ===============================================
   共通セクション (h2など)
   =============================================== */
section {
    margin-bottom: 60px;
    text-align: center;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 40px;
    background-color: #000;
}

section h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #8B0000;
}

/* ===============================================
   店舗情報 (#shop-info)
   =============================================== */
.shop-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.shop-item {
    width: 90%;
    max-width: 960px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #8B0000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding-top: 25px;
    gap: 0;
    box-sizing: border-box;
}

.shop-name-label {
    font-size: 1.6em;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.12em;
    text-align: center;
    margin: 0 0 18px 0;
    width: 100%;
}

.shop-item-body {
    display: flex;
    align-items: stretch;
    gap: 35px;
    width: 100%;
}

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

.shop-title {
    position: relative;
    background-color: #8B0000;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: bold;
    flex-basis: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    aspect-ratio: 3 / 2;
    box-sizing: border-box;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

/* 店舗画像リンクの見た目リセット */
.shop-title a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    line-height: 0;
}
.shop-title a:hover {
    opacity: 0.85;
}

.shop-title img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.shop-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-basis: 45%;
    min-height: 180px;
    box-sizing: border-box;
    justify-content: space-between;
    padding-left: 10px;
}

.shop-details h4 {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
    text-align: left;
    width: 100%;
    padding: 0;
}

.shop-details p {
    font-size: 1em;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 10px;
    width: 100%;
    padding: 0;
}

.shop-details p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-details p a:hover {
    color: #8B0000;
}

.shop-holiday {
    font-size: 1em;
    color: #FFD700;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}

.shop-holiday i {
    margin-right: 10px;
    color: #FFD700;
}

.shop-hours {
    font-size: 1em;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 10px;
    width: 100%;
    color: #ccc;
}

.shop-hours i {
    margin-right: 10px;
    color: #ccc;
}

.map-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 15px 25px;
    background-color: transparent;
    color: #fff;
    border: 1px solid #8B0000;
    border-radius: 24px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    width: 100%;
    margin-top: auto;
}

.map-button:hover {
    background-color: #8B0000;
    color: #fff;
    border-color: #8B0000;
}

/* ===============================================
   予約セクション (#reservation)
   =============================================== */
.reservation-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #1a1a1a;
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 10px;
    max-width: 960px;
    width: 90%;
    box-sizing: border-box;
}

.reservation-section p {
    font-size: 1.3em;
    color: #fff;
    margin-bottom: 30px;
}

.stylish-reservation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    background-color: #333;
    color: #fff;
    border: 2px solid #555;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stylish-reservation-button:hover {
    background-color: #555;
    border-color: #8B0000;
    color: #fff;
}

/* ===============================================
   フッター & SNSアイコン
   =============================================== */
footer {
    text-align: center;
    padding: 30px 8px;
    background-color: #000;
    color: #fff;
    font-size: 0.9em;
    width: 100%;
    box-sizing: border-box;
}

.sns-icons-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 25px;
}

/* SNSアイコンの並び */
.sns-icon-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sns-icon {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.sns-icon:hover {
    opacity: 0.7;
}

/* ★SNS画像サイズの強制指定★ */
.sns-icon img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain;
    display: block;
}

.footer-hr {
    display: block;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto 15px auto;
    width: 80%;
    max-width: 600px;
}

/* ===============================================
   レスポンシブ対応 (Media Queries)
   =============================================== */
@media (max-width: 1024px) {
    body { padding-top: 90px; }
    .main-header { height: 70px; }
    .hero-image { height: calc(100vh - 70px); }
    .shop-item { width: 92%; margin-bottom: 35px; padding-bottom: 20px; }
    .shop-item-body { gap: 25px; }
    .shop-title { min-height: 160px; }
    .shop-details { min-height: 160px; padding-left: 10px; }
}

@media (max-width: 768px) {
    body { padding-top: 80px; }
    .main-header { height: 80px; box-sizing: border-box; }
    .hamburger { display: flex; }
    header nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    }
    header nav.open { max-height: 400px; }
    header nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }
    header nav ul li a {
        padding: 14px 24px;
        border-bottom: 1px solid #1a1a1a;
        display: block;
    }
    .hero-image { height: calc(100vh - 80px); }
    .shop-item { padding-bottom: 30px; }
    .shop-item-body { flex-direction: column; align-items: center; }
    .shop-title { width: 90%; margin-right: 0; margin-bottom: 25px; min-height: 120px; }
    .shop-details { width: 90%; padding: 0; align-items: center; }
    .shop-details h4, .shop-details p, .shop-holiday, .shop-hours { text-align: center; }
    .map-button { width: 85%; margin: 20px auto 0 auto; }
}