@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Shippori+Mincho:wght@400;500;600&family=Zen+Old+Mincho:wght@400;500;600&family=Zen+Maru+Gothic:wght@400;500;700&family=Kiwi+Maru:wght@300;400;500&display=swap');

/* Custom Mimosa Theme - Le Blancs Style Structure + Elegant Mimosa (Refined) */

:root {
    /* Elegant Palette ("Shin-ga-aru") */
    --mimosa-yellow-primary: #fcf6c5;
    /* Very pale pastel yellow */
    --mimosa-yellow-light: #fcf2d9;
    /* Richer Beige (User Request) */
    --mimosa-yellow-accent: #e8d04d;
    /* Muted gold for small accents only */

    --mimosa-green-accent: #d0e8d0;
    /* Pale sage green */
    --mimosa-green-dark: #6e7a6e;
    /* Muted olive gray */

    /* Le Blancs Style Variables (Updated for Soft & Sophisticated theme) */
    --base-font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Quicksand", "Helvetica Neue", Arial, sans-serif;
    --heading-font-family: "Kiwi Maru", "Shippori Mincho", "Zen Old Mincho", serif;
    --text-color-main: #555555;
    /* Softer gray, not black */
    --heading-color: #4a4a4a;
    /* Graceful dark gray */

    /* Backgrounds */
    --body-bg: #fcf2d9;
    /* Richer Beige */
    --footer-bg: #f9efd9;
}

body {
    background-color: var(--body-bg);
    color: var(--text-color-main);
    font-family: var(--base-font-family);
    overflow-x: hidden;
    padding-top: 180px;
    /* Large margin (User Request: Ensure clear separation) */
}

/* =========================================
   Global Reset & Typography
   ========================================= */

body {
    font-family: var(--base-font-family) !important;
    color: var(--text-color-main) !important;
    background-color: var(--body-bg) !important;
    background-image: none !important;
    line-height: 2.2;
    /* Increased line height for elegant breathing room */
    letter-spacing: 0.08em;
    /* Added tracking for sophisticated look */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* PC: 単語途中で改行しない */
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
}

h1,
h2,
h3,
h4,
h5,
h6,
.gf {
    font-family: var(--heading-font-family) !important;
    color: var(--heading-color) !important;
    font-weight: 500 !important;
    /* Lighter weight */
    letter-spacing: 0.15em;
    /* Wide spacing */
}

/* =========================================
   Le Blancs Specific Structural Styles
   ========================================= */

/* Blurry Frame (Refined: Subtle White) */
.lb-blurry-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: 15px solid rgba(255, 255, 255, 0.7);
    /* Thinner, more transparent */
    pointer-events: none;
    z-index: 10000;
    box-sizing: border-box;
    filter: blur(8px);
    /* Increased blur */
}

/* Header (Le Blancs Style) */
.lb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all 0.5s ease;
    background: var(--body-bg);
    min-height: 80px;
    display: flex;
    align-items: center;
}

.lb-header.scrolled {
    background: var(--body-bg) !important;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    min-height: 80px;
}

.lb-header-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding: 0 50px;
    position: relative;
}

/* Logo */
.lb-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.lb-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    max-width: 100%;
    display: block;
}

.logo-img:hover {
    opacity: 0.9;
}

/* Desktop Navigation (Le Blancs dual-language style) */
.lb-nav-desktop {
    display: flex;
    align-items: center;
    height: 100%;
}

.lb-nav-desktop ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.lb-nav-desktop a {
    text-decoration: none;
    display: inline-block;
    color: #5d4037;
    letter-spacing: 1px;
    text-align: center;
    padding: 5px 5px 5px;
    transition: color 0.5s ease;
}

.lb-nav-desktop a b {
    font-weight: 400;
    font-family: "Marcellus", var(--base-font-family), sans-serif;
    font-size: 14px;
    letter-spacing: 0.15em;
    display: block;
}

.lb-nav-desktop a span {
    margin-top: 6px;
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #6d4c41;
    letter-spacing: 0.05em;
}

.lb-nav-desktop a:hover {
    color: var(--mimosa-yellow-accent);
}

.lb-nav-desktop a:hover b,
.lb-nav-desktop a:hover span {
    color: var(--mimosa-yellow-accent);
}

.lb-nav-desktop .lb-nav-sns {
    display: flex;
    align-items: center;
}

.lb-nav-desktop .sns-icon {
    font-size: 18px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-nav-desktop .lb-nav-sns a {
    padding: 5px;
    display: flex;
    align-items: center;
}

/* Hamburger Button (Le Blancs Style) - Hidden on Desktop */
.lb-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10002;
    position: relative;
    padding: 8px 8px 2px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    align-self: center;
    margin-left: auto;
}

.lb-hamburger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 40px;
    gap: 8px;
}

.lb-hamburger span {
    display: block;
    height: 1px;
    background: #5d4037;
    transition: all 0.5s ease;
}

.lb-hamburger span:nth-child(1) {
    width: 40px;
}

.lb-hamburger span:nth-child(2) {
    width: 30px;
}

.lb-hamburger.active span:nth-child(1) {
    width: 30px;
    transform: rotate(45deg) translate(3px, 5px);
}

.lb-hamburger.active span:nth-child(2) {
    width: 30px;
    transform: rotate(-45deg) translate(3px, -5px);
}

.lb-mobile-menu-btn p {
    font-family: var(--base-font-family);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin-top: 4px;
    color: #5d4037;
    font-weight: 400;
    text-align: right;
}

/* Legacy class support */
.lb-nav .en {
    font-size: 13px;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.lb-nav .sns-icon {
    font-size: 18px;
    margin-top: 5px;
    color: #aaa;
}

/* Hero Section */
.lb-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.lb-hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomSlow 30s infinite alternate;
    /* Slower zoom */
}

@keyframes zoomSlow {
    from {
        transform: scale(1.0);
    }

    to {
        transform: scale(1.08);
    }
}

.lb-hero-text {
    position: absolute;
    top: 50%;
    left: 12%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--heading-font-family);
    font-size: 22px;
    /* Slightly smaller for refinement */
    line-height: 2.8;
    /* Very airy */
    letter-spacing: 0.4em;
    /* Extremely wide spacing */
    color: #333;

    /* Removed box/shadow for cleaner look, added text-shadow for readability */
    background: transparent;
    box-shadow: none;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.8);
    padding: 0;
}

.lb-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    /* Moved to right like Le Blancs */
    left: auto;
    text-align: center;
}

.lb-scroll-indicator p {
    font-family: var(--base-font-family);
    font-size: 10px;
    letter-spacing: 0.3em;
    margin-bottom: 15px;
    writing-mode: vertical-rl;
    color: #888;
}

.lb-scroll-indicator .line {
    width: 1px;
    height: 80px;
    background: #ccc;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Moving line animation inside scroll indicator */
.lb-scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    transform: translateY(-100%);
    animation: scrollLine 2.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Sections */
.lb-section {
    padding: 160px 0;
    /* Huge vertical padding */
}

.lb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.lb-section-title {
    text-align: center;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
}

.lb-section-title .en {
    display: block;
    font-family: var(--heading-font-family);
    font-size: 13px;
    /* Smaller, more delicate */
    color: #c7b198;
    /* Muted gold/brown */
    letter-spacing: 0.3em;
    /* Very wide tracking for luxury feel */
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

/* Decorative lines framing the English title */
.lb-section-title .en::before,
.lb-section-title .en::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    /* Shorter lines */
    height: 1px;
    background-color: rgba(232, 208, 77, 0.8);
    /* Mimosa accent */
}

.lb-section-title .en::before {
    left: -35px;
}

.lb-section-title .en::after {
    right: -35px;
}

.lb-section-title .jp {
    display: block;
    font-size: 20px;
    /* Slightly larger, softer */
    color: var(--heading-color);
    letter-spacing: 0.1em;
    font-weight: 400;
    /* Softer weight */
}

/* Concept */
.lb-concept {
    background-color: #fdfdfb;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lb-concept-decoration-left,
.lb-concept-decoration-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 150%;
    /* Taller */
    width: 320px;
    /* Wider (User Request) */
    opacity: 0.2;
    /* Fainter */
    pointer-events: none;
    z-index: 0;

    /* Tiled Pattern for Smaller Flowers */
    background-image: url('/wp-content/uploads/custom_mimosa/mimosa_small_flowers.png');
    background-size: 700px auto;
    /* Extremely Large (User Request) */
    background-repeat: repeat;
    background-position: center;
}

.lb-concept-decoration-left {
    left: -5%;
}

.lb-concept-decoration-right {
    right: -5%;
    transform: translateY(-50%) scaleX(-1);
    /* Flip for symmetry */
}

/* Img removed for background pattern approach */
.lb-concept-decoration-left img,
.lb-concept-decoration-right img {
    display: none;
}

.lb-concept .lb-container {
    position: relative;
    z-index: 1;
}

.lb-concept p {
    line-height: 2.4;
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
    letter-spacing: 0.05em;
}

.lb-concept h3 {
    font-size: 20px;
    margin-bottom: 40px;
    letter-spacing: 0.15em;
}

/* Services Grid */
.lb-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns */
    gap: 30px;
    /* Adjusted gap to fit 4 columns better */
}

