:root {
    /* 変数定義 */
    --color-background: #E5EDEF;
    --color-text: #333333;

    --contents-font-size: 12px;
    --contents-width: 1440px;
    --contents-margin-side: 120px;
    --contents-margin-top: 80px;
}

body {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    letter-spacing: 0.5em;
    line-height: 2.5;
    text-align: justify;
    text-shadow: 0px 0px 10px #fff;

    font-size: var(--contents-font-size);
    color: var(--color-text);
    background-color: var(--color-background);

    object-fit: cover;

    background-image: url(../assets/material/bg-noise.png);
    background-size: 1440px;
}

.main {
    max-width: var(--contents-width);
    padding: 0 var(--contents-margin-side);
    margin: 0 auto;

    position: relative;
    overflow-x: hidden;
}

.vignetting {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 150;
    background: radial-gradient(rgba(90, 110, 186, 0), rgba(90, 110, 186, 0), rgba(90, 110, 186, 0.4));
    pointer-events: none;
}

.pc {
    display: block !important;
}

.tb {
    display: none !important;
}

.sp {
    display: none !important;
}


/*--------------------ローディング画面-----------------------*/
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* 背景色 */
    z-index: 9999; /* どの要素よりも手前に */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease; /* フェードアウト用 */
}

/* フェードアウト時に付与するクラス */
#loading-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* クリック無効化 */
}

/* くるくる回るスピナー（装飾） */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #c5cfe3; /* スピナーの色 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*--------------------メインビジュアル：スライドショー-----------------------*/

.main-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100svh;
}

.main-visual-img {
    position: absolute;

    width: 100%;
    height: 100%;

    padding: 10vh 0;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.main-visual-text-01 {
    position: absolute;

    font-size: clamp(80px, 18vh, 160px);
    font-weight: 800;
    text-shadow: 0px 0px 20px #fff;

    top: -0.5em;
    margin-left: 1em;
}

.main-visual-text-02 {
    position: absolute;

    font-size: clamp(12px, 2.5vh, 24px);
    font-weight: 800;

    writing-mode: vertical-rl;

    right: 13vw;
}

.main-visual-text-03 {
    position: absolute;

    transform: translate(0, 12em);
}

.main-visual-text-04 {
    position: absolute;

    font-size: clamp(12px, 2.5vh, 24px);
    font-weight: 800;

    right: 0px;
    bottom: 3vh;
}

/*--------------------共通：スクロール時にアニメーション-----------------------*/

/*----------------------------
スクロールアニメーション：下から上へ出現
----------------------------*/
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}

/*----------------------------
スクロールアニメーション：左から出現
----------------------------*/
.scroll_left {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}

.scroll_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/*----------------------------
スクロールアニメーション：右から出現
----------------------------*/
.scroll_right {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}

.scroll_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/*----------------------------
スクロールアニメーション：はっきり
----------------------------*/

.blur {
    transition: all 0.8s;
    filter: blur(20px);

    &.scrollin {
        filter: blur(0);
    }
}

/*----------------------------
スクロールアニメーション：フェードイン
----------------------------*/

.fadeIn {
    opacity: 0;
    transition: 2s;
}

.fadeIn.is-show {
    opacity: 1;
}

/*----------------------------
スクロールアニメーション：出現タイミングをずらす
----------------------------*/

.timing02 {
    transition-delay: .2s;
}

.timing03 {
    transition-delay: .4s;
}

.timing04 {
    transition-delay: .6s;
}

.timing05 {
    transition-delay: .8s;
}

.timing06 {
    transition-delay: 1.0s;
}

.timing07 {
    transition-delay: 1.2s;
}


/*--------------------トップに戻る-----------------------*/

.page-top {
    position: fixed;
    display: flex;
    /* align-items: center;
  justify-content: center; */
    right: calc(var(--contents-margin-side) / 2);
    bottom: 40px;
    opacity: 0;
    visibility: hidden;
    border: 0;
    background: none;
    transition: 2.0s;

    z-index: 100;
}

