@charset "UTF-8";

/* ==========================================================================
   編集：サイト全体の色・フォント・余白
   ========================================================================== */
:root {
    /* 色を変更すると、サイト全体の配色が変わります */
    --bg-color: #1a1816; 
    --text-color: #f5f0eb; 
    --sub-text-color: #a09890;
    --accent-color: #ffffff;
    --link-hover: #cccccc;

    /* フォントを変更すると、サイト全体の文字の雰囲気が変わります */
    --font-main: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    --font-eng: 'Oswald', sans-serif;

    /* セクション間の余白やヘッダー高さを調整できます */
    --container-width: 1100px;
    --section-spacing: 160px;
    --header-height: 80px;
}

/* ==========================================================================
   編集：ローディング画面・ギャラリー補助設定
   ========================================================================== */
:root {
    --loader-bg: #1a1816;
    --line: #f5f0eb;
    --muted: rgba(245, 240, 235, 0.4);
    --stroke: 6;
    --hero-height: 100vh;
}

#loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--loader-bg);
    z-index: 9999;
}

.loader-inner {
    display: grid;
    place-items: center;
    gap: 24px;
}

.loader-symbol {
    width: min(180px, 40vw);
    height: auto;
    animation: floaty 1.6s ease-in-out infinite;
}

.loader-symbol path,
.loader-symbol circle,
.loader-symbol line {
    fill: none;
    stroke: var(--line);
    stroke-width: var(--stroke);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.symbol-ring { stroke: var(--muted); }

.symbol-line {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    opacity: .9;
    animation: symbolDraw 1.5s ease-in-out infinite;
}
.s1 { animation-delay: 0s; }
.s2 { animation-delay: .15s; }
.s3 { animation-delay: .3s; }

@keyframes symbolDraw {
    0% { stroke-dashoffset: 80; opacity: 0; transform: translateY(6px); }
    30% { opacity: 1; }
    60% { stroke-dashoffset: 0; opacity: 1; transform: translateY(0); }
    100% { stroke-dashoffset: -80; opacity: 0; transform: translateY(-8px); }
}

.symbol-accent {
    fill: none;
    stroke: var(--muted);
    animation: accentPop 1.2s ease-in-out infinite;
    transform-origin: 120px 120px;
}

@keyframes accentPop {
    0%, 100% { transform: scale(1); opacity: .85; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.symbol-orbit {
    transform-origin: 120px 120px;
    animation: orbit 1.9s linear infinite;
}
.symbol-dot { fill: var(--line); stroke: none; }

@keyframes orbit {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin: 0;
    font-family: var(--font-main, 'Noto Serif JP', serif);
    letter-spacing: 0.15em;
    color: var(--line);
    font-size: 0.95rem;
    font-weight: 300;
}

.dots::after {
    content: "";
    display: inline-block;
    width: 1.4em;
    text-align: left;
    animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {
    0% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
    100% { content: ""; }
}

html,
html.is-loading,
html.lenis.lenis-stopped {
    overflow-y: scroll !important;
}

.hero {
    height: var(--hero-height) !important;
}

.media-section {
    height: auto !important;
}

.media-section__sticky {
    position: relative !important;
    height: auto !important;
    padding: 40px 0 !important;
}

.media-section__images {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) rgba(0, 0, 0, 0.2);
}

.media-section__images::-webkit-scrollbar {
    display: block !important;
    height: 8px !important;
}
.media-section__images::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2) !important;
}
.media-section__images::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 4px !important;
}

.media-section__img-wrap {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    scroll-snap-align: center !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.media-section__img-text {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: none !important;
}

.media-section__swipe-guide {
    text-align: center !important;
    margin-top: 20px !important;
    font-family: var(--font-main, 'Noto Serif JP', serif) !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.1em !important;
    color: rgba(255, 255, 255, 0.8) !important;
    pointer-events: none !important;
    animation: guidePulse 2s infinite ease-in-out !important;
}

@keyframes guidePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.media-section__arrow-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(26, 24, 22, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    backdrop-filter: blur(4px) !important;
}

.media-section__arrow-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 1) !important;
}

