@charset "UTF-8";

/* 色や線の基本設定：サイト全体の色味を変える場合はここを編集します */
:root {
    /* ページ背景色 */
    --bg-color: #ffffff;
    /* 基本文字色 */
    --text-color: #555555;
    /* 薄い背景色 */
    --accent-gray: #f9f9f9;
    /* 区切り線の色 */
    --line-color: #e5e5e5;
}

/* 基本設定：フォントやページ全体の読みやすさを調整します */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0; padding: 0;
    font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 2;
    letter-spacing: 0.05em;
    overflow-x: hidden; 
    width: 100%;
}
h1, h2, h3 { font-weight: 400; margin: 0; line-height: 1.2; }

/* 共通コンテナ：サイト全体の最大幅と左右余白を調整します */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 5%; 
    box-sizing: border-box;
}

/* 幅広コンテナ：Section05のカード一覧で使用します */
.container-wide {
    max-width: 95%; 
    margin: 0 auto;
    padding: 0 2%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .container-wide {
        padding: 0 5%;
    }
}

/* ヒーロー：背景画像を変える場合は background-image を編集します */
header {
    width: 100%;

    height: 100vh;

    min-height: auto;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;

    background-image: url('../img/placeholder-hero.svg');
    background-size: cover;
    background-position: center;
    overflow: hidden;

    border-bottom: none;
}

/* ヒーロー背景の明るさを調整する白い重ねレイヤーです */
header::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;

    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
    pointer-events: none;
}

/* ヒーロー中央のロゴボックスです */
.hero-box {

    padding: clamp(30px, 5vw, 60px) clamp(30px, 6vw, 80px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);

    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;

    position: relative;
    z-index: 1;
    box-sizing: border-box;

    max-width: 90%;
    max-height: 90vh; 
    overflow: hidden; 

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto;
}

/* テキストロゴのサイズや文字間を調整します */
.hero-text-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 7vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--text-color);
    white-space: nowrap;
}

/* 画像ロゴを使う場合の表示サイズです */
.hero-logo {
    width: 320px;
    max-width: 100%;

    max-height: 60vh; 
    height: auto;
    object-fit: contain;
    display: block;
}

/* ヒーロー下部のスクロール案内です */
.scroll-indicator {
    position: absolute; bottom: clamp(20px, 5vh, 50px); left: 50%; transform: translateX(-50%);
    height: clamp(40px, 10vh, 60px); width: 1px; background: #eee; overflow: hidden;
    z-index: 1;
}
.scroll-indicator::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
    background: #aaa; animation: scrollDown 2s infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 100% { top: 100%; } }

/* 追従メニュー：位置・サイズ・開閉パネルの見た目を調整します */
.floating-menu {
    position: fixed;
    top: clamp(18px, 3vw, 34px);
    right: clamp(18px, 4vw, 48px);
    z-index: 1200;
}

.menu-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.menu-toggle__line {
    width: 22px;
    height: 1px;
    background: #555555;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-menu.is-open .menu-toggle__line:first-child {
    transform: translateY(4.5px) rotate(45deg);
}

.floating-menu.is-open .menu-toggle__line:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}

.site-menu-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(280px, calc(100vw - 36px));
    padding: 1.4rem 1.35rem;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.floating-menu.is-open .site-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.site-menu-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: #333333;
    padding-bottom: 1rem;
    margin-bottom: 0.7rem;
    border-bottom: 1px solid var(--line-color);
}

.site-menu-links {
    display: flex;
    flex-direction: column;
}

