@charset "utf-8";

:root {
    --paper: #faf8f4;
    --ink: #4e453e;
    --muted: #786e65;
    --line: #dbd2c8;
    --accent: #77634f;
    --serif: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 14px;
    line-height: 2;
    letter-spacing: .06em
}

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

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer
}

a,
button {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px
}

a:hover {
    color: #92765c
}

p {
    overflow-wrap: anywhere
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400
}

h2 {
    font-size: clamp(26px, 3vw, 39px);
    line-height: 1.8;
    letter-spacing: .12em
}

.header {
    height: 100px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 244, .97);
    border-bottom: 1px solid var(--line)
}

.brand {
    font-family: Georgia, var(--serif);
    font-size: 42px;
    letter-spacing: .02em;
    line-height: 1.1
}

.brand span {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 8px;
    letter-spacing: .2em;
    margin-top: 10px
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none
}

.nav-list a {
    font-family: Georgia, var(--serif);
    font-size: 15px;
    letter-spacing: .08em
}

.nav-list a[aria-current] {
    border-bottom: 1px solid var(--accent)
}

.nav-list .nav-reserve {
    display: block;
    background: var(--accent);
    color: white;
    padding: 13px 22px;
    font-family: inherit;
    font-size: 12px
}

.nav-reserve:hover,
.button:hover {
    background: #594a3e;
    color: white
}

.hamburger-button {
    display: none
}

.eyebrow {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .21em;
    color: var(--muted);
    margin-bottom: 25px
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 660px;
    position: relative;
    padding: 35px 5% 65px;
    gap: 5%;
    align-items: center
}

.hero-copy {
    padding: 30px 0 30px 5%
}

.hero h1 {
    font-size: clamp(33px, 3.5vw, 52px);
    line-height: 1.9;
    letter-spacing: .13em
}

.hero-description {
    margin: 24px 0 30px;
    line-height: 2.3;
    color: var(--muted)
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
    padding: 17px 28px;
    background: var(--accent);
    color: white;
    font-size: 13px;
    transition: background .2s
}

.hero-note {
    font-size: 10px;
    margin-top: 24px;
    color: var(--muted)
}

.hero-photo {
    position: relative;
    margin-bottom: 20px
}

.hero-photo img {
    height: 580px;
    object-fit: cover;
    object-position: center 52%;
    border-radius: 48% 48% 0 0
}

.photo-label {
    position: absolute;
    bottom: -27px;
    right: 0;
    font: italic 16px Georgia, serif;
    letter-spacing: .04em
}

.scroll-cue {
    position: absolute;
    bottom: 20px;
    left: 7%;
    font: 9px Arial, sans-serif;
    letter-spacing: .2em
}

.section-wrap {
    width: 86%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 100px 0
}

.concept {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 12%;
    align-items: center
}

.concept-photo {
    position: relative;
    padding-left: 20px
}

.concept-photo:before {
    content: "";
    position: absolute;
    inset: 25px 25px -25px -5px;
    background: #e9e2d8;
    z-index: -1
}

.concept-photo img {
    height: 530px;
    object-fit: cover
}

.concept-photo>span {
    display: block;
    font: 9px Arial, sans-serif;
    letter-spacing: .2em;
    margin-top: 15px
}

.concept-copy>p:not(.eyebrow):not(.signature) {
    margin-top: 24px;
    line-height: 2.4;
    color: var(--muted)
}

.concept-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px
}

.concept-points span {
    font-size: 10px;
    border: 1px solid var(--line);
    padding: 4px 10px
}

.signature {
    font: italic 35px Georgia, serif;
    margin-top: 28px;
    text-align: right
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 40px
}

.section-top .eyebrow {
    margin-bottom: 14px
}

.section-top>p {
    font-size: 12px;
    color: var(--muted)
}

.text-link {
    display: inline-block;
    font-size: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--accent)
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.collection-item>div {
    overflow: hidden
}

.collection-item img {
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform .5s
}

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

.collection-item>span {
    display: inline-block;
    margin-top: 15px;
    font: 19px Georgia, serif
}

.collection-item>span:last-child {
    float: right;
    font-size: 15px
}

.home-menu {
    background: #eee8df
}

.menu-preview {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12%;
    align-items: center
}

.menu-preview h2+p {
    margin: 22px 0;
    color: var(--muted)
}

.preview-prices>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 23px 0;
    border-bottom: 1px solid #cdc2b5
}

.preview-prices>a:first-child {
    border-top: 1px solid #cdc2b5
}

.preview-prices small {
    display: block;
    font: 9px Arial, sans-serif;
    letter-spacing: .2em;
    margin-bottom: 8px;
    color: var(--muted)
}

.preview-prices strong {
    font: 23px Georgia, serif;
    white-space: nowrap
}