.page-top p {
    writing-mode: vertical-rl;
    text-decoration: none;
    text-transform: uppercase;
    height: 100px;
    margin: 0;
    letter-spacing: 0.5em;
    text-align: right;
}

.page-top p:before {
    content: "";
    position: absolute;
    top: 0px;
    right: -5px;
    width: 1px;
    height: 10px;
    background: #000;
    transform: skewX(-135deg);
}

.page-top p:after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 1px;
    height: 100px;
    background: #000;
}

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


/*--------------------共通：画面上端に到達したら固定（追従）-----------------------*/

.fixed-container-01 {
    position: relative;
}

.fixed-inner-01 {
    position: absolute;
    top: 0;
}

.fixed-container-02 {
    position: relative;
}

.fixed-inner-02 {
    position: absolute;
    top: 0;

    /* JSで戻せるようautoにしておく */
    width: auto;
    height: auto;
}

.fixed-container-03 {
    position: relative;
}

.fixed-inner-03 {
    position: absolute;
    top: 0;
}

.fixed-container-04 {
    position: relative;
}

.fixed-inner-04 {
    position: absolute;
    top: 0;

    /* JSで戻せるようautoにしておく */
    width: auto;
    height: auto;
}

.fixed-container-05 {
    position: relative;
}

.fixed-inner-05 {
    position: absolute;
    top: 0;

    /* JSで戻せるようautoにしておく */
    width: auto;
    height: auto;
}

.change-fixed {
    position: fixed;
}

/*--------------------ヘッダー01-----------------------*/

.header-01-container {
    position: relative;
    z-index: 100;
    width: 100%;
}

.header-01-inner {
    padding: 40px 0 8px 0;
    border-bottom: 1px solid #333;
}

.header-01-inner h1 {
    font-size: 12px;
    font-weight: 800;
}

.header-01-text {
    margin: 8px 0 0 0;
    text-align: right;
}


/*--------------------スクロールダウン-----------------------*/


.scrollbar-container {
    position: relative;
    display: flex;
    justify-content: center;

    height: 200px;

    margin: calc(var(--contents-margin-top) * 2) 0 0 0;
}

.scrollbar-text {
    display: inline-block;
    position: absolute;

    font-family: "Spectral", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 10px;
    text-transform: uppercase;
    writing-mode: vertical-lr;

    animation: blinking 2s ease-in-out infinite alternate;
}

.scrollbar {
    position: absolute;

    transform: translate(0, 8em);
}

.scrollbar::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100px;
    background: #999;
}

.scrollbar::after {
    content: "";
    position: absolute;

    width: 5px;
    height: 5px;
    border-radius: 50%;

    transform: translate(-2px, 0);

    background: #333;
    animation: moving-circle 4s ease-in-out infinite,
        cirlemovehide 4s ease-out infinite;
}