.site-menu-links a {
    font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.site-menu-links a:last-child {
    border-bottom: none;
}

.site-menu-links a:hover {
    color: #222222;
    padding-left: 0.35rem;
}

/* 共通セクション：上下余白と区切り線を調整します */
.section { 

    padding: 70px 0; 

    border-bottom: 1px solid var(--line-color);
}

@media (max-width: 1024px) {
    .section {

        padding: 60px 0; 
    }
}

.section-gray { background-color: var(--bg-color); }

/* セクション見出し：Section01〜05のラベル・見出し・本文の共通設定です */
.section-intro {
    color: var(--text-color);
    text-shadow: 0 10px 30px rgba(255,255,255,0.8);
    text-align: center;
}

.section-intro__label {
    font-family: "Cormorant Garamond", serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    font-size: clamp(16px, 1rem + 0.5vw, 24px);
    opacity: 0.9;
    margin: 0 0 0.5rem 0;
}

.section-intro__heading {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.25;

    font-size: clamp(20px, 1rem + 1.2vw, 32px);
    margin: 0 0 1.5rem 0;
}

.section-intro__description {
    margin: 0.8rem auto 0 auto;

    max-width: min(92vw, 900px);

    font-size: clamp(13px, 0.8rem + 0.35vw, 16px);
    line-height: 2;
    letter-spacing: 0.05em;
    opacity: 0.95;
}

/* Section01・Section03などの中央寄せ本文エリアです */
.section-content-wrap {

    max-width: 1200px; 
    margin: 0 auto; 
    text-align: center;
}

/* 見出しと次のコンテンツの距離を調整します */
.content-spacer {

    margin-bottom: -20px;
    position: relative;
    z-index: 10;
}

.content-spacer-large {
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .content-spacer {
        margin-bottom: 30px; 
    }
}

/* Section02：説明文と4枚画像グリッドのレイアウトです */
.section-02-area {
    width: 100%;

    height: auto; 
    min-height: auto;

    padding: 70px 0;

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color); 
    position: relative;
    overflow: hidden;

    border-bottom: 1px solid var(--line-color);
}

.section-02-inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100%;
}

.section-02-visual-grid {
    margin-top: 3rem;
    width: 100%;

    max-width: 1100px; 

    height: auto;

    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr;    
    gap: 15px; 

    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-02-visual-grid.active {
    opacity: 1;
    transform: translateY(0);
}

.section-02-visual-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;

    aspect-ratio: 1 / 1;
}

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

@media (hover: hover) {
    .section-02-visual-item:hover img {
        transform: scale(1.05);
    }
}

/* Section03：PCでは3D画像スライダー、スマホでは横スクロールカードになります */
.showcase-section {
    position: relative;
    width: 100%;

    min-height: 600px;
    height: 80vh;
    background-color: var(--bg-color);
    overflow: hidden;
}

#showcase-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: grab;
}

#showcase-canvas-container.dragging {
    cursor: grabbing;
}

#showcase-ui-layer {
    position: absolute;
    top: 0;

    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;

    padding: 0 5%;
    box-sizing: border-box;

    height: 100%;
    z-index: 2;
    pointer-events: none; 
}

.showcase-slide-content {
    position: absolute;

    top: 15%; 

    left: 5%; 
    width: 35%;
    max-width: 450px;

    background: rgba(60, 60, 60, 0.75);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 4px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease-out;
    pointer-events: auto; 
}

.showcase-slide-content .showcase-label { color: #bbbbbb !important; }
.showcase-slide-content .showcase-title { color: #ffffff !important; }
.showcase-slide-content .showcase-description { color: #eeeeee !important; }
.showcase-slide-content .showcase-meta-label { color: #aaaaaa !important; }
.showcase-slide-content .showcase-meta-value { color: #ffffff !important; }

.showcase-slide-content .showcase-meta-grid { border-top-color: rgba(255, 255, 255, 0.2) !important; }

@media (min-width: 1025px) and (max-width: 1200px) {
    .showcase-section {
        height: 65vh !important; 
        min-height: 600px !important;
    }

    .showcase-slide-content {

        left: 5%;
        width: 40%;
        top: 10%; 
    }
}

.showcase-slide-content.active {
    opacity: 1;
    transform: translateY(0);
}

.showcase-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888;
    margin-bottom: 0.5rem;
    display: block;
}

.showcase-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 500;
    margin: 0 0 1.2rem 0;
    line-height: 1.2;
    color: var(--text-color);
}

.showcase-description {
    font-size: clamp(0.9rem, 1vw, 0.95rem);
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.showcase-meta-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    row-gap: 0.5rem;
    border-top: 1px solid var(--line-color);
    padding-top: 1.2rem;
}

.showcase-meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaa;
    align-self: center;
}

.showcase-meta-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
}

.showcase-slide-image {
    display: none; 
    width: 100%;
    height: 100%; 
    object-fit: cover;
    border-radius: 0; 
}

.showcase-text-wrap {
    position: relative;
    z-index: 2;
}

/* Section04：カテゴリ付きリストの背景・パネル・項目表示です */
.structured-list-section {
    position: relative;
    overflow: hidden;
}

.structured-list-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(230, 230, 230, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}
.structured-list-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(240, 240, 235, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

.structured-list-panel {
    position: relative; 
    z-index: 1; 
    max-width: 1000px;
    margin: 0 auto;

    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);

    border-radius: 12px; 
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.structured-list-outer {
    width: 100%;
    position: relative;

    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
}

.structured-list-scroll {
    max-height: 60vh; 
    min-height: 400px;
    overflow-y: auto; 
    padding: 2rem 1rem;
    box-sizing: border-box;

    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.structured-list-scroll::-webkit-scrollbar {
    width: 4px;
}
.structured-list-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.structured-list-scroll::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

.structured-list-category {
    margin-bottom: 4rem;
}
.structured-list-category:last-child {
    margin-bottom: 2rem;
}

.structured-list-category__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--text-color);
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    letter-spacing: 0.1em;
}

.structured-list-item {
    margin-bottom: 1.5rem;
}

.structured-list-item__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.3rem;
}

