@charset "UTF-8";

/* 色とフォントをまとめて変更する場所です */
:root {
    /* サイト全体の基本色 */
    --color-bg-light: #f5f5f5;      /* 薄い背景色 */
    --color-bg-white: #ffffff;      /* 白背景 */
    --color-bg-dark: #1a1a1a;       /* 暗い背景 */
    --color-text-main: #111111;     /* メイン文字色 */
    --color-text-muted: #666666;    /* 補足文字色 */
    --color-gold: #c5a059;          /* アクセント色 */
    --color-border: #e0e0e0;        /* 線の色 */
    
    /* サイト全体のフォント */
    --font-serif: 'Cormorant Garamond', serif;                  /* 見出し用 */
    --font-sans: 'Helvetica Neue', Arial, 'Noto Sans JP', sans-serif; /* 本文用 */
}

/* 全体の基本設定です */
html { 
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4 { 
    margin: 0; 
    line-height: 1.2; 
    font-weight: normal; 
}

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

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

/* 複数の場所で使う共通パーツです */
/* セクション番号などの小さな見出しです */
.label-en {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.2rem);
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 2rem;
}

/* 共通ボタン。文字サイズや余白を変えたい時はここを編集します */
.btn-elegant {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 3rem;
    border: 1px solid currentColor;
    border-radius: 2px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
    text-transform: uppercase;
    text-decoration: none;
}
.btn-elegant.dark {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}
.btn-elegant.dark:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}
.btn-elegant:not(.dark) {
    color: var(--color-text-main);
    border-color: rgba(0, 0, 0, 0.2);
}
.btn-elegant:not(.dark):hover {
    background-color: var(--color-text-main);
    color: #ffffff;
    border-color: var(--color-text-main);
}
.btn-elegant .arrow {
    margin-left: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    font-family: var(--font-sans);
}
.btn-elegant:hover .arrow {
    transform: translateX(8px);
}

