@charset "UTF-8";

/* 編集：サイト全体の色・フォント・左パネル幅を変更する場合はここを調整します */
:root {
    --bg: #d6e6de;           /* 背景色 */
    --text: #3d5248;         /* 基本文字色 */
    --line: #c8dbd1;         /* 区切り線 */
    --accent: #7fa08f;       /* アクセントカラー */
    --accent-pale: #e4f0e9;  /* 淡い背景用 */
    --sidebar-width: 420px;  /* PC表示の左パネル幅 */
}

/* 編集：ページ全体の背景・文字の基本設定です */
body {
    background:
        radial-gradient(circle at 12% 18%, rgba(160, 200, 180, 0.28), transparent 24%),
        radial-gradient(circle at 82% 14%, rgba(170, 205, 188, 0.18), transparent 20%),
        radial-gradient(circle at 84% 78%, rgba(210, 232, 220, 0.18), transparent 16%),
        linear-gradient(135deg, #c8ddd4 0%, var(--bg) 42%, #bdd2c9 100%);
    color: var(--text);
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0; padding: 0;
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
}

body.is-loading {
    overflow: hidden;
}

/* loading：数字を使わない読み込み中のアニメーションです */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 45%, rgba(127, 160, 143, 0.28), transparent 28%),
        linear-gradient(135deg, #b8d1c4 0%, #c7dbd2 42%, #a9c5b8 100%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.is-loaded .page-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-mark {
    position: relative;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(61, 82, 72, 0.34);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 12px 30px rgba(61, 82, 72, 0.14);
    animation: loader-breathe 1.8s ease-in-out infinite;
}

.page-loader-mark::before,
.page-loader-mark::after {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(61, 82, 72, 0.9);
    border-right-color: rgba(127, 160, 143, 0.78);
    animation: loader-spin 1.4s linear infinite;
}