.structured-list-label {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.18rem;
    font-weight: 500;
    color: #333333;
}

.structured-list-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.38rem;
    font-weight: 400;
    color: #333333;
    margin-left: 1rem;
    white-space: nowrap;
}

.structured-list-description {
    font-size: 0.95rem;
    color: #666666;
    text-align: left;
    line-height: 1.6;
    padding-right: 1rem;
}

/* Section05：横に広がるカード一覧です */
.content-card-list {
    display: flex;
    flex-wrap: nowrap;

    width: 100%;

    height: 500px;
    overflow: hidden;
    border-radius: 1rem;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    z-index: 2;
}

.content-card {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    cursor: pointer;
    transition: flex 0.5s ease;
    overflow: hidden;
    position: relative;
    will-change: flex;
}

.content-card:hover {
    flex: 3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.content-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.content-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(100%);
    will-change: transform, filter;
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%); 
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.content-card:hover img {
    transform: scale(1.1); 
    filter: grayscale(0%);
}

.content-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.content-card:hover::after {
    opacity: 1;
}

.content-card-description {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 1rem 1.5rem;
    color: #fff;

    font-family: 'Shippori Mincho', serif; 
    font-size: 0.9rem;
    line-height: 1.6;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-card:hover .content-card-description {
    transform: translateY(0);
}

.content-card a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
.content-card a:focus-visible img {
    filter: grayscale(0%);
}

/* Section05のタブレット・スマホ表示です */
@media (max-width: 1024px) {
    .content-card-list {
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 

        flex-direction: initial; 
        height: auto;
        overflow: visible; 
        background-color: var(--bg-color);
        box-shadow: none;
        border-color: var(--bg-color);
    }

    .content-card {
        flex: none;
        width: 100%;

        height: 400px; 
        margin-bottom: 0;
        border-radius: 8px; 
    }

    .content-card:hover {
        flex: none;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); 
        transform: translateY(-5px); 
        z-index: 1;
    }

    .content-card::after {
        opacity: 1;
    }

    .content-card-description {
        bottom: 0;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .content-card img {
        filter: grayscale(0%);
    }
}

@media (max-width: 640px) {
    .content-card-list {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    .content-card {

        height: 320px;
    }
}

@media (max-width: 1024px) and (hover: none) {
    .content-card:active {
        flex: none; 
    }
    .content-card:active img {
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-card, .content-card img, .content-card-description, .content-card::after {
        transition: none;
    }
    .content-card img {
        animation: none;
    }
}

/* タブレット・スマホ共通：各セクションの余白とSection03の表示形式を切り替えます */
@media (max-width: 1024px) {

    .section,
    .section-02-area {
        padding: 50px 0 !important; 
        height: auto !important; 
        min-height: auto !important;
        border-bottom: 1px solid var(--line-color); 
    }

    .section-02-inner {
        height: auto !important;
        display: block !important; 
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .content-spacer {
        margin-bottom: 30px !important;
    }

    .section-02-visual-grid {
        margin-top: 30px !important;
        margin-bottom: 0 !important; 
    }

    .showcase-section {
        height: auto !important;
        min-height: auto !important;
        padding-top: 20px !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
        overflow: visible; 
    }

    #showcase-canvas-container,
    #showcase-ui-layer {
        display: none !important;
    }

    .showcase-mobile-wrapper {
        position: relative;
        width: 100%;
        display: flex !important; 
        align-items: center;
        justify-content: center;
    }

    #showcase-mobile-scroller {
        display: flex;
        flex-direction: row;
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        padding: 0 5% 10px 5%; 
        gap: 15px;
        width: 100%;
        box-sizing: border-box;
        height: auto;
        pointer-events: auto;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;

        position: relative;
        z-index: 1;
    }
    #showcase-mobile-scroller::-webkit-scrollbar {
        display: none;
    }

    .showcase-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-color);
        backdrop-filter: blur(4px);

        transition: background 0.3s, transform 0.2s, opacity 0.3s;
    }
    .showcase-nav-btn:active {
        transform: translateY(-50%) scale(0.95);
        background: #fff;
    }
    .showcase-nav-btn.is-disabled {
        opacity: 0;
        pointer-events: none;
    }
    .showcase-nav-btn.prev {
        left: 2%; 
    }
    .showcase-nav-btn.next {
        right: 2%;
    }

    .showcase-nav-btn::before {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        border-top: 1px solid #555;
        border-right: 1px solid #555;
    }
    .showcase-nav-btn.prev::before {
        transform: rotate(-135deg);
        margin-left: 4px;
    }
    .showcase-nav-btn.next::before {
        transform: rotate(45deg);
        margin-right: 4px;
    }

    .showcase-slide-image {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .showcase-mobile-slide {
        position: relative;
        flex: 0 0 auto; 

        width: 80vw; 
        min-width: 300px;
        max-width: 450px;

        aspect-ratio: 2 / 3;

        scroll-snap-align: center; 
        scroll-snap-stop: always;

        background: #000; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: none;
        padding: 0; 
        margin: 0;

        border-radius: 20px; 
        overflow: hidden; 
    }

    .showcase-mobile-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;

        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);

        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 40%, 
            rgba(0, 0, 0, 0.7) 65%,
            rgba(0, 0, 0, 0.9) 90%
        );

        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 40%, 
            black 65%
        );
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 40%, 
            black 65%
        );
    }

    .showcase-mobile-text {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 2; 
        padding: 1.5rem;
        box-sizing: border-box;

        color: #f5f5f5;
    }

    .showcase-mobile-text .showcase-title,
    .showcase-mobile-text .showcase-meta-value {
        color: #ffffff;
    }
    .showcase-mobile-text .showcase-label,
    .showcase-mobile-text .showcase-meta-label {
        color: #bbbbbb; 
    }
    .showcase-mobile-text .showcase-description {
        color: #dddddd; 
    }
}

