html, body {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100% !important;
    width: 100%;
}
#page, .site-container, main, .site-main {
    position: relative;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}
.relative {
    position: relative;
}

/* WordPress Admin Bar Overlap Prevention (Logged-in Users Only) */
body.admin-bar #masthead.site-header.header-sub {
    top: 0;
}
body.admin-bar .menu_mobile {
    top: 32px;
    height: calc(100% - 32px);
}
@media (max-width: 782px) {
    body.admin-bar .menu_mobile {
        top: 46px;
        height: calc(100% - 46px);
    }
}

/*
Theme Name: Sora Custom
Theme URI: 
Description: A highly optimized, staticized version of the Sora theme without Elementor or heavy plugins.
Author: Kagostyle (Customized by AntiGravity)
Author URI: 
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sora-custom
*/

/* ==========================================================================
   Sora Custom Semantic Layout CSS (front-page.php)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&display=swap');



/* Global Typography */
:root, body, .elementor-kit-47 {
    --e-global-typography-primary-font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
    --e-global-typography-secondary-font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
    --e-global-typography-text-font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
    --e-global-typography-accent-font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
}

/* Global Utilities */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: #fff; }
.bg-light { background-color: #f9f9f9; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 30px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.btn-primary {
    background-color: #BFA97E;
    color: #fff;
}
.btn-primary:hover {
    background-color: #fff;
    color: #BFA97E;
    border-color: #BFA97E;
}
.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover {
    background-color: #fff;
    color: #222;
}

/* Typography for Sections */
.subtitle {
    color: #BFA97E;
    font-size: 16px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.title {
    font-size: 28px;
    margin-bottom: 30px;
    line-height: 1.5;
}
.big-title {
    font-size: 80px;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: serif;
}
.acc-c {
    color: #49B3A8; /* Updated to match screenshot teal */
    font-size: inherit;
    font-weight: inherit;
}

/* Specific Sections */
section {
    padding: 80px 0;
}

/* Message Section */
.sec-message {
    position: relative;
    z-index: 15;
    margin-top: 0;
    padding-top: 0;
    background-color: transparent;
}
.sec-message .message-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}
.sec-message .message-text {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 30px;
    box-sizing: border-box;
}
.sec-message .subtitle {
    color: #BFA97E;
    font-size: 18px;
    margin-bottom: 0;
    display: block;
}
.sec-message .title {
    color: #333333;
    font-size: 30px;
    font-weight: 400;
    margin-top: 0.8em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 30px;
    line-height: 1.6;
}
.sec-message .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 1px;
    background-color: #333333;
}
.sec-message .feature-list {
    margin-top: 40px;
}
.feature-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EFEFEF;
}
.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-family: "Helvetica Neue", Arial, "Yu Gothic", "游ゴシック Medium", "游ゴシック体", "游ゴシック", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}
.feature-item p {
    font-size: 16px;
    color: #A8A8A8;
    margin-bottom: 0;
    line-height: 1.8;
    font-family: "Helvetica Neue", Arial, "Yu Gothic", "游ゴシック Medium", "游ゴシック体", "游ゴシック", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}
.sec-message .message-image {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: right;
    padding-left: 30px;
    box-sizing: border-box;
    margin-top: -115px;
}
.sec-message .message-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 20px 20px 0 0 #EDE7DA;
    display: block;
}
@media (max-width: 767px) {
    .sec-message {
        margin-top: 0;
        padding-top: 40px;
    }
    .sec-message .title {
        font-size: 24px;
    }
    .sec-message .message-text, .sec-message .message-image {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    .sec-message .message-image {
        margin-top: 40px; /* Reset the negative margin on mobile to prevent weird overlap */
        padding-right: 15px; /* Room for shadow */
    }
    .sec-message .message-image img {
        box-shadow: 15px 15px 0 0 #EDE7DA; /* Smaller shadow */
    }
    .sec-message .feature-item p {
        font-size: 14px;
    }
    .sec-message .title br,
    .sec-message .feature-item p br {
        display: none;
    }
}

/* About Section (Replicating Live Production Image 1) */
.sec-about {
    position: relative;
    overflow: hidden;
    background-color: #f6f6f6;
    padding: 80px 0 120px;
    width: 100%;
}

.about-section-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
}

.about-big-image-container {
    position: relative;
    width: 88%;
    margin: 0 auto 0 0;
}

.about-main-img {
    width: 100%;
    height: auto;
    display: block;
}

.fade-up-img {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: opacity, transform;
}
.fade-up-img.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-deco-text {
    font-family: 'Style Script', 'Mrs Saint Delafield', 'Pinyon Script', cursive, serif;
    font-size: 140px;
    font-weight: 400;
    color: #222222;
    position: absolute;
    bottom: 110px;
    right: 8%;
    z-index: 20;
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .about-content-box {
        background-color: #ffffff;
        max-width: 1040px;
        width: 78%;
        margin: -170px 0 0 14%;
        padding: 45px 50px;
        position: relative;
        z-index: 15;
        box-sizing: border-box;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    .about-text-inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
        box-sizing: border-box;
    }
    .about-text-left {
        flex: 1 1 auto;
        padding-right: 40px;
        text-align: left;
        box-sizing: border-box;
    }
    .about-title {
        font-size: 28px;
        font-weight: 400;
        color: #333333;
        margin-bottom: 18px;
        font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    }
    .about-desc {
        font-size: 15px;
        color: #333333;
        line-height: 1.85;
        margin-bottom: 0;
        font-family: 'Roboto', sans-serif !important;
        font-weight: 400;
    }
    .about-text-right {
        flex: 0 0 280px;
        text-align: right;
        position: relative;
        box-sizing: border-box;
    }
    .about-subtext {
        font-size: 22px;
        color: #333333;
        margin-top: 0;
        margin-bottom: 15px;
        white-space: nowrap;
        font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    }
    .about-btn {
        display: inline-block;
        background-color: #BFA97E !important;
        color: #ffffff !important;
        border: 1px solid #BFA97E !important;
        padding: 14px 35px;
        text-decoration: none;
        font-size: 15px;
        white-space: nowrap;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }
    .about-btn:hover {
        background-color: #a8946e !important;
        border-color: #a8946e !important;
        color: #ffffff !important;
    }
}

/* SP Layout (max 767px) */
@media (max-width: 767px) {
    .sec-about {
        background-color: #f6f6f6;
        padding: 60px 15px 40px;
    }
    .about-bottom-wrapper {
        background-color: transparent;
        padding: 0;
    }
    .about-content-box {
        background-color: #ffffff;
        margin: 0 auto;
        padding: 55px 20px 30px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about-deco-text {
        font-family: 'Style Script', 'Mrs Saint Delafield', 'Pinyon Script', cursive, serif;
        font-size: 80px;
        color: #333;
        position: absolute;
        top: -45px;
        right: 20px;
        left: auto;
        transform: none;
        z-index: 11;
        white-space: nowrap;
        line-height: 1;
        margin: 0;
        text-align: right;
    }
    .about-image-wrapper {
        width: 100%;
        margin: 0 0 20px 0;
    }
    .about-image-wrapper img,
    .about-image-wrapper picture {
        width: 100%;
        height: auto;
        display: block;
    }
    .about-text-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .about-text-left {
        width: 100%;
        padding-right: 0;
        text-align: left;
    }
    .about-title {
        font-size: 22px;
        font-weight: 400;
        color: #333;
        margin-bottom: 15px;
        text-align: left;
    }
    .about-desc {
        font-size: 14px;
        color: #333;
        line-height: 1.8;
        margin-bottom: 25px;
        font-family: 'Roboto', sans-serif !important;
        font-weight: normal;
        text-align: left;
    }
    .about-text-right {
        width: 100%;
        text-align: center;
    }
    .about-subtext {
        display: none !important;
    }
    .about-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        background-color: #BFA97E !important;
        color: #ffffff !important;
        border: 1px solid #BFA97E !important;
        padding: 14px 0;
        text-decoration: none;
        font-size: 15px;
        text-align: center;
        margin: 0 auto;
    }
}

/* Plan Grid */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.plan-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}
.plan-item:hover img {
    transform: scale(1.05);
}
.plan-item {
    overflow: hidden;
}

/* Voices Grid */
.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.voice-item img {
    width: 100%;
    border-radius: 8px;
}
.voice-item p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* Salon List */
.salon-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.salon-list li {
    background: #fff;
    padding: 15px 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    .big-title { font-size: 50px; }
    section { padding: 60px 0; }
    .sec-about { padding: 80px 0; background-attachment: scroll; }
}

