/**** hero - Split Layout ****/
.hero {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
    padding: 0;
    /* Override WordPress layout classes */
    grid-template-rows: 1fr;
    border-bottom: 1px solid rgb(0 0 0 / 0.1);
    min-height: calc(100vh - var(--wp--custom--header-height));
}

.hero::before {
    display: none;
}

/* Override WordPress constrained/flow layout on hero children */
.hero.is-layout-flow>*,
.hero.is-layout-constrained>* {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* --- Left Side --- */
.hero-left {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem 4rem max(2rem, calc((100vw - 1400px) / 2 + 2rem));
    position: relative;
}

.hero-left-inner {
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-heading-wrapper {
    position: relative;
    padding-left: 1.5rem;
}

.hero-heading-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 3px;
    background: var(--wp--preset--color--secondary);
    border-radius: 2px;
}

.hero-content {
    background: none;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    width: 100%;
    margin: 0;
    position: static;
    z-index: auto;
    border-radius: 0;
}

.hero-content h1,
.hero-heading {
    font-size: clamp(2.5rem, 2.1rem + 2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--wp--preset--color--primary-dark);
    letter-spacing: -0.02em;
}

.hero-subtitle,
.hero-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 440px;
}

.btn-primary {
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-bottom: 3rem;
    background: none;
}

.btn-primary .wp-block-button__link {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: none;
}

/* --- Popular Menu Card --- */
.popular-menu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    max-width: 420px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    position: static;
    transform: none;
    width: 100%;
    margin: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.popular-menu-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--wp--preset--color--primary-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    text-align: left;
    padding-bottom: 0;
    position: relative;
}

.popular-menu-title::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--wp--preset--color--secondary);
    border-radius: 1px;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    position: static;
    left: auto;
    transform: none;
}

.popular-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-menu-list li {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #334155;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.popular-menu-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.popular-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: none;
}

.popular-menu-item:hover {
    transform: none;
}

.menu-item-name {
    font-size: 1rem;
    color: #334155;
    font-weight: 500;
    letter-spacing: normal;
}

.menu-item-price {
    font-size: 1rem;
    color: var(--wp--preset--color--primary-dark);
    font-weight: 700;
    letter-spacing: 0.02em;
    position: static;
}

.menu-item-price::before {
    display: none;
}

/* --- Right Side --- */
.hero-right {
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: 45vh auto;
    }

    .hero-right {
        order: -1;
        min-height: 45vh;
    }

    .hero-left {
        padding: 2.5rem 1.5rem 3rem;
    }

    .hero-left-inner {
        max-width: 100%;
    }

    .hero-content h1,
    .hero-heading {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .popular-menu {
        max-width: 100%;
    }
}

/** アバウトContent **/
.about-content {
    width: 100%;
    margin: 0 auto;
}

.about-description {
    font-size: 1rem;
    color: #374151;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-description br {
    display: none;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.25rem;
    background-color: white;
    border-radius: .5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 1.25rem;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #c4897c 0%, #9b7c8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}


@media (min-width: 768px) {
    .about-description {
        font-size: 1.125rem;
        margin-bottom: 4rem;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 3rem;
        margin-top: 4rem;
    }

    .about-description br {
        display: inline;
    }
}


/** メニューセクション **/
.menu-category {
    margin-bottom: 3rem;
    width: 100%;
}

h3.wp-block-heading.category-title {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #2d2d35;
    text-align: center;
    position: relative;
    letter-spacing: 1px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #c4897c;
}

.menu-category .menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.menu-category .menu-item {
    background-color: #ffffff;
    padding: 1.25rem 1.125rem;
    border-radius: .5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5d5d0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.menu-name {
    font-size: 1.125rem;
    font-weight: 400;
    color: #2d2d35;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.menu-description {
    color: #7f8c8d;
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.menu-price {
    font-size: 1.25rem;
    font-weight: 300;
    color: #2d2d35;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .menu-category {
        margin-bottom: 5rem;
    }

    .menu-category .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    h3.wp-block-heading.category-title {
        font-size: 1.75rem;
        margin-bottom: 3.5rem;
    }

    .menu-category .menu-item {
        padding: 40px 32px;
    }

    .menu-name {
        font-size: 1.25rem;
    }

    .menu-price {
        font-size: 1.5rem;
    }
}

/** お知らせセクション **/
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
    width: 100%;
    align-items: center;
}

.news-item {
    width: 100%;
    background-color: white;
    padding: 1.25rem;
    border-radius: .5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.news-date {
    color: #666;
    font-size: .9rem;
    margin-bottom: .6rem;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-description {
    color: #666;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.news-link {
    color: #c09070;
    text-decoration: none;
    font-size: .9rem;
    display: inline-block;
    position: relative;
    padding-right: 1.25rem;
}

.news-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.news-link:hover::after {
    transform: translate(5px, -50%);
}

@media (min-width: 768px) {

    .news-item {
        padding: 2rem;
    }
}


/** スタッフセクション **/
.staff {
    padding: 5rem 0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    width: 100%;
    margin: 3rem auto 0;
    max-width: 1500px;
    padding-bottom: 3rem;
}

.staff-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #fff;
    border-radius: .5rem;
    transition: all 0.3s ease;
    border: 1px solid #e5d5d0;
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.staff-avatar {
    width: 160px;
    height: 160px;
    background-color: #eaeaea;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-name {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #2d2d35;
    letter-spacing: 1px;
}

.staff-position {
    color: #7f8c8d;
    font-weight: 300;
    margin-bottom: 16px;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.staff-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.8;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (min-width: 768px) {
    .staff {
        padding: 8rem 0;
    }
}

/*** 問い合わせセクション ***/
.contact {
    width: 100%;
    margin: 0 auto;
    padding: 3rem 0;
    background-color: #ede4e0;
    color: #2d2d35;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 .5rem;
    box-sizing: border-box;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.contact-card {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background-color: #fff;
    border-radius: .5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card h3 {
    font-weight: 700;
}


.contact-icon {
    width: 100px;
    height: 100px;
    background-color: #e8d4ce;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 2rem;
}


@media (min-width: 768px) {
    .contact {
        padding: 5rem 0;
        background: linear-gradient(135deg, #ede4e0 0%, #d9ccc7 100%);
        color: #2d2d35;
    }

    .contact-methods {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
        width: 100%;
        margin: 0 auto;
        padding: 0 1.25rem;
        box-sizing: border-box;
        max-width: 1200px;
    }
}

/** more-posts ***/
.more-posts {
    margin: 0 auto 3rem auto;
    display: flex;
    gap: 1.5rem;
}

.more-posts-item {
    width: 100%;
    transition: all 0.3s ease;
    border: 1px solid #ddd4cf;
    border-radius: 0.5rem;
    min-height: 240px;
    padding: 30px;
}

.more-posts-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.more-posts-item h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #2d2d35;
    letter-spacing: 1px;
    line-height: 1.4;
    height: calc(1.4em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.more-posts-item .wp-block-post-excerpt__excerpt {
    letter-spacing: 1px;
    line-height: 1.4;
    height: calc(1.4em * 3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.more-posts-item .wp-block-post-date {
    font-size: 0.9rem;
    color: #7f8c8d;
    letter-spacing: 1px;
}

/** コメントフォーム **/
.wp-block-post-comments-form .comment-reply-title,
#reply-title {
    color: #082f49;
}