@charset "utf-8";

/*// ==========================================
   1. ヒーローセクション
   ========================================== //*/
#hero {
    position: relative;
    z-index: 5;            /* 下のセクションより前面に表示させて、凛さんの体が隠れるのを防ぐ */
    background-color: var(--color-white); /* 後ろの背景色を白に変更 */
    color: var(--color-text-light);
    padding: 200px 0 140px; /* 上部の余白を増やして、文字や凛さんを下に下げる */
    overflow: visible; /* はみ出し表示を許可 */
}

/* 画面幅100%背景のラッパー */
.hero-bg-wrapper {
    position: absolute;
    top: 80px;             /* 上端を80px下げて、頭が上にはみ出るスペースを作る */
    left: 0;
    width: 100%;
    height: calc(100% - 80px); /* 下げた分、高さを縮める */
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画面いっぱいにカバー */
    object-position: center;
}

/* 文字の視認性を上げるための神秘的なグラデーションオーバーレイ */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(30,18,51,0.95) 0%, rgba(30,18,51,0.85) 45%, rgba(30,18,51,0.3) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    min-height: 420px; /* コンポーネントの高さを少しコンパクトに */
}

.hero-content {
    flex: 1.2;
    max-width: 550px;
    z-index: 2;
}

.hero-tagline {
    display: inline-block;
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-title span {
    color: var(--color-secondary);
}

.hero-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #c9bed8;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* 凛さん（コンテナ右端に絶対配置・上にはみ出し） */
.hero-rin-img-full {
    height: 750px;         /* 下端を-140pxに固定したまま、頭が飛び出るように750pxに拡大！ */
    width: auto;
    object-fit: contain;
    position: absolute;
    bottom: -140px;        /* 下端（背景の底）にぴったり届くように調整 */
    right: -20px;          /* 右端に綺麗に収める */
    z-index: 2;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.6)); /* 影で立体感を出す */
}

/* 想いセクションに凛さんの影が綺麗に被るように設定 */
#concept {
    position: relative;
    z-index: 1;
    background-color: var(--color-white);
}

/*// ==========================================
   2. お知らせ（NEWS）セクション
   ========================================== //*/
#news {
    background-color: var(--color-bg-light);
    padding: 80px 0;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(30, 18, 51, 0.01);
}

.news-item {
    padding: 20px 30px;
    border-bottom: 1px solid var(--color-bg-light);
    display: flex;
    gap: 30px;
    align-items: baseline;
}

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

.news-date {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 700;
    min-width: 90px;
}

.news-body {
    flex: 1;
}

.news-item-title {
    font-size: 1rem;
    color: var(--color-bg-deep);
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 700;
}

.news-item-desc {
    font-size: 0.85rem;
    color: var(--color-text-sub);
    margin: 0;
    line-height: 1.7;
}

.news-item-link {
    text-align: right;
    margin-top: 8px;
}

.news-item-link a {
    color: var(--color-primary);
    text-decoration: underline;
    font-size: 0.85rem;
}

.news-item-link a:hover {
    color: var(--color-bg-deep);
}

/*// ==========================================
   3. 想い・コンセプトセクション
   ========================================== //*/
.concept-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.concept-img {
    flex: 1;
    position: relative;
}

.concept-img-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(138,111,176,0.1);
    border: 1px solid var(--color-border);
}

.concept-img::before {
    content: "✧";
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 2rem;
    color: var(--color-secondary);
}

.concept-body {
    flex: 1.2;
}

.concept-body h2 {
    font-size: 2.2rem;
    color: var(--color-bg-deep);
    margin-bottom: 25px;
}

.concept-body p {
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.concept-body p:last-child {
    margin-bottom: 0;
}

/*// ==========================================
   3. メニューセクション
   ========================================== //*/
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.menu-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 15px;
    padding: 40px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(138, 111, 176, 0.08);
}

.menu-head {
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.menu-head h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-bg-deep);
    margin-bottom: 10px;
}

.menu-price {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 700;
}

.menu-price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-sub);
}

.menu-body .menu-desc {
    font-size: 0.9rem;
    color: var(--color-text-main);
    line-height: 1.7;
}

/* おすすめカードの特別装飾 */
.menu-card.highlighted {
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.menu-card.highlighted::before {
    content: "✧ Recommended ✧";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary);
    color: var(--color-bg-deep);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 15px;
    border-radius: 50px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap; /* 折り返しを防止して飾りが下がるのを防ぐ */
}

/*// ==========================================
   4. お客様の声セクション
   ========================================== //*/
.voice-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.voice-item {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 30px 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid var(--color-border);
    position: relative;
}

.voice-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 10px;
}

.voice-client {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-bg-deep);
}

.voice-rating {
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.voice-text {
    font-size: 0.9rem;
    color: var(--color-text-main);
    line-height: 1.8;
}

/*// ==========================================
   5. アニメーション（フェードアップ）
   ========================================== //*/
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ディレイ設定 */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/*// ==========================================
   6. レスポンシブ調整（レイアウト）
   ========================================== //*/

/* 【TB】 1024px 以下 */
@media screen and (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 50px auto 0;
    }
}