/* 3-column grid for the new Service Menu structure */
.lb-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    .lb-grid-4,
    .lb-grid-3 {
        grid-template-columns: 1fr;
        /* Stack vertically on small mobile */
        gap: 40px;
    }
}

.lb-card {
    text-align: center;
}

.lb-card-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* 写真の周りをふわっとぼかすマスク */
.lb-card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 30px 15px rgba(252, 242, 217, 0.7);
    pointer-events: none;
    z-index: 1;
    border-radius: 8px;
}

.lb-card-img img {
    width: 100%;
    aspect-ratio: 9/13;
    object-fit: cover;
    border-radius: 8px;
    /* Slight rounding for a software rectangular look */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
    filter: brightness(0.98);
}

.lb-card:hover .lb-card-img img {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    filter: brightness(1.05);
    /* Brighten on hover */
}

.lb-card-text {
    padding: 30px 10px;
}

.lb-card-text h4 {
    font-family: var(--heading-font-family);
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--heading-color);
    letter-spacing: 0.1em;
}

.lb-card-text p {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
    min-height: 40px;
    line-height: 1.8;
}

.lb-readmore {
    font-size: 11px;
    color: #aaa;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}

.lb-readmore:hover {
    color: var(--mimosa-yellow-accent);
    border-color: var(--mimosa-yellow-accent);
}

/* お試しセッション枠 */
.lb-trial-box {
    max-width: 700px;
    margin: 50px auto 0;
    padding: 3px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8d04d, #c7b198, #e8d04d);
}

.lb-trial-inner {
    background: #fffdf5;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
}

.lb-trial-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e8d04d, #c7b198);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 30px;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.lb-trial-inner h4 {
    font-family: var(--heading-font-family);
    font-size: 22px;
    color: var(--heading-color);
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}

.lb-trial-inner p {
    font-size: 13px;
    color: #777;
    line-height: 2.0;
    margin-bottom: 25px;
}

.lb-btn-trial {
    background: linear-gradient(135deg, #e8d04d, #c7b198) !important;
    color: #fff !important;
    border: none !important;
}

.lb-btn-trial:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.lb-btn-trial span,
.lb-btn-trial i {
    color: #fff !important;
}

@media (max-width: 768px) {
    .lb-trial-inner {
        padding: 30px 20px;
    }

    .lb-trial-inner h4 {
        font-size: 19px;
    }
}

/* ========================================= */
/* News Section (ニュースセクション)        */
/* ========================================= */
.lb-news-section {
    padding: 50px 0 30px;
    background: var(--body-bg);
}

.lb-news-section .lb-container {
    max-width: 800px;
}

.lb-news-section-title {
    text-align: center;
    margin-bottom: 30px;
}

.lb-news-section-title .en {
    font-family: "Marcellus", serif;
    font-size: 20px;
    letter-spacing: 0.2em;
    color: #b8a065;
}

/* 期間限定ニュース カード */
.lb-news-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.lb-news-card {
    background: #fff;
    border: 1px solid #ddc;
    border-left: 4px solid #c7a94e;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-shadow: 0 3px 15px rgba(180, 160, 100, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

a.lb-news-card:hover {
    box-shadow: 0 5px 25px rgba(180, 160, 100, 0.15);
    transform: translateY(-2px);
}

a.lb-news-card:hover .lb-news-card-title {
    color: #b8a065;
}

.lb-news-card-img {
    width: 180px;
    min-height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.lb-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-news-card-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.lb-news-card-date {
    font-family: "Marcellus", serif;
    font-size: 12px;
    color: #b8a065;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.lb-news-card-title {
    font-family: var(--heading-font-family);
    font-size: 16px;
    font-weight: 500;
    color: var(--heading-color);
    line-height: 1.6;
    margin: 0;
}

.lb-news-card-text {
    margin-top: 8px;
    font-size: 13px;
    color: #777;
    line-height: 1.7;
}

.lb-news-card-text p {
    margin: 0;
}

/* ブログ更新通知 */
.lb-news-blog-update {
    display: block;
    text-decoration: none;
    padding: 12px 20px;
    border-bottom: 1px solid #e8e0cc;
    transition: background 0.3s ease;
}

.lb-news-blog-update:hover {
    background: rgba(199, 169, 78, 0.06);
}

.lb-news-blog-date {
    font-family: "Marcellus", serif;
    font-size: 12px;
    color: #b8a065;
    letter-spacing: 0.1em;
    margin-right: 12px;
}

.lb-news-blog-text {
    font-size: 13px;
    color: var(--text-color-main);
    line-height: 1.6;
}

/* 管理者用リンク（ログイン時のみ表示） */
.lb-news-admin-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.lb-news-admin-btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    color: #fff;
    background: #b8a065;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.lb-news-admin-btn:hover {
    opacity: 0.8;
}

.lb-news-admin-btn-sub {
    background: transparent;
    color: #b8a065;
    border: 1px solid #b8a065;
}

.lb-news-admin-btn-sub:hover {
    background: rgba(184, 160, 101, 0.1);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .lb-news-section {
        padding: 35px 0 20px;
    }

    .lb-news-section-title {
        margin-bottom: 20px;
    }

    .lb-news-card {
        flex-direction: column;
    }

    .lb-news-card-img {
        width: 100%;
        height: 180px;
        min-height: auto;
    }

    .lb-news-card-body {
        padding: 16px 18px;
    }

    .lb-news-blog-update {
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .lb-news-blog-date {
        margin-right: 0;
    }
}

/* Blog List */
.lb-blog-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lb-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.lb-blog-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.lb-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lb-blog-card:hover .lb-blog-img img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.lb-blog-content {
    padding: 20px;
}

.lb-blog-date {
    display: block;
    font-size: 11px;
    color: #999;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.lb-blog-title {
    font-size: 15px;
    color: var(--heading-color);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* Button Generic */
.lb-btn-wrapper {
    text-align: center;
    margin-top: 80px;
}

/* Buttons - Sophisticated Pill Design */
.lb-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    /* Slightly more gap for elegance */
    padding: 18px 45px;
    /* Wider padding for pill shape */
    background: transparent;
    color: var(--heading-color);
    text-decoration: none;
    font-family: var(--heading-font-family);
    font-size: 13px;
    /* Slightly smaller, more refined text */
    letter-spacing: 0.15em;
    border: 1px solid rgba(232, 208, 77, 0.6);
    /* Delicate mimosa yellow border */
    border-radius: 50px;
    /* Perfect pill shape */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Smooth easing */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.lb-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(232, 208, 77, 0.15);
    /* Very soft yellow fill on hover */
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lb-btn:hover {
    color: #4a4a4a;
    border-color: var(--mimosa-yellow-accent);
}

.lb-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.lb-btn i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 12px;
}

.lb-btn:hover i {
    transform: translateX(6px);
    /* Elegant slide animation */
}

/* Footer */
.lb-footer {
    background: #fcfcfc;
    color: #777;
    padding: 100px 0 40px;
    margin-top: 0;
    border-top: 1px solid #eee;
}

.lb-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    padding: 0 40px;
}

.lb-footer-col h5 {
    font-family: var(--heading-font-family);
    font-size: 14px;
    margin-bottom: 25px;
    letter-spacing: 0.15em;
    color: #aaa;
    font-weight: 400;
}

.lb-footer-col ul {
    list-style: none;
    padding: 0;
}

.lb-footer-col li {
    margin-bottom: 12px;
}

.lb-footer-col a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.lb-footer-col a:hover {
    color: var(--heading-color);
}

.social-links a {
    margin-right: 20px;
    font-size: 14px;
    text-decoration: none;
    color: #999;
}

.lb-copyright {
    text-align: center;
    margin-top: 100px;
    padding-top: 30px;
    opacity: 0.6;
}

.lb-footer-logo {
    font-family: var(--heading-font-family);
    font-size: 30px;
    margin-bottom: 15px;
    color: #ccc;
    letter-spacing: 0.1em;
}

/* =========================================
   Customer Voices Carousel
   ========================================= */

/* Adjusting Section Title for Voices to stand out on photo and look like clouds */
/* Adjusting Section Title for Voices to stand out on photo and look like clouds */
.lb-voices .lb-section-title .en {
    color: #ffffff;
    font-weight: 700;
    /* Bolder text for cloud effect */
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.15);
    /* White glow + soft dark shadow for depth */
}

.lb-voices .lb-section-title .jp {
    color: #ffffff;
    font-weight: 700;
}

/* Make the decorative lines bolder and white */
.lb-voices .lb-section-title .en::before,
.lb-voices .lb-section-title .en::after {
    background-color: #ffffff;
    height: 3px;
    /* Thicker line */
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
    /* Cloud-like glow */
}

.lb-voices {
    /* Show the full photo, zoomed in on the top-center to maximize the blue sky */
    background: url('/wp-content/uploads/custom_mimosa/voices_bg.jpg') center top no-repeat;
    background-size: 150%;
    /* Zoom in significantly */
    background-attachment: scroll;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
}

.lb-voices-carousel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full viewport width breakout */
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.lb-voices-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollVoices 60s linear infinite;
}