@keyframes blinking {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

@keyframes moving-circle {
    0% {
        top: 0px;
    }

    100% {
        top: 95px;
    }
}

@keyframes cirlemovehide {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    70% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

/*--------------------section-01-----------------------*/

.section-01 {
    position: relative;
    z-index: 0;
}

.section-01-text-container {
    position: absolute;
    z-index: 50;
    width: 100%;
}

.section-01-text-inner {
    padding: calc(var(--contents-margin-top) * 2) 0 0 0;
    max-width: 460px;
}

.section-01-image-grid {
    position: relative;

    z-index: -50;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 横2枚 */
    grid-template-rows: repeat(4, auto);
    /* 縦4行 */
    gap: clamp(16px, 4vw, 72px);
    /* 各画像の間隔 */
    max-width: var(--contents-width);
    width: 80vw;

    transform: translate(15vw, 0);
    padding: calc(var(--contents-margin-top) * 2) 0 0 0;
}

.section-01-image-grid img {
    width: 100%;
    height: auto;
}

.section-01-frame-top-container {
    position: relative;
    width: 100%;
    z-index: -50;

    margin: calc(var(--contents-margin-top) * 6) 0 32px 0;
}

.section-01-frame-top-inner {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.section-01-frame-top-inner img {
    width: clamp(300px, 40vw, 600px);
    height: auto;
}

.section-01-frame-top-inner p {
    writing-mode: vertical-rl;
    margin: 0 0 0 40px;
}

.section-01-frame-bottom-container {
    position: relative;
    z-index: 100;
}

.section-01-frame-bottom-inner {
    font-family: "Spectral", serif;
    font-style: normal;
    text-align: right;

    padding-top: 8px;
}

/*--------------------section-02-----------------------*/

.section-02 {
    margin: calc(var(--contents-margin-top) * 6) 0 0 0;
    position: relative;
}

.section-02-image-grid {
    position: relative;
    z-index: -50;
    display: grid;

    grid-template-columns: repeat(3, 1fr);
    /* 横3枚 */
    grid-template-rows: repeat(3, auto);
    /* 縦3行 */
    gap: clamp(16px, 4vw, 72px);
    /* 各画像の間隔 */

    width: 120vw;
    transform: translateX(calc((var(--contents-margin-side) + 10vw) * -1));
}

.section-02-image-grid img {
    width: 100%;
    height: auto;
}

.section-02-background {
    z-index: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    top: 0;
    left: 0;
}

.section-02-text {
    z-index: 50;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
}

/*--------------------section-03-----------------------*/

.section-03 {
    margin: calc(var(--contents-margin-top) * 6) 0 0 0;
}

.section-03-01 {
    transform: translateX(calc(var(--contents-margin-side) * -1));
}

.section-03-01 img {
    max-width: var(--contents-width);

    width: 80vw;
    height: auto;
}

.section-03-02 {
    position: relative;
    margin: calc(var(--contents-margin-top) * 4) 0 0 0;
}

.section-03-02-text-container {
    position: absolute;
    z-index: -50;
    width: 100%;

    top: -50vh;
}

.section-03-02-text-inner {
    padding: 40vh 0 0 0;
    max-width: 25vw;
}

.section-03-02-img {
    position: relative;
    z-index: 0;

    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.section-03-02-img-a {
    position: relative;
    width: clamp(150px, 40vw, 700px);
    aspect-ratio: 2 / 3;
}

.section-03-02-img-a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-03-02-img-b {
    position: absolute;
    width: clamp(120px, 30vw, 500px);
    aspect-ratio: 1 / 1;
    left: -38%;
    bottom: -25%;
}

.section-03-02-img-b img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-03-03 {
    margin: calc(var(--contents-margin-top) * 5) 0 0 0;

    position: relative;
    z-index: 0;
}

.section-03-03 img {
    width: clamp(120px, 30vw, 500px);
    height: auto;

    padding: calc(var(--contents-margin-top) * 1) 0 0 0;
}

.section-03-03-img-b {
    transform: translateX(100%);
}

.section-03-04 {
    position: relative;
    margin: calc(var(--contents-margin-top) * 5) 0 0 0;
    z-index: 0;

    display: flex;
    justify-content: flex-end;
}

.section-03-04-text-container {
    position: absolute;
    z-index: -50;
    width: 25vw;
    top: -50vh;
}

.section-03-04-text-inner {
    padding: 40vh 0 0 0;
    max-width: 25vw;
}

.section-03-04-img {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
    /* 横4枚 */
    grid-template-rows: repeat(7, 1fr);
    /* 縦7行 */
    gap: 0;
    /* 各画像の間隔 */

    width: 100%;
}

.section-03-04-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.section-03-04-img-a {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.section-03-04-img-b {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.section-03-04-img-c {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}

.section-03-04-img-d {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
}

.section-03-04-img-e {
    grid-column: 2 / 3;
    grid-row: 5 / 6;
}

.section-03-04-img-f {
    grid-column: 4 / 5;
    grid-row: 5 / 6;
}

.section-03-04-img-g {
    grid-column: 3 / 4;
    grid-row: 7 / 8;
}

.section-03-05 {
    position: relative;
    margin: calc(var(--contents-margin-top) * 4) 0 0 0;
    z-index: 0;

    display: flex;
    justify-content: center;
}

.section-03-05-img img {
    width: clamp(100px, 22.1vw, 300px);
    aspect-ratio: 2 / 3;
    object-fit: cover;

    margin-top: calc(var(--contents-margin-top) * 1);
}

.section-03-06 {
    position: relative;
    margin: calc(var(--contents-margin-top) * 4) 0 0 0;
    z-index: 0;
}

.section-03-06-img img {
    margin-top: calc(var(--contents-margin-top) * 1);
}

.section-03-06-img-a {
    width: clamp(0px, 60vw, 1000px);
    height: auto;
}

.section-03-06-img-b {
    width: clamp(0px, 35vw, 500px);
    height: auto;

    margin-left: auto;
    margin-right: 0;
}

.section-03-06-img-c {
    width: clamp(0px, 35vw, 500px);
    height: auto;

    margin: 0 auto;
}

/*--------------------section-04-----------------------*/

.section-04 {
    position: relative;
    margin: calc(var(--contents-margin-top) * 6) 0 0 0;
    border: 1px solid #333;
}

.section-04-postmark {
    position: absolute;
    width: clamp(140px, 25vw, 300px);
    top: -6vw;
    z-index: 50;
}

.section-04-img-container {
    display: flex;
    overflow: hidden;
    margin: 0 1px;
}

.section-04-img-inner {
    display: flex;
    animation: infinity-scroll 80s infinite linear 0.5s both;
}

.section-04-img-item {
    width: clamp(250px, 60vw, 800px);
    height: auto;
    margin: calc(var(--contents-margin-top) * 1) 4vw 0 4vw;
}

@keyframes infinity-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.section-04-text {
    margin: calc(var(--contents-margin-top) * 1) auto calc(var(--contents-margin-top) * 1) auto;
    width: clamp(250px, 60vw, 800px);
}

/*--------------------section-05-----------------------*/

.section-05 {
    position: relative;
    margin: calc(var(--contents-margin-top) * 6) 0 0 0;
}

.section-05-img img {
    width: 100vw;
    height: auto;
    transform: translateX(calc(var(--contents-margin-side) * -1));
}

.section-05-text {
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    top: 0;
    right: -5vw;
    font-size: 10.48vw;
    text-shadow: none;
    text-overflow: clip;
}

.section-05-text p {
    margin: 0;
    line-height: 1em;
}


/*--------------------section-06-----------------------*/

.section-06 {
    margin: calc(var(--contents-margin-top) * 6) 0 0 0;
    position: relative;
}

.section-06-image-grid {
    position: relative;
    z-index: 50;
    display: grid;

    grid-template-columns: repeat(4, 1fr);
    /* 横4枚 */
    gap: clamp(20px, 4vw, 80px);
    /* 各画像の間隔 */

    max-width: var(--contents-width);
    width: 100%;
}

.section-06-image-grid img {
    width: 100%;
    height: auto;
}

/*--------------------section-info-----------------------*/


.section-info {
    margin: calc(var(--contents-margin-top) * 4) 0 0 0;
}

.copyright-container {
    margin: 24px 0;
    padding-top: 24px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.copyright-inner {
    display: flex;
    justify-content: flex-end;
}

.copyright-img {
    width: 48px;
    height: auto;
    margin-left: 24px;
}

.copyright-img img {
    width: 100%;
}

.copyright-date {
    text-align: right;
}

.copyright-title {
    margin-top: 8px;
    text-align: right;
}

.copyright-name {
    margin-top: 8px;
    margin-left: 24px;
    text-align: right;
}

/* SPは～428px、タブレットは429〜960px、PCは961px～ とする */


/* 画面が幅広（コンテンツ幅MAX＋左右マージン分 以上）になった場合 */
body.wide .main {
    max-width: 100vw;
    padding: 0 calc(100vw / 2 - var(--contents-width) / 2 + var(--contents-margin-side));
}

body.wide .page-top {
    right: calc(100vw / 4 - var(--contents-width) / 4 + var(--contents-margin-side) / 2);
}

body.wide .section-02-image-grid {
    width: calc(var(--contents-width) + var(--contents-margin-side) * 4);
    transform: translateX(calc(var(--contents-margin-side) * -3));
}

body.wide .section-03-01 {
    transform: translateX(calc((100vw / 2 - var(--contents-width) / 2 + var(--contents-margin-side)) * -1));
}

body.wide .section-03-02-text-inner {
    max-width: 360px;
}

body.wide .section-03-04-text-container {
    width: 360px;
}

body.wide .section-03-04-text-inner {
    max-width: 360px;
}

/* body.wide .section-04-img-item {
    width: 800px;
    margin: var(--contents-margin-side) 60px 0 60px;
}

body.wide .section-04-text {
    width: 800px;
} */

body.wide .section-04-postmark {
    top: -70px;
}

body.wide .section-05-img img {
    transform: translateX(calc((100vw / 2 - var(--contents-width) / 2 + var(--contents-margin-side)) * -1));
}

@media (max-width: 960px) {
    :root {
        --contents-margin-side: 40px;
        --contents-margin-top: 60px;
    }

    .pc {
        display: none !important;
    }

    .tb {
        display: block !important;
    }

    .sp {
        display: none !important;
    }

    .main-visual {
        flex-direction: column;
    }

    .page-top {
        right: calc(var(--contents-margin-side) / 1);
    }

    .main-visual-img {
        position: relative;
        width: 100vw;
    }

    .mv-padding-01 {
        margin: 10vh 0 2vh 0;
        padding: 0;
    }

    .mv-padding-02 {
        margin: 2vh 0 10vh 0;
        padding: 0;
    }

    .main-visual-text-01 {
        font-size: 12vw;
        left: 0;
        line-height: 1;
        margin-left: var(--contents-margin-side);
    }

    .main-visual-text-02 {
        right: 0;
        margin: 0;
    }

    .main-visual-text-04 {
        right: var(--contents-margin-side);
        bottom: -8vh;
    }

    .header-01-inner {
        padding: 20px 0 8px 0;
    }

    .header-01-text {
        text-align: justify;
    }

    .section-01-text-inner {
        max-width: none;
        width: 60vw;
        padding: calc(var(--contents-margin-top) * 3.5) 0 0 0;
    }

    .section-01-image-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
        transform: translate(20vw, 0);
    }

    .section-01-frame-top-container {
        margin-bottom: 8px;
    }

    .section-01-frame-top-inner {
        flex-direction: column-reverse;
    }

    .section-01-frame-top-inner img {
        width: 100%;
        margin-top: 16px;
    }

    .section-01-frame-bottom-inner {
        letter-spacing: 0.25em;
        text-align: justify;
    }

    .section-03-02-text-inner {
        padding: 25vh 0 0 0;
        max-width: none;
    }

    .section-03-04-text-inner {
        padding: 53vh 0 0 0;
        max-width: none;
    }

    .section-03-04 {
        justify-content: flex-start;
    }

    .section-03-04-img {
        margin: 0 0 0 auto;
    }

    .section-03-05-img img {
        width: 30vw;
    }

    .section-05-text {
        right: -7vw;
        font-size: 9.7vw;
    }

    .copyright-container {
        justify-content: space-between;
        flex-direction: row-reverse;
        align-items: flex-end;
    }

    .copyright-inner {
        flex-direction: column;
    }

    .copyright-img {
        width: 80px;
        margin-left: 0;
        margin-right: 16px;
    }
}

@media (max-width: 428px) {
    :root {
        --contents-margin-side: 20px;
        --contents-margin-top: 32px;
        --contents-font-size: 10px;
    }

    .pc {
        display: none !important;
    }

    .tb {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    .section-02-image-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, auto);
    }

    .section-03-04-text-inner {
        padding: 60vh 0 0 0;
    }

    .section-04-postmark {
        top: -35px;
    }

    .section-05-text {
        right: -3vw;
        font-size: 9.2vw;
    }

    .copyright-img {
        width: 60px;
    }
}


a:link {
    color: var(--color-text);
}

a:visited {
    color: var(--color-text);
}

a:hover {
    color: var(--color-text);
}

a:active {
    color: var(--color-text);
}