/* 【SM】 768px 以下 */
@media screen and (max-width: 768px) {
    #hero {
        padding: 95px 0 240px; /* ヘッダー分80px + タグラインの上の余白15px */
    }

    .hero-bg-wrapper {
        top: 0;
        height: 100%;
    }
    
    .hero-bg-overlay {
        background: rgba(30,18,51,0.85); /* スマホは文字の視認性重視で全体を暗めに */
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hero-content {
        max-width: 500px;
        margin: 0 auto 20px; /* 最大幅を500pxにして中央寄せ */
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-rin-img-full {
        position: absolute;
        bottom: -240px; /* スマホで下にはみ出させる位置 */
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 65%;
        max-width: 220px;
        height: auto; /* 縦幅固定を解除 */
    }
    
    .concept-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .concept-img {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    }
    
    .voice-item {
        padding: 25px 20px;
    }
    
    .voice-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .news-item {
        flex-direction: column;
        gap: 8px;
        padding: 20px;
    }
    
    .news-date {
        min-width: auto;
    }
}

/* 【SP】 479px 以下 */
@media screen and (max-width: 479px) {
    /* SP専用のスタイルがあればここに追記します */
}

/*// ==========================================
   7. 下層ページ用共通スタイル
   ========================================== //*/

/* ページヘッダー（各下層ページの上部） */
.page-header {
    background: linear-gradient(135deg, rgba(30,18,51,0.95) 0%, rgba(68,48,107,0.9) 100%);
    padding: 140px 0 60px; /* ヘッダーの高さを考慮して上部余白を広めに */
    color: var(--color-white);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* パンくずリスト */
.breadcrumbs {
    font-size: 0.8rem;
    color: #c9bed8;
}

.breadcrumbs a {
    color: var(--color-secondary);
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--color-white);
}

.breadcrumbs span {
    margin: 0 8px;
    color: #a19bb0;
}

/* 下層コンテンツエリア */
.page-content-wrapper {
    padding: 80px 0;
    background-color: var(--color-white);
    min-height: 500px;
}

/* 汎用的な2カラムレイアウト用（AboutやMenuなどでも使えるように） */
.about-detail-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-detail-body {
    flex: 1.3;
}

.about-detail-sidebar {
    flex: 0.7;
    position: sticky;
    top: 120px;
    background-color: var(--color-bg-light);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--color-border);
}

.about-detail-sidebar h4 {
    color: var(--color-bg-deep);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-family: var(--font-serif);
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .about-detail-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-detail-sidebar {
        position: static;
        width: 100%;
    }
}

/*// ==========================================
   8. 各ページ個別パーツ用追加スタイル
   ========================================== //*/

/* 3つの約束（Aboutページなど） */
.promises-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.promise-card {
    background-color: var(--color-bg-light);
    border-radius: 12px;
    padding: 25px 30px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
}

.promise-card .icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 0;
    margin-top: 5px;
    display: inline-block;
    flex-shrink: 0;
}

.promise-card h3 {
    font-size: 1.15rem;
    color: var(--color-bg-deep);
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 700;
}

.promise-card p {
    font-size: 0.88rem;
    color: var(--color-text-main);
    line-height: 1.7;
    margin: 0;
}

/* サロン紹介（Aboutページなど） */
.salon-intro-section {
    margin-top: 50px;
    background-color: #faf9fc;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--color-border);
}

.salon-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.salon-img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.salon-info {
    width: 100%;
}

.salon-info h3 {
    font-family: var(--font-serif);
    color: var(--color-bg-deep);
    margin-top: 0;
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
    /* 縦並びのため追加の調整は不要 */
}

/* セッションの流れ（タイムライン） */
.flow-timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    position: relative;
}

.flow-timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
}

.flow-step {
    flex: 1;
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 25px 20px;
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.flow-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
    font-size: 0.95rem;
    border: 3px solid var(--color-white);
    box-shadow: 0 3px 8px rgba(138, 111, 176, 0.2);
}

.flow-step h4 {
    font-size: 1rem;
    color: var(--color-bg-deep);
    margin-bottom: 10px;
    font-weight: 700;
}

.flow-step p {
    font-size: 0.8rem;
    color: var(--color-text-main);
    line-height: 1.6;
    margin: 0;
}

/* FAQ（アコーディオン調またはリスト風） */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    padding: 25px;
}

.faq-q {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-bg-deep);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.faq-q .q-badge {
    background-color: var(--color-secondary);
    color: var(--color-bg-deep);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
}

.faq-a {
    font-size: 0.88rem;
    color: var(--color-text-main);
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

.faq-a .a-badge {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .flow-timeline {
        flex-direction: column;
        gap: 25px;
    }
    
    .flow-timeline::before {
        display: none;
    }
}

/* お知らせカテゴリーバッジ */
.news-category-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.badge-info {
    background-color: #f0edf5;
    color: var(--color-primary);
}

.badge-schedule {
    background-color: #fdf6e2;
    color: #b08a11;
}

.badge-general {
    background-color: #eafbf7;
    color: #11b08a;
}

/*// ==========================================
   8. デモ用管理画面フローティングボタン
   ========================================== //*/
.demo-admin-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.demo-admin-floating a {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-bg-deep);
    color: var(--color-white);
    border: 2px solid var(--color-secondary);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(30, 18, 51, 0.3);
    transition: all 0.3s ease;
}

/* ホバー時の共通スタイル */
.demo-admin-floating a:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    background-color: var(--color-primary);
    color: var(--color-white);
    opacity: 1;
}

/* PC（マウス操作）でのみ、ホバー時にボタンが浮き上がるようにする */
@media (hover: hover) {
    .demo-admin-floating a:hover {
        transform: translateY(-3px);
    }
}

.demo-admin-floating .icon {
    font-size: 1.1rem;
    display: inline-block;
    animation: spin-gear 6s linear infinite;
}

@keyframes spin-gear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* スマホ（768px以下） */
@media screen and (max-width: 768px) {
    .demo-admin-floating {
        bottom: 20px;
        right: 20px;
    }
    .demo-admin-floating a {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