.preview-prices i {
    font: 15px Georgia, serif;
    margin-left: 18px
}

.price-note {
    font-size: 10px;
    margin-top: 17px;
    color: var(--muted)
}

.access-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 7%
}

.map-wrap iframe {
    width: 100%;
    height: 440px;
    border: 0;
    display: block;
    filter: saturate(.65)
}

.access-name {
    font: 32px Georgia, serif;
    margin-bottom: 20px
}

.access-name span {
    font: 10px sans-serif;
    margin-left: 18px
}

.access-info {
    font-size: 12px
}

.access-detail {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.access-detail dt {
    color: var(--muted)
}

.access-note {
    font-size: 11px;
    color: var(--muted);
    margin: 20px 0 8px
}

.booking {
    padding: 85px 24px;
    text-align: center;
    background: linear-gradient(rgba(244, 239, 231, .91), rgba(244, 239, 231, .91)), url('img/nishiki_naisou3.jpg') center/cover
}

.booking h2 {
    font-size: 36px
}

.booking>p:not(.eyebrow) {
    margin: 23px auto 28px;
    color: var(--muted);
    font-size: 12px
}

.site-footer {
    width: 86%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 55px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.site-footer .brand {
    font-size: 32px
}

.site-footer p,
.site-footer small {
    font-size: 10px;
    color: var(--muted)
}

.mobile-reserve {
    display: none
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 15px;
    z-index: 100;
    background: white;
    padding: 12px
}

.skip-link:focus {
    top: 10px
}

/* Menu and gallery */
#menu {
    padding: 80px 0 100px
}

.section-heading {
    text-align: center
}

.section-title {
    font-size: 32px;
    letter-spacing: .13em
}

.section-subtitle {
    font: italic 20px Georgia, serif;
    margin: 8px 0 22px;
    color: var(--muted)
}

.menu-description {
    max-width: 700px;
    text-align: center;
    margin: 20px auto 0;
    padding: 0 24px;
    color: var(--muted);
    font-size: 12px
}

.menu-container {
    width: 86%;
    max-width: 1100px;
    margin: 65px auto 0;
    display: grid;
    gap: 70px
}

.menu-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f0ebe4;
    min-width: 0
}

.menu-row:nth-child(2) .menu-image {
    order: 2
}

.menu-image {
    min-width: 0;
    position: relative
}

.menu-image .swiper {
    width: 100%;
    height: 100%;
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-inactive-opacity: .5
}

.menu-image img {
    height: 100%;
    min-height: 420px;
    max-height: 720px;
    object-fit: cover
}

.menu-box {
    padding: 40px
}

.menu-category-title {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 25px
}

.menu-category-title span {
    display: block;
    font: italic 17px Georgia, serif;
    margin-top: 8px;
    color: var(--muted)
}

.menu-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #d8cec2;
    font-size: 12px
}

.menu-item>span:last-child {
    white-space: nowrap;
    font: 17px Georgia, serif;
    align-self: center
}

.menu-note {
    text-align: center;
    padding: 0 24px;
    margin-top: 40px;
    font-size: 11px;
    color: var(--muted)
}

.design-page {
    width: 86%;
    max-width: 1160px;
    margin: auto;
    padding: 75px 0
}

.design-heading>p:last-child {
    font-size: 12px;
    color: var(--muted)
}

.design-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 35px 0 45px
}

.design-filter {
    background: transparent;
    border: 1px solid var(--line);
    padding: 10px 22px;
    font: 10px Arial, sans-serif;
    letter-spacing: .12em
}

.design-filter.is-active,
.design-filter:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white
}

.design-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 23px
}

.design-card[hidden] {
    display: none
}

.design-photo-button {
    display: block;
    border: 0;
    background: transparent;
    width: 100%;
    overflow: hidden
}

.design-card img {
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .4s
}

.design-photo-button:hover img {
    transform: scale(1.045)
}

.design-footer {
    text-align: center;
    padding-top: 55px
}

.design-footer p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px
}

.design-footer a {
    display: inline-block;
    border-bottom: 1px solid var(--accent);
    padding: 10px 4px;
    margin: 5px 15px;
    font-size: 12px
}

.design-dialog {
    border: 0;
    background: var(--paper);
    padding: 48px 15px 15px;
    margin: auto;
    width: min(90vw, 750px);
    max-height: 90dvh
}

.design-dialog::backdrop {
    background: rgba(30, 26, 22, .75)
}

.design-dialog-image {
    max-height: calc(90dvh - 75px);
    object-fit: contain
}

.design-dialog-close {
    position: absolute;
    right: 15px;
    top: 10px;
    background: transparent;
    border: 0;
    font-size: 12px;
    padding: 4px 10px
}

@media(min-width:1500px) {
    .hero {
        max-width: 1440px;
        margin: auto
    }
}

