@charset "UTF-8";

/* =========================================
   Base Variables
   ========================================= */
:root {
    --color-bg-gradient: linear-gradient(135deg, #d8b4fe 0%, #ffcfc8 50%, #ff8e60 100%);
    /* --color-beige-hero: #c5bba7; Hero section bg color */
    --color-text-pink: #f28695;
    --color-text-main: #333333;
    --color-white: #eee6e9;
    --color-bg-beige-light: #d9cfb7;
    --color-bg-violet-light: #e6d4ff;
    --color-bg-footer: #f0d0c6;
    --font-serif: "Noto Serif JP", serif;
}

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

body {
    font-family: var(--font-serif);
    color: var(--color-text-main);
    /*background: var(--color-white);  SP default */
    line-height: 1.8;
    background-color: #ffcfc8; 
}

/* =========================================
   Whatamesh用 CSS 
   ========================================= */

/* キャンバスを画面全体に固定し、一番奥(z-index: -1)に配置 */
#gradient-canvas {
    width: 100%;
    height: 100vh;
    position: fixed; /* スクロールしても背景は動かない */
    top: 0;
    left: 0;
    z-index: -1; /* コンテンツより後ろへ */
    display: block; /* SPでも表示する */
    
    /* ※ Whatameshの仕様でCSS変数を設定します */
    --gradient-color-1: #ff9994;
    --gradient-color-2: #ca90f9; 
    --gradient-color-3: #f28050; 
    --gradient-color-4: #F3C9BF;
}

/* =========================================
   SP Layout (Mobile First)
   ========================================= */

/* Header (SP) */
.sp-header {
    background-color: var(--color-text-pink);
    color: var(--color-white);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sp-header .header-inner img {
    width: 120px; 
    height: auto; 
    display: block;
}
.header-icons .material-symbols-outlined {
    font-size: 24px;
    margin-left: 10px;
    cursor: pointer;
}

/* メニューアイコンの色を白で固定 */
.header-icons #menu-open-btn {
    color: var(--color-white); 
    transition: color 0.3s;
}
.header-icons #menu-open-btn:hover {
    color: var(--color-white);
}


/* SP用ナビゲーションメニューのスタイル */
.sp-nav-menu {
    /* 画面全体に固定する設定は維持 */
    position: fixed;
    top: 60;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 90; /* ハンバーガーボタン(z-index:100)より下に配置 */
    background-color: rgba(240, 208, 198, 0.95); 
    
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s;
    
    /* 閉じた状態：要素自体を縦方向（Y軸）に -100% 移動 (画面上端の外側へ) */
    transform: translateY(-100%); 
    
    /* 閉じた状態：中身を完全に隠す */
    opacity: 0;
    visibility: hidden;
}

/* メニューが開いたときの状態 */
.sp-nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sp-nav-menu ul {
    list-style: none;
    margin-bottom: 30px;
}

.sp-nav-menu li a {
    display: block;
    padding: 30px 0;
    border-bottom: 0.5px solid #eee6e9;
    text-decoration: none;
    color: #f28695;
    font-weight: lighter;
    font-size: 1.1rem;
    text-align: center;
}

.sp-nav-menu .nav-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
.sp-nav-menu .nav-icons span {
    font-size: 32px;
    color: var(--color-text-main);
}

#menu-open-btn.open span::before {
    /* 上の線：斜め45度に回転させて下の線と交差させる */
    transform: translateY(6px) rotate(45deg);
}

#menu-open-btn.open span::after {
    /* 下の線：斜め-45度に回転させて上の線と交差させる */
    transform: translateY(-6px) rotate(-45deg);
}

#menu-open-btn.open span {
    /* 中央の線を透明にして消す */
    background-color: transparent;
}

/* PC表示ではSP用メニューを完全に非表示にする */
@media screen and (min-width: 1024px) {
    .sp-nav-menu {
        display: none !important;
    }
}

/* PC Elements (Hidden on SP) */
.pc-fixed-logo, .pc-fixed-nav {
    display: none;
}

/* Main Card (SP: Full width) */
.main-card {
    width: auto;
    background: #fff;
    overflow: hidden;
}

/* Hero Section */
.hero {
    background-color: var(--color-beige-hero);
    position: relative;
    /* padding-bottom: 40px;  */
}

.hero-inner {
    display: flex;
    flex-direction: column;
}