.lb-voices-track:hover {
    animation-play-state: paused;
    /* Pause on hover for reading */
}

@keyframes scrollVoices {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move left by exactly half the track width (the duplicated part) */
        transform: translateX(calc(-100% / 2 - 15px));
    }
}

.lb-voice-card {
    background: rgba(255, 255, 255, 0.95);
    /* Slightly translucent white */
    border-radius: 16px;
    /* Soft, elegant curves */
    padding: 35px 40px;
    /* More generous elegant breathing room */
    width: 380px;
    /* Slightly wider for better text flow */
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    /* Sophisticated soft shadow */
    flex-shrink: 0;
    white-space: normal;
    position: relative;
    border: none;
    /* Removed hard border for modern look */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.lb-voice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}

/* Elegant Mimosa Accents */
.lb-voice-card::before,
.lb-voice-card::after {
    content: '';
    position: absolute;
    width: 60px;
    /* Size similar to the quote mark */
    height: 60px;
    background-image: url('/wp-content/uploads/custom_mimosa/mimosa_small_flowers.png');
    background-size: 120px auto;
    /* Scale pattern to show a nice accent sprig */
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25;
    /* Subtle elegance */
    pointer-events: none;
    z-index: 0;
}

.lb-voice-card::before {
    top: 15px;
    left: 20px;
}

.lb-voice-card::after {
    bottom: 15px;
    right: 20px;
    transform: rotate(180deg);
    /* Flip it for the bottom-right corner */
}

.lb-voice-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    align-items: center;
    /* Center header for elegance */
    border-bottom: 1px solid rgba(200, 185, 170, 0.2);
    /* Delicate separator */
    padding-bottom: 15px;
}

.lb-voice-tag {
    font-family: var(--heading-font-family);
    /* Use the elegant English font */
    font-size: 10px;
    padding: 0;
    /* Remove button-like padding */
    border-radius: 0;
    display: inline-block;
    width: fit-content;
    letter-spacing: 0.2em;
    /* Wide elegant tracking */
    text-transform: uppercase;
}

.lb-voice-tag.aroma {
    background-color: transparent;
    color: #b59e5e;
    border: none;
}

.lb-voice-tag.treatment {
    background-color: transparent;
    color: #937d71;
    border: none;
}

.lb-voice-name {
    font-family: var(--base-font-family);
    /* Elegant Japanese Serif */
    font-size: 15px;
    font-weight: 400;
    /* Lighter weight */
    color: var(--heading-color);
    letter-spacing: 0.1em;
}

.lb-voice-text {
    font-family: var(--base-font-family);
    /* Elegant Japanese Serif */
    font-size: 14px;
    color: #444;
    /* Slightly darker for contrast against translucency */
    line-height: 2.2;
    /* Taller, more elegant line height */
    letter-spacing: 0.06em;
    position: relative;
    z-index: 1;
    text-align: left;
}

/* Response on mobile */
@media (max-width: 768px) {
    .lb-voice-card {
        width: 280px;
        padding: 25px;
    }

    .lb-voices-track {
        gap: 20px;
        animation-duration: 40s;
    }

    /* モバイル/タブレット: VOICES文字を大きく目立たせる */
    .lb-voices .lb-section-title .en {
        font-size: 42px !important;
        font-weight: 900 !important;
        letter-spacing: 0.3em !important;
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }

    .lb-voices .lb-section-title .jp {
        font-size: 14px !important;
        letter-spacing: 0.2em !important;
    }

    /* タップで停止できることを示すカーソル */
    .lb-voices-track {
        cursor: pointer;
    }
}

/* =========================================
   Animation & Polish Styles
   ========================================= */

/* 1. Loading Screen (White Shutter) */
.lb-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 2.0s cubic-bezier(0.16, 1, 0.3, 1), visibility 2.0s;
    opacity: 1;
    visibility: visible;
}

