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

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

html {
    scroll-behavior: smooth; /* CSS によるスムーズスクロール */
    scroll-padding-top: 70px; /* ヘッダーの高さに応じて調整 */
}

/* ナビゲーションリンクのホバーエフェクト */
.nav ul li a {
    position: relative;
    transition: color 0.3s ease;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav ul li a:hover::after {
    width: 100%;
}

/* アクティブなナビゲーションリンクのスタイル */
.nav ul li a.active::after {
    width: 100%;
}

.header {
    background: #f8f8f8;
    width: 100%;
    z-index: 1000;
    margin-bottom: 3rem;
}

.logo {
    text-align: center;
    padding: 20px 0;
    background-color: #f8f8f8;
}

.nav {
    position: fixed; /* Make the navigation fixed */
    top: 0; /* Position it at the top */
    width: 100%; /* Ensure it spans the full width */
    background: #f8f8f8;
    padding: 10px 0; /* Adjust padding to fit fixed position */
    z-index: 1000; /* Ensure it is above other content */
    text-align: center;
}

/* styles.css に追加 */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-3px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.container {
    /* Add padding to avoid content being hidden behind the fixed navigation */
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px; /* Increase font size */
    padding: 10px 20px; /* Add padding */
    transition: color 0.3s;
}

.nav a:hover {
    color: #717171;
}

.logo {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: normal;
    letter-spacing: 1px;
}

.image-slide-wrapper {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    display: flex; /* Use flexbox to align slides horizontally */
}

/* styles.css に追加・修正 */

.top-img {
    width: 100%;
    height: 60vh; /* ビューポートの60%の高さ */
    object-fit: cover; /* 画像のアスペクト比を保持しながら領域を埋める */
    margin-bottom: 50px; /* 下部の余白 */
}

.about {
    position: relative;
    padding-top: 50px; /* 上部の余白 */
}

/* aboutセクションの上部に線を追加 */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* 線の長さ */
    height: 1px; /* 線の太さ */
    background-color: rgba(0, 0, 0, 0.1); /* 薄いグレー */
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .top-img {
        height: 40vh; /* モバイル時は高さを40%に */
    }

    .about::before {
        width: 90%; /* モバイル時は線を少し長く */
    }
}

.about-text {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.shop-info {
    margin-bottom: 80px;
}

.info-list {
    max-width: 600px;
    margin: 0 auto 40px;
}

.info-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-label {
    width: 100px;
    font-weight: bold;
}

.info-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;  /* Adjust line spacing */
}

.info-content {
    display: block;  /* Break each line */
}

/* Responsive design for smartphones */
@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
    }

    .info-label {
        width: 100%;
        margin-bottom: 5px;
    }
}

.map {
    height: 400px;
    background: #f5f5f5;
    margin-top: 40px;
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.instagram-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.follow-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #405DE6;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.follow-button img {
    width: 20px;
    height: 20px;
}

.load-more-button {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.load-more-button:hover {
    background: #eee;
}

@media (max-width: 768px) {
    .instagram-feed {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.footer {
    text-align: center;
    padding: 20px 0;
    background: #f8f8f8;
    color: #333;
}

.dots {
    text-align: center;
    padding: 10px 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* styles.css に追加 */
.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.instagram-post {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.instagram-post a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.follow-button,
.load-more-button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.follow-button {
    background-color: #E1306C;
    color: white;
    text-decoration: none;
}

.load-more-button {
    background-color: #f0f0f0;
    color: #333;
}

.follow-button:hover,
.load-more-button:hover {
    opacity: 0.8;
}


/* contact */
.contact {
    padding: 60px 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #555;
}