/* Text adjustments for Hero */
.hero-sub { font-size: 0.8rem; margin-bottom: 10px; }
.hero-catch { 
    font-size: 2.5rem; 
    color: var(--color-text-pink); 
    line-height: 1;
    margin: 10px 0;
    font-weight: bold;
}
.hero-desc { font-size: 0.8rem; color: #fff; }

.hero-image-box {
    width: 100%;
    overflow: hidden;
}
.hero-image-box img {
    width: 100%;
    display: block;
    border-radius: 0; 
}

/* 1. ドット全体の位置調整 */
.hero .slick-dots {
    /* スライダーの親要素に対する絶対位置を設定 */
    position: absolute; 
    
    /* 画像の下部から20px上に配置 */
    bottom: 20px; 
    
    /* 横方向の中央寄せ */
    left: 50%;
    transform: translateX(-50%);
    
    /* 他の要素より手前に表示する */
    z-index: 10; 
}

/* 2. ドット一つ一つ（丸い点）の見た目を調整 */
.hero .slick-dots li button:before {
    /* ドットのサイズ（文字の大きさ） */
    font-size: 10px; 
    
    /* ドットの色を白に設定（画像の上に重ねるため） */
    color: #eee6e9; 
    
    /* 非アクティブなドットを半透明にする */
    opacity: 0.5;
}

/* 3. 現在選択中のドットの見た目を調整 */
.hero .slick-dots li.slick-active button:before {
    /* 選択中のドットの色を白（または目立つ色）に設定 */
    color: #f28695; 
    
    /* 完全に不透明にする */
    opacity: 1;
}

/* Concept Section */
.concept {
    padding: 40px 20px;
    background-color: var(--color-white); 
    text-align: center; 
}

.concept-text-area {
    margin-top: 20px;
    height: auto; 
    position: relative;
    max-width: 90%; 
    margin-left: auto;
    margin-right: auto;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    line-height: 2.5;
    margin: 0 auto;
    display: block;
    font-weight: normal;
}

.concept-img-box img {
    /* 親要素の幅に対して100%の横幅にする */
    width: 50%; 
    /* 縦横比を保つために、高さを自動調整にする */
    height: auto; 
    margin-bottom: 30px;
}

/* アニメーションの初期状態 */
.main-message .text-line {
    display: block; 
    opacity: 0;
    filter: blur(10px); /* 最初は少しぼかす */
    transform: translateY(20px); /* 少し下に配置 */
    transition: opacity 1.5s ease-out, filter 1.5s ease-out, transform 1.5s ease-out;
    margin-left: 0.5em; /* 行間の調整（必要に応じて） */
}

/* アニメーション発火時のクラス */
.main-message.is-visible .text-line {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* 順番に表示させる遅延（Delay）設定 */
/* 縦書き(vertical-rl)なので、DOM順＝右の行から順になります */
.main-message.is-visible .text-line:nth-child(1) { transition-delay: 0.2s; }
.main-message.is-visible .text-line:nth-child(2) { transition-delay: 0.6s; }
.main-message.is-visible .text-line:nth-child(3) { transition-delay: 1.0s; }
.main-message.is-visible .text-line:nth-child(4) { transition-delay: 1.4s; }


/* Section 02: お知らせ */
.news {
    background-color: var(--color-white); 
    padding: 0;
}

/* お知らせリストの中央寄せ */
.news-list {
    list-style: none;
    padding: 0;
    max-width: 400px; /* PCでは幅を制限し、中央に寄せる */
    margin: 0 auto 30px auto; /* 中央寄せと下余白 */
    text-align: center;
}

.news-item {
    border-bottom: 1px solid #eee6e9;
    padding: 10px 0;
}
.news-item:last-child {
    border-bottom: none;
}

.news-date {
    display: inline-block;
    width: 90px;
    font-size: 0.9rem;
    color: var(--color-text-main);
}

.news-link {
    text-decoration: none;
    color: var(--color-text-main);
    transition: color 0.3s;
}
.news-link:hover {
    color: var(--color-text-pink);
}


/* Section 03: PICK UP */
.pickup {
    background-color: var(--color-white); 
}


/* Section 04: 読みもの */
.contents {
    background-color: var(--color-bg-violet-light); 
    border-top-left-radius: 50% 40px;
    border-top-right-radius: 50% 40px;
    
    /* 前のセクション（白背景）の上に被せるために上に引っ張り上げる */
    margin-top: -40px; 
    
    /* 中の文字がカーブに隠れないように余白を確保 */
    padding-top: 10px; 
    padding-bottom: 40px;
    
    /* 重なり順の指定（念のため） */
    position: relative;
    z-index: 10;
}


/* SP: 1カラム表示 */
.article-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr; 
    margin-bottom: 10px;
    margin-top: 0;
}

.article-card img {
    /* ... 既存のスタイル ... */
    
    /* ▼ 追記：アニメーションの適用時間を設定 */
    transition: all 0.3s ease-out;
}
.article-card img:hover {
    /* ▼ 追記：奥に引っ込むように見せ、少し暗くする */
    transform: scale(0.98);
    opacity: 0.9;
}

.article-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.contents-subtitle {
    margin-bottom: 1px; 
    
    margin-top: 10px; 
    font-size: 1.4rem;
    color: #534f53;
}

.contents .container {
    padding-bottom: 10px; 
}


/* Section 05: 実店舗のご案内 */
.store-info {
    background-color: var(--color-white); 
}
.divider-line-inside {
    background-color: var(--color-text-pink); 
    
    /* 線の高さ（太さ） */
    height: 1px; 
    
    /* 線の幅 */
    width: 95%; 
    
    /* マージンを調整:
       上: セクション上端から線を離す
       下: h1から線を離す */
    margin: 0 auto 30px auto; /* 上0、下30pxの余白 */
    
    /* PC表示での最大幅 */
    max-width: 500px;
}

.store-info .container {
    text-align: center; /* 全て中央寄せ */
}

.store-info img {
    width: 100%;
    max-width: 500px; /* PCでの幅制限 */
    height: auto;
    display: block;
    margin: 20px auto 30px auto; /* 画像を中央寄せ */
    border-radius: 10px;
    
}

.store-info p {
    margin-bottom: 1px;
}



/* footer */
.card-footer {
    background-color: var(--color-bg-footer);
}

.footer-logo-overlap-area {
    /* 親要素（.main-card）に対して位置を調整するために、親要素の直下である前提で記述 */
    position: relative; 
    width: 100%; /* 横幅いっぱい */
    height: 0; /* 高さはなく、ロゴがはみ出る空間を作る */
    text-align: center; /* 中央寄せ */
    z-index: 20; /* 他のコンテンツより手前に表示 */
}

.footer-logo-overlap-area img {
    /* ロゴ本体を上方向に移動 */
    position: absolute;
    bottom: 0; /* ラッパーの下端からスタート */
    left: 50%;
    transform: translate(-50%, 50%); /* 中央寄せと、自身の高さの50%分をフッターエリアに移動 */
    
    width: 70%; /* ロゴの幅 (カンプに合わせて調整) */
    height: auto;
}

.card-footer {
    padding: 60px 20px 40px; 
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    color: var(--color-text-pink);
    font-size: 1.4rem;
    font-weight: bold;
}

.footer-logo img {
    width: auto; 
    height: auto; 
    margin-right: 10px;
}

.footer-nav {
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
    text-align: center;
}

.footer-nav li {
    margin-bottom: 25px; /* リンク間のスペースを広げる */
    }


.footer-nav a {
    text-decoration: none;
    color: var(--color-text-pink);
    font-size: 1.1rem;
    font-weight: 400; 
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.copyright {
    color: var(--color-white);
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.8;
}


/* Components */
.container { padding: 40px 20px; text-align: center; }
.btn { 
    display: inline-block; padding: 12px 40px; 
    border-radius: 50px; text-decoration: none; margin-top: 20px; 
}
.btn-fill { 
    background: var(--color-text-pink); 
    color: #fff; 
    margin-bottom: 40px;
    transition: all 0.2s ease-out;
 }

.btn-fill:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* お知らせセクション用のボタン */
.btn-news {
    background: var(--color-white); 
    color: var(--color-text-main);
    /*border: 0.5px solid var(--color-text-main);*/
}

/* 読みものセクション用のボタン */
.btn-article {
    background: #ca90f9;
    color: var(--color-white);
    margin-bottom: 20px;
}

.section-title {
    /* 現在のサイズを上書きし、より大きく設定 */
    font-size: 2rem; 
}


.news .container {
    padding-top: 0;
    
    background-color: var(--color-bg-beige-light); 

    border-top-left-radius: 120px; 
    border-top-right-radius: 120px;
    padding: 40px 20px; 
}

.product-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.product-card img { 
    width: 100%; 
    /* border-radius: 50px; */
    transition: all 0.3s ease-out;
}

.product-img {
    position: relative; /* 疑似要素の位置基準 */
    overflow: hidden; /* 角丸の外にオーバーレイがはみ出さないように */
    border-radius: 50px; /* ここに角丸を設定 */
}

.product-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(231, 183, 146, 0.35); 
    
    opacity: 0; /* 初期状態は透明 */
    
    transition: opacity 0.3s ease-in-out; /* アニメーションを滑らかに */
    
    z-index: 5; /* 画像の上に重ねる */
}

/* ホバー時にオーバーレイを表示し、画像本体をわずかに拡大 */
.product-card:hover .product-img::before {
    opacity: 1; /* 不透明にして色を表示 */
}

.product-card:hover .product-img img {
    transform: scale(1.05); /* 5%拡大（画像にも動きを出す） */
}

.product-card img:hover {
    /* ▼ 追記：奥に引っ込むように見せ、少し暗くする */
    transform: scale(0.98);
    opacity: 0.9;
}
.product-card {
    max-width: 350px; 
    
    margin-left: auto;
    margin-right: auto;
}


/* =========================================
   PC Layout (Responsive > 1024px)
   ========================================= */
@media screen and (min-width: 1024px) {
    
    body {
        /* Gradient Background */
        background: var(--color-bg-gradient);
        background-attachment: fixed; /* Fix gradient on scroll */
        min-height: 100vh;
        display: flex;
        justify-content: center;
        padding: 40px 0; /* Top/Bottom spacing */
    }

    /* Hide SP Header */
    .sp-header { display: none; }

    /* Show PC Fixed Elements */
    .pc-fixed-logo {
        display: block;
        position: fixed;
        top: 40px;
        left: 40px;
        z-index: 200;
        width: 180px;
    }
    .pc-fixed-logo img { width: 100%; }

    .pc-fixed-nav {
        display: block;
        position: fixed;
        top: 50%;
        right: 40px;
        transform: translateY(-50%);
        z-index: 200;
        text-align: right;
        color: var(--color-white);
    }

    .pc-fixed-nav ul { list-style: none; margin-bottom: 30px; }
    .pc-fixed-nav li { margin-bottom: 15px; }
    .pc-fixed-nav a { 
        text-decoration: none; 
        color: var(--color-white); 
        font-size: 0.95rem; 
        letter-spacing: 0.1em;
        transition: opacity 0.3s;
    }
    .pc-fixed-nav a:hover { opacity: 0.7; }

    .nav-icons {
        display: flex;
        justify-content: flex-end;
        gap: 20px;
    }
    .nav-icons span { 
        font-size: 28px; 
        color: #eee6e9; }

    /* Main Card Layout */
    .main-card {
        width: 900px;
        max-width: 40%;
        background-color: #fff;
        border-radius: 40px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.1);
        position: relative;
        z-index: 10;
        margin: 0 auto; 
    }

    /* Hero Section PC Adjustments */
    .hero {
        border-radius: 40px 40px 0 0; /* カードの上端の丸みに合わせる */
        height: auto; 
        overflow: hidden;
        display: flex;
        align-items: center;
        position: relative;
    }

    .hero-inner {
        flex-direction: row; /* Side by side */
        width: 100%;
        height: 100%;
    }

    .hero-image-box {
        width: 100%; 
        height: 100%;
        position: relative;
        right: auto;
        top: auto;
    }

    .hero-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        clip-path: none;
        border-radius: 0; 
    }    

    /* Concept Section PC */
    .concept {
        padding: 100px 0;
        position: relative;
    }
    .concept-inner {
        padding: 0 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    .vertical-text {
        writing-mode: vertical-rl;
    font-size: 1.5rem;
        font-weight: 400;
        line-height: 1.0;
    }
    
    .main-message {
        font-size: 2rem;
        font-weight: 400;
        line-height: 1.8;
    }

    .card-footer {
        padding: 80px 40px 60px; /* PC用の余白を広げる */
    }
    .footer-logo {
        margin-bottom: 60px;
    }
    .footer-nav li {
        margin-bottom: 30px;
    }
}
    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
    }

@media screen and (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