/* Hero Section */
.hero-section { 
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - 100px); 
    min-height: 550px;
    position: relative; 
    left: 0 !important;
    transform: none !important;
    overflow: hidden; 
    margin: 0 !important; 
    padding: 0 !important;
}
.hero-container { width: 100%; height: 100%; position: relative; }
.hero-bg { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; }
.hero-text { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); z-index: 10; width: 100%; text-align: center; }
.hero-text img { 
    width: 90%; 
    max-width: 680px;
    height: auto; 
    margin: 0 auto; 
    display: block; 
    animation: fadeInHero 2s ease-in-out forwards;
    opacity: 0;
}
.hero-blur { position: absolute; bottom: -5%; left: 0; width: 100%; z-index: 5; }
.hero-blur img { width: 80%; height: auto; display: block; margin: 0 auto; }
.hero-scroll { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 20; color: #222a35; font-size: 22px; cursor: pointer; transition: color 0.3s; }
.hero-scroll:hover { color: #BFA97E; }

@keyframes fadeInHero {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .hero-section { height: 80vh; }
}
@media (max-width: 767px) {
    .hero-section { height: 60vh; margin-top: 0; }
    .hero-text { bottom: 5%; }
    .hero-text img { width: 95%; }
    .hero-blur { bottom: -5%; width: 150%; left: -25%; }
    .hero-blur img { width: 100%; }
}

/* Instagram Section */
@media (max-width: 767px) {
    .sec-instagram {
        padding: 60px 0;
    }
    .sec-instagram .sec-heading-centered .title {
        font-size: 24px;
    }
}
/* Instagram Section */
.sec-instagram {
    padding: 100px 0;
    background-color: #ffffff;
}
.sec-heading-centered {
    margin-bottom: 50px;
}
.sec-heading-centered .subtitle {
    color: #BFA97E;
    font-size: 18px;
    font-family: "Cormorant Garamond", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}
.sec-heading-centered .title {
    font-size: 30px;
    font-weight: 400;
    color: #333;
    position: relative;
    padding-bottom: 30px;
    margin-top: 15px;
    margin-bottom: 0;
}
.sec-heading-centered .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: #333333;
}

/* Contact CTA Section */
.sec-contact-cta {
    position: relative;
    padding: 85px 0;
    background-size: cover;
    background-position: center;
}
.sec-contact-cta .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #000000;
    opacity: 0.35;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 1;
}
.sec-contact-cta .container {
    position: relative;
    z-index: 2;
    color: #ffffff;
}
.sec-contact-cta .sec-heading-centered .subtitle {
    color: #ffffff;
}
.sec-contact-cta .sec-heading-centered .title {
    color: #ffffff;
}
.sec-contact-cta .sec-heading-centered .title::after {
    background-color: #ffffff;
}
.cta-lead {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: bold;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn-cta {
    flex: 1;
    display: inline-block;
    background-color: #ffffff !important;
    color: #BFA97E !important;
    border: 4px double #BFA97E !important;
    padding: 12px 0;
    text-align: center;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-cta:hover {
    background-color: #BFA97E !important;
    color: #ffffff !important;
}
@media (max-width: 767px) {
    .sec-contact-cta {
        padding: 70px 0;
    }
    .sec-contact-cta .container {
        padding: 0 12px;
        max-width: 100%;
    }
    .sec-contact-cta .sec-heading-centered .title {
        font-size: 24px;
    }
    .cta-lead {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 30px;
        padding: 0;
        font-weight: 500;
        text-wrap: wrap;
        max-width: 346px;
        margin-left: auto;
        margin-right: auto;
        word-break: normal;
        overflow-wrap: break-word;
        line-break: strict;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        margin: 0 auto;
    }
    .btn-cta {
        width: 100%;
        padding: 8px 0 !important;
        font-size: 14px;
    }
}

/* Plan Section */
@media (max-width: 767px) {
    .sec-plan {
        padding: 60px 0;
    }
    .sec-plan .sec-heading-centered .title {
        font-size: 24px;
    }
}
/* Plan Section */
.sec-plan {
    padding: 100px 0;
    background-color: #ffffff;
}
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.plan-item {
    text-align: center;
}
.plan-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.plan-item a:hover .plan-img-wrap img {
    transform: scale(1.05);
}
.plan-img-wrap {
    overflow: hidden;
    margin-bottom: 20px;
}
.plan-img-wrap img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}
.plan-info {
    padding: 0 10px;
}
.plan-name {
    font-size: 22px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}
.plan-price {
    font-size: 18px;
    color: #BFA97E;
    margin-bottom: 15px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.plan-price .tax {
    font-size: 14px;
}
.plan-desc {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: #333;
}
@media (max-width: 991px) {
    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .plan-grid {
        grid-template-columns: 1fr;
    }
}

/* Event & Campaign Section (Symmetric to About Section) */
.sec-event {
    position: relative;
    overflow: hidden;
    background-color: #f6f6f6;
    padding: 80px 0 120px;
    width: 100%;
}
.event-section-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
}
.event-big-image-container {
    position: relative;
    width: 88%;
    margin: 0 0 0 auto; /* Right-aligned opposite to About */
}
.event-main-img {
    width: 100%;
    height: auto;
    display: block;
}
.event-deco-text {
    font-family: 'Style Script', 'Mrs Saint Delafield', 'Pinyon Script', cursive, serif;
    font-size: 140px;
    font-weight: 400;
    color: #222222;
    position: absolute;
    bottom: 110px;
    left: 8%;
    z-index: 20;
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
}

/* PC Layout (768px+) */
@media (min-width: 768px) {
    .event-content-box {
        background-color: #ffffff;
        max-width: 1040px;
        width: 78%;
        margin: -170px 14% 0 auto;
        padding: 45px 50px;
        position: relative;
        z-index: 15;
        box-sizing: border-box;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
    .event-text-inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
        box-sizing: border-box;
    }
    .event-text-left {
        flex: 1 1 auto;
        padding-right: 40px;
        text-align: left;
        box-sizing: border-box;
    }
    .event-title {
        font-size: 28px;
        font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
        margin-bottom: 18px;
        color: #333333;
        font-weight: 400;
    }
    .event-desc {
        font-size: 15px;
        color: #333333;
        line-height: 1.85;
        margin-bottom: 0;
        font-family: 'Roboto', sans-serif !important;
        font-weight: 400;
    }
    .event-text-right {
        flex: 0 0 280px;
        text-align: right;
        position: relative;
        box-sizing: border-box;
    }
    .event-subtext {
        font-size: 22px;
        font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
        color: #333333;
        margin-top: 0;
        margin-bottom: 15px;
        white-space: nowrap;
    }
    .event-btn {
        display: inline-block;
        background-color: #BFA97E !important;
        color: #ffffff !important;
        border: 1px solid #BFA97E !important;
        padding: 14px 35px;
        text-decoration: none;
        font-size: 15px;
        white-space: nowrap;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }
    .event-btn:hover {
        background-color: #a8946e !important;
        border-color: #a8946e !important;
        color: #ffffff !important;
    }
}

/* SP Layout (max 767px) - Matches About SP Card Design with Right-Aligned Image */
@media (max-width: 767px) {
    .sec-event {
        background-color: #f6f6f6;
        padding: 60px 0 40px !important;
    }
    .event-big-image-container {
        width: 88%;
        margin: 0 0 0 auto; /* Event Image Right-Aligned */
    }
    .event-deco-text {
        font-family: 'Style Script', 'Mrs Saint Delafield', 'Pinyon Script', cursive, serif;
        font-size: 80px;
        color: #333;
        position: absolute;
        top: -45px;
        left: 20px;
        right: auto;
        transform: none;
        z-index: 11;
        white-space: nowrap;
        line-height: 1;
        margin: 0;
        text-align: left;
    }
    .event-content-box {
        background-color: #ffffff;
        margin: 0 auto;
        padding: 45px 20px 30px;
        position: relative;
        z-index: 15;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
    .event-text-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .event-text-left {
        width: 100%;
        padding-right: 0;
        text-align: left;
    }
    .event-title {
        font-size: 22px;
        font-weight: 400;
        color: #333;
        margin-bottom: 15px;
        text-align: left;
    }
    .event-desc {
        font-size: 14px;
        color: #333;
        line-height: 1.8;
        margin-bottom: 25px;
        font-family: 'Roboto', sans-serif !important;
        font-weight: normal;
        text-align: left;
    }
    .event-text-right {
        width: 100%;
        text-align: center;
    }
    .event-subtext {
        display: none !important;
    }
    .event-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        background-color: #BFA97E !important;
        color: #ffffff !important;
        border: 1px solid #BFA97E !important;
        padding: 14px 0;
        text-decoration: none;
        font-size: 15px;
        text-align: center;
        margin: 0 auto;
    }
}

/* Gallery Section */
@media (max-width: 767px) {
    .sec-gallery {
        padding: 60px 0;
    }
    .sec-gallery .sec-heading-centered .title {
        font-size: 24px;
    }
}
/* Gallery Section */
.sec-gallery {
    padding: 100px 0 80px;
    background-color: #ffffff;
    overflow: hidden; /* Prevent horizontal scroll when track overflows */
}

/* Gallery Carousel */
.gallery-carousel-outer {
    position: relative;
    margin: 50px auto 40px;
    padding: 0 60px;
    max-width: 1400px;
}
.gallery-track-wrap {
    width: 100%;
}
.gallery-track {
    display: flex;
    gap: 20px;
    /* transition is handled via JS */
}

/* Gallery Cell */
.gallery-cell {
    padding: 10px 0 20px;
    background: transparent !important;
    position: relative;
    cursor: pointer;
    border-radius: 12px;
}
.gallery-cell img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: transparent !important;
}
.gallery-cell::after {
    content: '';
    position: absolute;
    inset: 10px 0 20px 0;
    border-radius: 12px;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    pointer-events: none;
}
.gallery-cell:hover img {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
}
.gallery-cell:hover::after {
    background: rgba(0,0,0,0.06);
    transform: translateY(-6px);
}

/* Carousel Navigation Buttons */
.gallery-nav-btn {
    position: absolute;
    top: calc(50% - 10px); /* Adjust for padding on cell */
    transform: translateY(-50%);
    z-index: 10;
    color: #BFA97E;
    background: rgba(255,255,255,0.92);
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 30px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    line-height: 1;
    transition: background 0.3s, opacity 0.3s;
}
.gallery-nav-btn:hover {
    background: #ffffff;
}
.gallery-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.gallery-nav-prev {
    left: 10px;
}
.gallery-nav-next {
    right: 10px;
}