/* 画面に入った時の表示アニメーションです */
.fade-in {
    opacity: 0;
    transform: translateY(30px); /* 数値を小さくすると動きが弱くなります */
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ヘッダーの見た目です */
.header {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%;
    padding: 1.5rem 4%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* 明るい背景に重なった時のヘッダー色です */
.header.scrolled {
    color: var(--color-text-main);
    text-shadow: none;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    z-index: 101;
}
.hamburger span {
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.2, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

/* メニューリンクの下線アニメーション */
.nav-links a {
    position: relative;
}
.nav-links a::after {
    content: ''; 
    position: absolute; 
    bottom: -4px; 
    left: 0; 
    width: 0; 
    height: 1px;
    background: currentColor; 
    transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { 
    width: 100%; 
}

/* ヘッダー右上のボタン */
.nav-action {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 8px 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-shadow: none;
}
.nav-action:hover {
    background: #ffffff;
    color: #000000;
}

/* 明るい背景に重なった時のボタン色です */
.header.scrolled .nav-action {
    border-color: rgba(0, 0, 0, 0.3);
}
.header.scrolled .nav-action:hover {
    background: var(--color-text-main);
    color: #ffffff;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .header .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg-dark);
        transition:
            right 0.5s cubic-bezier(0.2, 1, 0.3, 1),
            opacity 0.3s ease,
            visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 100;
        gap: 2.5rem;
    }

    .header .nav-links.active {
        right: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header .nav-links a {
        font-size: 1.2rem;
        color: #ffffff;
        text-shadow: none;
    }

    .header .nav-links .nav-action {
        margin-top: 1rem;
        border-color: rgba(255, 255, 255, 0.5);
        color: #ffffff;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header.menu-open {
        color: #ffffff;
        text-shadow: none;
    }

    .header.menu-open .hamburger span {
        background-color: #ffffff;
    }
}

/* メインビジュアルの見た目です */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-bg-white);
}

/* 背景画像の暗さです。数値を下げると明るくなります */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
}

/* 背景画像全体の土台です */
.hero-images {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    pointer-events: none;
}

/* 背景画像の共通設定です */
.hero-img {
    --parallax-y: 0px;
    --hero-rotation: 0deg;
    position: absolute;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border-radius: 4px;
    object-fit: cover;
    filter: brightness(0.85);
    transform: translate3d(0, var(--parallax-y), 0) rotate(var(--hero-rotation));
    will-change: transform;
}

/* 画像の位置と角度を調整する場所です */
.hero-img.img1 { --hero-rotation: -8deg; width: 35vw; height: 50vh; top: 10%; left: 5%; z-index: 1; }
.hero-img.img2 { --hero-rotation: 5deg; width: 45vw; height: 60vh; top: 15%; right: 5%; z-index: 2; }
.hero-img.img3 { --hero-rotation: -4deg; width: 30vw; height: 40vh; bottom: -10%; left: 20%; z-index: 3; }
.hero-img.img4 { --hero-rotation: 7deg; width: 25vw; height: 45vh; bottom: -15%; right: 8%; z-index: 4; }

/* コピーの位置と文字色を調整する場所です */
.hero-text {
    position: absolute;
    bottom: 8%;
    left: 4%;
    z-index: 10;
    text-align: left;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-sub {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.hero-sub span { 
    color: var(--color-gold); 
    font-style: italic; 
    font-family: var(--font-serif); 
}

.hero-main {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 12rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin: 0;
}
.hero-main i { font-style: italic; }

.hero-desc {
    margin-top: 2rem;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* スマホ表示時の見え方です */
@media (max-width: 768px) {
    .hero-img.img1 { width: 70vw; top: 15%; left: -10%; }
    .hero-img.img2 { width: 80vw; top: 35%; right: -10%; }
    .hero-img.img3 { display: none; }
    .hero-img.img4 { display: none; }
    
    /* スマホではコピーを中央に寄せます */
    .hero-text {
        position: relative;
        bottom: auto;
        left: auto;
        text-align: center;
        width: 100%;
        padding: 0 5%;
        box-sizing: border-box;
    }
}

/* セクション1の余白と文字サイズです */
.section-intro {
    background-color: var(--color-bg-white);
    padding: 6rem 5%;
}

.section-intro-inner {
    position: relative; 
    z-index: 1;         
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.section-intro-content { flex: 1; }

.section-intro-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

.section-intro-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .section-intro-inner { flex-direction: column; }
}

/* セクション2の余白と画像カードの見た目です */
.section-media {
    background-color: var(--color-bg-light);
    padding: 8rem 0;
    position: relative;
}

/* 背景の流れる文字です */
.marquee-container {
    position: absolute;
    top: -5vw; /* 数値を変えると文字の高さが動きます */
    left: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: marquee 45s linear infinite; /* 数値を小さくすると速くなります */
}
.marquee-track::before,
.marquee-track::after {
    content: attr(data-text);
    display: block;
    flex: 0 0 auto;
    font-family: var(--font-serif);
    font-style: normal;
    font-size: 10vw;
    line-height: 1;
    white-space: nowrap;
    color: var(--color-text-main);
    opacity: 1;
    letter-spacing: 0.05em;
    padding-right: 4rem;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.section-media-inner {
    position: relative;
    z-index: 1;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-media-inner > .label-en {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
}

/* 画像カードの並び方です */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

/* 偶数番目だけ少し下げて動きを付けています */
.media-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.media-card:nth-child(even) {
    margin-top: 8rem;
}

/* 画像にカーソルを乗せた時の拡大です */
.media-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}
.media-card:hover img {
    transform: scale(1.05);
}

.media-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .media-grid { grid-template-columns: 1fr; gap: 4rem; }
    .media-card:nth-child(even) { margin-top: 0; }
}

/* セクション3の余白と項目一覧の見た目です */
.section-details {
    background-color: var(--color-bg-light);
    padding: 10rem 5%;
    border-top: 1px solid var(--color-border);
}

.section-details-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-details-header {
    margin-bottom: 6rem;
}
.section-details-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* 項目の並び方です */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    position: relative;
}

/* 中央の区切り線です */
.detail-grid::after {
    content: '';
    position: absolute;
    top: 0; 
    left: 50%;
    width: 1px; 
    height: 100%;
    background-color: var(--color-border);
    transform: translateX(-50%);
}

.detail-column {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.detail-index {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--color-text-main);
    white-space: nowrap;
}

.detail-body h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.detail-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 2rem;
}

/* タグの見た目です */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.tag {
    border: 1px solid #dcdcdc;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    background: transparent;
    transition: border-color 0.3s, color 0.3s;
}
.tag:hover {
    border-color: var(--color-text-main);
    color: var(--color-text-main);
}

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

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .marquee-track {
        animation: none;
    }

    .btn-elegant,
    .btn-elegant .arrow,
    .hamburger span,
    .nav-links,
    .nav-links a::after,
    .nav-action,
    .media-card img,
    .tag,
    .entry-item::before,
    .entry-visual img {
        transition: none;
    }
}

@media (max-width: 900px) {
    .detail-grid { grid-template-columns: 1fr; gap: 4rem; }
    .detail-grid::after { display: none; }
}
@media (max-width: 600px) {
    .detail-column { flex-direction: column; gap: 1rem; }
}

/* セクション4の余白とホバー演出です */
.section-entry {
    background-color: var(--color-bg-dark);
    color: #ffffff;
    padding: 10rem 5%;
}

.section-entry-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-entry-header .label-en {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.5);
}