@media(max-width:1000px) {
    .nav-list {
        gap: 20px
    }

    .hero-copy {
        padding-left: 0
    }

    .hero-photo img {
        height: 520px
    }

    .hero h1 {
        font-size: 34px
    }

    .concept {
        gap: 7%
    }

    .menu-box {
        padding: 30px
    }

    .menu-item {
        font-size: 11px
    }

    .access-layout {
        gap: 5%
    }
}

@media(max-width:760px) {
    html {
        scroll-padding-top: 77px
    }

    .header {
        height: 77px;
        padding: 0 6%
    }

    .brand {
        font-size: 33px
    }

    .brand span {
        font-size: 7px;
        margin-top: 7px
    }

    .hamburger-button {
        display: flex;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 0;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 9px
    }

    .hamburger-line {
        width: 26px;
        height: 1px;
        background: var(--ink);
        transition: transform .2s
    }

    .hamburger-button[aria-expanded=true] .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .hamburger-button[aria-expanded=true] .hamburger-line:nth-child(2) {
        opacity: 0
    }

    .hamburger-button[aria-expanded=true] .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

    #global_nav {
        display: none;
        position: absolute;
        top: 77px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 20px 7% 30px;
        border-bottom: 1px solid var(--line)
    }

    #global_nav.active {
        display: block
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .nav-list a {
        display: block;
        padding: 12px 0
    }

    .nav-list .nav-reserve {
        text-align: center;
        margin-top: 10px
    }

    .hero {
        padding: 25px 7% 45px;
        gap: 25px;
        min-height: auto;
        grid-template-columns: 1fr
    }

    .hero-copy {
        padding: 20px 0 0
    }

    .hero .eyebrow {
        font-size: 8px;
        margin-bottom: 15px
    }

    .hero h1 {
        font-size: clamp(30px, 7.3vw, 45px);
        line-height: 1.8
    }

    .hero-description {
        font-size: 12px;
        line-height: 2.2;
        margin: 18px 0 22px
    }

    .hero-note {
        font-size: 9px;
        margin-top: 18px
    }

    .hero-photo {
        margin: 10px 0 18px 12%;
        grid-row: 2
    }

    .hero-photo img {
        height: auto;
        aspect-ratio: 4/5;
        max-height: 520px
    }

    .photo-label {
        font-size: 13px
    }

    .scroll-cue {
        bottom: 10px
    }

    .section-wrap {
        padding: 65px 0
    }

    .concept {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .concept-photo {
        width: 85%
    }

    .concept-photo img {
        height: 380px
    }

    .concept-copy p {
        font-size: 12px
    }

    h2 {
        font-size: 27px
    }

    .eyebrow {
        font-size: 9px;
        margin-bottom: 18px
    }

    .section-top {
        display: block;
        margin-bottom: 28px
    }

    .section-top .text-link {
        margin-top: 18px
    }

    .collection-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px 16px
    }

    .collection-item>span {
        font-size: 18px
    }

    .menu-preview {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .preview-prices strong {
        font-size: 20px
    }

    .preview-prices>a {
        font-size: 12px;
        padding: 20px 0
    }

    .access-layout {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .section-top>p {
        margin-top: 15px;
        font-size: 11px
    }

    .map-wrap iframe {
        height: 300px
    }

    .booking {
        padding: 65px 7%
    }

    .booking h2 {
        font-size: 30px
    }

    .site-footer {
        padding: 40px 0 95px;
        flex-wrap: wrap
    }

    .site-footer p {
        width: 100%;
        order: 3
    }

    .mobile-reserve {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        background: var(--accent);
        color: #fff;
        text-align: center;
        font-size: 11px;
        padding: 15px 8px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom))
    }

    .mobile-reserve:hover {
        color: #fff;
        background: #594a3e
    }

    #menu {
        padding: 50px 0 65px
    }

    .section-title {
        font-size: 27px
    }

    .menu-container {
        margin-top: 38px;
        gap: 35px
    }

    .menu-row {
        grid-template-columns: 1fr
    }

    .menu-row:nth-child(2) .menu-image {
        order: 0
    }

    .menu-image {
        height: 330px
    }

    .menu-image img {
        min-height: 0;
        height: 330px;
        object-position: center
    }

    .menu-box {
        padding: 28px 24px
    }

    .menu-item {
        font-size: 12px
    }

    .menu-note {
        font-size: 10px
    }

    .design-page {
        padding: 50px 0
    }

    .design-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px
    }

    .design-filters {
        gap: 8px;
        margin: 28px 0
    }

    .design-filter {
        padding: 10px 13px;
        font-size: 9px
    }

    .design-heading>p:last-child {
        font-size: 11px
    }

    .design-footer a {
        margin: 7px;
        font-size: 11px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }
}

