@charset "UTF-8";

/* ==========================================================================
   Variables & Base Settings
   ========================================================================== */
:root {
    --color-primary: #8b0000; /* 高級感のある赤（肉のイメージ） */
    --color-text: #333333;
    --color-bg: #f9f9f9;
    --color-bg-dark: #1a1a1a;
    --color-white: #ffffff;
    --font-ja: 'Noto Serif JP', "Yu Mincho", "MS PMincho", serif;
    --font-en: 'Montserrat', sans-serif;
    --header-height: 80px;
    --header-height-sp: 60px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-ja);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    margin: 0 0 1.5em;
}

/* ==========================================================================
   Typography & Common Components
   ========================================================================== */
.c-title {
    text-align: center;
    margin-bottom: 3rem;
}

.c-title__en {
    display: block;
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.c-title__ja {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.c-title--center {
    text-align: center;
}

.c-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-en);
    font-weight: 600;
    border: 1px solid var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.c-btn:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    opacity: 1;
}

.c-btn--outline {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

.c-btn--outline:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* ==========================================================================
   Header
   ========================================================================== */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: all 0.4s ease;
    background-color: transparent;
}

.l-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 70px;
}

.l-header.is-scrolled .l-header__logo-text,
.l-header.is-scrolled .global-nav a,
.l-header.is-scrolled .l-header__hamburger span {
    color: var(--color-text);
}

.l-header.is-scrolled .l-header__hamburger span {
    background-color: var(--color-text);
}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 4%;
}

.l-header__logo-text {
    font-family: var(--font-ja);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color 0.3s ease;
}

/* カスタムロゴのサイズ調整 */
.l-header__logo img.custom-logo {
    max-height: 50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.l-header.is-scrolled .l-header__logo img.custom-logo {
    max-height: 40px;
}

/* WordPress Admin Bar 被り対応 */
body.admin-bar .l-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .l-header {
        top: 46px;
    }
}


.global-nav {
    display: flex;
    gap: 2rem;
}

.global-nav a {
    color: var(--color-white);
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.global-nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.l-header__hamburger {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
}

.l-header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    position: absolute;
    left: 8px;
    transition: all 0.3s ease;
}

.l-header__hamburger span:nth-child(1) { top: 12px; }
.l-header__hamburger span:nth-child(2) { top: 19px; }
.l-header__hamburger span:nth-child(3) { top: 26px; }

.l-header__hamburger.is-active span { background-color: var(--color-white); }
.l-header__hamburger.is-active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.l-header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.l-header__hamburger.is-active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Overlay Menu */
.l-header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.95);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.l-header__overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.l-header__overlay-inner {
    text-align: center;
}

.sp-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.sp-nav a {
    color: var(--color-white);
    font-size: 1.2rem;
    font-family: var(--font-en);
}

.l-header__overlay-info {
    color: var(--color-white);
    font-size: 0.9rem;
}

.l-header__overlay-info .tel a {
    font-size: 1.5rem;
    font-family: var(--font-en);
}

@media screen and (max-width: 768px) {
    .l-header { height: var(--header-height-sp); }
    .global-nav { display: none; }
    .l-header__hamburger { display: block; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.p-hero {
    position: relative;
    width: 100%;
    height: 100vh;
}

.p-hero .swiper {
    width: 100%;
    height: 100%;
}

.p-hero__bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s linear;
}

.swiper-slide-active .p-hero__bg {
    transform: scale(1);
}

.p-hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.p-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-white);
    z-index: 10;
    width: 100%;
}

.p-hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.5s;
}

.p-hero__title {
    font-size: 4rem;
    line-height: 1.2;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.8s;
}

.swiper-slide-active .p-hero__subtitle,
.swiper-slide-active .p-hero__title {
    opacity: 1;
    transform: translateY(0);
}

.p-hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    z-index: 10;
}

.p-hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 50px;
    background-color: var(--color-white);
    margin: 10px auto 0;
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media screen and (max-width: 768px) {
    .p-hero__title { font-size: 2.5rem; }
    .p-hero__subtitle { font-size: 1rem; }
}

/* ==========================================================================
   Concept Section
   ========================================================================== */
.p-concept {
    padding: 100px 4%;
    background: url('https://placehold.co/1000x1000/f9f9f9/f0f0f0?text=Washi+Pattern') center/cover repeat;
}

.p-concept__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.p-concept__text {
    font-size: 1.1rem;
    line-height: 2.2;
}

@media screen and (max-width: 768px) {
    .p-concept { padding: 60px 4%; }
    .p-concept__text { font-size: 0.95rem; text-align: left; }
}

/* ==========================================================================
   Menu Cards Section
   ========================================================================== */
.p-menu {
    padding: 0;
}

.p-menu__card {
    display: flex;
    background-color: var(--color-white);
    transition: transform 0.3s ease;
}

.p-menu__card:hover {
    opacity: 1; /* Override a:hover */
}