/* Section03のPC用矢印ボタンです */
.showcase-pc-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    backdrop-filter: blur(4px);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    pointer-events: auto; 
}
.showcase-pc-nav-btn:hover {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-50%) scale(1.05);
}
.showcase-pc-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}
.showcase-pc-nav-btn.prev {
    left: 0; 
}
.showcase-pc-nav-btn.next {
    right: 0;
}
.showcase-pc-nav-btn::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 1px solid #555;
    border-right: 1px solid #555;
}
.showcase-pc-nav-btn.prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}
.showcase-pc-nav-btn.next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

/* スマホ表示：カード内テキストやパネル幅を小さめに調整します */
@media (max-width: 768px) {

    .structured-list-panel {
        padding: 1.5rem 1rem;
        width: 95%; 
        margin: 0 auto;
    }

    .showcase-mobile-slide {
        width: 90vw;
        min-width: 0;
        max-width: 400px;

        aspect-ratio: 2 / 3;
    }

    .showcase-mobile-text {
        padding: 0.8rem;
    }

    .showcase-title {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .showcase-description {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;

        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .showcase-label {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    .showcase-meta-grid {
        padding-top: 0.8rem;
        font-size: 0.8rem;
    }
    .showcase-meta-value {
        font-size: 0.9rem;
    }
}

html.is-phone-layout .content-card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    flex-direction: initial;
    height: auto;
    overflow: visible;
    background-color: var(--bg-color);
    box-shadow: none;
    border-color: var(--bg-color);
}

html.is-phone-layout .content-card {
    flex: none;
    width: 100%;
    height: 320px;
    margin-bottom: 0;
    border-radius: 8px;
}

html.is-phone-layout .content-card::after {
    opacity: 1;
}

html.is-phone-layout .content-card-description {
    bottom: 0;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

html.is-phone-layout .content-card img {
    filter: grayscale(0%);
}

html.is-phone-layout .structured-list-panel {
    padding: 1.5rem 1rem;
    width: 95%;
    margin: 0 auto;
}

html.is-phone-layout .showcase-section {
    height: auto !important;
    min-height: auto !important;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    overflow: visible;
}

html.is-phone-layout #showcase-canvas-container,
html.is-phone-layout #showcase-ui-layer {
    display: none !important;
}

html.is-phone-layout .showcase-mobile-wrapper {
    position: relative;
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

html.is-phone-layout #showcase-mobile-scroller {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 5% 10px 5%;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    pointer-events: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}

html.is-phone-layout .showcase-slide-image {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.is-phone-layout .showcase-mobile-slide {
    position: relative;
    flex: 0 0 auto;
    width: 90vw;
    min-width: 0;
    max-width: 400px;
    aspect-ratio: 2 / 3;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
}

html.is-phone-layout .showcase-mobile-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.7) 65%,
        rgba(0, 0, 0, 0.9) 90%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 40%,
        black 65%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 40%,
        black 65%
    );
}

html.is-phone-layout .showcase-mobile-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 0.8rem;
    box-sizing: border-box;
    color: #f5f5f5;
}