.page-loader-mark::after {
    inset: 20px;
    border-top-color: rgba(255, 255, 255, 0.96);
    border-right-color: rgba(61, 82, 72, 0.58);
    animation-duration: 2.1s;
    animation-direction: reverse;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

/* レイアウト：左パネルと右コンテンツの配置 */
.wrapper { 
    display: flex; 
    min-height: 100vh;
    width: 100%;
}

/* 編集：左パネルの余白・背景・固定表示を調整できます */
.sidebar {
    width: var(--sidebar-width); 
    height: 100vh;
    position: sticky; top: 0;
    padding: 1rem 3rem; 
    box-sizing: border-box;
    display: flex; flex-direction: column; 
    z-index: 100;
    flex-shrink: 0;
    overflow-y: auto;
    border-right: 1px solid rgba(80, 130, 108, 0.4);
    background: linear-gradient(180deg, rgba(72, 118, 98, 0.88) 0%, rgba(58, 100, 82, 0.82) 100%);
    backdrop-filter: blur(14px);
}

/* 編集：ロゴ文字のサイズ・フォントを調整できます */
.logo {
    margin-bottom: 0;
    padding: 0.75rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffffff;
    display: block;
}

.logo-name {
    font-family: 'Fraunces', serif;
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: #ffffff;
    display: block;
    line-height: 1.1;
}

.sidebar-desc {
    font-size: 0.9rem;
    line-height: 2.1;
    color: #ffffff;
    white-space: pre-wrap;
    margin-top: -0.5rem; 
    max-width: 23rem;
}

/* 編集：PC・タブレット表示のクイックリンクと補助情報です */
.pc-only-info {
    display: block;
}

.quick-link-note {
    font-size: 0.8rem;
    text-align: center;
    color: rgba(240, 252, 246, 0.75);
    margin-top: 1rem;
    margin-bottom: 0.2rem;
}
.pc-only-info .quick-link-note {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.quick-link-button {
    display: block;
    margin: 0 auto;
    width: 90px;
    position: relative;
    transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}
.quick-link-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    filter: saturate(0.8);
}
.quick-link-button img {
    width: 100%;
    height: auto;
    display: block;
}
.pc-only-info .quick-link-button img {
    filter: brightness(0) invert(1);
}
.quick-link-button.placeholder-media img {
    filter: none;
}
.pc-only-info .site-meta {
    color: #ffffff;
}

.site-meta { 
    font-size: 0.85rem; 
    color: rgba(240, 252, 246, 0.72);
    line-height: 1.8; 
    margin-top: 1rem; 
    text-align: center;
}

/* 編集：右側コンテンツ全体の横幅と余白を調整できます */
.main { 
    flex: 1; 
    padding: 4rem 4.5rem 5rem; 
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

/* 編集：各セクションカード共通の背景・余白・重なり表示です */
.sticky-card {
    background: linear-gradient(180deg, rgba(251, 253, 249, 0.98) 0%, rgba(242, 247, 243, 0.98) 100%);
    padding: 5rem;
    margin-bottom: 4rem;
    min-height: 80vh;
    box-shadow: 0 22px 44px rgba(7, 11, 10, 0.24);
    display: flex; flex-direction: column;
    position: sticky; top: 2rem;
    box-sizing: border-box;
    border: 1px solid rgba(223, 233, 226, 0.24);
    border-radius: 30px;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

/* 編集：メインビジュアルと各セクションの重なり位置・背景を調整できます */
#hero {
    top: 2rem; z-index: 1;
    justify-content: flex-start; 
    background-color: #d8ded9;
    background-image: none;
    background-size: cover; background-position: center;
    color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    isolation: isolate;
}
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(45, 64, 56, 0.74) 0%, rgba(66, 84, 77, 0.25) 42%, rgba(238, 243, 239, 0.08) 100%),
        radial-gradient(circle at top right, rgba(194, 214, 201, 0.28), transparent 28%);
    z-index: -1;
}
/* 編集：メディアの推奨サイズラベルの見た目を調整できます */
.media-label {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(61, 82, 72, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    text-shadow: none;
    pointer-events: none;
    white-space: nowrap;
}
.hero-media-label {
    right: 2rem;
    bottom: 2rem;
}
.quick-link-media-label {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.18rem 0.32rem;
    font-size: 0.52rem;
}
#section-01 { top: var(--sticky-top, 4rem); z-index: 2; border-top: 1px solid var(--line); }
#section-02 { top: var(--sticky-top, 5rem); z-index: 3; border-top: 1px solid var(--line); }
#section-03 { top: var(--sticky-top, 6rem); z-index: 4; border-top: 1px solid var(--line); }
#section-04 { 
    position: relative; top: auto; z-index: 5; 
    border-top: 1px solid var(--line); margin-top: -3rem; margin-bottom: 0; 
    padding-bottom: 8rem; min-height: auto; 
}
#section-05 {
    position: relative; top: auto; z-index: 6;
    background: linear-gradient(135deg, #8db5a3 0%, #7a9f8d 100%);
    color: #f7fbf8; border: none;
    margin-top: -4rem; margin-bottom: 0;
    min-height: 50vh;
}
#section-05 .card-header {
    border-bottom-color: rgba(247, 251, 248, 0.34);
}
#section-05 .card-label {
    color: #f7fbf8;
    border-color: rgba(247, 251, 248, 0.46);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px rgba(39, 55, 48, 0.14);
}

.hero-title { 
    font-family: 'Fraunces', serif;
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.1;
    max-width: 8.2em;
    letter-spacing: 0.01em;
    margin: 0;
}
.hero-title strong { font-weight: 600; display: block; }

.card-header {
    display: flex; justify-content: space-between; margin-bottom: 1rem;
    border-bottom: 1px solid rgba(111, 141, 127, 0.24);
    padding-bottom: 1rem;
}
.card-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(111, 141, 127, 0.22);
    border-radius: 999px;
    background: rgba(219, 232, 223, 0.28);
}
.card-body p { font-size: 1.05rem; line-height: 2.15; opacity: 0.95; max-width: 700px; }
.card-body h2,
.action-link {
    font-family: 'Fraunces', serif;
}
.section-heading {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}
.section-text p {
    margin-bottom: 2rem;
}
.section-text p:last-child {
    margin-bottom: 0;
}