.media-section__arrow-btn svg {
    width: 24px !important;
    height: 24px !important;
}

.media-section__arrow-btn--prev {
    left: 20px !important;
}

.media-section__arrow-btn--next {
    right: 20px !important;
}

.intro-section__img-sub {
    transition-delay: 0.1s;
}

.media-section__slider {
    transition-delay: 0.2s;
}

@media (max-width: 768px) {
    .media-section__arrow-btn {
        width: 40px !important;
        height: 40px !important;
    }
    .media-section__arrow-btn--prev {
        left: 10px !important;
    }
    .media-section__arrow-btn--next {
        right: 10px !important;
    }
}

/* ==========================================================================
   基本設定：通常は変更不要です
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    width: 100%;
}

html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 2;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip; 
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s, color 0.3s;
}
a:hover {
    opacity: 0.7;
}

img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #222;
    object-fit: cover;
}

h1, h2, h3, p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container--wide {
    max-width: 1300px;
}

.section { 
    padding-bottom: var(--section-spacing); 
}

/* 編集：フェード表示の速さは transition の秒数で調整できます */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   編集：画像のパララックス演出
   ========================================================================== */
.js-parallax-wrapper {
    position: relative;
}

.js-parallax-target {
    will-change: transform;
}

/* マップ画像を差し替える場合は、HTMLの画像パスとaltも編集してください */
.details-section__visual-placeholder.js-parallax-wrapper {
    overflow: hidden;
}
.details-section__visual-placeholder .js-parallax-target {
    height: 120%;
    width: 100%;
    position: absolute;
    top: -10%;
    left: 0;
    object-fit: cover;
}

/* 編集：画像サイズの目安ラベル。不要な場合はHTMLの data-placeholder-label を削除してください */
.image-placeholder {
    position: relative;
    background: #6c6c6c;
}

.image-placeholder::before {
    content: attr(data-placeholder-label);
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    padding: 6px 14px;
    font-family: var(--font-eng);
    font-size: 0.75rem;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: rgba(26, 24, 22, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
    white-space: nowrap;
}

/* ==========================================================================
   編集：共通の見出し・ボタン
   ========================================================================== */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.c-section-title {
    font-family: var(--font-eng);
    font-size: 2.8rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
}

.c-section-subtitle {
    font-family: var(--font-main);
    font-size: 1rem;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 10px;
    color: var(--sub-text-color);
}

.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 60px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: var(--text-color);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}
.c-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}
.c-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
    opacity: 1; 
}

/* ==========================================================================
   編集：ヘッダー（ロゴ・SNSリンク）
   ========================================================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    background: transparent;
    border-bottom: none;
}

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

.header__logo {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.2em;
}

.header__logo-img {
    height: 60px;
    width: auto;
    background-color: transparent;
}

.header__sns {
    display: flex;
    gap: 20px;
}
.header__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

/* ==========================================================================
   編集：右側ナビゲーション
   ========================================================================== */
.side-nav {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
}

.side-nav__label {
    position: absolute;
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
    font-family: var(--font-eng);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    writing-mode: horizontal-tb;
    color: var(--sub-text-color);
    pointer-events: none;
    white-space: nowrap;
}