html.is-phone-layout .showcase-mobile-text .showcase-title,
html.is-phone-layout .showcase-mobile-text .showcase-meta-value {
    color: #ffffff;
}

html.is-phone-layout .showcase-mobile-text .showcase-label,
html.is-phone-layout .showcase-mobile-text .showcase-meta-label {
    color: #bbbbbb;
}

html.is-phone-layout .showcase-mobile-text .showcase-description {
    color: #dddddd;
}

html.is-phone-layout .showcase-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

html.is-phone-layout .showcase-description {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.is-phone-layout .showcase-label {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
}

html.is-phone-layout .showcase-meta-grid {
    padding-top: 0.8rem;
    font-size: 0.8rem;
}

html.is-phone-layout .showcase-meta-value {
    font-size: 0.9rem;
}

/* PCではスマホ用スライダーを非表示にします */
.showcase-mobile-wrapper {
    display: none;
}

/* スクロール時に要素をふわっと表示する共通アニメーションです */
.fade-in-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.active { opacity: 1; transform: translateY(0); }

/* フッター：下部リンクとコピーライトの見た目です */
footer { 
    padding: 5rem 0; text-align: center; font-size: 0.9rem; color: #999; 

}
.site-footer-nav { margin-bottom: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.site-footer-nav a { color: #333; text-decoration: none; margin: 0 0.5rem; }

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

/* ローディング画面：背景色やフェード時間を調整します */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: var(--bg-color);
    z-index: 9999; 
    display: flex;
    justify-content: center;
    align-items: center;

    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    position: relative; 
    width: 64px;
    height: 64px;
    border-radius: 50%;
    perspective: 800px;
}

.inner {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;  
}

.inner.one {
    left: 0%;
    top: 0%;
    animation: rotate-one 1s linear infinite;
    border-bottom: 3px solid #b0b0b0; 
}

.inner.two {
    right: 0%;
    top: 0%;
    animation: rotate-two 1s linear infinite;
    border-right: 3px solid #d0d0d0;
}

.inner.three {
    right: 0%;
    bottom: 0%;
    animation: rotate-three 1s linear infinite;
    border-top: 3px solid #909090;
}

@keyframes rotate-one {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate-two {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate-three {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}