/* 編集：section 02・section 03の表デザインです */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(111, 141, 127, 0.15);
    border-radius: 22px;
    overflow: hidden;
}
.info-table th, .info-table td {
    text-align: left;
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}
.info-table th {
    width: 30%;
    opacity: 0.8;
    font-weight: 500;
    background: rgba(219, 232, 223, 0.22);
}

/* 編集：メディア一覧の列数・余白・ホバー演出を調整できます */
.media-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem;
}
.media-item {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    position: relative;
    display: block;
    background: rgba(255, 255, 255, 0.64);
    padding: 0.9rem;
    border-radius: 24px;
    border: 1px solid rgba(111, 141, 127, 0.12);
    will-change: transform;
}
.media-item:hover {
    opacity: 0.94;
    transform: translateY(-7px);
    box-shadow: 0 16px 26px rgba(66, 84, 77, 0.12);
}
.media-size-label {
    top: 1.3rem;
    left: 1.3rem;
}
.media-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--accent-pale);
    display: block;
    border-radius: 18px;
    filter: saturate(0.86) contrast(0.98);
}
.media-title {
    font-weight: 700;
    margin-top: 1rem;
    display: block;
    font-size: 1.1rem;
    font-family: 'Fraunces', serif;
}
.media-meta { font-size: 0.85rem; color: var(--accent); font-style: italic; }

/* 編集：アクションボタンの見た目を調整できます */
.action-link {
    color: #f7fbf8;
    font-size: 1.25rem;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    border: 1px solid rgba(247, 251, 248, 0.4);
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    transition: opacity 0.3s, transform 0.3s, background 0.3s;
}
.action-link::after {
    content: "→";
    font-size: 1rem;
}
.action-link:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}
.action-heading {
    font-size: 3rem;
    font-weight: 500;
}
.action-lead {
    color: #f0ebe9;
}

/* 編集：メディアクリック時のプレビューです。通常は変更不要です */
.lightbox {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; overflow: hidden;
    background-color: rgba(80, 115, 98, 0.92);
    justify-content: center; align-items: center; flex-direction: column;
}
.lightbox.is-open {
    display: flex;
}
.lightbox-content { max-width: 76%; max-height: 68vh; object-fit: contain; animation: fadein 0.3s; }
.lightbox-content,
.lightbox-caption {
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.lightbox.is-switching .lightbox-content,
.lightbox.is-switching .lightbox-caption {
    opacity: 0;
    transform: translateY(8px);
}
.lightbox-caption {
    width: min(76%, 900px);
    margin-top: 1.2rem;
    text-align: center;
    color: #ffffff;
}
.lightbox-title {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 600;
}
.lightbox-description {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}
.lb-controls {
    position: absolute; width: 100%; top: 50%; transform: translateY(-50%);
    display: flex; justify-content: space-between; padding: 0 2rem; box-sizing: border-box; pointer-events: none;
}
.lb-btn {
    pointer-events: auto; cursor: pointer; color: #fff; font-size: 3rem; user-select: none;
    background: rgba(219, 232, 223, 0.18); width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; font-family: sans-serif;
}
.lb-btn:hover { background: rgba(219, 232, 223, 0.32); }
.close {
    position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 2001; font-family: sans-serif;
}
@keyframes fadein { from {opacity:0} to {opacity:1} }

/* 編集：スマホ下部のクイックリンクエリアです */
.mobile-footer {
    display: none;
}


/* レスポンシブ：画面幅ごとの余白・文字サイズ・メディアサイズを調整します */

/* タブレット表示（769px〜1024px） */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --sidebar-width: 300px;
    }

    .sidebar {
        padding: 3rem 2rem;
    }
    
    .main {
        padding: 2rem;
    }

    /* 編集：タブレット表示のカード余白・高さです */
    .sticky-card {
        padding: 3rem 2rem;
        min-height: auto;
        margin-bottom: 0;
        border-radius: 24px;
    }

    /* 編集：タブレット表示のメインビジュアル高さです */
    #hero {
        min-height: 50vh; 
    }

    /* 編集：タブレット表示の文字サイズです */
    .sidebar-desc {
        font-size: 1rem;
    }
    .site-meta {
        font-size: 1rem;
    }
    .hero-title {
        font-size: 4.2rem;
    }
    .card-label { 
        font-size: 1.3rem;
    }
    .card-body p { 
        font-size: 1.25rem;
    }
    .info-table th, .info-table td {
        font-size: 1.1rem;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .media-img {
        height: 220px;
    }
}