.lb-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.lb-loader-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lb-loader-img {
    width: clamp(150px, 40vw, 400px);
    /* Responsive Logo Size */
    height: auto;
    object-fit: contain;
    animation: fadePulse 2s infinite;
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* 2. Scroll Animations (Fade-In-Up) */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* 3. Refined Typography Helper */
.vertical-text {
    writing-mode: horizontal-tb !important;
    letter-spacing: 0.3em !important;
    line-height: 2.8 !important;
}

/* 4. Mobile Menu Overlay - Le Blancs Style */
.lb-mobile-menu-overlay {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    display: none;
    opacity: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 120px;
    padding-bottom: 40px;
}

.lb-mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.lb-mobile-menu-overlay .lb-nav-mobile {
    text-align: left;
}

.lb-mobile-menu-overlay .lb-nav-mobile ul {
    display: block;
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.lb-mobile-menu-overlay .lb-nav-mobile li {
    border-bottom: 1px solid rgba(178, 178, 178, 0.3);
}

.lb-mobile-menu-overlay .lb-nav-mobile li:last-child {
    border-bottom: none;
}

.lb-mobile-menu-overlay .lb-nav-mobile a {
    font-family: var(--base-font-family);
    color: #5d4037;
    letter-spacing: 1px;
    font-weight: 400;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    padding: 15px 10px;
    transition: color 0.3s ease;
    position: relative;
}

.lb-mobile-menu-overlay .lb-nav-mobile a b {
    font-weight: 400;
    font-family: "Marcellus", var(--base-font-family), sans-serif;
    font-size: 28px;
    letter-spacing: 0.1em;
    display: block;
    line-height: 1.4;
}

.lb-mobile-menu-overlay .lb-nav-mobile a span {
    display: block;
    font-size: 14px;
    color: #8d6e63;
    margin-top: 4px;
    font-weight: 500;
    line-height: 1.4;
}

.lb-mobile-menu-overlay .lb-nav-mobile a:hover {
    color: var(--mimosa-yellow-accent);
}

.lb-mobile-menu-overlay .lb-nav-mobile a:hover b,
.lb-mobile-menu-overlay .lb-nav-mobile a:hover span {
    color: var(--mimosa-yellow-accent);
}

/* Mobile Menu Close Button (X) */
.lb-menu-close-btn {
    position: absolute;
    top: 30px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 0;
}

.lb-menu-close-btn span {
    display: block;
    width: 30px;
    height: 1px;
    background: #5d4037;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: background 0.3s ease;
}

.lb-menu-close-btn span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.lb-menu-close-btn span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lb-menu-close-btn:hover span {
    background: var(--mimosa-yellow-accent);
}

/* Mobile Menu SNS Icons - Large & Centered */
.lb-mobile-menu-sns {
    margin-top: 40px;
    display: flex;
    gap: 35px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.lb-mobile-menu-sns a {
    color: #5d4037;
    font-size: 32px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.lb-mobile-menu-sns a:hover {
    color: var(--mimosa-yellow-accent);
}

/* =========================================
   Split-Screen Hero Styles
   ========================================= */

.lb-hero-split {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    overflow: hidden;
    background-color: #fcfcf9;
    margin-top: 50px;
    /* Explicit extra gap for header (User Request) */
}

/* Left Side: Text & Mimosa BG */
.lb-hero-left {
    width: 35%;
    /* Reduced to ~1/3 */
    height: 100%;
    position: relative;
    margin-left: auto;
    /* Push to Right */
    background-color: #fcfcf9;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* Missing Styles Restored */
.lb-mimosa-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/custom_mimosa/mimosa_pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: saturate(0.8) brightness(1.1);
}

.lb-hero-content {
    position: relative;
    z-index: 20;
    padding: 20px;
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-hero-message {
    position: absolute;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);
    /* Center horizontally only */
    width: 100%;
    opacity: 0;
    transition: opacity 2.0s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Force text to hang from the top */
    pointer-events: none;
    /* Let clicks pass */
}

.lb-hero-message.active {
    opacity: 1;
    pointer-events: auto;
}

/* Right Side: Image Slider (Now on Left) */
.lb-hero-right {
    width: 65%;
    /* Increased to ~2/3 */
    height: 100%;
    position: absolute;
    left: 0;
    /* Move to Left */
    top: 0;
    z-index: 5;
    /* The Blend Effect: Masking (Flipped to blend right edge) */
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 15%);
    mask-image: linear-gradient(to left, transparent 0%, black 15%);
    pointer-events: none;
}

.lb-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 3.0s ease-in-out, transform 10s ease-out;
}

.lb-hero-img.active {
    opacity: 1;
    transform: scale(1.0);
}

/* Slider Navigation Dots */
.lb-hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 100;
}

.lb-hero-dot {
    width: 32px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.lb-hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.lb-hero-dot.active {
    background-color: #fff;
    width: 48px;
}

@media (max-width: 768px) {
    .lb-hero-nav {
        bottom: 30px;
        gap: 10px;
    }

    .lb-hero-dot {
        width: 24px;
        height: 2px;
    }

    .lb-hero-dot.active {
        width: 36px;
    }
}

/* Mobile Hero Adjustments — see main override block at bottom of file */

/* =========================================
   USER PIVOT: Force Horizontal Text
   ========================================= */

.vertical-text-hero {
    writing-mode: horizontal-tb !important;
    font-family: var(--heading-font-family);
    font-size: 15px !important;
    line-height: 1.9 !important;
    letter-spacing: 0.15em !important;
    color: #555;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    white-space: normal !important;
    text-align: left !important;
    max-width: 360px !important;
    width: 100% !important;
    display: inline-block;
    font-weight: 700 !important;
}

/* 3〜5枚目 セッション名スタイル（デスクトップ） */
.vertical-text-hero span[style*="font-size"] {
    display: block !important;
    line-height: 1.3 !important;
    margin-bottom: 5px !important;
}


/* 1枚目と2枚目のデスクトップ用スタイル */
.lb-hero-message.intro-msg {
    transform: translateX(-50%) !important;
}

.lb-hero-message.intro-msg:nth-of-type(2) {
    margin-top: 0 !important;
}

.vertical-text-hero.intro-text {
    font-size: 20px !important;
    line-height: 3.3 !important;
    letter-spacing: 0.1em !important;
}

/* モバイル: intro-msg のtranslateXを無効化（詳細はファイル末尾のモバイルブロックで管理） */
@media (max-width: 768px) {
    .lb-hero-message.intro-msg {
        transform: none !important;
    }

    .vertical-text-hero {
        max-width: 100% !important;
    }
}

.vertical-text {
    writing-mode: horizontal-tb !important;
    letter-spacing: 0.2em !important;
    line-height: 2.0 !important;
}

/* (Le Blanc style hamburger is defined in the main mobile block below) */

/* =========================================
   Hero Menu Transition & Refinements
   ========================================= */

/* White Overlay for Transition */
.lb-white-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--body-bg);
    /* Matches site bg */
    z-index: 15;
    /* Above Hero (5), Below Menu (20) */
    opacity: 0;
    pointer-events: none;
    transition: opacity 2.0s ease-in-out;
}

.lb-white-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Hero Menu Container */
.lb-hero-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    opacity: 0;
    /* Initially hidden */
    pointer-events: none;
    transition: opacity 1.5s ease-in-out;
    padding-top: 50px;
    /* Safety padding for menu items */
}

.lb-hero-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Menu Column - Stability Fixes */
.lb-menu-col {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    /* Critical for containing scale effect */
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    /* Fix: Force flex basis to prevent shifting */
    flex: 1 1 0;
}

.lb-menu-col:last-child {
    border-right: none;
}

/* Image Wrapper to isolate transform */
.lb-menu-img {
    height: 66%;
    /* Explicit height ratio */
    width: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 0.8s ease;
    /* Fix: Prevent backface visibility glitches */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: center;
    position: relative;
}

.lb-menu-text {
    height: 34%;
    /* Explicit height */
    width: 100%;
    background-color: #ffffff;
    /* White (User Request) */
    display: flex;
    align-items: flex-start;
    /* Top Align (User Request: 3 lines below image) */
    justify-content: center;
    color: #5d4037;
    /* Brown (User Request) */
    transition: background-color 0.3s ease;
    padding: 35px 20px 20px;
    /* Adjusted top padding (User Request: "More up!") */
    box-sizing: border-box;
    z-index: 2;
    /* Ensure text stays on top */
    position: relative;
    /* Text Shadow for readability if needed, but starting clean */
}

.lb-menu-text-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Space between JP and EN */
}

.jp-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #a18e87;
    /* Lighter brown/gray */
    font-weight: 400;
}

.en-calligraphy {
    font-family: 'Dancing Script', cursive !important;
    font-size: 26px !important;
    color: #a3816e;
    /* Elegant muted color */
    margin-top: -3px;
    /* Pull it slightly closer to the Japanese text */
    font-weight: 700;
    letter-spacing: 0.05em;
}

.lb-menu-text h3.jp-calligraphy {
    margin: 0 auto;
    /* Center block */
    font-family: var(--heading-font-family);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    /* text-indent removed to avoid off-center look */
    text-align: center;
    color: #5d4037 !important;
    /* Force Brown */
    width: auto;
    /* Let it fit content */
}

/* Hover Effects */
.lb-menu-col:hover .lb-menu-img {
    transform: scale(1.05);
    /* Smooth scale */
}

.lb-menu-col:hover .lb-menu-text {
    background-color: #f9f9f9;
    /* Slightly off-white on hover */
}