.gallery-btn-wrap {
    margin-top: 10px;
    text-align: center;
}
.gallery-btn {
    display: inline-block;
    background-color: #BFA97E;
    color: #ffffff !important;
    padding: 14px 60px;
    text-decoration: none !important;
    font-size: 16px;
    transition: all 0.3s;
}
.gallery-btn:hover {
    background-color: #a8946c;
}

/* Photographer Banner Section */
.sec-photographer-banner {
    padding-bottom: 80px;
    background-color: #ffffff;
}
.photographer-banner-link {
    display: block;
    overflow: hidden;
    transition: opacity 0.3s ease;
}
.photographer-banner-link:hover {
    opacity: 0.8;
}
.photographer-banner-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* New Modal Styles */
.sora-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}
.sora-modal-content {
    position: relative;
    display: inline-block; /* shrink wrap to image size */
}
.sora-modal-content img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 0;
    display: block;
}
.sora-modal-close {
    position: absolute;
    top: -35px;
    right: -35px;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    background: transparent !important;
    border: none;
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    line-height: 1;
    z-index: 10;
}
.sora-modal-close:hover {
    opacity: 0.7;
    background: transparent !important;
}

@media (max-width: 767px) {
    .gallery-carousel-outer {
        padding: 0 40px;
    }
    .gallery-nav-prev {
        left: -5px;
    }
    .gallery-nav-next {
        right: -5px;
    }
    .sora-modal-content img {
        max-width: 95vw;
        max-height: 95vh;
    }
    .sora-modal-close {
        top: -35px;
        right: 0px;
    }
}

/* Voices Section */
@media (max-width: 767px) {
    .sec-voices .sec-heading-centered .title {
        font-size: 24px;
    }
    .sec-voices .voices-grid,
    .voices-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}
/* Voices Section */
.sec-voices {
    padding: 100px 0 80px;
    background-color: #fcfcfc;
}
.voices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px auto 0;
}
.voice-item {
    background-color: #F5F6FA;
    padding: 15px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.voice-inner {
    background-color: #ffffff;
    padding: 15px 20px;
    flex: 1;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.sec-voices .voice-title {
    color: #F1B69B !important;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}
.voice-content {
    display: block;
}
.voice-text {
    text-align: left;
    font-size: 13px;
    line-height: 2;
    color: #555;
    font-family: 'Roboto', sans-serif;
}
.voice-img-wrap {
    float: right;
    width: 180px;
    margin: 0 0 15px 20px;
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.voice-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}
/* Clearfix for float */
.voice-content::after {
    content: "";
    display: table;
    clear: both;
}
.voice-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}
.btn-voices-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #c4b595;
    color: #ffffff !important;
    padding: 15px 40px;
    font-size: 14px;
    text-decoration: none;
    margin-top: 50px !important;
    transition: background-color 0.3s ease;
    letter-spacing: 1px;
}
.btn-voices-all:hover {
    background-color: #a8946c;
    color: #ffffff !important;
}

/* Salons Section */
@media (max-width: 767px) {
    .sec-salons {
        padding: 60px 0;
    }
    .sec-salons .sec-heading-centered .title {
        font-size: 24px;
    }
}
/* Salons Section */
.sec-salons {
    padding: 100px 0 80px;
    background-color: #ffffff;
}
.salons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}
.salon-card {
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.salon-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    z-index: 1;
}
.salon-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: background 0.4s ease;
}
.salon-card:hover .salon-bg {
    transform: scale(1.05);
}
.salon-card:hover::after {
    background: rgba(0, 0, 0, 0.6);
}
.salon-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-align: center;
    width: 100%;
    padding: 20px;
}
.salon-en {
    font-size: 14px;
    letter-spacing: 2px;
    font-family: 'Cormorant Garamond', serif;
    display: block;
    margin-bottom: 5px;
}
.sec-salons .salon-name {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 10px;
    letter-spacing: 1px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    color: #ffffff !important;
}
.salon-loc {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ffffff;
}
.salon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #c4b595;
    font-size: 14px;
    padding: 6px 15px;
    letter-spacing: 1px;
}
.salon-btn i {
    font-size: 8px;
    margin-left: 8px;
    color: #c4b595;
}

@media (max-width: 991px) {
    .salons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .voice-item {
        flex: 1 1 100%;
    }
}
@media (max-width: 767px) {
    .salons-grid {
        grid-template-columns: 1fr;
    }
    .voice-content {
        flex-direction: column;
    }
    .voice-img-wrap {
        width: 100%;
        max-width: 200px;
        margin: 0 auto 20px;
        order: -1;
    }
}

/* フッター コピーライト周りの余白調整 */
.elementor-element-b255f91 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-element-cd8f71b {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-element-cd8f71b .elementor-widget-wrap,
.elementor-element-cd8f71b .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* SP Sections Global Padding (60px) */
@media (max-width: 767px) {
    .sec-message,
    .sec-plan,
    .sec-gallery,
    .sec-voices,
    .sec-salons,
    .sec-instagram {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
}

/* SP Voices Grid & Layout Fix */
@media (max-width: 767px) {
    .sec-voices .voices-grid,
    .voices-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .voice-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .voice-img-wrap {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        background-color: transparent !important;
    }
    .voice-img-wrap img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        display: block !important;
    }
    .sec-voices .voice-title {
        width: 100% !important;
        text-align: left !important;
        margin-top: 4px !important;
        margin-bottom: 10px !important;
        font-size: 20px !important;
    }
    .voice-text {
        width: 100% !important;
        text-align: left !important;
    }
}

/* SP Footer Copyright Bottom Menu Padding */
@media (max-width: 767px) {
    .elementor-element-cd8f71b {
        padding-bottom: 75px !important;
    }
}

/* Page About Styles */
/* Sub Header Global Styling (Theme Header) */
header.top_panel .elementor-element-acbcd92,
header.top_panel .elementor-element-780bb44,
header.top_panel .elementor-spacer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
}

header.top_panel .elementor-element-8920715 {
    padding-top: 40px !important;
    padding-bottom: 50px !important;
    margin: 0 auto !important;
}