/* スマートフォン表示（〜768px） */
@media (max-width: 768px) {
    .wrapper {
        flex-direction: column;
    }

    /* 編集：スマホでは左パネルを上部ヘッダーとして表示します */
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 1rem 1.5rem 1rem 1.5rem;
        border-right: none;
        background: linear-gradient(180deg, rgba(72, 118, 98, 0.88) 0%, rgba(72, 118, 98, 0.45) 100%);
        backdrop-filter: blur(10px);
    }

    /* PC用クイックリンクはスマホでは非表示にします */
    .pc-only-info {
        display: none;
    }
    
    .logo {
        display: flex;
        justify-content: center;
        margin-bottom: 0;
    }
    
    .sidebar-desc {
        text-align: center;
        margin-top: -0.5rem;
    }
    
    /* 編集：スマホ表示の右コンテンツ余白です */
    .main {
        padding: 2rem 1.5rem 4rem 1.5rem;
    }

    /* 編集：スマホ表示のカード余白と重なり演出です */
    .sticky-card {
        padding: 2.5rem 1.5rem;
        position: sticky !important;
        min-height: 80vh;
        margin-bottom: 4rem !important;
        box-shadow: 0 -5px 12px rgba(66, 84, 77, 0.08);
        border-radius: 26px;
    }

    /* 編集：スマホ表示の各セクションの重なり位置です */
    #hero { 
        top: 2rem !important; 
        
        /* JSが高さを設定できない場合は60vhで表示します */
        min-height: var(--hero-mobile-height, 60vh);
        height: var(--hero-mobile-height, auto);
    }
    #section-01 { top: var(--sticky-top, 3.5rem) !important; }
    #section-02 { top: var(--sticky-top, 5rem) !important; }
    #section-03 { top: var(--sticky-top, 6.5rem) !important; }
    
    #section-04 {
        padding: 2.5rem 1.5rem;
        position: relative !important;
        top: auto !important;
        margin-top: -2rem !important;
        margin-bottom: 0 !important;
        min-height: auto;
        padding-bottom: 8rem;
    }

    #section-05 {
        padding: 2.5rem 1.5rem;
        position: sticky !important;
        top: 9.5rem !important;
        margin-top: -2rem !important;
        margin-bottom: 0 !important;
        min-height: 50vh;
    }
    
    /* 編集：スマホ下部フッターの余白と背景です */
    .mobile-footer {
        display: block;
        padding: 4rem 1.5rem;
        text-align: center;
        margin-top: -2rem;
        position: relative;
        z-index: 20;
        background: linear-gradient(180deg, rgba(195, 220, 208, 0) 0%, rgba(195, 220, 208, 0.9) 16%, #bdd2c9 100%);
    }

    .hero-title {
        font-size: 2.8rem;
        word-break: normal;
    }
    
    /* 編集：スマホ表示のカード内文字サイズです */
    .card-label { font-size: 1rem; }
    .card-body p { font-size: 1rem; }

    /* 編集：スマホ表示ではメディア一覧を1列にします */
    .media-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .media-img {
        height: 250px;
    }
    
    /* 編集：スマホ表示の表の幅・文字サイズです */
    .info-table th { width: 35%; font-size: 0.9rem; }
    .info-table td { font-size: 0.9rem; }

    .info-table th,
    .info-table td {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* 編集：スマホ表示の補助情報の余白です */
    .site-meta {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}