.entry-list {
    margin-top: 4rem;
}

.entry-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    margin: 0 -2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.entry-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.entry-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #f8f8f8;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: -1;
}
.entry-item:hover::before {
    transform: scaleX(1);
}

.entry-content {
    flex: 1;
    padding-right: 2rem;
}

.entry-index {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.entry-label {
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.entry-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.entry-text {
    font-size: 0.95rem;
    color: #aaaaaa;
    line-height: 1.8;
    max-width: 600px;
    transition: color 0.4s ease;
}
.entry-item:hover .entry-index {
    color: rgba(0, 0, 0, 0.4);
}
.entry-item:hover .entry-title {
    color: #111111;
}
.entry-item:hover .entry-text {
    color: #555555;
}

/* 画像の拡大と色味変化です */
.entry-visual {
    width: clamp(250px, 30vw, 400px);
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
}
.entry-visual img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    filter: grayscale(30%);
}
.entry-item:hover .entry-visual img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

@media (max-width: 900px) {
    .entry-item { flex-direction: column-reverse; align-items: flex-start; gap: 2rem; }
    .entry-visual { width: 100%; aspect-ratio: 16/9; }
    .entry-content { padding-right: 0; }
    .entry-item { padding-left: 1rem; padding-right: 1rem; margin-left: -1rem; margin-right: -1rem; }
}

/* フッターの余白と文字サイズです */
.footer {
    background-color: #111111;
    color: #ffffff;
    padding: 8rem 5% 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-left .footer-sub {
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 1rem;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.footer-note {
    font-size: 0.9rem;
    color: #666666;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666666;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a:hover { 
    color: #ffffff; 
}

@media (max-width: 900px) {
    .footer-container { flex-direction: column; align-items: flex-start; gap: 4rem; }
    .footer-right { align-items: flex-start; }
}

@media (max-width: 768px) {
    .section-intro { padding: 4rem 5%; }
    .section-media { padding: 5rem 0; }
    .section-details { padding: 5rem 5%; }
    .section-entry { padding: 5rem 5%; }
    .entry-list { margin-top: 2rem; }
    .entry-item { padding-top: 2.5rem; padding-bottom: 2.5rem; gap: 1.5rem; }
    .footer { padding: 5rem 5% 3rem; }
    .footer-container { gap: 2rem; }
    .footer-note { color: rgba(255, 255, 255, 0.78); }
}