/* Fade Out States for Hero Elements (Optional now with white overlay, but good backup) */
.lb-hero-content.fade-out,
.lb-hero-right.fade-out,
.lb-scroll-indicator.fade-out {
    opacity: 0 !important;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

/* Mobile Responsiveness for Menu */
@media (max-width: 768px) {
    .lb-hero-menu {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        overflow-y: auto;
    }

    .lb-menu-col {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        min-height: 200px;
    }

    .lb-menu-img {
        flex: auto;
        /* Allow flex on mobile if needed, or keep explicit */
        height: 60%;
    }

    .lb-menu-text {
        height: 40%;
    }

    .lb-menu-text h3.jp-calligraphy {
        font-size: 1.1rem;
    }
}

/* =========================================
   Access & Reservation Page Styles
   ========================================= */

.access-section {
    margin-bottom: 60px;
}

.access-title {
    font-size: 22px;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 10px;
}

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

.info-box {
    background: #ffffff;
    /* Brighter, cleaner white for contrast */
    border: none;
    /* No border, relying on shadow */
    border-radius: 16px;
    /* Soft modern corners */
    padding: 40px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
    /* Elegant drop shadow */
}

.info-box p {
    margin-bottom: 15px;
    color: var(--text-color-main);
    line-height: 1.8;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box strong {
    color: var(--heading-color);
    font-weight: 600;
}

.highlight-text {
    color: #e5b33a;
    /* Slightly darker mimosa yellow for readable text */
    font-weight: 600;
}

/* CTA Container inside Info Box */
.cta-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-placeholder {
    max-width: 150px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Schedule Grid */
.schedule-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .schedule-grid {
        flex-direction: column;
        align-items: center;
    }
}

.schedule-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Soft sophisticated shadow */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    min-width: 200px;
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    /* Deeper shadow on hover */
}

.schedule-card h5 {
    font-size: 16px;
    color: var(--heading-color);
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.schedule-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.schedule-card p:last-child {
    margin-bottom: 0;
}

/* ========================================= */
/* Calendar (セッション日程カレンダー)      */
/* ========================================= */
.aromaria-calendar-wrap {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.aromaria-cal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    padding: 24px 20px;
    min-width: 280px;
    max-width: 340px;
    flex: 1;
}

.aromaria-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    font-size: 16px;
    padding: 8px 12px;
    transition: color 0.2s ease;
}

.cal-nav-btn:hover {
    color: var(--heading-color);
}

.aromaria-cal-header {
    text-align: center;
    font-family: "Marcellus", serif;
    font-size: 15px;
    letter-spacing: 0.15em;
    color: #b8a065;
}

.aromaria-cal-header .cal-year {
    font-size: 12px;
    color: #aaa;
    display: block;
    margin-bottom: 2px;
}

.aromaria-cal-header .cal-month {
    font-size: 18px;
    color: var(--heading-color);
    font-family: var(--heading-font-family);
}

.aromaria-cal table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.aromaria-cal th {
    font-family: "Marcellus", serif;
    font-size: 11px;
    color: #bbb;
    text-align: center;
    padding: 6px 0;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.aromaria-cal th.sun { color: #e0a0a0; }
.aromaria-cal th.sat { color: #a0b8d8; }

.aromaria-cal td {
    text-align: center;
    padding: 3px;
    vertical-align: middle;
}

.aromaria-cal-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 13px;
    color: #888;
    transition: all 0.25s ease;
    position: relative;
}

.aromaria-cal-day.today {
    font-weight: 600;
    color: var(--heading-color);
}

.aromaria-cal-day.today::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b8a065;
}

.aromaria-cal-day.available {
    background: linear-gradient(135deg, #f8c8d4, #f0a0b8);
    color: #7a2040;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220, 100, 140, 0.3);
}

.aromaria-cal-day.past {
    color: #d5d0c8;
}

.aromaria-cal-day.past.available {
    background: #f0dce2;
    color: #c0a0a8;
    box-shadow: none;
}

/* 管理者モード: クリック可能 */
.aromaria-cal.admin-mode .aromaria-cal-day:not(.past) {
    cursor: pointer;
}

.aromaria-cal.admin-mode .aromaria-cal-day:not(.past):hover {
    background: rgba(220, 100, 140, 0.12);
    transform: scale(1.15);
}

.aromaria-cal.admin-mode .aromaria-cal-day.available:not(.past):hover {
    background: linear-gradient(135deg, #f0b0c0, #e888a0);
    transform: scale(1.15);
}

.aromaria-cal-day.saving {
    opacity: 0.5;
}

/* 凡例 */
.aromaria-calendar-legend {
    text-align: center;
    margin-top: 20px;
}

.legend-item {
    font-size: 12px;
    color: #999;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.available {
    background: linear-gradient(135deg, #f8c8d4, #f0a0b8);
    box-shadow: 0 1px 4px rgba(220, 100, 140, 0.3);
}

/* 管理者用ヒント */
.aromaria-calendar-admin-hint {
    text-align: center;
    font-size: 12px;
    color: #b8a065;
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(184, 160, 101, 0.08);
    border-radius: 8px;
    display: inline-block;
    width: 100%;
}

/* レスポンシブ */
@media (max-width: 640px) {
    .aromaria-calendar-wrap {
        gap: 20px;
    }

    .aromaria-cal {
        min-width: unset;
        max-width: 100%;
        width: 100%;
        padding: 20px 16px;
    }
}

/* Policy List */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.policy-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
    padding-left: 0;
}

.policy-list li::before {
    display: none;
}

.policy-list li strong {
    color: #d9534f;
    /* Soft red for emphasis on cancellation */
}

/* =========================================
   FAQ (Q&A) Section Styles
   ========================================= */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border: none;
    /* Remove subtle borders */
    border-radius: 16px;
    /* Soft corners */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 15px 45px rgba(232, 208, 77, 0.15);
    /* Soft yellow glow when active */
    background: #ffffff;
}

.faq-question {
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    user-select: none;
}

.faq-question h3 {
    font-size: 16px;
    color: var(--heading-color);
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    padding-right: 30px;
    /* Space for the toggle icon */
}

/* "Q." Marker */
.faq-question h3::before {
    content: 'Q.';
    font-family: var(--heading-font-family);
    color: #c7b198;
    /* Elegant muted color */
    font-size: 20px;
    font-weight: 600;
    margin-right: 12px;
    line-height: 1.2;
    flex-shrink: 0;
    /* Prevent the Q from shrinking */
}

/* Plus/Minus Toggle Icon */
.faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background-color: #a18e87;
    transition: transform 0.3s ease;
}

.faq-toggle::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-toggle::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

/* Active State: Turn Plus into Minus */
.faq-item.active .faq-toggle::after {
    transform: rotate(90deg) scale(0);
}

.faq-item.active .faq-toggle::before {
    transform: rotate(180deg);
    background-color: var(--mimosa-yellow-accent);
}

/* Answer Area */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    background: #fdfdfb;
}

.faq-answer-inner {
    padding: 0 25px 25px 25px;
    /* ensure left padding exists if needed, but absolute A will take space */
    display: block;
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Large enough to hold the content */
}

.faq-item.active .faq-answer-inner {
    opacity: 1;
}

.faq-answer-inner p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 10px;
    padding-left: 36px;
    /* Space for the A. marker */
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* "A." Marker */
.faq-answer-inner::before {
    content: 'A.';
    position: absolute;
    left: 25px;
    top: -2px;
    /* Slight adjustment to align with p baseline */
    font-family: var(--heading-font-family);
    color: var(--mimosa-yellow-accent);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .faq-toggle {
        right: 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
        /* ensure left padding exists if needed, but absolute A will take space */
    }
}

/* =========================================
   About Page "Letter" (便箋) Style
   ========================================= */

.letter-box {
    background: #ffffff;
    border-radius: 12px;
    /* Soft card corners */
    padding: 70px 60px;
    /* Ample breathing room like a stationary */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
    /* Extremely soft shadow */
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* Optional: Subtle vertical lines for "ruled paper" feel (commented out for cleaner look) */
    /* background-image: repeating-linear-gradient(transparent, transparent 48px, rgba(232, 208, 77, 0.1) 48px, rgba(232, 208, 77, 0.1) 49px); */
    /* background-position: 0 35px; */
}

/* Styling the paragraphs inside the letter */
.letter-box p {
    font-size: 15px;
    /* Readable comfortable size */
    line-height: 2.4;
    /* Wide line height for elegance */
    letter-spacing: 0.1em;
    /* Wide tracking for relaxed reading */
    color: #555555;
    margin-bottom: 2em;
    /* Space between paragraphs */
}

/* Removing margin from the last paragraph before signature */
.letter-box p:last-of-type {
    margin-bottom: 0;
}

/* Signature Area */
.letter-signature {
    text-align: right;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(232, 208, 77, 0.4);
    /* Delicate mimosa separating line */
    position: relative;
}

.letter-signature p {
    font-size: 14px;
    color: #4a4a4a;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .letter-box {
        padding: 40px 30px;
    }

    .letter-box p {
        font-size: 15px !important;
        /* Up from 14px */
        line-height: 2.2;
    }
}

