/* ベースリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 変数定義 */
:root {
    --primary-color: #0f0f0f;
    --secondary-color: #2a2a2a;
    --accent-color: #ff4444;
    --accent-hover: #cc3333;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #fafafa;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ベーススタイル */
body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* バーバーポール装飾 */
.barber-pole-left,
.barber-pole-right {
    position: fixed;
    top: 0;
    width: 15px;
    height: 100vh;
    z-index: 1100; /* ヘッダーより上に表示 */
    background: 
        linear-gradient(45deg, 
            #dc143c 0px, #dc143c 5px,
            #ffffff 5px, #ffffff 10px,
            #0052cc 10px, #0052cc 15px,
            #ffffff 15px, #ffffff 20px,
            #dc143c 20px, #dc143c 25px,
            #ffffff 25px, #ffffff 30px,
            #0052cc 30px, #0052cc 35px,
            #ffffff 35px, #ffffff 40px
        );
    background-size: 28.28px 28.28px; /* √2 × 20px for 45deg */
    /* animation: barber-spin 3s linear infinite; アニメーションを無効化 */
    box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
    border-radius: 0 3px 3px 0;
    pointer-events: none; /* クリックイベントを通すように */
}

.barber-pole-left {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.barber-pole-right {
    right: 0;
    border-radius: 3px 0 0 3px;
}

@keyframes barber-spin {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 0 28.28px;
    }
}

/* モバイル版では非表示 */
@media (max-width: 767px) {
    .barber-pole-left,
    .barber-pole-right {
        display: none;
    }
}

/* デスクトップ版では非表示 */
@media (min-width: 768px) {
    .barber-pole-left,
    .barber-pole-right {
        display: none;
    }
}

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

/* モバイルファーストの調整 */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    
    /* タッチ操作の最適化 */
    body {
        font-size: 16px; /* iOS Safariのズーム防止 */
        -webkit-text-size-adjust: 100%;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    
    /* スクロールの最適化 */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* セーフエリアへの対応 */
    .container {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}

/* ヘッダー */
.header {
    background-color: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.header.scrolled {
    background-color: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

@media (max-width: 767px) {
    .header-content {
        padding: 0.5rem 0;
        gap: 0.5rem;
        position: relative;
    }
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    vertical-align: middle;
    transition: var(--transition);
}

@media (max-width: 767px) {
    .logo-img {
        height: 30px;
    }
}

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

.nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

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

.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: var(--transition);
}

.phone-item:hover {
    transform: translateX(-3px);
}

.shop-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 70px;
    text-align: right;
}

.phone-link {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.phone-icon {
    font-size: 1rem;
    animation: ring 1s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 5px;
    z-index: 1002;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    overflow: visible;
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block !important;
        margin: 0 !important;
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle.active {
        margin: 0 !important;
    }
}

.mobile-menu-toggle span {
    display: none;
}

/* activeクラスが付いた時に×を表示 */
.mobile-menu-toggle.active::before,
.mobile-menu-toggle.active::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    left: 50%;
    top: 50%;
    transform-origin: center;
}

.mobile-menu-toggle.active::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-toggle.active::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 通常時のハンバーガーメニュー */
.mobile-menu-toggle:not(.active) span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px auto;
    transition: var(--transition);
    border-radius: 1px;
    position: relative;
    left: 0;
}

/* ヒーローセクション */
.hero {
    position: relative;
    color: white;
    padding: 120px 20px 60px;
    text-align: center;
    min-height: 70vh;
    height: 80vh; /* 一定の高さを確保 */
    max-height: 800px; /* 最大高さを制限 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.hero a {
    color: white !important;
    text-decoration: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 10s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

.hero-overlay {
    display: none; /* オーバーレイを非表示にして画像をクリアに表示 */
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    padding: 2rem;
    background-color: rgba(0,0,0,0.4);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-md);
}

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-buttons .cta-button {
    background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
    color: #ffffff !important;
    border: none;
}


/* CTAボタンのモバイル最適化 */
.cta-button, .secondary-button {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    min-height: 44px; /* タッチターゲットの最小サイズ確保 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767px) {
    .cta-button, .secondary-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        min-height: 48px; /* モバイルでより大きなタッチエリア */
        min-width: 120px;
    }
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(255,68,68,0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,68,68,0.4);
    color: white !important;
}

