/*
Version: 1.1.8
*/

:root {
    --main-color: #E9901C;
    --bg-color: #FFF7EE;
    --text-color: #333333;
    --accent-color: #B36D0F;
}

/* Global Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

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

/* Typography */
h1, h2 {
    color: var(--main-color);
    text-align: center;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Header */
.shopHeader {
    margin-bottom: 50px;
}

.shopHeader img {
    border-radius: 0;
}

/* Store Front Image */
.store-front-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

/* Containers */
.shop-container,
.info-container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.shop-container {
    text-align: left;
}

.shop-container h2 {
    text-align: left;
}

.info-container {
    text-align: center;
}

/* Address */
.address {
    margin-bottom: 20px;
}

/* Links */
.tabelog-link {
    display: inline-block;
    color: var(--main-color);
    font-size: 1.2em !important; 
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.tabelog-link:hover {
    color: var(--accent-color);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.social-links a {
    color: var(--main-color);
    text-decoration: none;
    font-size: 2em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Gallery */
#gallery {
    margin-bottom: 50px;
}

.gallery-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px 20px;
}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Navigation */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #E9901C;
    border: none;
    font-size: 2em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.arrow:hover {
    background-color: #E9901C;
    color: white;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

/* Thumbnails */
.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.thumbnail.active {
    border: 3px solid #E9901C;
}

/* Disabled Links */
.social-link,
.tabelog-link {
    transition: opacity 0.3s ease, cursor 0.3s ease;
}

.social-link.disabled,
.tabelog-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.social-link.disabled i,
.tabelog-link.disabled {
    color: #999;
}

/* No Images Message */
.no-images-container {
    background-color: #f8f8f8;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
}

.no-images-message {
    color: #888;
}

.no-images-message i {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-images-message p {
    font-size: 18px;
    margin: 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .gallery-container {
        padding: 10px;
    }

    .main-image-container {
        max-width: 100%;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.8em;
    }

    .info-container {
        padding: 20px;
    }

    .address {
        font-size: 1em;
    }

    .tabelog-link {
        font-size: 1.1em;
    }
}

/* Related Shops Section */
#related-shops {
    margin-top: 50px;
    margin-bottom: 50px;
}

#related-shops h2 {
    text-align: center;
    color: var(--main-color);
    margin-bottom: 30px;
}

#related-shops .shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 2rem;
}

#related-shops .shop-card {
    display: block;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

#related-shops .shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#related-shops .shop-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#related-shops .shop-card__content {
    padding: 1.5rem;
}

#related-shops .shop-card__title {
    font-size: 1.35rem;
    margin: 0 0 1rem;
    color: var(--main-color);
}

#related-shops .shop-card__description {
    font-size: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    #related-shops .shop-grid {
        grid-template-columns: 1fr;
    }
}

/* Interview Video Section */
#interview-video {
    margin-top: 50px;
    margin-bottom: 50px;
}

#interview-video h2 {
    text-align: center;
    color: var(--main-color);
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    max-width: 416px; /* 動画の最大幅 */
    margin: 0 auto; /* 中央揃え */
}

.video-container.vertical {
    padding-bottom: 97.64%; /* 9:16 のアスペクト比 (16 / 9 * 100) */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    #interview-video {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .video-container {
        max-width: 100%; /* モバイルでは幅いっぱいに広げる */
    }

    .video-container.vertical {
        padding-bottom: 177.64%; /* 9:16 のアスペクト比 (16 / 9 * 100) */
    }
}