/* =========================================
   Comprehensive Mobile & Tablet Adjustments
   ========================================= */
@media (max-width: 768px) {

    /* Global Spacing */
    body {
        padding-top: 90px !important;
        /* Matches exact height of the new 2-row header to prevent white gaps */
    }

    /* Override Hardcoded HTML Inline Padding on All Subpages */
    .subpage-container {
        padding-top: 20px !important;
        /* Squish the original 150px gap */
        padding-bottom: 40px !important;
    }

    /* Header */
    .lb-header-inner {
        padding: 0 20px;
    }

    .logo-img {
        height: 40px;
        /* Smaller logo for mobile */
    }

    /* Section Titles */
    .lb-section-title .en {
        letter-spacing: 0.2em;
        /* Prevent wrapping */
        font-size: 13px !important;
        /* Up from 11px */
    }

    .lb-section-title .en::before,
    .lb-section-title .en::after {
        width: 15px;
        /* Shorter decorative lines */
    }

    .lb-section-title .en::before {
        left: -25px;
    }

    .lb-section-title .en::after {
        right: -25px;
    }

    .lb-section-title .jp {
        font-size: 18px !important;
        /* Up from 16px */
    }

    /* Buttons */
    .lb-btn {
        padding: 14px 30px;
        /* Smaller pill padding */
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    /* Info Boxes & Cards */
    .info-box {
        padding: 25px 20px;
        /* Reduce massive padding */
        font-size: 14px !important;
        /* Explicitly set a larger base size */
    }

    .lb-voice-card {
        padding: 25px;
        /* Reduce voice card padding */
        width: 300px;
    }
}

/* =========================================
   MOBILE & TABLET HEADER: Le Blancs Style
   ========================================= */
@media (max-width: 1024px) {

    /* Hide Desktop Nav, Show Hamburger */
    .lb-header .lb-nav-desktop {
        display: none !important;
    }

    .lb-mobile-menu-btn {
        display: flex !important;
    }

    .lb-header .lb-header-inner {
        padding: 10px 20px !important;
    }
}

@media (max-width: 768px) {

    .logo-img {
        height: 45px;
    }

    /* --- 2. Hero Section: Le Blancs Style (画像とテキストが重なり合うレイアウト) --- */
    /* --- 2. Hero Section: Le Blancs風オーバーレイスタイル --- */
    .lb-hero-split {
        margin-top: 0 !important;
        height: 75svh !important;
        min-height: 0 !important;
        max-height: 75svh !important;
        position: relative !important;
        overflow: hidden !important;
        display: block !important;
        background-color: #fcfcf9 !important;
    }

    /* 画像エリア：フルスクリーン背景 */
    .lb-hero-right {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1 !important;
        order: unset !important;
        /* マスクなし：画像をフルに表示 */
        -webkit-mask-image: none !important;
        mask-image: none !important;
        pointer-events: none !important;
    }

    /* 5枚目：上半分カット＋拡大 */
    .lb-hero-right .lb-hero-img:nth-child(5) {
        background-position: center bottom !important;
        background-size: 250% !important;
    }

    /* テキストエリア：画像にオーバーレイ（下部にグラデーション） */
    .lb-hero-left {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 2 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        /* グラデーション：上半分は透明、下半分で背景色にフェード */
        background: linear-gradient(
            to bottom,
            transparent 35%,
            rgba(252, 252, 249, 0.4) 50%,
            rgba(252, 252, 249, 0.85) 65%,
            rgba(252, 252, 249, 1) 80%
        ) !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        flex: unset !important;
    }

    /* ミモザ背景パターン：オーバーレイモードでは非表示 */
    .lb-mimosa-bg {
        display: none !important;
    }

    /* テキストコンテナ */
    .lb-hero-content {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 30px 90px !important;
        width: 100% !important;
        display: grid !important;
        align-items: start !important;
        align-content: start !important;
    }

    /* テキストスライド：gridで重ね合わせ + opacity遷移で同期 */
    .lb-hero-message {
        grid-row: 1 !important;
        grid-column: 1 !important;
        align-self: start !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        transition: opacity 2.0s ease-in-out !important;
        pointer-events: none !important;
    }

    .lb-hero-message.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* テキストサイズ（ルブラン風：左寄せ） */
    .vertical-text-hero {
        font-size: 16px !important;
        line-height: 1.8 !important;
        letter-spacing: 0.08em !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        text-shadow: none !important;
        color: #4e4e4e !important;
        font-weight: 500 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* イントロテキスト（1・2枚目） */
    .vertical-text-hero.intro-text {
        font-size: 19px !important;
        line-height: 2.2 !important;
        font-weight: 700 !important;
    }

    /* 3〜5枚目のセッション名（見出し部分） */
    .vertical-text-hero span[style*="font-size"] {
        font-size: 1.4em !important;
        display: block !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
    }

    /* スライダーナビゲーションドット */
    .lb-hero-nav {
        z-index: 3 !important;
        bottom: 20px !important;
        gap: 8px !important;
    }

    .lb-hero-dot {
        width: 20px !important;
        height: 2px !important;
        background-color: rgba(100, 80, 60, 0.3) !important;
    }

    .lb-hero-dot:hover {
        background-color: rgba(100, 80, 60, 0.6) !important;
    }

    .lb-hero-dot.active {
        width: 32px !important;
        background-color: rgba(100, 80, 60, 0.7) !important;
    }

    /* =========================================
   小さい画面向け微調整 (iPhone SE / <= 400px)
   ========================================= */
    @media (max-width: 400px) {

        .lb-nav ul {
            gap: 8px !important;
        }

        .lb-nav .en {
            font-size: 8.5px !important;
            letter-spacing: 0.05em !important;
        }

        .lb-hero-left {
            background: linear-gradient(
                to bottom,
                transparent 30%,
                rgba(252, 252, 249, 0.4) 45%,
                rgba(252, 252, 249, 0.85) 60%,
                rgba(252, 252, 249, 1) 75%
            ) !important;
        }

        .vertical-text-hero {
            font-size: 14px !important;
        }

        .vertical-text-hero.intro-text {
            font-size: 16px !important;
        }
    }
}

/* =========================================
   Profile Section (Front Page)
   ========================================= */
.lb-profile {
    padding: 80px 0;
    background-color: #ffffff !important;
}

.lb-profile-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.lb-profile-img {
    flex: 0 0 300px;
    width: 300px;
}

.lb-profile-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.lb-profile-text {
    flex: 1;
}

.lb-profile-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.lb-profile-text p {
    font-size: 14px;
    line-height: 2.0;
    margin-bottom: 15px;
    color: var(--text-color-main);
}

.lb-profile-signature {
    margin-top: 25px;
    font-size: 13px !important;
    color: #888 !important;
    line-height: 1.8 !important;
}

.lb-profile-signature span {
    font-size: 18px !important;
    font-family: var(--heading-font-family);
    color: var(--heading-color) !important;
    letter-spacing: 0.15em;
}

.lb-profile .lb-btn-wrapper {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .lb-profile-content {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }

    .lb-profile-img {
        flex: 0 0 auto;
        width: 220px;
        margin: 0 auto;
    }

    .lb-profile-text h3 {
        font-size: 18px;
        text-align: center;
    }

    .lb-profile-text p {
        text-align: left;
    }
}

/* =========================================
   Blog Single Post Styles
   ========================================= */
.blog-single-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #999;
}

.blog-single-title {
    font-family: var(--heading-font-family);
    font-size: 24px;
    font-weight: 500;
    color: var(--heading-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.blog-single-thumbnail {
    margin-bottom: 40px;
    text-align: center;
}

.blog-single-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-single-content {
    font-size: 16px;
    line-height: 2.2;
    color: #555;
}

.blog-single-content p {
    margin-bottom: 1.8em;
}

.blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-single-content figure {
    margin: 30px 0;
    text-align: center;
}

.blog-single-content figcaption {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

/* 絵文字サイズを大きくしないように調整（全ページ共通） */
img.wp-smiley,
.emoji {
    display: inline !important;
    width: 1em !important;
    height: 1em !important;
    margin: 0 0.05em 0 0.1em !important;
    vertical-align: -0.1em !important;
    border: none !important;
    box-shadow: none !important;
}

/* ブログ記事エリア全体を白背景で囲う */
.blog-single-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .blog-single-wrapper {
        padding: 30px 20px;
        border-radius: 8px;
    }
}

/* 記事末尾のaromariaロゴ */
.blog-end-logo {
    text-align: center;
    margin: 50px 0 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.blog-end-logo img {
    width: 120px;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.blog-end-logo img:hover {
    opacity: 1;
}

/* Blog Post Navigation */
.blog-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.blog-nav-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
    color: var(--heading-color);
    max-width: 45%;
    transition: opacity 0.3s ease;
}

.blog-nav-link:hover {
    opacity: 0.7;
}

.blog-nav-link.next {
    text-align: right;
    margin-left: auto;
}

.blog-nav-label {
    font-size: 12px;
    color: #999;
    letter-spacing: 0.1em;
}

.blog-nav-title {
    font-size: 14px;
    line-height: 1.6;
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 50px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    color: var(--heading-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--heading-color);
    color: #fff;
    border-color: var(--heading-color);
}

@media (max-width: 768px) {
    .blog-single-title {
        font-size: 20px;
    }
    .blog-post-nav {
        flex-direction: column;
    }
    .blog-nav-link {
        max-width: 100%;
    }
    .blog-nav-link.next {
        text-align: left;
    }
}

/* Blog Listing Page (home.php) */
.blog-header {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
    color: var(--text-color-main);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.blog-card .img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.blog-card .img-wrapper img,
.blog-card .blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.blog-category {
    display: inline-block;
    padding: 2px 10px;
    background-color: var(--mimosa-green-accent);
    color: var(--mimosa-green-dark);
    font-size: 11px;
    border-radius: 3px;
}

.blog-date {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.05em;
}

.blog-card .blog-title {
    font-size: 15px;
    color: var(--heading-color);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 10px;
    font-family: var(--heading-font-family);
}

.blog-card .blog-excerpt {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Front page blog card responsive fix */
@media (max-width: 768px) {
    .lb-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .lb-blog-card {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }
    .lb-blog-img {
        height: auto;
        aspect-ratio: 3 / 2;
    }
}

/* =========================================
   SERVICE MENU PAGE
   ========================================= */
.service-list-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(230, 215, 120, 0.5);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(165, 114, 74, 0.1);
}
.service-list-title {
    font-family: var(--heading-font-family);
    color: var(--heading-color);
    font-size: 1.6em;
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--heading-color);
    padding-bottom: 10px;
    display: inline-block;
}
.service-list-desc {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .service-list-item {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    .service-list-content { flex: 1; }
    .service-list-img { width: 300px; flex-shrink: 0; }
    .service-list-item:nth-child(even) { flex-direction: row-reverse; }
}

/* =========================================
   SERVICE DETAIL PAGES (shared)
   ========================================= */
.service-detail-section {
    margin-bottom: 60px;
}
.service-detail-title {
    font-family: var(--heading-font-family);
    color: var(--heading-color);
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}
.service-detail-subtitle {
    font-family: var(--heading-font-family);
    color: var(--text-color);
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: normal;
}
.service-feature {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(230, 215, 120, 0.5);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}
.service-feature h4 {
    color: var(--heading-color);
    margin-bottom: 10px;
    font-size: 1.1em;
    border-bottom: 1px dotted var(--heading-color);
    padding-bottom: 5px;
    display: inline-block;
}
.flow-list {
    list-style: none;
    padding: 0;
    counter-reset: flow-counter;
}
.flow-list li {
    position: relative;
    margin-bottom: 25px;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px 20px 20px 60px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}
.flow-list li::before {
    counter-increment: flow-counter;
    content: counter(flow-counter);
    position: absolute;
    left: 15px;
    top: 20px;
    background: var(--heading-color);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--heading-font-family);
}
.recommend-list {
    list-style: none;
    padding: 0;
}
.recommend-list > li {
    margin-bottom: 15px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.recommend-list > li i {
    color: var(--accent-color);
    margin-top: 5px;
    margin-right: 15px;
}
.recommend-list strong {
    display: block;
    color: var(--heading-color);
    font-size: 1.05em;
    margin-bottom: 5px;
    line-height: 1.6;
}
.recommend-list ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 5px;
}
.recommend-list ul li {
    margin-bottom: 5px;
    color: var(--text-color);
}
.recommend-list.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}
.recommend-list.grid-layout > li {
    display: flex;
    align-items: flex-start;
}
.recommend-list.flex-layout > li {
    display: flex;
    align-items: flex-start;
}
.bonus-box {
    background: linear-gradient(135deg, rgba(230, 215, 120, 0.1), rgba(255, 255, 255, 0.8));
    border: 2px solid var(--accent-color);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}
.bonus-box h3 {
    color: var(--heading-color);
    margin-bottom: 15px;
}
.price-box {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    margin-top: 40px;
}
.price-amount {
    font-size: 2em;
    color: var(--heading-color);
    font-family: var(--heading-font-family);
    font-weight: bold;
    margin: 15px 0;
}
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dotted #ccc;
    flex-wrap: wrap;
}
.price-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.price-item .name {
    font-size: 1.1em;
    color: var(--text-color);
    text-align: left;
}
.price-item .amount {
    font-size: 1.4em;
    color: var(--heading-color);
    font-family: var(--heading-font-family);
    font-weight: bold;
}
.nav-oil-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 239, 214, 0.5));
    border: 2px solid var(--accent-color);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}