.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
}

.secondary-button:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* セクション共通 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border-radius: 2px;
}

/* サービス紹介 */
.services {
    padding: 60px 0;
    background-color: var(--gray-light);
}

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

.service-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    color: var(--accent-color);
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* 店舗情報 */
.shop-info {
    padding: 60px 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.shop-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.shop-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.shop-card:hover::after {
    opacity: 1;
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.shop-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--gray-medium);
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-details {
    padding: 1.5rem;
}

.shop-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.shop-detail-link {
    display: block;  /* インラインブロックからブロックに変更 */
    margin: 1rem auto 0;  /* 自動マージンでセンタリング */
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 1.5rem;  /* パディングを調整 */
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    z-index: 1;
    text-align: center;  /* テキストもセンタリング */
    max-width: 250px;  /* 最大幅を設定 */
}

.shop-detail-link:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.shop-info-item {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.shop-info-item.time-detail {
    margin-left: 1.5rem;
    margin-bottom: 0.3rem;
}

.shop-info-item .indent {
    margin-left: 1rem;
}

.shop-info-item .icon {
    flex-shrink: 0;
}

.shop-instagram {
    margin: 15px 0;
    width: 100%;
    overflow: visible;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.instagram-media {
    max-width: 100% !important;
    min-width: unset !important;
    width: 100% !important;
    margin: 0 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.instagram-media a {
    pointer-events: auto !important;
    z-index: 3 !important;
    position: relative !important;
}

/* 料金・システム */
.pricing {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

.operating-hours {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

.shop-insta-section {
    margin-top: 2rem;
    padding: 0;
}

.shop-insta-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.shop-insta-header {
    text-align: center;
    margin-bottom: 2rem;
}

.shop-insta-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.shop-insta-container {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shop-insta-container h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-medium);
}

.shop-insta-follow {
    display: block;
    margin-top: auto;
    padding-top: 1rem;
    text-align: center;
}

.operating-hours h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hours-table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--gray-medium);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-label {
    font-weight: 500;
}

.hours-time {
    font-weight: 700;
    color: var(--accent-color);
}

/* 価格表 */
.pricing-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-table {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.pricing-table::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.05;
}

.pricing-table h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.price-row:hover {
    transform: translateX(5px);
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-weight: 500;
    color: var(--text-color);
}

.price-amount {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.shop-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.shop-hours-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.shop-hours-card h4 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.shop-hours-card p {
    margin-bottom: 0.3rem;
}

.closed-day {
    color: var(--accent-color);
    font-weight: 600;
}

.note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}


.system-info {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.system-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.system-info ul {
    list-style: none;
    padding-left: 0;
}

.system-info li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.system-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* お問い合わせ */
.contact {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-shop {
    margin-bottom: 1.5rem;
}

.contact-shop h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-phone {
    font-size: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
}

.shop-instagram {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.shop-instagram iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* 店舗ボタンコンテナ */
.shop-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 767px) {
    .shop-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .shop-buttons a {
        width: 100%;
        text-align: center;
    }
}

/* Instagram Link (更新) */
.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #E4405F;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.instagram-link:hover {
    background: #d62d4a;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.instagram-icon {
    font-size: 1.2rem;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}


/* 店舗詳細ページ */
.shop-detail {
    padding: 100px 0 60px;
    background-color: var(--bg-light);
}

.page-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.shop-detail-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* モバイル用の調整 */
@media (max-width: 767px) {
    .shop-detail {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .shop-detail-content {
        gap: 1.5rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
}

.shop-image-gallery {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    min-height: 400px;
}

@media (max-width: 767px) {
    .shop-image-gallery {
        min-height: 250px;
    }
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

@media (max-width: 767px) {
    .main-image {
        max-height: 300px;
    }
}

.shop-info-detail {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .shop-info-detail {
        padding: 1rem;
    }
    
    .shop-info-detail h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
}

.info-table {
    width: 100%;
    margin-top: 1rem;
    display: table;
}

/* モバイル用のテーブルレイアウト */
@media (max-width: 767px) {
    .info-table {
        display: block;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .info-table tbody {
        display: block;
    }
    
    .info-table tr {
        display: block;
        margin: 0;
        background-color: white;
        border-bottom: 1px solid var(--gray-medium);
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
        position: relative;
    }
    
    .info-table tr:last-child {
        border-bottom: none;
    }
    
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .info-table th {
        background-color: var(--gray-light);
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        color: var(--text-light);
        font-weight: 600;
        border-bottom: 1px solid #e0e0e0;
        margin: 0;
    }
    
    .info-table td {
        padding: 0.8rem 1rem 1rem;
        font-size: 0.95rem;
        line-height: 1.6;
        word-break: keep-all;
        border-bottom: none;
        background-color: white;
    }
    
    /* 電話番号のリンクスタイル */
    .info-table td a {
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 600;
        display: inline-block;
        padding: 0.3rem 0.8rem;
        background-color: rgba(255, 68, 68, 0.1);
        border-radius: 20px;
        transition: var(--transition);
        margin-top: 0.3rem;
    }
    
    .info-table td a:hover {
        background-color: var(--accent-color);
        color: white;
        transform: translateY(-1px);
    }
}

.info-table th,
.info-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-medium);
}

.info-table th {
    font-weight: 600;
    width: 30%;
    background-color: white;
}

.info-table td {
    background-color: white;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* アクセスセクション */
.access-section {
    margin-bottom: 3rem;
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
    .access-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
}

.access-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .access-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.access-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

@media (max-width: 767px) {
    .access-content {
        gap: 2rem;
    }
}

.access-text h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--secondary-color);
}

@media (max-width: 767px) {
    .access-text h4 {
        font-size: 1.1rem;
        margin: 1rem 0 0.8rem;
    }
}

.access-text ul {
    list-style: none;
    padding-left: 0;
}

.access-text li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

@media (max-width: 767px) {
    .access-text li {
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
    }
}

.access-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

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

@media (max-width: 767px) {
    .map-container iframe {
        height: 300px !important;
    }
}

/* 駐車場情報 */
.parking-info {
    background-color: white;
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
    .parking-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

.parking-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .parking-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.parking-detail {
    padding: 0;
}

.parking-steps {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
    .parking-steps {
        margin-top: 1.5rem;
        padding: 1rem;
    }
}

.parking-steps h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

@media (max-width: 767px) {
    .parking-steps h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
}

.parking-steps ol {
    margin-left: 1.5rem;
}

.parking-steps li {
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .parking-steps li {
        font-size: 0.95rem;
    }
}

.parking-note {
    margin-top: 1rem;
    padding: 1.2rem;
    background-color: #fffbeb;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
    .parking-note {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Instagram埋め込みセクション */
.instagram-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
    margin-bottom: 3rem;
    text-align: center;
}

@media (max-width: 767px) {
    .instagram-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    /* 最初のインスタグラムセクションのスタイルを調整 */
    .instagram-section:first-of-type {
        margin: 2rem 0;
        padding: 1.5rem;
    }
}

.instagram-embed-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    max-width: 100%;
}

.instagram-follow-section {
    margin-top: 2rem;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(196, 53, 132, 0.3);
}

.instagram-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 53, 132, 0.4);
    color: white;
}

.instagram-follow-btn .instagram-icon {
    font-size: 1.2rem;
}

.instagram-section h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

@media (max-width: 767px) {
    .instagram-section h3 {
        font-size: 1.5rem;
    }
}

.instagram-section p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

@media (max-width: 767px) {
    .instagram-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Instagram埋め込みiframeのレスポンシブ対応 */
.shop-instagram {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .shop-instagram {
        max-width: 100%;
    }
}

.shop-instagram iframe {
    width: 100%;
    height: 400px;
    border: none;
}

@media (max-width: 767px) {
    .shop-instagram iframe {
        height: 350px;
    }
}

.instagram-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .instagram-wrapper {
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
        align-items: flex-start;
    }
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.instagram-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.instagram-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.instagram-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.instagram-content {
    padding: 1.2rem;
}

.instagram-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.instagram-text {
    margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.instagram-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.instagram-follow {
    text-align: center;
}

.instagram-follow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
}

.instagram-follow-link:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.instagram-icon {
    font-size: 1.2rem;
}

/* CTAセクション */
.instagram-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.instagram-section h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.instagram-section p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
}

.instagram-button-wrapper {
    text-align: center;
}

.cta-section {
    text-align: center;
    padding: 3rem 0;
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .cta-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .cta-section h3 {
        font-size: 1.5rem;
    }
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .cta-section p {
        margin-bottom: 1.5rem;
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-section .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* プライバシーポリシー */
.privacy-policy {
    padding: 100px 0 60px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.policy-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content ul {
    margin: 1rem 0 1rem 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.contact-info-privacy {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--gray-light);
    border-radius: 10px;
}

.contact-info-privacy h4 {
    margin: 1rem 0 0.5rem;
    color: var(--secondary-color);
}

.contact-info-privacy p {
    margin-bottom: 0.5rem;
}

/* サイトマップ */
.sitemap {
    padding: 100px 0 60px;
}

.sitemap-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sitemap-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.sitemap-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--gray-medium);
    padding-bottom: 0.5rem;
}

.sitemap-section ul {
    list-style: none;
    padding-left: 0;
}

.sitemap-section li {
    margin-bottom: 0.8rem;
}

.sitemap-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding-left: 1rem;
    position: relative;
}

.sitemap-section a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.sitemap-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .shop-detail-content,
    .access-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    /* セクションのパディング調整 */
    .services,
    .shop-info,
    .pricing,
    .contact {
        padding: 40px 0;
    }
    
    /* セクションタイトルの調整 */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        word-break: keep-all;
    }
    
    /* 価格表の調整 */
    .pricing-table {
        padding: 1.5rem;
    }
    
    .price-amount {
        font-size: 1.1rem;
    }
    
    /* 店舗カードの調整 */
    .shop-card {
        margin-bottom: 1.5rem;
    }
    
    /* フッターリンクの調整 */
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .header-phone {
        display: none;
    }
    
    /* ヒーローセクションのモバイル最適化 */
    .hero {
        position: relative;
        padding: 80px 0 0;
        min-height: auto;
        height: auto;
        max-height: none;
        display: block;
        overflow: hidden;
    }
    
    /* カルーセルを4:3のアスペクト比で配置 */
    .hero-carousel {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 75%; /* 4:3のアスペクト比 */
        overflow: hidden;
        background-color: #000;
    }
    
    /* カルーセルスライドの位置調整 */
    .carousel-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* カルーセル画像のアスペクト比を調整 */
    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* オーバーレイを無効化 */
    .hero-overlay {
        display: none !important;
    }
    
    /* ヒーローコンテンツの調整 */
    .hero-content {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        text-align: center;
        animation: none;
        z-index: 2;
        background-color: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }
    
    /* タイトルの調整 */
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.3rem;
        word-break: keep-all;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        background-color: rgba(0,0,0,0.6);
        padding: 0.3rem 0.8rem;
        border-radius: 6px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        word-break: keep-all;
        color: white;
        opacity: 0.95;
        background-color: rgba(0,0,0,0.6);
        padding: 0.3rem 0.8rem;
        border-radius: 6px;
    }
    
    /* ボタンコンテナの調整 */
    .hero-buttons {
        gap: 0.5rem;
        background-color: transparent !important;
        padding: 0 !important;
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    /* ボタンのサイズ調整 */
    .cta-button, .secondary-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* CTAボタンのスタイル調整 */
    .hero-buttons .cta-button {
        background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
        color: white !important;
        box-shadow: 0 4px 15px rgba(255,68,68,0.3);
    }
    
    .hero-buttons .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255,68,68,0.4);
    }
    
    /* ボタンコンテナの調整 */
    .hero-buttons {
        gap: 1rem;
        justify-content: center;
    }
    
    /* 背景のパルスアニメーションを非表示 */
    .hero::before {
        display: none;
    }
    
}

@media (min-width: 768px) {
    .nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero {
        padding: 150px 20px 80px;
        min-height: 70vh;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}