.sc_layouts_title_caption {
    color: #ffffff !important;
    font-size: 32px !important;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.sc_layouts_title_breadcrumbs,
.sc_layouts_title_breadcrumbs *,
.breadcrumbs,
.breadcrumbs * {
    color: #ffffff !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    text-transform: none !important;
}
.breadcrumbs a {
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

.sec-about-concept {
    padding: 90px 20px 70px;
    background-color: #ffffff;
}
.about-concept-sub {
    color: #BFA97E;
    font-size: 18px;
    font-family: "Cormorant Garamond", serif;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.about-concept-title {
    font-size: 30px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    color: #333333;
    margin-bottom: 20px;
    font-weight: 400;
}
.about-concept-divider {
    width: 60px;
    height: 1px;
    background-color: #333333;
    margin: 0 auto 35px;
}
.about-concept-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    max-width: 780px;
    margin: 0 auto;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.sec-about-family {
    padding: 75px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}
.sec-about-family .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}
.about-family-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.about-family-card {
    background-color: #ffffff;
    border: 1px solid #ececec;
    padding: 46px 42px;
    max-width: 540px;
    width: 40%;
    min-width: 420px;
    position: absolute;
    left: clamp(40px, 10%, 150px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}
.about-family-title {
    font-size: 24px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    color: #333333;
    margin-bottom: 20px;
    font-weight: 400;
}
.about-family-desc {
    margin-bottom: 28px;
}
.about-family-desc p {
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    margin: 0 0 12px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.about-family-desc p:last-child {
    margin-bottom: 0;
}
.btn-about-plan {
    display: inline-block;
    background-color: #BFA97E !important;
    color: #ffffff !important;
    border: 1px solid #BFA97E !important;
    padding: 13px 35px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-about-plan:hover {
    background-color: #a8946e !important;
}
.about-family-img {
    width: 60%;
    height: 450px;
    margin-left: auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.about-family-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}
@media (max-width: 1279px) and (min-width: 768px) {
    .about-family-card {
        left: 4%;
        width: 44%;
        min-width: 380px;
        max-width: 490px;
        padding: 36px 32px;
    }
    .about-family-img {
        width: 60%;
        height: 430px;
    }
}
@media (max-width: 1120px) and (min-width: 768px) {
    .about-family-card {
        left: 24px;
        width: 41%;
        min-width: 340px;
        max-width: 420px;
        padding: 30px 26px;
    }
    .about-family-img {
        width: 64%;
        height: 360px;
    }
}

.sec-about-speciality {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    box-sizing: border-box;
}
.sec-about-speciality .container {
    position: relative;
    z-index: 2;
}
.speciality-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.speciality-script {
    font-family: 'Style Script', 'Mrs Saint Delafield', 'Pinyon Script', cursive, serif;
    font-size: 110px;
    color: #ffffff !important;
    margin-bottom: 20px;
    line-height: 1;
    font-weight: normal;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.speciality-lead {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 1px;
    color: #ffffff !important;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
@supports (-webkit-touch-callout: none) {
    .sec-about-speciality {
        background-attachment: scroll;
    }
}

.sec-about-philosophy {
    padding: 100px 20px;
    background-repeat: repeat;
}
.philosophy-title {
    font-size: 28px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    color: #333333;
    margin-bottom: 45px;
    font-weight: 400;
}
.philosophy-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.philosophy-content p {
    font-size: 16px;
    line-height: 2.0;
    color: #444444;
    margin-bottom: 35px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

@media (max-width: 991px) {
    .sec-about-speciality {
        background-attachment: scroll;
    }
}
@media (max-width: 767px) {
    .sub-header-banner {
        padding: 80px 15px 50px;
    }
    .sub-header-title {
        font-size: 24px;
    }
    .sec-about-concept {
        padding: 50px 12px 40px;
    }
    .sec-about-concept .container {
        padding: 0;
    }
    .about-concept-title {
        font-size: 24px;
    }
    .about-concept-text {
        font-size: 16px;
        line-height: 1.9;
        text-align: left;
    }
    .sec-about-family {
        padding: 0 0 40px;
    }
    .sec-about-family .container {
        padding: 0;
        max-width: 100%;
    }
    .about-family-wrapper {
        flex-direction: column;
    }
    .about-family-img {
        width: 100%;
        height: 240px;
        order: 1;
        margin-bottom: 0;
    }
    .about-family-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 70% 25%;
    }
    .about-family-card {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        min-width: 0;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        order: 2;
        margin: -20px auto 0;
        padding: 28px 18px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    }
    .about-family-title {
        font-size: 20px;
    }
    .about-family-desc p {
        font-size: 16px;
        line-height: 1.9;
    }
    .btn-about-plan {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .sec-about-speciality {
        min-height: 450px;
        padding: 60px 15px;
        background-attachment: scroll;
    }
    .speciality-script {
        font-size: 64px;
    }
    .speciality-lead {
        font-size: 16px;
        line-height: 1.8;
    }
    .sec-about-philosophy {
        padding: 60px 12px;
    }
    .sec-about-philosophy .container {
        padding: 0;
    }
    .philosophy-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .philosophy-content p {
        font-size: 16px;
        line-height: 1.95;
        text-align: left;
        margin-bottom: 25px;
    }
    .philosophy-content p .pc-only-br,
    .philosophy-content p br.pc-only-br,
    .philosophy-content p br {
        display: none;
    }
}

/* ==========================================================================
   CLEAN HEADER & FOOTER STYLES (NO ELEMENTOR DEPENDENCY)
   ========================================================================== */

/* Sub Page Header Base */
#masthead.site-header.header-sub {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
}

/* Front Page Header (2枚目の本番デザイン再現) */
#masthead.site-header.header-front {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    min-height: 100px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    z-index: 100;
    background-color: #ffffff !important;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: visible !important;
}

.header-front .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.header-front .nav-left, .header-front .nav-right {
    flex: 1;
}

.header-front .nav-left .nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
    margin: 0 45px 0 0;
    padding: 0;
    list-style: none;
}

.header-front .nav-right .nav-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
    margin: 0 0 0 45px;
    padding: 0;
    list-style: none;
}

.header-front .nav-menu li {
    white-space: nowrap;
}

.header-front .nav-menu a {
    color: #333333 !important;
    text-decoration: none;
    font-size: 15.5px;
    letter-spacing: 0.5px;
    font-weight: 500;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    white-space: nowrap;
    display: inline-block;
    transition: color 0.3s;
}

.header-front .nav-menu a:hover {
    color: #BFA97E !important;
}

.header-front .site-logo {
    width: 125px;
    max-width: 125px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-sub .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-sub .nav-all .nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-sub .nav-menu li {
    white-space: nowrap;
}

.header-sub .nav-menu a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 15.5px;
    letter-spacing: 1px;
    font-weight: 500;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    white-space: nowrap;
    display: inline-block;
    transition: opacity 0.3s;
}
.header-sub .nav-menu a:hover {
    opacity: 0.8;
}

/* PC中間幅（992px〜1279px）でのナビゲーションはみ出し・折り返し防止 */
@media (min-width: 992px) and (max-width: 1279px) {
    .header-front .header-inner {
        padding: 0 20px;
    }
    .header-front .nav-left .nav-menu {
        gap: clamp(12px, 1.6vw, 24px);
        margin-right: clamp(16px, 2.2vw, 35px);
    }
    .header-front .nav-right .nav-menu {
        gap: clamp(12px, 1.6vw, 24px);
        margin-left: clamp(16px, 2.2vw, 35px);
    }
    .header-front .nav-menu a {
        font-size: clamp(13px, 1.2vw, 15px);
    }
    .header-front .site-logo {
        width: 105px;
        max-width: 105px;
    }
    .header-sub .nav-all .nav-menu {
        gap: clamp(12px, 1.5vw, 20px);
    }
    .header-sub .nav-menu a {
        font-size: clamp(13px, 1.2vw, 15px);
        letter-spacing: 0.5px;
    }
    .header-sub .site-logo {
        max-width: 125px;
    }
}

.site-branding {
    flex: 0 0 auto;
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: normal;
    line-height: 1;
}

.site-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 中央ロゴ下の逆三角形ノッチ (縦幅40pxの飛び出し) */
.header-notch {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #ffffff;
    z-index: 101;
    pointer-events: none;
}

.hero-section {
    margin-top: 0 !important;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
}

/* Sub Page Header (~310px Height) */
.sub-page-header {
    position: relative;
    padding: 130px 20px 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    min-height: 310px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub-header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.sub-page-header .container {
    position: relative;
    z-index: 2;
}
.sub-page-title {
    color: #ffffff !important;
    font-size: 32px !important;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif !important;
    margin-bottom: 15px !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.sub-page-breadcrumbs,
.sub-page-breadcrumbs a,
.sub-page-breadcrumbs span {
    color: #ffffff !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    text-transform: none !important;
}
.sub-page-breadcrumbs a {
    text-decoration: none;
}
.sub-page-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Clean Footer Styles (Production White Match) */
#colophon.site-footer {
    background-color: #ffffff;
    padding: 75px 0 30px;
    color: #3b4043;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    border-top: 1px solid #f0f0f0;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 45px;
    max-width: 1140px;
    margin: 0 auto;
}
.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}
.footer-logo img {
    max-width: 126px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}
.footer-address, .footer-hours, .footer-tel {
    font-size: 14px;
    line-height: 1.85;
    color: #3b4043;
    margin: 6px 0;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.footer-widget-title {
    font-size: 17px;
    margin: 0 0 18px;
    color: #333333;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1.4;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 992px) {
    .footer-menu-sub {
        padding-top: 42px;
    }
}
.footer-menu li {
    margin-bottom: 12px;
}
.footer-menu a {
    color: #3b4043;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s;
}
.footer-menu a:hover,
.footer-menu a:focus-visible {
    color: #BFA97E;
}
.footer-socials {
    display: flex;
    gap: 26px;
    align-items: center;
    padding-top: 5px;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 4px;
    border-radius: 0;
    background-color: transparent !important;
    color: #b8bdc8 !important;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}
.social-icon:hover,
.social-icon:focus-visible {
    background-color: transparent !important;
    color: #BFA97E !important;
}

.footer-bottom {
    padding: 20px 0 0;
}
.footer-divider {
    height: 1px;
    background-color: #efefef;
    margin-bottom: 22px;
}
.copyright {
    font-size: 12px;
    color: #a5aab2;
    margin: 0;
    letter-spacing: 0.5px;
}

/* SP Bottom Menu Fixed */
.sp-bottom-fixed {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sp-bottom-fixed .sp-btn {
    flex: 1;
    display: block;
    line-height: 0;
}
.sp-bottom-fixed img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .nav-left,
    .nav-right,
    .nav-all,
    .main-navigation {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        position: relative;
        z-index: 102;
    }

    /* Header Bar on SP */
    #masthead.site-header.header-front {
        height: 70px !important;
        min-height: 70px !important;
        padding: 0 !important;
    }

    #masthead.site-header.header-sub {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px 0 !important;
    }

    .header-inner {
        padding: 0 20px !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

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

    .site-branding {
        margin: 0 !important;
    }

    .header-front .site-logo {
        width: 110px !important;
        max-width: 110px !important;
    }

    .header-sub .site-logo {
        width: 110px !important;
        max-width: 110px !important;
    }

    /* Hamburger Icon Colors */
    .header-front .mobile-menu-toggle .icon-bar {
        background-color: #333333 !important;
    }

    .header-sub .mobile-menu-toggle .icon-bar {
        background-color: #ffffff !important;
    }

    /* Notch on SP */
    .header-notch {
        display: none !important;
    }

    /* Hero Section on SP */
    .hero-section {
        width: 100% !important;
        height: 70vh !important;
        min-height: 460px !important;
        left: 0 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .sp-bottom-fixed {
        display: flex !important;
    }

    #colophon.site-footer {
        padding-top: 50px;
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .footer-main {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px 25px;
    }
    .footer-col {
        margin-bottom: 15px;
    }

    .sub-page-header {
        min-height: 220px;
        padding: 100px 15px 40px;
    }

    .sub-page-title {
        font-size: 24px !important;
    }
}

/* Mobile Menu Overlay & Drawer */
.menu_mobile_overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
}
.menu_mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background-color: #1b1b1b;
    z-index: 99999;
    padding: 50px 30px 40px;
    box-sizing: border-box;
    overflow-y: auto;
}
.menu_mobile.opened {
    display: block !important;
}
.menu_mobile_close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}
.mobile-logo img {
    max-width: 140px;
    height: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav li {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}
.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}

/* Footer SNS Icons Fix (Production Simple Gray Icons) */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 4px;
    border-radius: 0;
    background-color: transparent !important;
    color: #b8bdc8 !important;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
.social-icon i {
    font-size: 18px;
    color: inherit;
    transition: color 0.3s;
}
.social-icon:hover {
    background-color: transparent !important;
    color: #BFA97E !important;
}
.social-icon:hover i {
    color: #BFA97E !important;
}

/* ==========================================================================
   Single Plan Detail Page (single-plans.php)
   ========================================================================== */
.single-plan-main {
    background-color: #ffffff;
}

.plan-detail-section {
    padding: 80px 0 60px;
    background-color: #ffffff;
}

.plan-detail-heading {
    margin-bottom: 45px;
    text-align: center;
}

.plan-detail-heading .subtitle {
    color: #BFA97E;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
}

.plan-detail-heading .title {
    font-size: 30px;
    font-weight: 400;
    color: #333333;
    position: relative;
    padding-bottom: 28px;
    margin: 0;
}

.plan-detail-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1110px;
    margin: 0 auto;
}

.plan-detail-box {
    background-color: #ffffff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.41);
    padding: 40px 30px;
    box-sizing: border-box;
    text-align: center;
}

.plan-detail-box.is-full {
    flex: 0 0 100%;
    max-width: 100%;
}

.plan-detail-box.is-half {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
}

.plan-box-title {
    font-size: 22px;
    font-weight: 400;
    color: #222222;
    line-height: 1.4;
    margin: 0 0 18px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}

.plan-box-price {
    font-size: 28px;
    font-weight: 600;
    color: #BFA97E;
    line-height: 1.3;
    margin: 0 0 18px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}

.plan-box-price .yen {
    font-size: 14px;
    font-weight: 500;
}

.plan-box-price .plan-price-prefix {
    margin-right: 4px;
}

.plan-box-sub {
    font-size: 18px;
    font-weight: 600;
    color: #b0b0b0;
    line-height: 1.5;
    margin: -10px 0 18px;
}

.plan-box-lead {
    font-size: 18px;
    font-weight: 400;
    color: #222222;
    line-height: 1.7;
    margin: 0 0 14px;
}

.plan-box-lead:last-child {
    margin-bottom: 0;
}

.plan-box-note {
    font-size: 16px;
    font-weight: 400;
    color: #5b5b5b;
    line-height: 1.7;
    margin: 0;
}

.plan-detail-custom-content {
    max-width: 1110px;
    margin: 40px auto 0;
    line-height: 1.8;
}

/* Plan Gallery Section */
.plan-gallery-section {
    background-color: #F6FCFF;
    padding: 80px 0;
}

.plan-gallery-heading {
    margin-bottom: 45px;
    text-align: center;
}

.plan-gallery-slider-wrap {
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.plan-gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.plan-gallery-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.plan-gallery-slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    box-sizing: border-box;
}

.plan-gallery-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #e9f2f7;
}

.plan-gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.plan-gallery-link:hover img {
    transform: scale(1.04);
}

.plan-gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.plan-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #BFA97E;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.plan-gallery-dot.is-active {
    background-color: #BFA97E;
    transform: scale(1.15);
}