.nav-oil-box h3 {
    color: var(--heading-color);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.4em;
}
.voice-list {
    list-style: none;
    padding: 0;
}
.voice-list li {
    position: relative;
    background: #fff;
    padding: 25px 30px 25px 50px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    line-height: 1.8;
}
.voice-list li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    background-image: url('/wp-content/uploads/custom_mimosa/mimosa_small_flowers.png');
    background-size: 80px auto;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
}
.trial-banner {
    background: linear-gradient(135deg, var(--accent-color), #d9c464);
    color: #e83e8c;
    padding: 35px 25px;
    text-align: center;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(230, 215, 120, 0.4);
}
.trial-banner h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    color: #e83e8c;
}
.trial-banner p {
    margin-bottom: 20px;
    line-height: 1.6;
}
.trial-banner .lb-btn {
    background: #fff;
    color: var(--heading-color);
    border-color: #fff;
}
.trial-banner .lb-btn:hover {
    color: #fff;
    background: transparent;
    border-color: #fff;
}

/* Taiken page trial banner override */
.taiken-trial-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 239, 214, 0.5));
    border: 2px solid var(--accent-color);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}
.taiken-trial-banner h3 {
    color: var(--heading-color);
    font-size: 1.8em;
    margin-bottom: 20px;
}
.taiken-trial-banner .price {
    font-size: 1.4em;
    color: #d35400;
    font-weight: bold;
    margin-bottom: 15px;
}
.taiken-trial-banner .note {
    font-size: 0.9em;
    color: var(--text-color);
    margin-bottom: 25px;
}
.voice-bubble {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: block;
    text-align: left;
}
.voice-bubble p {
    margin: 0 0 10px 0;
    line-height: 1.8;
    color: var(--text-color);
}
.voice-bubble p:last-child {
    margin-bottom: 0;
}
.final-cta {
    background: var(--card-bg);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin-top: 60px;
}
.final-cta h3 {
    color: var(--heading-color);
    margin-bottom: 20px;
    font-family: var(--heading-font-family);
}