/* Original Nishiki artwork */
.original-brand img {
    width: 155px;
    height: 76px;
    object-fit: contain
}

.original-title {
    width: min(100%, 360px);
    height: 115px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 14px
}

.hero h1 {
    font-size: clamp(23px, 2.5vw, 34px)
}

.hero-description {
    max-width: 460px;
    font-size: 12px
}

.concept-copy>p:not(.eyebrow):not(.signature) {
    margin-top: 18px
}

.site-footer .original-brand img {
    height: 65px
}

@media(max-width:760px) {
    .original-brand img {
        width: 130px;
        height: 60px
    }

    .original-title {
        height: 95px;
        width: 270px
    }

    .hero h1 {
        font-size: 25px
    }
}

.collection-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.collection-categories .collection-item>span {
    font-size: 16px
}

/* 花の写真をトップ全体に広げ、ロゴと施術写真に視線を集める */
.hero.hero-floral {
    isolation: isolate;
    max-width: none;
    min-height: 740px;
    padding: 64px max(6%, calc((100vw - 1240px) / 2)) 80px;
    gap: 8%;
    background: #f3eee6;
}

.hero-floral::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(250, 248, 244, .94) 0%, rgba(250, 248, 244, .70) 38%, rgba(250, 248, 244, .08) 78%),
        url('img/title_background.png');
    background-size: cover;
    background-position: center, 70% 48%;
}

.hero-floral .hero-copy {
    padding: 0;
}

.hero-floral .hero-copy > .eyebrow {
    padding-left: 38px;
    position: relative;
    font-size: 9px;
    margin-bottom: 8px;
}

.hero-floral .hero-copy > .eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    height: 1px;
    background: var(--accent);
}

.hero-floral .hero-title-panel {
    margin-bottom: 30px;
}

.hero-floral .hero-title-panel .original-title {
    width: 100%;
    max-width: 510px;
    height: 220px;
    object-fit: contain;
    object-position: left center;
    margin: -15px 0 -22px;
}

.hero-floral .hero-title-panel h1 {
    font-size: clamp(20px, 2vw, 27px);
    letter-spacing: .2em;
}

.hero-floral .hero-description {
    font-size: 12px;
    line-height: 2.5;
    margin: 0 0 30px;
    max-width: 440px;
    color: #5e5349;
}

.hero-floral .hero-photo {
    margin: 0 0 35px;
    padding: 12px;
    border: 1px solid rgba(119, 99, 79, .35);
    transform: rotate(3deg);
}

.hero-floral .hero-photo img {
    height: 540px;
    border-radius: 0;
    object-position: center;
}

.hero-floral .photo-label {
    bottom: -37px;
    right: 12px;
    font-size: 23px;
}

.hero-floral .button {
    min-width: 240px;
}

/* 背景は動かさず、タイトル → 施術写真 → 紹介文の順に一度だけ表示する */
@media (prefers-reduced-motion: no-preference) {
    .hero-floral .hero-copy > .eyebrow,
    .hero-floral .hero-title-panel {
        animation: hero-reveal 0.85s ease-out 0.15s both;
    }

    .hero-floral .hero-photo {
        animation: hero-reveal 0.85s ease-out 1s both;
    }

    .hero-floral .hero-description,
    .hero-floral .hero-copy > .button,
    .hero-floral .hero-note {
        animation: hero-reveal 0.8s ease-out 1.85s both;
    }

    /* キーボードで予約ボタンを選択したときは、待たずに表示する */
    .hero-floral .hero-copy > .button:focus-visible {
        animation: none;
    }
}

@keyframes hero-reveal {
    from {
        opacity: 0;
        translate: 0 16px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@media (max-width: 760px) {
    .hero.hero-floral {
        min-height: auto;
        padding: 40px 7% 55px;
        gap: 40px;
    }

    .hero-floral::before {
        background-image:
            linear-gradient(180deg, rgba(250, 248, 244, .80), rgba(250, 248, 244, .62) 50%, rgba(250, 248, 244, .1)),
            url('img/title_background.png');
        background-position: center, 58% center;
    }

    .hero-floral .hero-copy > .eyebrow {
        font-size: 8px;
    }

    .hero-floral .hero-title-panel .original-title {
        height: 175px;
        max-width: 380px;
        margin-top: -10px;
    }

    .hero-floral .hero-title-panel h1 {
        font-size: 21px;
    }

    .hero-floral .hero-photo {
        width: 80%;
        margin: 0 0 25px auto;
        padding: 8px;
    }

    .hero-floral .hero-photo img {
        height: auto;
        max-height: none;
        aspect-ratio: 4 / 5;
    }
}

@media(max-width:760px) {
    .collection-categories {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .collection-categories .collection-item img {
        aspect-ratio: 4/3
    }
}
