/*
Theme Name: KUrasly Original
Theme URI: https://kurasly.jp/
Author: KUrasly
Description: Original theme migrated from the existing KUrasly HTML/CSS design.
Version: 4.7.3
Requires at least: 6.0
Text Domain: kurasly-original
*/

/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    color: #333;
    background: #fafaf7;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #b4aeb1;
    color: #fff;
    z-index: 1000;
}

.header-inner {
    height: 96px;
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo,
.footer-logo {
    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.site-logo {
    color: #fff;
}

.global-nav {
    display: flex;
    gap: 42px;
}

.global-nav a {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: #fff;
    transition: opacity 0.3s ease;
}

.global-nav a:hover {
    opacity: 0.6;
}


/* =========================
   MOBILE MENU
========================= */

.menu-button {
    display: none;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-button span {
    display: block;
    width: 24px;
    height: 1px;
    background: #fff;
}

.mobile-nav {
    display: none;
}


/* =========================
   MAIN
========================= */

main {
    padding-top: 96px;
}


/* =========================
   HERO
========================= */

.hero {
    width: 100%;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================
   COMMON
========================= */

.section-inner {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.section-label {
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
}

h1,
h2 {
    font-weight: 300;
    line-height: 1.4;
}

h2 {
    font-size: clamp(26px, 3vw, 40px);
}

.section-description {
    max-width: 650px;
    margin: 25px auto 35px;
}


/* =========================
   ABOUT US
========================= */

.about-section {
    width: 100%;
    padding: 85px 5vw 90px;
    background: #f2f3f1;
}

.about-background {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    background: none;
}

.about-content {
    width: 100%;
    padding: 0;
    background: transparent;
}

.about-content .section-label {
    margin-bottom: 24px;
}

.about-content h1 {
    font-size: clamp(24px, 2.6vw, 34px);
    white-space: normal;
    margin-bottom: 28px;
    line-height: 1.5;
}

.about-content p:not(.section-label) {
    max-width: 920px;
    font-size: 14px;
    line-height: 2.05;
    margin-bottom: 12px;
}


/* =========================
   ORDER WRAPPING
========================= */

.home body.home .wrapping-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    padding: 105px 0 110px;

    /* 水色から白に変更 */
    background: #ffffff;

    text-align: center;
}

/* 左右のラッピング画像 */

.home body.home .wrapping-section::before,
.home body.home .wrapping-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 31%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

/* 左側の画像 */

.home body.home .wrapping-section::before {
    left: 0;

    background-image: url("https://images.unsplash.com/photo-1528698827591-e19ccd7bc23d?auto=format&fit=crop&w=900&q=85");

    background-position: 35% center;

    -webkit-mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 42%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 42%,
        transparent 100%
    );
}

/* 右側の画像 */

.home body.home .wrapping-section::after {
    right: 0;

    background-image: url("https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=900&q=85");

    background-position: 55% center;

    -webkit-mask-image: linear-gradient(
        to left,
        #000 0%,
        #000 42%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to left,
        #000 0%,
        #000 42%,
        transparent 100%
    );
}

/* 中央の文字 */

.home body.home .wrapping-section > .section-inner {
    position: relative;
    z-index: 1;
    width: min(760px, 72%);
}

.home body.home .wrapping-section h2 {
    margin-bottom: 5px;
}

/* 詳しく見る・予約するボタン */

.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 240px;
    padding: 16px 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    border: 1px solid #555;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        gap 0.3s ease;
}

.text-button:hover {
    background: #333;
    color: #fff;
    gap: 28px;
}

.text-button span {
    font-size: 16px;
}


/* =========================
   INSTAGRAM
========================= */

.instagram-section {
    padding: 110px 0;
    background: #f1ede5;
    text-align: center;
}

.instagram-inner h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    margin-bottom: 40px;
}

.instagram-grid {
    width: min(900px, 100%);
    margin: 0 auto 45px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.instagram-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

.instagram-item:hover img {
    transform: scale(1.04);
}


/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 110px 0;
    text-align: center;
}

.contact-section p:not(.section-label) {
    margin: 20px 0 35px;
    font-size: 13px;
}

.outline-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 180px;
    padding: 14px 28px;
    border: 1px solid #555;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.outline-button:hover {
    background: #333;
    color: #fff;
}


/* =========================
   SHOP INFO
========================= */

.shop-info-section {
    padding: 45px 5vw 55px;
    background: #fafaf7;
}