.p-menu__card:hover .p-menu__card-img img {
    transform: scale(1.05);
}

.p-menu__card--reverse {
    flex-direction: row-reverse;
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.p-menu__card--reverse .c-btn {
    border-color: var(--color-white);
}

.p-menu__card--reverse .c-title__ja {
    color: #aaa;
}

.p-menu__card-img {
    width: 50%;
    overflow: hidden;
}

.p-menu__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.p-menu__card-content {
    width: 50%;
    padding: 8% 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.p-menu__card-title {
    margin-bottom: 2rem;
}

.p-menu__card-title .en {
    display: block;
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.p-menu__card-title .ja {
    display: block;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.p-menu__card-text {
    margin-bottom: 2.5rem;
    line-height: 2;
}

@media screen and (max-width: 768px) {
    .p-menu__card, .p-menu__card--reverse {
        flex-direction: column;
    }
    .p-menu__card-img, .p-menu__card-content {
        width: 100%;
    }
    .p-menu__card-content {
        padding: 40px 6%;
    }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.p-gallery {
    padding: 100px 4%;
}

.p-gallery__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.p-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.p-gallery__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.p-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.p-gallery__item-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.p-gallery__item:hover img {
    transform: scale(1.1);
}

.p-gallery__item:hover .p-gallery__item-caption {
    opacity: 1;
}

.p-gallery__btn-wrap {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .p-gallery { padding: 60px 4%; }
    .p-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media screen and (max-width: 480px) {
    .p-gallery__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    position: relative;
}

.l-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 4%;
    display: flex;
    justify-content: space-between;
}

.l-footer__logo {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.l-footer__address {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tel-link {
    font-family: var(--font-en);
    font-size: 1.5rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 40px;
}

.l-footer__banner {
    padding: 0 4% 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    background: url('https://placehold.co/1200x200/444/fff?text=Banner') center/cover;
    position: relative;
}

.banner-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    transition: background-color 0.3s ease;
}

.banner-link:hover::after {
    background-color: rgba(0,0,0,0.3);
}

.banner-link span {
    position: relative;
    z-index: 10;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.l-footer__copyright {
    text-align: center;
    padding: 20px 0;
    background-color: #111;
    font-family: var(--font-en);
    font-size: 0.8rem;
}

.c-pagetop {
    position: absolute;
    bottom: 80px;
    right: 4%;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.c-pagetop::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg) translate(2px, 2px);
}

.c-pagetop:hover {
    background-color: var(--color-text);
}

@media screen and (max-width: 768px) {
    .l-footer__inner { flex-direction: column; gap: 40px; }
}

/* ==========================================================================
   Animations (Intersection Observer)
   ========================================================================== */
.js-fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.js-fadein.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Page & Single Templates
   ========================================================================== */
.p-page-header {
    background: url('https://placehold.co/1920x400/2a2a2a/ffffff?text=Header') center/cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    margin-top: var(--header-height);
}
.p-page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.p-page-header__title {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    font-size: 2.5rem;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}
.p-page-content {
    padding: 0 4% 100px;
}
.p-page-content__inner {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 60px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
/* WordPress Gutenberg Blocks Basic Support */
.p-page-content__inner h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    margin: 3rem 0 1.5rem;
}
.p-page-content__inner h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 10px;
}
.p-page-content__inner p { margin-bottom: 1.5em; line-height: 2; }
.p-page-content__inner img { max-width: 100%; height: auto; }

/* Single Post */
.p-single__title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    border: none;
    padding: 0;
}
.p-single__meta {
    color: #888;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.p-single__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ==========================================================================
   Widgets
   ========================================================================== */
.l-header__widget {
    margin-left: auto;
    margin-right: 2rem;
    display: flex;
    align-items: center;
}
.l-content-widget {
    padding: 60px 4%;
    background-color: var(--color-bg);
}
.l-content-widget__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.widget { margin-bottom: 2rem; }
.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}
.l-footer__widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 40px 0;
    width: 100%;
}
.l-footer__widget-col .widget-title {
    border-bottom-color: #444;
    color: var(--color-primary);
}
@media screen and (max-width: 768px) {
    .p-page-header { height: 250px; margin-top: var(--header-height-sp); }
    .p-page-content__inner { padding: 30px 20px; }
    .l-footer__widgets { grid-template-columns: 1fr; gap: 20px; }
    .l-header__widget { display: none; /* スマホでは非表示など */ }
}

/* ==========================================================================
   Layout With Sidebar
   ========================================================================== */
.l-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
    padding: 0 4% 100px;
}

.l-container .p-page-content {
    width: 68%;
    padding: 0;
}

.l-sidebar {
    width: 28%;
}

.l-sidebar__inner {
    background-color: var(--color-white);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.l-single-widget {
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .l-container {
        flex-direction: column;
        padding-bottom: 60px;
    }
    .l-container .p-page-content,
    .l-sidebar {
        width: 100%;
    }
    .l-sidebar {
        margin-top: 40px;
    }
}
