/**
 * ability hair - スタイルシート
 * 美容室のワンページサイト
 * カラースキーム: 紫(#823582)、黄色(#f8e121)、白(#ffffff)
 * レスポンシブデザイン対応
 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ========================================
   共通コンポーネント
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #823582;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #823582 0%, #f8e121 100%);
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    background: #823582;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   レスポンシブ改行
   ======================================== */
.mobile-break {
    display: none;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(130, 53, 130, 0.7) 0%, rgba(248, 225, 33, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    color: #fff;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* ========================================
   メインコンテンツ
   ======================================== */
.main-content {
    background-color: #f9f9f9;
}

/* ========================================
   基本情報セクション
   ======================================== */
.info-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
}

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

.info-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(130, 53, 130, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(130, 53, 130, 0.2);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #823582;
    margin-bottom: 1rem;
}

.info-card p {
    color: #555;
    line-height: 1.8;
}

.info-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: #823582;
    margin: 1rem 0;
}

.info-highlight a {
    color: #823582;
}

.info-highlight a:hover {
    color: #f8e121;
}

.sub-text {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5rem;
}

.btn-map {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #823582 0%, #a855a8 100%);
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-map:hover {
    background: linear-gradient(135deg, #a855a8 0%, #823582 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 53, 130, 0.3);
    opacity: 1;
}

/* ========================================
   営業時間セクション
   ======================================== */
.hours-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(248, 225, 33, 0.05) 0%, rgba(130, 53, 130, 0.05) 100%);
}

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

.hours-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 4px solid #f8e121;
    transition: all 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(248, 225, 33, 0.2);
}

.hours-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #823582;
    margin-bottom: 1rem;
}

.time {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    font-family: 'Arial', sans-serif;
}

.closed-info {
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    margin: 0 auto;
}

.closed-info strong {
    color: #823582;
    font-size: 1.2rem;
}

/* ========================================
   アクセスセクション
   ======================================== */
.access-section {
    padding: 5rem 0;
    background: #fff;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.access-map {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.access-info {
    text-align: center;
    padding: 2rem;
}

.access-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #823582;
    margin-bottom: 1rem;
}

.access-info p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f8e121 0%, #ffd700 100%);
    color: #333;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 225, 33, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffd700 0%, #f8e121 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(248, 225, 33, 0.4);
    opacity: 1;
}

/* ========================================
   オンライン予約セクション
   ======================================== */
.booking-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #823582 0%, #a855a8 100%);
}

.booking-section .section-title {
    color: #fff;
}

.booking-section .section-title::after {
    background: linear-gradient(90deg, #f8e121 0%, #fff 100%);
}

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

.booking-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.booking-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.booking-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.booking-logo svg {
    max-width: 100%;
    height: 100%;
}

.booking-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.booking-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #823582 0%, #a855a8 100%);
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.booking-card:hover .btn-link {
    background: linear-gradient(135deg, #f8e121 0%, #ffd700 100%);
    color: #333;
}

/* ========================================
   SNSセクション
   ======================================== */
.sns-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f9f9f9 0%, #fff 100%);
}

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

.sns-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-facebook {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: #1877f2;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.btn-facebook:hover {
    background: #145dbf;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
    opacity: 1;
}

.btn-facebook svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: linear-gradient(135deg, #823582 0%, #5a2458 100%);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #f8e121;
    font-weight: 500;
}

.footer-info p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-info a {
    color: #f8e121;
}

.footer-info a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット (768px以上) */
@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .map-container {
        grid-template-columns: 1fr 1fr;
    }

    .access-info {
        text-align: left;
    }

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

/* デスクトップ (1024px以上) */
@media (min-width: 1024px) {
    .hero {
        height: 80vh;
        max-height: 700px;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* モバイル (小画面) */
@media (max-width: 480px) {
    .mobile-break {
        display: inline;
    }

    .header {
        padding: 8px 15px;
    }

    .header-logo {
        max-width: 180px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .info-card,
    .hours-card {
        padding: 1.5rem;
    }

    .btn-primary,
    .btn-facebook {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   印刷スタイル
   ======================================== */
@media print {
    .hero-slider,
    .booking-section,
    .sns-section {
        display: none;
    }

    body {
        background: #fff;
    }

    .section-title {
        color: #000;
    }
}