.shop-info-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.shop-image {
    min-height: 245px;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-info-content {
    padding: 28px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ede7dc;
}

.shop-info-content .section-label {
    margin-bottom: 10px;
}

.shop-info-content h2 {
    font-size: 27px;
    margin-bottom: 18px;
}

.shop-info-content dl {
    margin-bottom: 20px;
}

.shop-info-content dl > div {
    margin-bottom: 8px;
}

.shop-info-content dt {
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    letter-spacing: 0.15em;
    margin-bottom: 1px;
}

.shop-info-content dd {
    font-size: 12px;
    line-height: 1.5;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: #333;
    color: #fff;
    padding: 60px 5vw 30px;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: start;
    gap: 30px;
}

.footer-logo {
    color: #fff;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-nav a,
.instagram-link {
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.copyright {
    grid-column: 1 / -1;
    margin-top: 35px;
    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    letter-spacing: 0.1em;
    opacity: 0.6;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .global-nav {
        gap: 25px;
    }

    .about-content {
        padding: 28px;
    }

    .shop-info-inner {
        grid-template-columns: 1fr;
    }

    .shop-image {
        min-height: 260px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .copyright {
        grid-column: auto;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .header-inner {
        height: 75px;
        padding: 0 6vw;
    }

    .site-logo {
        font-size: 22px;
    }

    .global-nav {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .mobile-nav {
        display: none;
        padding: 25px 6vw 30px;
        background: #b4aeb1;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-nav.is-open {
        display: flex;
    }

    .mobile-nav a {
        font-family: "Montserrat", sans-serif;
        font-size: 13px;
        letter-spacing: 0.12em;
        color: #fff;
    }

    /* HERO */

    .hero img {
        min-height: 55vh;
        object-fit: cover;
    }

    /* ABOUT */

    .about-section {
        padding: 30px 5vw;
    }

    .about-background {
        min-height: 340px;
        padding: 12px;
    }

    .about-content {
        width: 96%;
        padding: 22px 18px;
    }

    .about-content h1 {
        font-size: 19px;
        white-space: normal;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .about-content p:not(.section-label) {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    /* WRAPPING */

    .home body.home .wrapping-section {
        padding: 75px 5vw;
    }

    .home body.home .wrapping-section .section-description {
        font-size: 12px;
        line-height: 1.8;
        margin: 20px auto 30px;
    }

    .text-button {
        min-width: 220px;
        padding: 14px 22px;
    }

    /* INSTAGRAM */

    .instagram-section {
        padding: 85px 0;
    }

    .instagram-grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    /* CONTACT */

    .contact-section {
        padding: 90px 0;
    }

    /* SHOP INFO */

    .shop-info-section {
        padding: 35px 5vw 45px;
    }

    .shop-image {
        min-height: 220px;
    }

    .shop-info-content {
        padding: 28px 24px;
    }

    .shop-info-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .shop-info-content dl {
        margin-bottom: 18px;
    }

    .shop-info-content dl > div {
        margin-bottom: 7px;
    }

    /* FOOTER */

    .site-footer {
        padding: 50px 6vw 25px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}


/* =========================
   RESPONSIVE REFINEMENTS
========================= */

@media (max-width: 900px) {

    .about-section {
        padding: 70px 6vw;
    }

    .about-content {
        padding: 0;
    }

    .home body.home .wrapping-section::before,
    .home body.home .wrapping-section::after {
        width: 25%;
    }

    .home body.home .wrapping-section > .section-inner {
        width: min(760px, 82%);
    }
}

@media (max-width: 700px) {

    .about-section {
        padding: 62px 7vw 68px;
    }

    .about-background {
        min-height: 0;
        padding: 0;
    }

    .about-content {
        width: 100%;
        padding: 0;
    }

    .about-content h1 {
        font-size: 23px;
        margin-bottom: 24px;
    }

    .about-content p:not(.section-label) {
        font-size: 13px;
        line-height: 1.95;
        margin-bottom: 13px;
    }

    .home body.home .wrapping-section {
        padding: 84px 6vw 88px;
    }

    .home body.home .wrapping-section::before,
    .home body.home .wrapping-section::after {
        width: 19%;
        opacity: 0.5;
    }

    .home body.home .wrapping-section > .section-inner {
        width: 100%;
    }

    .home body.home .wrapping-section h2 {
        font-size: clamp(26px, 7vw, 34px);
    }

    .home body.home .wrapping-section .section-description {
        max-width: 500px;
    }

    .home body.home .wrapping-section .section-description br {
        display: none;
    }
}


/* =========================
   READABILITY IMPROVEMENTS
   読みやすさ向上：本文・補足・操作ボタン
   ========================= */
body {
    font-weight: 400;
}
.section-label {
    font-size: 12px;
}
.global-nav a {
    font-size: 13px;
}
.about-content p:not(.section-label) {
    font-size: 16px;
    line-height: 1.95;
}
.section-description,
.home body.home .wrapping-section .section-description {
    font-size: 16px;
    line-height: 1.9;
}
.contact-section p:not(.section-label) {
    font-size: 16px;
    line-height: 1.9;
}
.text-button,
.outline-button {
    font-size: 14px;
}
.shop-info-content dt {
    font-size: 12px;
}
.shop-info-content dd {
    font-size: 15px;
    line-height: 1.75;
}
.footer-nav a,
.instagram-link {
    font-size: 12px;
}
.copyright {
    font-size: 11px;
}
@media (max-width: 700px) {
    .about-content p:not(.section-label) {
        font-size: 15px;
        line-height: 1.95;
    }
    .home body.home .wrapping-section .section-description {
        font-size: 15px;
        line-height: 1.9;
    }
    .contact-section p:not(.section-label) {
        font-size: 15px;
    }
    .shop-info-content dd {
        font-size: 15px;
    }
    .mobile-nav a {
        font-size: 15px;
    }
}


/* =========================
   SOFT TYPOGRAPHY REFINEMENT
   文字サイズを保ちながら、落ち着いた印象へ
   ========================= */
body {
    font-weight: 300;
    color: #494648;
}
.about-content p:not(.section-label),
.home body.home .wrapping-section .section-description,
.contact-section p:not(.section-label) {
    font-weight: 300;
    color: #555153;
}
.shop-info-content dd {
    font-weight: 300;
    color: #514d4e;
}
.about-content h1,
.home body.home .wrapping-section h2,
.contact-section h2,
.shop-info-content h2 {
    color: #3f3c3d;
}
.text-button,
.outline-button {
    font-weight: 400;
    color: #494648;
}
.section-label,
.shop-info-content dt {
    color: #686264;
}

/* WordPress admin bar: keep fixed header visible while logged in. */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
/* WordPress page templates (not the home page). */
.kurasly-page { min-height: 65vh; padding: 85px 5vw 110px; }
.kurasly-page-inner { max-width: 960px; margin: 0 auto; }
.kurasly-page-title { font-size: clamp(28px, 3vw, 38px); margin-bottom: 42px; }
.kurasly-page .wp-block-group { max-width: 100%; }
.kurasly-page .wpcf7 { max-width: 760px; margin: 0 auto; }
@media (max-width: 700px) { .kurasly-page { padding: 55px 6vw 80px; } }

/* v2.6: Shared header logo image (desktop / mobile) */
.site-header .site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 1;
}
.site-header .site-logo img {
    display: block;
    width: 116px;
    max-width: 100%;
    height: auto;
}
@media (max-width: 700px) {
    .site-header .site-logo img {
        width: 104px;
    }
}

/* v3.8: 404 page only — ensure content clears the fixed header. */
.kurasly-not-found {
    padding: 176px 6vw 120px;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.kurasly-not-found-inner { width: 100%; max-width: 720px; margin: 0 auto; }
.kurasly-not-found-code {
    font-family: Montserrat, sans-serif;
    font-size: clamp(58px, 8vw, 92px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: .08em;
    color: #777371;
    margin-bottom: 20px;
}
.kurasly-not-found-title {
    font-size: clamp(21px, 2.6vw, 29px);
    font-weight: 500;
    line-height: 1.6;
    color: #3f3c3d;
    margin-bottom: 20px;
}
.kurasly-not-found-description {
    font-size: 15px;
    line-height: 1.9;
    color: #555153;
    margin-bottom: 38px;
}
.kurasly-not-found-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 30px;
    border: 1px solid #777371;
    color: #494648;
    font-size: 14px;
    font-weight: 400;
    transition: background-color .2s ease, color .2s ease;
}
.kurasly-not-found-link:hover,
.kurasly-not-found-link:focus-visible { background: #777371; color: #fff; }
@media (max-width: 700px) {
    .kurasly-not-found { padding: 135px 7vw 90px; min-height: 65vh; }
    .kurasly-not-found-description { font-size: 14px; }
}

/* v462: Footer brand logo image */
.site-footer .footer-logo { display: inline-flex; align-items: center; max-width: 100%; }
.site-footer .footer-logo img { display: block; width: 150px; max-width: 100%; height: auto; }
@media (max-width: 600px) { .site-footer .footer-logo img { width: 135px; } }