/* Single Plan Prev/Next Navigation */
.plan-post-navigation {
    max-width: 1110px;
    margin: 65px auto 20px;
    padding-bottom: 20px;
}

.plan-post-navigation .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.plan-post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.plan-post-navigation .nav-previous,
.plan-post-navigation .nav-next {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    box-sizing: border-box;
}

.plan-post-navigation .nav-next {
    margin-left: auto;
    text-align: right;
}

.plan-post-navigation .nav-links a {
    display: block;
    position: relative;
    min-height: 80px;
    padding-top: 12px;
    text-decoration: none;
    box-sizing: border-box;
}

.plan-post-navigation .nav-previous a {
    padding-left: 98px;
    text-align: left;
}

.plan-post-navigation .nav-next a {
    padding-right: 98px;
    text-align: right;
}

.plan-post-navigation .nav-arrow {
    position: absolute;
    top: 0;
    width: 80px;
    height: 80px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f2f2f2;
    transition: opacity 0.3s ease;
}

.plan-post-navigation .nav-previous .nav-arrow {
    left: 0;
}

.plan-post-navigation .nav-next .nav-arrow {
    right: 0;
}

.plan-post-navigation .nav-links a:hover .nav-arrow {
    opacity: 0.75;
}

.plan-post-navigation .post-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    margin: 0 0 6px;
    transition: color 0.3s ease;
}

.plan-post-navigation .nav-links a:hover .post-title {
    color: #BFA97E;
}

.plan-post-navigation .post_date {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #929ca8;
    letter-spacing: 1.6px;
}

/* Lightbox Modal */
.plan-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
}

.plan-lightbox.is-open {
    display: flex;
}