.side-nav__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.side-nav__btn {
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 1px solid var(--sub-text-color);
    transform: rotate(45deg);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.side-nav__btn.is-active,
.side-nav__btn:hover {
    background-color: var(--text-color);
    border-color: var(--text-color);
}

@media (min-width: 1025px) {
    .side-nav__list li {
        position: relative;
    }

    .side-nav__list li::before {
        content: attr(data-label);
        position: absolute;
        right: 28px;
        top: 50%;
        transform: translate(6px, -50%);
        font-family: var(--font-eng);
        font-size: 0.75rem;
        line-height: 1;
        letter-spacing: 0.12em;
        color: var(--text-color);
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    .side-nav__list li:hover::before,
    .side-nav__list li:focus-within::before {
        transform: translate(0, -50%);
        opacity: 1;
        visibility: visible;
    }
}

/* ==========================================================================
   編集：ファーストビュー
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero__img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; 
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(26,24,22,1) 0%, rgba(26,24,22,0) 30%);
}

.hero__content {
    text-align: center;
    z-index: 1;
}

.hero__copy-en {
    font-family: var(--font-eng);
    font-size: 4vw;
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero__copy-ja {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
}

.hero__bottom {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero__info {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    gap: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.hero__info-label {
    font-family: var(--font-eng);
    letter-spacing: 0.1em;
}
.hero__info-body {
    min-width: 0;
}
.hero__info-item {
    display: none;
    align-items: center;
    gap: 20px;
}
.hero__info-item.is-active {
    display: flex;
}
.hero__info-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.hero__info-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}

.hero__scroll-down {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80px;
}
.hero__scroll-down::after {
    content: '';
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 0;
}
.hero__scroll-down span {
    display: block;
    width: 5px;
    height: 5px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    bottom: 0;
    z-index: 2;
}

/* ==========================================================================
   編集：SECTION 01（紹介文・画像）
   ========================================================================== */
.intro-section {
    margin-top: var(--section-spacing);
}

.intro-section__inner {
    position: relative;
    padding: 140px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-section__frame-outer {
    position: absolute;
    top: 80px;
    bottom: 80px; 
    left: 10%;
    right: 10%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}

.intro-section__frame-inner {
    position: absolute;
    top: 60px;
    bottom: 100px;
    left: calc(10% - 20px);
    right: calc(10% + 20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}

.intro-section__images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.intro-section__img-main {
    width: 55%;
    position: absolute;
    top: 15%;
    left: 0;
}

.intro-section__img-sub {
    width: 45%;
    position: absolute;
    right: 5%;
    bottom: 15%;
    z-index: 2;
    box-shadow: -10px -10px 30px rgba(0,0,0,0.5);
}

.intro-section__content-wrap {
    width: 80%;
    position: relative;
    z-index: 4;
    background: transparent;
    padding: 100px 60px;
    opacity: 0;
}

.intro-section__text-area {
    position: relative;
    width: 100%;
    padding-right: 180px;
}

.intro-section__title-wrap {
    position: absolute;
    top: 0;
    right: 60px;
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
}

.intro-section__title-en {
    font-family: var(--font-eng);
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.intro-section__title-ja {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    margin-top: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.intro-section__text, 
.intro-section__text-en {
    width: 100%; 
    padding-right: 0;
}

.intro-section__text {
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 2.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.intro-section__text-en {
    font-family: var(--font-eng);
    font-size: 0.8rem;
    color: var(--sub-text-color);
    line-height: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   編集：SECTION 02（特徴カード）
   ========================================================================== */
.detail-section .container {
    max-width: 1500px;
}

.detail-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-bottom: 120px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.detail-card:last-of-type {
    margin-bottom: 0;
}

.detail-card--reverse {
    flex-direction: row-reverse;
}

.detail-card__img-wrap {
    width: 700px;
    max-width: 60%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.detail-card__content {
    width: 700px;
    max-width: 60%;
    position: relative;
    z-index: 2;
    margin-left: -80px;
}
.detail-card--reverse .detail-card__content {
    margin-left: 0;
    margin-right: -80px;
}

.detail-card__frame {
    padding: 60px 80px;
    position: relative;
    background: transparent;
}

.detail-card__frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
    background-repeat: no-repeat;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-size: 0 1px, 1px 0, 0 1px, 1px 0; 
}

.detail-card.is-visible .detail-card__frame::before {
    animation: drawFrameOuter 2.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes drawFrameOuter {
    0%   { background-size: 0 1px, 1px 0, 0 1px, 1px 0; }
    25%  { background-size: 100% 1px, 1px 0, 0 1px, 1px 0; }
    50%  { background-size: 100% 1px, 1px 100%, 0 1px, 1px 0; }
    75%  { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 0; }
    100% { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%; }
}

.detail-card__frame::after {
    content: '';
    position: absolute;
    top: -15px;
    bottom: -15px;
    left: 15px;
    right: 15px;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4));
    background-repeat: no-repeat;
    background-position: 0 0, 100% 100%; 
    background-size: 1px 0, 1px 0;
}

.detail-card.is-visible .detail-card__frame::after {
    animation: drawFrameInner 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.0s;
}

@keyframes drawFrameInner {
    0%   { background-size: 1px 0, 1px 0; }
    50%  { background-size: 1px 100%, 1px 0; }
    100% { background-size: 1px 100%, 1px 100%; }
}

.detail-card__num {
    display: block;
    font-family: var(--font-eng);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
    opacity: 0;
}
.detail-card__label {
    font-family: var(--font-main);
    font-size: 0.8rem;
    margin-left: 10px;
}

.detail-card__title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
    color: #ffffff;
    opacity: 0;
}

.detail-card__text {
    font-size: 0.85rem;
    line-height: 2.2;
    color: #ffffff;
    opacity: 0;
}

/* 編集：カード内テキストの表示アニメーション */
.detail-card.is-visible .detail-card__num,
.detail-card.is-visible .detail-card__title,
.detail-card.is-visible .detail-card__text {
    animation: detailTextFade 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

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

/* ==========================================================================
   編集：SECTION 03（リスト項目・料金）
   ========================================================================== */
.listing-section {
    position: relative;
    padding: 0 0 var(--section-spacing) 0;
}

.listing-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.listing-section__title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.listing-section__title-text {
    display: flex;
    gap: 20px;
}

.listing-section__title-en {
    font-family: var(--font-eng);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #ffffff;
}
.listing-section__title-ja {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    margin-top: 10px;
    color: var(--sub-text-color);
}

.listing-section__content-area {
    flex-grow: 1;
    max-width: 700px;
}

.listing-section__block {
    margin-bottom: 60px;
}
.listing-section__category {
    font-family: var(--font-eng);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.listing-section__desc {
    font-size: 0.8rem;
    color: var(--sub-text-color);
    margin-bottom: 20px;
}

.listing-section__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.listing-section__item {
    display: flex;
    align-items: baseline;
    font-size: 1rem;
    letter-spacing: 0.05em;
}
.listing-section__name {
    color: #ffffff;
}
.listing-section__leader {
    flex-grow: 1;
    margin: 0 15px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
    position: relative;
    top: -5px;
}
.listing-section__price {
    font-family: var(--font-eng);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.listing-section__btn-wrap {
    margin-top: 60px;
    text-align: right;
}
.c-btn--listing {
    border-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   編集：SECTION 03の装飾アニメーション
   ========================================================================== */
.listing-section__visual-anim {
    width: 220px; 
    height: auto;
    --line-color: rgba(255, 255, 255, 0.4);
    --dash-duration: 520s;
    --fade-duration: 4s;
    margin-top: 30px;
}

.listing-section__visual-anim svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.listing-section__visual-anim .line-flow {
    stroke: var(--line-color) !important;
    animation:
      line-dash var(--dash-duration) linear infinite,
      line-fade var(--fade-duration) linear infinite;
}
.listing-section__visual-anim .line-flow--a { animation: line-dash 480s linear infinite, line-fade 3s linear infinite; }
.listing-section__visual-anim .line-flow--b { animation: line-dash 400s linear infinite; }

@keyframes line-dash { from { stroke-dashoffset: 1px; } to { stroke-dashoffset: -10000px; } }
@keyframes line-fade { 0% { opacity: 1; } 50%{ opacity: .5; } 100%{ opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .listing-section__visual-anim .line-flow { animation: none !important; opacity: 1; }
}

/* ==========================================================================
   編集：SECTION 04（ギャラリー）
   ========================================================================== */
.media-section {
    height: 800vh; 
    position: relative;
    background: var(--bg-color);
    margin-bottom: var(--section-spacing);
}

.media-section__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-section__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
}

.media-section__title-wrap {
    margin-bottom: 40px;
    z-index: 5;
}

.media-section__slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 75vh;
}

/* 編集：ギャラリーの二重枠線 */
.media-section__frame-outer {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 3;
    pointer-events: none;
}
.media-section__frame-inner {
    position: absolute;
    top: -10px;
    bottom: -30px;
    left: -30px;
    right: -10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 3;
    pointer-events: none;
}

/* 編集：ギャラリー画像の表示エリア */
.media-section__images {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    background: #222;
}

.media-section__img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform: translateY(100%);
    will-change: transform;
}

.media-section__img-wrap:first-child {
    transform: translateY(0);
}

.media-section__img-wrap:nth-child(1) { z-index: 1; }
.media-section__img-wrap:nth-child(2) { z-index: 2; }
.media-section__img-wrap:nth-child(3) { z-index: 3; }
.media-section__img-wrap:nth-child(4) { z-index: 4; }

.media-section__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 編集：画像上に重なるテキストの見た目 */
.media-section__img-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-family: var(--font-main);
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    color: #ffffff;
    background: rgba(26, 24, 22, 0.6);
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    z-index: 2;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}
.media-section__img-wrap.is-active .media-section__img-text {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   編集：SECTION 05（基本情報）
   ========================================================================== */
.details-section {
    position: relative;
}

.details-section__columns {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 80px;
}

.details-section__col {
    width: calc(50% - 40px);
}

.details-section__list {
    display: flex;
    flex-direction: column;
}

.details-section__row {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.details-section__row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 769px) {
    .details-section__row {
        min-height: 124px;
        align-items: center;
    }
}

.details-section__list dt {
    width: 140px;
    flex-shrink: 0;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #ffffff;
}

.details-section__list--en dt {
    font-family: var(--font-eng);
    font-size: 1.1rem;
    font-weight: 300;
}

.details-section__list dd {
    margin: 0;
    flex-grow: 1;
    letter-spacing: 0.1em;
    line-height: 2;
    color: var(--text-color);
}

.details-section__list--en dd {
    font-family: var(--font-eng);
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
}

.details-section__map {
    width: 100%;
}

/* ==========================================================================
   編集：マップ画像・SECTION 06（リンク導線）
   ========================================================================== */
.details-section__visual-placeholder {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.details-section__visual-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
}
.c-btn--visual {
    z-index: 2;
    background: rgba(26, 24, 22, 0.8);
    backdrop-filter: blur(4px);
}

.action-section__inner {
    padding: 0;
    text-align: center;
}

.action-section__media {
    margin-bottom: 100px;
}
.action-section__media-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-eng);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* 編集：問い合わせ導線エリア */
.action-section__panel {
    position: relative;
    padding: 60px;
    margin: 0 auto;
    max-width: 800px;
    background: transparent;
}

/* 編集：問い合わせ導線の枠線アニメーション */
.action-section__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
    background-repeat: no-repeat;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-size: 0 1px, 1px 0, 0 1px, 1px 0; 
}

.action-section__panel.is-visible::before {
    animation: drawFrameOuter 1.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.action-section__panel::after {
    content: '';
    position: absolute;
    top: -15px;
    bottom: -15px;
    left: 15px;
    right: 15px;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4));
    background-repeat: no-repeat;
    background-position: 0 0, 100% 100%; 
    background-size: 1px 0, 1px 0;
}

.action-section__panel.is-visible::after {
    animation: drawFrameInner 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

/* 編集：問い合わせ導線内のテキスト表示アニメーション */
.action-section__panel .c-section-title,
.action-section__panel .action-section__actions {
    opacity: 0;
}

.action-section__panel.is-visible .c-section-title,
.action-section__panel.is-visible .action-section__actions {
    animation: detailTextFade 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.action-section__actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

/* ==========================================================================
   編集：フッター
   ========================================================================== */
.footer {
    padding: 60px 0;
    text-align: center;
    background: transparent;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer__sns {
    display: flex;
    gap: 20px;
}
.footer__sns a {
    color: var(--text-color);
}

.footer__company-link {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.footer__copyright {
    font-family: var(--font-eng);
    font-size: 0.7rem;
    color: var(--sub-text-color);
    letter-spacing: 0.1em;
}

/* ==========================================================================
   編集：トップへ戻るボタン
   ========================================================================== */
.page-top-btn {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 50px;
    height: 50px;
    background-color: rgba(26, 24, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    padding: 0;
}

.page-top-btn::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    transform: translateY(2px) rotate(45deg);
    transition: all 0.3s ease;
}

.page-top-btn.is-active {
    opacity: 1;
    visibility: visible;
}

.page-top-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
}

/* ==========================================================================
   編集：タブレット・スマホ表示
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    html {
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }
    
    .container { padding: 0 40px; }
    .hero__copy-en { font-size: 6vw; }

    /* SECTION 01：タブレット表示 */
    .intro-section__inner { padding: 100px 0; }
    .intro-section__frame-outer { left: 5%; right: 5%; }
    .intro-section__frame-inner { left: calc(5% - 10px); right: calc(5% + 10px); }
    .intro-section__img-main { width: 75%; top: 10%; }
    .intro-section__img-sub { width: 50%; bottom: 10%; }
    .intro-section__content-wrap { width: 90%; padding: 60px 40px; }
    .intro-section__text-area { padding-right: 120px; }
    .intro-section__title-wrap { top: 25px; right: 30px; }
    
    /* SECTION 02：タブレット表示 */
    .detail-card__img-wrap { width: 60%; max-width: none; }
    .detail-card__content { width: 60%; max-width: none; margin-left: -10%; }
    .detail-card--reverse .detail-card__content { margin-left: 0; margin-right: -10%; }
    .detail-card__frame { padding: 50px 40px; }
    
    /* SECTION 03：タブレット表示 */
    .listing-section__inner { flex-direction: column; gap: 50px; }
    .listing-section__title-area { 
        flex-direction: column; 
        align-items: center; 
    }
    .listing-section__title-text {
        flex-direction: column; 
        align-items: center; 
        writing-mode: horizontal-tb;
    }
    .listing-section__title-en, .listing-section__title-ja {
        writing-mode: horizontal-tb !important;
        text-align: center;
        margin: 0;
    }
    
    /* SECTION 03：リストを2カラムで表示 */
    .listing-section__content-area { 
        max-width: 100%; 
        margin: 0 auto; 
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .listing-section__block {
        width: calc(50% - 20px);
        margin-bottom: 0;
    }
    .listing-section__btn-wrap {
        width: 100%;
        margin-top: 40px;
    }

    /* SECTION 04：タブレット表示 */
    .media-section__slider { height: 60vh; }

    /* SECTION 05：タブレット表示 */
    .details-section__columns { gap: 40px; }
    .details-section__col { width: calc(50% - 20px); }
    .details-section__list dt { width: 100px; }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 100px;
    }
    .header__inner { padding: 0 20px; }
    .side-nav { display: none; }
    
    .hero__copy-en { font-size: 10vw; }
    .hero__bottom { left: 20px; right: 20px; bottom: 20px; flex-direction: column; align-items: flex-start; gap: 20px;}
    .hero__info { flex-wrap: wrap; gap: 10px 16px; max-width: calc(100vw - 40px); }
    .hero__info-item { flex-wrap: wrap; gap: 4px 14px; }
    .hero__scroll-down { display: none; }

    /* SECTION 01：スマホ表示 */
    .intro-section .container { padding: 0 16px; }
    .intro-section__inner { padding: 80px 0; flex-direction: column; justify-content: center; }
    .intro-section__images { display: none; }
    .intro-section__frame-outer { display: block; top: 40px; bottom: 40px; left: 0; right: 0; }
    .intro-section__frame-inner { display: block; top: 20px; bottom: 60px; left: -10px; right: 10px; }
    .intro-section__content-wrap {
        width: 100%; padding: 80px 15px; margin-top: 0; background: transparent;
        border: none; display: flex; flex-direction: column;
    }
    .intro-section__title-wrap {
        order: -1; position: relative; top: 0; right: 0; display: flex;
        flex-direction: column; align-items: center; margin-bottom: 40px; gap: 10px;
    }
    .intro-section__text-area { display: block; padding-right: 0; text-align: left; }
    .intro-section__title-en, .intro-section__title-ja { writing-mode: horizontal-tb !important; text-align: center; margin-top: 0; }
    .intro-section__title-en { font-size: 1.5rem; letter-spacing: 0.2em; }
    .intro-section__title-ja { font-size: 1.1rem; }
    .intro-section__text, .intro-section__text-en { width: 100%; text-shadow: none; }

    /* SECTION 02：スマホ表示 */
    .detail-card, .detail-card--reverse { flex-direction: column; margin-bottom: 80px; }
    .detail-card__img-wrap { width: 100%; max-width: none; }
    .detail-card__content { width: calc(100% + 40px); max-width: none; margin: -20px -20px 0 !important; }
    .detail-card__frame { padding: 35px 25px; background: rgba(26,24,22,0.95); }
    .detail-card__frame::after { top: 12px; bottom: 12px; left: -12px; right: -12px; }

    /* SECTION 03：スマホ表示 */
    .listing-section { padding: 80px 0; }
    .listing-section__inner { padding: 0 20px; gap: 40px; }
    
    /* SECTION 03：リストを縦並びで表示 */
    .listing-section__content-area { display: block; }
    .listing-section__block { width: 100%; margin-bottom: 60px; }
    .listing-section__btn-wrap { text-align: center; margin-top: 0; }

    .listing-section__item { flex-direction: column; align-items: flex-start; gap: 5px; }
    .listing-section__leader { display: none; }
    .listing-section__price { align-self: flex-end; }

    /* SECTION 04：スマホ表示 */
    .media-section__inner { padding: 0 20px; }
    .media-section__slider { height: 50vh; }
    .media-section__frame-outer { inset: -10px; }
    .media-section__frame-inner { top: -5px; bottom: -15px; left: -15px; right: -5px; }
    .media-section__img-text { 
        font-size: 0.95rem; 
        left: 20px; 
        bottom: 20px; 
        right: auto; 
        padding: 10px 20px;
        transform: translateX(-10px);
    }
    
    /* SECTION 05：スマホ表示 */
    .details-section__columns { flex-direction: column; gap: 0; margin-bottom: 40px; }
    .details-section__col { width: 100%; }
    .details-section__col:nth-child(2) { display: none; }
    .details-section__row { flex-direction: column; gap: 10px; padding: 20px 0; }
    .details-section__list dt { width: 100%; color: var(--sub-text-color); }

    .action-section__panel { width: 90%; padding: 40px 20px; margin: 0 auto 0; }
    .action-section__actions { flex-direction: column; align-items: center; }
    .c-btn { width: 100%; max-width: 300px; }

    /* トップへ戻るボタン：スマホ表示 */
    .page-top-btn {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
    .page-top-btn::before {
        width: 8px;
        height: 8px;
    }
}