@media (max-width: 768px) {
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .price-item .amount { align-self: flex-end; }
    .voice-bubble { text-align: left; padding: 15px 8px !important; }
}

/* =========================================
   BREADCRUMB (SEO)
   ========================================= */
.breadcrumb-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px 0;
    font-size: 13px;
}
.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.breadcrumb-list li {
    color: #999;
}
.breadcrumb-list li + li::before {
    content: '>';
    margin: 0 8px;
    color: #ccc;
}
.breadcrumb-list li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumb-list li a:hover {
    color: var(--heading-color);
}

/* =========================================
   COMPREHENSIVE MOBILE FIX (2026-03)
   Photo cutoff, line breaks, images, icons
   ========================================= */

/* --- Mobile: Fix <br> tag line break issues --- */
@media (max-width: 768px) {
    /* Service detail pages: intro paragraphs with centered <br> */
    .service-detail-section p[style*="text-align: center"] br,
    .service-feature p br,
    .bonus-box p br,
    .nav-oil-box p br {
        display: none;
    }
    .service-detail-section p[style*="text-align: center"],
    .bonus-box p {
        text-align: left !important;
    }

    /* Letter box (About/Profile): natural wrapping */
    .letter-box p br {
        display: none;
    }

    /* Subpage image: prevent cutoff, force responsive */
    .subpage-container img,
    .service-detail-section img,
    .service-feature img,
    .flow-list img,
    .info-box img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }

    /* Profile page flex card overflow fix */
    .subpage-container div[style*="min-width: 250px"] {
        min-width: 0 !important;
        width: 100% !important;
    }
    .subpage-container div[style*="display: flex"][style*="flex-wrap"] {
        gap: 20px !important;
        padding: 20px !important;
    }

    /* Fix 0.5em tax text too small on mobile */
    .price-amount span[style*="font-size: 0.5em"],
    .price-item .amount span[style*="font-size: 0.5em"] {
        font-size: 0.65em !important;
    }

    /* Fix breadcrumb padding on mobile */
    .breadcrumb-nav {
        padding: 20px 15px 0 !important;
    }

    /* Fix section padding on mobile */
    .lb-section {
        padding: 80px 0 !important;
    }
    .lb-section-title {
        margin-bottom: 50px !important;
    }

    /* Footer mobile */
    .lb-footer-inner {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    .lb-copyright {
        margin-top: 40px;
    }

    /* Hide blurry frame on mobile - interferes with header */
    .lb-blurry-frame {
        display: none !important;
    }

    /* Fix concept decorations overflow on mobile */
    .lb-concept-decoration-left,
    .lb-concept-decoration-right {
        width: 150px !important;
        opacity: 0.1 !important;
    }
}

/* --- Tablet adjustments (769px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .lb-section {
        padding: 100px 0;
    }
}

/* =========================================
   ver 3.2: モバイル・タブレット用テキスト調整
   PC版は中央寄せ＋br改行、モバイルは左寄せ＋自然改行
   ========================================= */
@media (max-width: 1024px) {
    /* モバイル: 自然な改行設定 */
    body {
        word-break: normal !important;
        line-break: auto !important;
    }

    /* 全ページ: 左右余白を削減（メッセージセクション以外） */
    .lb-container {
        padding: 0 10px !important;
    }
    /* メッセージセクションだけ元の余白を維持 */
    .lb-concept .lb-container {
        padding: 0 40px !important;
    }
    /* サブページコンテンツ余白 */
    .subpage-container .lb-page-content {
        padding: 0 2px !important;
    }

    /* メッセージセクション: 左寄せ */
    .lb-concept {
        text-align: left;
    }

    /* お試しセッション: バッジ・タイトル・ボタンは中央、テキストだけ左寄せ */
    .lb-trial-inner p {
        text-align: left;
    }

    /* ※メニューカード (.lb-card) は中央のまま変更なし */

    /* br改行をモバイルでは非表示（自然な折り返しにする） */
    .lb-concept-content br,
    .lb-concept-content h3 br,
    .lb-trial-inner br,
    .lb-profile-text > p br {
        display: none;
    }

    /* プロフィールページ: h3を小さく */
    .lb-page-text > h3 {
        font-size: 1.3em !important;
    }

    /* プロフィールページ: 左寄せ＋自然改行（日付・名前より上の本文のみ） */
    .lb-page-text > p {
        text-align: left;
    }
    .lb-page-text > p br {
        display: none;
    }

    /* セッションメニューページ: タイトル小さく */
    .service-list-title {
        font-size: 1.2em !important;
    }

    /* セッションメニューページ: 文章は左寄せ＋自然改行 */
    .service-list-desc {
        text-align: left;
    }
    .service-list-desc br {
        display: none;
    }

    /* セッションメニューページ: ボタン中央 */
    .service-list-content {
        text-align: center;
    }
    .service-list-desc {
        text-align: left;
    }

    /* セッションメニューページ: ボタンと写真の間に余白 */
    .service-list-content .lb-btn {
        margin-bottom: 30px;
    }

    /* サービス詳細: 冒頭の説明文（私たちの背骨は...）左寄せ */
    .lb-page-text > .fade-in-up[style*="text-align: center"] {
        text-align: left !important;
    }

    /* サービス詳細: 冒頭の見出し（波動の高い...）左寄せ＋小さく */
    .lb-page-text > h3.service-detail-title {
        font-size: 1.0em !important;
        text-align: left !important;
    }

    /* 価格表示を小さく */
    .price-amount {
        font-size: 1.4em !important;
    }

    /* サービス詳細: セクション内タイトル（施術の特徴/流れ/こんな方）中央＋小さく */
    .service-detail-section .service-detail-title {
        text-align: center !important;
        font-size: 1.0em !important;
    }

    /* こんな方におすすめです: 小さく */
    .recommend-list-section .service-detail-title {
        font-size: 1.0em !important;
    }

    /* bonus-box: タイトル小さく */
    .bonus-box h3 {
        font-size: 1.0em !important;
    }

    /* trial-banner: 左寄せ＋小さく */
    .trial-banner {
        text-align: left !important;
    }
    .trial-banner h3 {
        font-size: 1.0em !important;
        text-align: left !important;
    }
    .trial-banner p {
        color: #e83e8c !important;
    }
    .trial-banner .lb-btn {
        display: flex !important;
        width: fit-content !important;
        margin: 0 auto !important;
    }

    /* アクセスページ: info-box内を左寄せ＋改行なし */
    .info-box p {
        text-align: left !important;
    }
    .info-box br {
        display: none;
    }

    /* はじめての方へページ: お試しリーディング見出し小さく＋余白削減 */
    .taiken-trial-banner {
        padding: 20px 10px !important;
    }
    .taiken-trial-banner h3 {
        font-size: 1.0em !important;
    }

    /* はじめての方へページ: お試しリーディング説明文を左寄せ＋改行なし */
    .taiken-trial-banner p {
        text-align: left !important;
    }
    .taiken-trial-banner p br {
        display: none;
    }

    /* はじめての方へページ: final-cta 左寄せ＋小さく＋余白削減 */
    .final-cta {
        text-align: center;
        padding: 20px 10px !important;
    }
    .final-cta h3 {
        font-size: 0.95em !important;
    }
    .final-cta p {
        text-align: left !important;
        padding: 0 !important;
    }
    .final-cta p br {
        display: none;
    }
}

/* =========================================
 * Device Visibility Classes
 * 管理画面からのデバイス表示制御用
 * ========================================= */

/* Mobile+Tablet only: PCでは非表示 */
@media (min-width: 1025px) {
    .show-mobile-tablet {
        display: none !important;
    }
}

/* PC only: モバイル+タブレットでは非表示 */
@media (max-width: 1024px) {
    .show-pc-only {
        display: none !important;
    }
}