.plan-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.plan-lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-lightbox-img {
    max-width: 86vw;
    max-height: 84vh;
    width: auto;
    height: auto;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.plan-lightbox-close,
.plan-lightbox-prev,
.plan-lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.plan-lightbox-close:hover,
.plan-lightbox-prev:hover,
.plan-lightbox-next:hover {
    background: rgba(191, 169, 126, 0.9);
}

.plan-lightbox-close {
    top: -48px;
    right: 0;
}

.plan-lightbox-prev {
    left: -56px;
    top: 50%;
    transform: translateY(-50%);
}

.plan-lightbox-next {
    right: -56px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .plan-gallery-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .plan-detail-section {
        padding: 55px 0 40px;
    }

    .plan-detail-heading {
        margin-bottom: 35px;
    }

    .plan-detail-heading .title {
        font-size: 24px;
    }

    .plan-detail-boxes {
        gap: 24px;
    }

    .plan-detail-box,
    .plan-detail-box.is-half,
    .plan-detail-box.is-full {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 30px 20px;
    }

    .plan-box-title {
        font-size: 20px;
    }

    .plan-box-price {
        font-size: 24px;
    }

    .plan-box-lead {
        font-size: 16px;
    }

    .plan-box-note {
        font-size: 14px;
    }

    .plan-gallery-section {
        padding: 60px 0;
    }

    .plan-post-navigation {
        margin: 45px auto 15px;
    }

    .plan-post-navigation .nav-previous,
    .plan-post-navigation .nav-next {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .plan-lightbox-prev {
        left: 8px;
    }

    .plan-lightbox-next {
        right: 8px;
    }
}

@media (max-width: 600px) {
    .plan-gallery-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   Voices Page & Common Card Refinements (page-voices.php / .sec-voices)
   ========================================================================== */
.page-voices-main .sec-voices {
    background-color: #ffffff;
}

.voice-inner::after {
    content: "";
    display: table;
    clear: both;
}

.voice-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #3b4043;
}

.sec-voices .voice-title {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .page-voices-main .voice-inner {
        display: block !important;
        padding: 15px 12px;
    }

    .page-voices-main .voice-img-wrap {
        float: right !important;
        width: 134px !important;
        max-width: 42% !important;
        margin: 0 0 10px 14px !important;
        padding: 5px !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .page-voices-main .voice-title {
        width: auto !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        font-size: 20px !important;
    }

    .page-voices-main .voice-text {
        width: auto !important;
    }
}

/* ==========================================================================
   Greeting Page (page-greeting.php / .sec-greeting)
   ========================================================================== */
.page-greeting-main,
.page-greeting-main .sec-greeting {
    background-color: #ffffff;
}

.page-greeting-main .sec-greeting {
    padding: 80px 0 90px;
}

.page-greeting-main .greeting-heading {
    margin-bottom: 50px;
}

/* 1. Representative Profile */
.greeting-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
}

.greeting-profile-photo {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 25px;
    box-sizing: border-box;
}

.greeting-profile-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.greeting-profile-info {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 25px;
    box-sizing: border-box;
    text-align: left;
}

.greeting-catch {
    color: #BFA97E;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 15px;
    font-family: "Helvetica Neue", Arial, "Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.greeting-name {
    color: #333333;
    font-size: 31px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 20px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}

.greeting-name-kana {
    font-size: inherit;
    font-weight: inherit;
}

.greeting-roles {
    color: #333333;
    font-size: 16px;
    line-height: 1.62;
    margin: 0 0 20px;
    font-family: "Helvetica Neue", Arial, "Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.greeting-divider {
    border: 0;
    border-top: 1px solid #BABABA;
    margin: 25px 0 30px;
    background: none;
}

.greeting-bio p {
    color: #333333;
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 26px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.greeting-bio p:last-child {
    margin-bottom: 0;
}

/* 2. Activity History Table */
.greeting-history-wrap {
    max-width: 950px;
    margin: 0 auto 70px;
}

.greeting-history-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    border: none;
}

.greeting-history-table tbody tr {
    border-bottom: 1px solid #333333;
    background: transparent;
}

.greeting-history-table th {
    width: 30%;
    padding: 25px 18px;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    text-align: center;
    vertical-align: middle;
    border: none;
    background: transparent;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}

.greeting-history-table td,
.greeting-history-table th + td {
    width: 70%;
    padding: 21px 15px;
    font-size: 15px;
    font-weight: 400;
    color: #465466;
    line-height: 1.85;
    text-align: left;
    vertical-align: middle;
    border: none;
    border-left: none;
    background: transparent;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

/* 3. Book Publications */
.greeting-books-wrap {
    max-width: 950px;
    margin: 0 auto 70px;
    text-align: center;
}

.greeting-books-heading {
    font-size: 31px;
    font-weight: 600;
    color: #333333;
    line-height: 1.3;
    margin: 0 0 35px;
    text-align: center;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}

.greeting-books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: start;
}

.greeting-book-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.greeting-book-img-link {
    display: inline-block;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.greeting-book-img-link:hover {
    opacity: 0.85;
}

.greeting-book-img-link img {
    width: 313px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.greeting-book-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.3;
    margin: 0 0 20px;
    text-align: center;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}

.greeting-book-btn-wrap {
    text-align: center;
}

.greeting-book-btn {
    display: inline-block;
    background-color: #BFA97E;
    color: #ffffff !important;
    border: 1px solid #BFA97E;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
}

.greeting-book-btn:hover {
    background-color: #ffffff;
    color: #BFA97E !important;
    border-color: #BFA97E;
}

/* 4. Representative Message */
.greeting-message {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #333333;
    font-size: 16px;
    line-height: 1.85;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.greeting-message p {
    margin: 0 0 29px;
    color: #333333;
    font-size: 16px;
    line-height: 1.85;
}

.greeting-message p:last-child {
    margin-bottom: 0;
}

/* Responsive (SP: max-width 767px) */
@media (max-width: 767px) {
    .page-greeting-main .sec-greeting {
        padding: 50px 0 60px;
    }

    .page-greeting-main .sec-heading-centered .title {
        font-size: 24px;
    }

    .greeting-profile {
        flex-direction: column;
        margin-bottom: 45px;
    }

    .greeting-profile-photo,
    .greeting-profile-info {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .greeting-profile-photo {
        margin-bottom: 25px;
    }

    .greeting-catch {
        font-size: 15px;
    }

    .greeting-name {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .greeting-roles,
    .greeting-bio p {
        font-size: 14px;
        line-height: 1.85;
    }

    .greeting-bio p {
        margin-bottom: 20px;
    }

    .greeting-history-wrap {
        margin-bottom: 50px;
    }

    .greeting-history-table,
    .greeting-history-table tbody,
    .greeting-history-table tbody tr {
        display: block;
        width: 100%;
        border: none;
    }

    .greeting-history-table th {
        display: block;
        width: 100%;
        box-sizing: border-box;
        background-color: #333333 !important;
        color: #ffffff !important;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        padding: 6px 10px;
        border: 1px solid #333333;
    }

    .greeting-history-table td,
    .greeting-history-table th + td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        background-color: #ffffff;
        color: #465466;
        font-size: 13.5px;
        line-height: 1.8;
        text-align: left;
        padding: 8px 10px;
        border: 1px solid #333333;
        border-top: none;
        font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    }

    .greeting-books-wrap {
        margin-bottom: 50px;
    }

    .greeting-books-heading {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .greeting-books-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .greeting-message,
    .greeting-message p {
        text-align: left;
        font-size: 14px;
        line-height: 1.85;
    }

    .greeting-message p {
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   Contact Page (page-contact.php / .sec-contact)
   ========================================================================== */
.page-contact-main,
.page-contact-main .sec-contact {
    background-color: #ffffff;
}

.page-contact-main .sec-contact {
    padding: 90px 0 110px;
}

.page-contact-main .contact-inner {
    max-width: 730px;
    margin: 0 auto;
}

.page-contact-main .contact-heading {
    margin-bottom: 60px;
}

.page-contact-main .contact-heading .sp-only {
    display: none;
}

.page-contact-main .contact-heading .title {
    margin-bottom: 33px;
}

.page-contact-main .contact-lead {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0.1px;
    color: #3b4043;
    margin: 0;
    text-align: center;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.page-contact-main .wpcf7 {
    margin: 0;
    padding: 0;
}

.page-contact-main .screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-wrap: normal !important;
}

.page-contact-main .hidden-fields-container {
    display: none;
}

.page-contact-main .wpcf7-form p {
    margin: 0 0 10px;
    text-align: left;
}

.page-contact-main .wpcf7-form p.contact-submit-row {
    margin: 0;
    text-align: center;
}

.page-contact-main .wpcf7-form label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0.1px;
    color: #3b4043;
    margin: 0;
    cursor: pointer;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.page-contact-main .wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin-top: 2px;
}

.page-contact-main .wpcf7-form input[type="text"],
.page-contact-main .wpcf7-form input[type="email"],
.page-contact-main .wpcf7-form select,
.page-contact-main .wpcf7-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #3b4043;
    background-color: #ffffff;
    border: 1px solid #ecedf1;
    border-radius: 4px;
    padding: 13px 16.9px;
    margin: 0 0 10px;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-contact-main .wpcf7-form input[type="text"],
.page-contact-main .wpcf7-form input[type="email"],
.page-contact-main .wpcf7-form select {
    height: 48px;
}

.page-contact-main .wpcf7-form select {
    padding-right: 39px;
    color: #929ca8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23929ca8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 11px 7px;
    cursor: pointer;
}

.page-contact-main .wpcf7-form select.is-selected {
    color: #3b4043;
}

.page-contact-main .wpcf7-form textarea {
    height: 130px;
    min-height: 130px;
    resize: vertical;
    margin-bottom: 0;
}

.page-contact-main .wpcf7-form input[type="text"]:focus,
.page-contact-main .wpcf7-form input[type="email"]:focus,
.page-contact-main .wpcf7-form select:focus,
.page-contact-main .wpcf7-form textarea:focus {
    outline: none;
    border-color: #BFA97E;
    box-shadow: 0 0 0 2px rgba(191, 169, 126, 0.18);
}

.page-contact-main .wpcf7-form .wpcf7-not-valid {
    border-color: #dc3232 !important;
}

.page-contact-main .wpcf7-form .wpcf7-submit {
    display: block;
    width: 300px;
    max-width: 100%;
    height: 50px;
    margin: 30px auto 0;
    padding: 17px 34px;
    box-sizing: border-box;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1.1px;
    color: #ffffff;
    background-color: #BFA97E;
    border: 1px solid #BFA97E;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.page-contact-main .wpcf7-form .wpcf7-submit:hover {
    background-color: #a8946e;
    border-color: #a8946e;
    color: #ffffff;
}

.page-contact-main .wpcf7-form .wpcf7-submit:focus-visible {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

.page-contact-main .wpcf7-form .wpcf7-submit:disabled,
.page-contact-main .wpcf7-form.submitting .wpcf7-submit {
    opacity: 0.65;
    cursor: not-allowed;
}

.page-contact-main .wpcf7-spinner {
    display: none;
}

.page-contact-main .wpcf7-form.submitting .wpcf7-spinner {
    display: block;
    visibility: visible;
    margin: 12px auto 0;
}

.page-contact-main .contact-unavailable-notice {
    padding: 24px 20px;
    border: 1px solid #ecedf1;
    background-color: #fafafa;
    color: #3b4043;
    text-align: center;
    font-size: 14px;
    line-height: 1.75;
}

.page-contact-main .contact-admin-warning {
    margin-top: 12px;
    color: #dc3232;
    font-size: 13px;
}

.page-contact-main .wpcf7-not-valid-tip {
    display: block;
    color: #dc3232;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin: -4px 0 10px;
}

.page-contact-main .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 10px 16px;
    border: 2px solid #00a0d2;
    font-size: 14px;
    line-height: 1.6;
    color: #3b4043;
    text-align: center;
}

.page-contact-main .wpcf7-form.init .wpcf7-response-output,
.page-contact-main .wpcf7-form.resetting .wpcf7-response-output,
.page-contact-main .wpcf7-form.submitting .wpcf7-response-output {
    display: none;
}

.page-contact-main .wpcf7-form.invalid .wpcf7-response-output,
.page-contact-main .wpcf7-form.unaccepted .wpcf7-response-output,
.page-contact-main .wpcf7-form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
}

.page-contact-main .wpcf7-form.sent .wpcf7-response-output {
    border-color: #46b450;
}

.page-contact-main .wpcf7-form.failed .wpcf7-response-output,
.page-contact-main .wpcf7-form.aborted .wpcf7-response-output {
    border-color: #dc3232;
}

@media (max-width: 767px) {
    .page-contact-main .sec-contact {
        padding: 50px 0 70px;
    }

    .page-contact-main .sec-contact .container {
        padding: 0 12px;
    }

    .page-contact-main .contact-inner {
        padding: 0;
        box-sizing: border-box;
    }

    .page-contact-main .contact-heading {
        margin-bottom: 40px;
    }

    .page-contact-main .contact-heading .sp-only {
        display: inline;
    }

    .page-contact-main .contact-heading .title {
        font-size: 24px;
        line-height: 1.5;
        margin-top: 8px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .page-contact-main .contact-lead {
        font-size: 14px;
        line-height: 1.62;
    }

    .page-contact-main .wpcf7-form label {
        font-size: 14px;
        line-height: 1.62;
    }

    .page-contact-main .wpcf7-form .wpcf7-submit {
        width: 100%;
        max-width: 100%;
    }

    .page-contact-main .wpcf7-not-valid-tip {
        font-size: 13px;
        padding-left: 2px;
        margin: 2px 0 10px;
    }

    .page-contact-main .wpcf7-response-output {
        padding: 12px 14px;
        font-size: 14px;
        margin: 20px 0 0;
    }
}

/* ==========================================================================
   Staffs List Page & Archive (page-staffs.php / archive-staff.php / .sec-staffs)
   ========================================================================== */
.page-staffs-main,
.archive-staff-main,
.sec-staffs {
    background-color: #ffffff;
}

.sec-staffs {
    padding: 90px 0 110px;
}

.staffs-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.staffs-heading {
    margin-bottom: 50px;
}

.staffs-heading .title {
    margin-bottom: 33px;
}

.staffs-lead {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: 0.1px;
    color: #3b4043;
    margin: 0;
    text-align: center;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

/* Category Filter Bar (Unified with Gallery Filter Bar) */
.staff-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0 auto 40px;
    text-align: center;
}

.staff-filter-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #999999;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    margin: 0 2px 5px;
    font-family: "Open Sans", "Yu Mincho", "游明朝", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1.8px;
    cursor: pointer;
    box-sizing: border-box;
    transition: color 0.25s ease;
}

.staff-filter-btn:hover,
.staff-filter-btn.is-active {
    color: #333333;
    font-weight: 600;
}

.staff-filter-btn:focus-visible {
    outline: 2px solid #BFA97E;
    outline-offset: 2px;
}

/* Staff 3-Column Square Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1110px;
    margin: 0 auto;
}

.staff-card {
    position: relative;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.staff-card.is-hidden,
.staff-card[hidden] {
    display: none !important;
}

.staff-card-link {
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
    color: #ffffff;
}

.staff-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f4f4f4;
}

.staff-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.45s ease;
}

.staff-card-link:hover .staff-card-img,
.staff-card-link:focus-visible .staff-card-img {
    transform: scale(1.04);
}

/* Hover Overlay (rgba(0,0,0,0.65) + Circular Link Icon + Uppercase Name Pill) */
.staff-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.staff-card-link:hover .staff-card-overlay,
.staff-card-link:focus-visible .staff-card-overlay,
.staff-card:focus-within .staff-card-overlay {
    opacity: 1;
}

.staff-card-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(6px);
    transition: transform 0.3s ease;
}

.staff-card-link:hover .staff-card-overlay-inner,
.staff-card-link:focus-visible .staff-card-overlay-inner,
.staff-card:focus-within .staff-card-overlay-inner {
    transform: translateY(0);
}

.staff-card-icon-wrap {
    display: block;
    margin-bottom: 10px;
}

.staff-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(4, 4, 4, 0.49);
    color: #ffffff;
    font-size: 20px;
    line-height: 56px;
    transition: background-color 0.25s ease;
}

.staff-card-link:hover .staff-card-icon {
    background-color: rgba(191, 169, 126, 0.85);
}

.staff-card-name {
    display: inline-block;
    margin: 5px 0 0;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-family: "Open Sans", "Yu Mincho", "游明朝", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* ==========================================================================
   Single Staff Detail Page (single-staff.php / /staff/{slug}/)
   ========================================================================== */
.single-staff-main {
    background-color: #ffffff;
    padding-bottom: 90px;
}

.staff-detail-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.staff-detail-profile-section {
    padding: 90px 0 60px;
    background-color: #ffffff;
}

.staff-profile-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1110px;
    margin: 0 auto;
}

.staff-profile-media-col {
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 15px;
    box-sizing: border-box;
}

.staff-profile-img-wrap {
    width: 100%;
    overflow: hidden;
}

.staff-profile-img {
    display: block;
    width: 100%;
    height: auto;
}

.staff-profile-info-col {
    flex: 0 0 60%;
    max-width: 60%;
    padding-left: 15px;
    box-sizing: border-box;
    text-align: left;
}

.staff-detail-role {
    color: #B89966;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.staff-detail-name {
    color: #333333;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.9px;
    margin: 0 0 28px;
}

.staff-detail-bio {
    color: #333333;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0.1px;
}

.staff-detail-bio p {
    margin: 0 0 22px;
    color: #333333;
    font-size: 16px;
    line-height: 1.85;
}

.staff-detail-bio p:last-child {
    margin-bottom: 0;
}

.staff-detail-web {
    margin-top: 24px;
}

.staff-website-btn {
    display: inline-block;
    background-color: #BFA97E;
    color: #ffffff !important;
    border: 1px solid #BFA97E;
    padding: 12px 24px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.staff-website-btn:hover {
    background-color: #ffffff;
    color: #BFA97E !important;
}

.staff-detail-socials {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
}

.staff-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 3px;
    color: #ffffff !important;
    font-size: 16.5px;
    text-decoration: none !important;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.staff-social-link.is-facebook {
    background-color: #3b5998;
}

.staff-social-link.is-instagram {
    background-color: #262626;
}

.staff-social-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Staff Detail Gallery Section */
.staff-detail-gallery-section {
    padding: 40px 0 30px;
    background-color: #ffffff;
}

.staff-gallery-heading {
    margin-bottom: 45px;
}

.staff-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1110px;
    margin: 0 auto;
}

.staff-gallery-item {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f4f4f4;
}

.staff-gallery-item.is-collapsed {
    display: none !important;
}

.staff-gallery-link {
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
}

.staff-gallery-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #f4f4f4;
}

.staff-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.45s ease;
}

.staff-gallery-link:hover .staff-gallery-img,
.staff-gallery-link:focus-visible .staff-gallery-img {
    transform: scale(1.04);
}

.staff-gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.staff-gallery-link:hover .staff-gallery-overlay,
.staff-gallery-link:focus-visible .staff-gallery-overlay {
    opacity: 1;
}

.staff-gallery-zoom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(4, 4, 4, 0.49);
    color: #ffffff;
    font-size: 18px;
    line-height: 48px;
}

.staff-gallery-more-wrap {
    margin-top: 40px;
    text-align: center;
}

.staff-load-more-btn {
    display: inline-block;
    background-color: #BFA97E;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 18px 45px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1.1px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.staff-load-more-btn:hover {
    background-color: #a8946e;
}

/* Staff Detail Post Navigation & Back Link */
.staff-post-navigation {
    max-width: 1110px;
    margin: 65px auto 20px;
    padding-bottom: 20px;
}

.staff-post-navigation .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.staff-post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.staff-post-navigation .nav-previous,
.staff-post-navigation .nav-next {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
    box-sizing: border-box;
}

.staff-post-navigation .nav-next {
    margin-left: auto;
    text-align: right;
}

.staff-post-navigation .nav-links a {
    display: block;
    position: relative;
    min-height: 80px;
    padding-top: 12px;
    text-decoration: none;
    box-sizing: border-box;
}

.staff-post-navigation .nav-previous a {
    padding-left: 98px;
    text-align: left;
}

.staff-post-navigation .nav-next a {
    padding-right: 98px;
    text-align: right;
}

.staff-post-navigation .nav-arrow {
    position: absolute;
    top: 0;
    width: 80px;
    height: 80px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f2f2f2;
    transition: opacity 0.3s ease;
}

.staff-post-navigation .nav-previous .nav-arrow {
    left: 0;
}

.staff-post-navigation .nav-next .nav-arrow {
    right: 0;
}

.staff-post-navigation .nav-links a:hover .nav-arrow {
    opacity: 0.75;
}

.staff-post-navigation .post-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    margin: 0 0 6px;
    transition: color 0.3s ease;
}

.staff-post-navigation .nav-links a:hover .post-title {
    color: #BFA97E;
}

.staff-post-navigation .post_date {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #929ca8;
    letter-spacing: 1.6px;
}

.staff-back-wrap {
    max-width: 1110px;
    margin: 25px auto 0;
    text-align: center;
}

.btn-staff-back {
    display: inline-block;
    padding: 13px 34px;
    border: 1px solid #BFA97E;
    color: #BFA97E !important;
    background-color: #ffffff;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-staff-back:hover {
    background-color: #BFA97E;
    color: #ffffff !important;
}

/* Tablet Intermediate Breakpoint (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .staff-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Responsive (max-width: 767px) */
@media (max-width: 767px) {
    .sec-staffs {
        padding: 50px 0 70px;
    }

    .staffs-heading {
        margin-bottom: 35px;
    }

    .staffs-heading .title {
        font-size: 24px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .staffs-lead {
        font-size: 14px;
        line-height: 1.62;
    }

    .staff-filter-bar {
        margin-bottom: 30px;
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Single Staff Detail SP */
    .single-staff-main {
        padding-bottom: 60px;
    }

    .staff-detail-container {
        padding: 0 12px;
    }

    .staff-detail-profile-section {
        padding: 45px 0 30px;
    }

    /* Production SP has text info above portrait image */
    .staff-profile-row {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .staff-profile-media-col,
    .staff-profile-info-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    .staff-profile-info-col {
        margin-bottom: 30px;
    }

    .staff-detail-role {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .staff-detail-name {
        font-size: 30px;
        margin-bottom: 22px;
    }

    .staff-detail-bio,
    .staff-detail-bio p {
        font-size: 14px;
        line-height: 1.85;
    }

    .staff-detail-bio p {
        margin-bottom: 18px;
    }

    .staff-detail-gallery-section {
        padding: 25px 0 20px;
    }

    .staff-gallery-heading {
        margin-bottom: 30px;
    }

    .staff-gallery-heading .title {
        font-size: 24px;
    }

    .staff-gallery-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .staff-post-navigation {
        margin: 45px auto 15px;
        padding: 0 12px 15px;
    }

    .staff-post-navigation .nav-previous,
    .staff-post-navigation .nav-next {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   Gallery List Page (page-gallery.php / archive-gallery.php / .sec-gallery-archive)
   ========================================================================== */
.page-gallery-main,
.archive-gallery-main,
.sec-gallery-archive {
    background-color: #ffffff;
}

.sec-gallery-archive {
    padding: 90px 0 110px;
}

.gallery-archive-container {
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.gallery-heading {
    margin-bottom: 50px;
}

.gallery-heading .subtitle {
    color: #BFA97E;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2.2px;
    margin: 0 0 12px;
}

.gallery-heading .title {
    font-size: 30px;
    font-weight: 400;
    color: #333333;
    letter-spacing: 0.1px;
    margin-bottom: 33px;
}

/* Gallery Filter Bar */
.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0 auto 40px;
    text-align: center;
}

.gallery-filter-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #999999;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    margin: 0 2px 5px;
    font-family: "Open Sans", "Yu Mincho", "游明朝", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1.8px;
    cursor: pointer;
    box-sizing: border-box;
    transition: color 0.25s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.is-active {
    color: #333333;
    font-weight: 600;
}

.gallery-filter-btn:focus-visible {
    outline: 2px solid #BFA97E;
    outline-offset: 2px;
}

/* Gallery Masonry Grid (Edge-to-Edge 0px Gap) */
.gallery-archive-grid {
    column-count: 4;
    column-gap: 0;
    width: 100%;
    max-width: 1410px;
    margin: 0 auto;
}

.gallery-archive-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f4f4f4;
    transition: opacity 0.3s ease;
}

.gallery-archive-item.is-collapsed,
.gallery-archive-item.is-filter-hidden,
.gallery-archive-item[hidden] {
    display: none !important;
}

.gallery-archive-link {
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
}

.gallery-archive-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f4f4f4;
}

.gallery-archive-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-archive-link:hover .gallery-archive-img,
.gallery-archive-link:focus-visible .gallery-archive-img {
    transform: scale(1.04);
}

/* Gallery Hover Overlay */
.gallery-archive-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
}

.gallery-archive-link:hover .gallery-archive-overlay,
.gallery-archive-link:focus-visible .gallery-archive-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(4, 4, 4, 0.49);
    color: #ffffff;
    font-size: 18px;
    line-height: 48px;
    transition: background-color 0.25s ease;
}

.gallery-archive-link:hover .gallery-zoom-icon {
    background-color: rgba(191, 169, 126, 0.85);
}

/* Gallery Load More Button */
.gallery-more-wrap {
    margin-top: 50px;
    text-align: center;
}

.gallery-load-more-btn {
    display: inline-block;
    background-color: #BFA97E;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 18px 45px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1.1px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-load-more-btn:hover {
    background-color: #a8946e;
    transform: translateY(-1px);
}

.gallery-load-more-btn:focus-visible {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

.gallery-empty-msg {
    padding: 40px 0;
    color: #777777;
    font-size: 15px;
}

/* Responsive (Tablet: 768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-archive-grid {
        column-count: 3;
    }
}

/* Responsive (Mobile: max-width 767px) */
@media (max-width: 767px) {
    .sec-gallery-archive {
        padding: 50px 0 70px;
    }

    .gallery-heading {
        margin-bottom: 35px;
    }

    .gallery-heading .title {
        font-size: 24px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .gallery-filter-bar {
        margin-bottom: 30px;
        gap: 2px;
    }

    .gallery-filter-btn {
        padding: 6px 10px;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .gallery-archive-grid {
        column-count: 1;
    }

    .gallery-more-wrap {
        margin-top: 35px;
    }

    .gallery-load-more-btn {
        padding: 16px 36px;
        font-size: 13px;
    }
}

/* ==========================================================================
   Simple Subpages (Magazine / Events) & Privacy Policy
   ========================================================================== */
.sec-subpage-simple {
    padding: 70px 20px 100px;
    background-color: #fff;
}

.sec-events .sec-heading-centered .desc {
    margin-top: 15px;
    font-size: 15px;
    color: #555;
    letter-spacing: 0.05em;
    line-height: 1.8;
}

.subpage-junbi-wrap {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
}

.subpage-junbi-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

/* Privacy Policy */
.sec-privacy {
    padding: 70px 20px 120px;
    background-color: #fff;
}

.privacy-container {
    max-width: 960px;
    margin: 0 auto;
}

.privacy-body {
    margin-top: 50px;
    text-align: left;
}

.privacy-h3 {
    font-family: 'Noto Serif JP', "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    border-left: 5px solid #b89966;
    padding: 6px 14px;
    margin: 48px 0 20px;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.privacy-body > .privacy-h3:first-child {
    margin-top: 0;
}

.privacy-h4 {
    font-family: 'Noto Serif JP', "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 32px 0 12px;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.privacy-p {
    font-size: 15px;
    line-height: 2.1;
    color: #444;
    margin-bottom: 24px;
    letter-spacing: 0.03em;
}

@media (max-width: 767px) {
    .sec-subpage-simple {
        padding: 50px 15px 70px;
    }

    .subpage-junbi-wrap {
        margin-top: 30px;
    }

    .sec-privacy {
        padding: 50px 15px 80px;
    }

    .privacy-body {
        margin-top: 35px;
    }

    .privacy-h3 {
        font-size: 19px;
        padding: 4px 10px;
        margin: 36px 0 16px;
    }

    .privacy-h4 {
        font-size: 16px;
        margin: 24px 0 10px;
    }

    .privacy-p {
        font-size: 14px;
        line-height: 1.9;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   404 Page (Not Found)
   ========================================================================== */
.page-404-main {
    background-color: #faf9f6;
    min-height: 50vh;
}

.sec-404 {
    padding: 100px 20px;
}

.error-404-wrapper {
    max-width: 780px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 60px 40px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.error-code {
    font-family: 'Cormorant Garamond', 'Yu Mincho', serif;
    font-size: 88px;
    font-weight: 300;
    line-height: 1;
    color: #BFA97E;
    margin: 0 0 10px;
    letter-spacing: 4px;
}

.error-title {
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    font-size: 22px;
    font-weight: 500;
    color: #333333;
    margin: 0 0 15px;
    letter-spacing: 1px;
}

.error-divider {
    width: 50px;
    height: 1px;
    background-color: #BFA97E;
    margin: 20px auto 25px;
}

.error-desc {
    font-size: 15px;
    line-height: 2;
    color: #555555;
    margin-bottom: 12px;
}

.error-sub-desc {
    font-size: 14px;
    line-height: 1.9;
    color: #777777;
    margin-bottom: 35px;
}

.error-nav-links {
    margin-bottom: 40px;
    padding-top: 25px;
    border-top: 1px dashed #e8e5df;
}

.error-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.error-menu-list li a {
    color: #444444;
    text-decoration: none;
    font-size: 14.5px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    transition: color 0.25s ease;
    display: inline-block;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

.error-menu-list li a:hover {
    color: #BFA97E;
    border-bottom-color: #BFA97E;
}

.error-btn-wrap {
    margin-top: 15px;
}

.btn-top-return {
    display: inline-block;
    background-color: #BFA97E;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 44px;
    border-radius: 30px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(191, 169, 126, 0.35);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-top-return:hover {
    background-color: #a89269;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(191, 169, 126, 0.45);
}

@media (max-width: 767px) {
    .sec-404 {
        padding: 50px 15px;
    }

    .error-404-wrapper {
        padding: 40px 20px;
    }

    .error-code {
        font-size: 68px;
    }

    .error-title {
        font-size: 18px;
        line-height: 1.5;
    }

    .error-desc {
        font-size: 13.5px;
        text-align: left;
    }

    .error-sub-desc {
        font-size: 13px;
        text-align: left;
        margin-bottom: 25px;
    }

    .error-menu-list {
        gap: 10px 18px;
    }

    .error-menu-list li a {
        font-size: 13.5px;
    }

    .btn-top-return {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 20px;
    }
}

/* ==========================================================================
   Contact Thanks Page (page-contact-thanks.php / .sec-contact-thanks)
   ========================================================================== */
.page-contact-thanks-main,
.sec-contact-thanks {
    background-color: #f6f6f6;
}
.sec-contact-thanks {
    padding: 80px 0 100px;
}
.thanks-card {
    background-color: #ffffff;
    max-width: 920px;
    margin: 0 auto;
    padding: 65px 60px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.thanks-heading {
    margin-bottom: 35px;
}
.thanks-heading .title {
    margin-bottom: 24px;
}
.thanks-title-line {
    display: inline-block;
}
.thanks-body {
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    color: #333333;
    margin-bottom: 40px;
}
.thanks-lead {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 22px;
}
.thanks-desc {
    font-size: 16px;
    line-height: 1.95;
    color: #444444;
    max-width: 800px;
    margin: 0 auto 24px;
}
.thanks-tel-info {
    font-size: 15px;
    color: #555555;
    margin: 0;
}
.thanks-tel-info a {
    color: #BFA97E;
    text-decoration: none;
    font-weight: 600;
}
.thanks-tel-info a:hover {
    text-decoration: underline;
}
.thanks-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.thanks-btn {
    display: inline-block;
    min-width: 240px;
    padding: 15px 30px;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.thanks-btn-primary {
    background-color: #BFA97E;
    color: #ffffff !important;
    border: 1px solid #BFA97E;
}
.thanks-btn-primary:hover {
    background-color: #a8946e;
    border-color: #a8946e;
}
.thanks-btn-line {
    background-color: #ffffff;
    color: #06C755 !important;
    border: 1px solid #06C755;
}
.thanks-btn-line:hover {
    background-color: #06C755;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .sec-contact-thanks {
        padding: 45px 0 65px;
    }
    .sec-contact-thanks .container {
        padding: 0 12px;
    }
    .thanks-card {
        padding: 40px 20px;
    }
    .thanks-heading .title {
        font-size: 22px;
        line-height: 1.45;
    }
    .thanks-title-line {
        display: block;
    }
    .thanks-lead {
        font-size: 18px;
        margin-bottom: 18px;
    }
    .thanks-desc {
        font-size: 15px;
        line-height: 1.85;
        text-align: left;
        max-width: 100%;
    }
    .thanks-actions {
        flex-direction: column;
        gap: 12px;
    }
    .thanks-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Contact Page: Hide SP Sticky Bottom CTA & Reset Footer Spacing (SP Only)
   ========================================================================== */
@media (max-width: 991px) {
    body.page-id-962 #sp_bottom_menu,
    body.page-id-962 .sp-bottom-fixed,
    body.page-contact #sp_bottom_menu,
    body.page-contact .sp-bottom-fixed {
        display: none !important;
    }

    body.page-id-962 #colophon.site-footer,
    body.page-contact #colophon.site-footer {
        padding-bottom: 25px !important;
    }
}







