@charset "utf-8";
/* ===== ローディング全体 ===== */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    background: linear-gradient(to bottom, #e8f5ff 0%, #ffffff 90%);
    overflow: hidden;
    z-index: 9999;
    transition: background 2s ease;
}

/* 雲共通 */
.cloud {
    opacity: 0;
    transform: scale(0.8);
    position: relative;
    z-index: 2;
}

.cloud img {
    width: 50px;
    opacity: 0.9;
    user-select: none;
    pointer-events: none;
}

/* 順番に “ぽん” と浮かぶ */
.cloud1 {
    animation: popIn 0.8s ease forwards 0.5s;
}
.cloud2 {
    animation: popIn 0.8s ease forwards 1s;
}
.cloud3 {
    animation: popIn 0.8s ease forwards 1.5s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.loading-logo {
    position: absolute;
    width: 80%;
    opacity: 0;
    z-index: 3;
    transition: opacity 1.2s ease;
}

/* フェードアウト時：雲が滲んで画面が真っ白に */
.fade-out {
    background: #fff;
}

.fade-out .cloud img {
    animation: dissolve 1.7s ease forwards;
}

@keyframes dissolve {
    0% {
        opacity: 1;
        filter: blur(0px) brightness(1);
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        filter: blur(4px) brightness(1.2);
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        filter: blur(20px) brightness(1.6);
        transform: scale(1.25);
    }
}

.show-logo .loading-logo {
    opacity: 1;
}

.fadeOutSoft {
    opacity: 0;
    pointer-events: none;
}
#loading.fadeOutSoft {
    animation: fadeOutSoft 1.5s ease forwards;
}

@keyframes fadeOutSoft {
    0% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        filter: blur(3px);
        transform: scale(1.03);
    }
    100% {
        opacity: 0;
        filter: blur(8px);
        transform: scale(1.05);
    }
}

/* ローディング後 */
/* 最初は全て非表示状態 */
body.index .header {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

body.index .slideshow,
body.index .indicator,
body.index .scroll-indicator {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

body.index .mainVisual__logo {
    opacity: 0;
    transform: translateX(-220px);
    transition: opacity 1s ease, transform 1s ease;
}

/* loadedクラスが付いたら順番に表示 */
body.index.loaded .slideshow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

body.index.loaded .header {
    opacity: 1;
    transition-delay: 0.8s;
}

body.index.loaded .indicator {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.3s;
}

body.index.loaded .scroll-indicator {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.8s;
}

body.index.loaded .mainVisual__logo {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 2.1s;
}

/* pc loading 769px */
@media screen and (min-width: 769px) {
    .cloud img {
        width: 100px;
    }

    .loading-logo {
        width: 86%;
    }
}
/* pc loading 769px */


/* ===========================
header
=========================== */
/* scroll down */
.scroll-indicator {
    position: absolute;
    bottom: 98px;
    left: 5.33vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10001;
}

.scroll-text {
    writing-mode: vertical-rl;
    margin-bottom: 4px;
    letter-spacing: 2px;

    color: var(--primary-skyBlue);
    font-family: "futura-pt", sans-serif;;
    font-size: 0.9rem;
}

.scroll-line {
    position: relative;
    width: 0.3px;
    height: 40px;
    background: var(--primary-skyBlue);
}

.scroll-circle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: var(--primary-skyBlue);
    animation: moveCircle 1.8s ease-in-out infinite;
}

@keyframes moveCircle {
    0%   { top: 0; opacity: 0; }
    30%  { opacity: 1; }
    70%  { opacity: 1; }
    100% { top: 35px; opacity: 0; }
}


/* ===========================
main
=========================== */
.main__header {
    position: relative;
    height: 167.2%;
}

.slideshow {
    position: relative;
    width: 100%;
    height: clamp(620px, 84vw, 770px);
    margin: auto;
    overflow: hidden;
    box-sizing: border-box;
    aspect-ratio: 16 / 9;
}

/* 暗いフィルター */
.slideshow::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 2;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 10s ease-out;
}

.slide:nth-child(1) img {
    object-position: 55% 50%;
}
.slide:nth-child(2) img {
    object-position: 28% 50%;
}
.slide:nth-child(3) img {
    object-position: 60% 50%;
}
.slide:nth-child(4) img {
    object-position: 50% 50%;
}
.slide:nth-child(5) img {
    object-position: 65% 50%
}

/* pc 769px */
@media screen and (min-width: 769px) {
    .slide:nth-child(1) img {
    object-position: 50% 45%;
    }
    .slide:nth-child(2) img {
        object-position: 50% 70%;
    }
    .slide:nth-child(3) img {
        object-position: 50% 50%;
    }
    .slide:nth-child(4) img {
        object-position: 50% 40%;
    }
    .slide:nth-child(5) img {
        object-position: 50% 50%
    }
}
/* pc 769px */

.slide.active img {
    transform: scale(1);
}

.mainVisual__logo {
    width: 63.2vw;
    max-width: 300px;
    position: absolute;
    bottom: 127px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
    z-index: 10;
    transition: transform 1s ease, opacity 1s ease;
    -webkit-mask-image: none;
    mask-image: none;
}

.mainVisual__logo.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* スライドのインジケーター */
.indicator {
    position: absolute;
    left: 5.33vw;
    top: 50%;
    transform: translateY(-160%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
}

.indicator span {
    display: block;
    width: 20px;
    height: 1px;
    background: rgba(255,255,255,1);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.8s ease;
}

.indicator span.active {
    width: 50px;
    background: var(--primary-skyBlue);
}

/* サイドの余白 */
.border-left {
    position: absolute;
    background-color: #fff;
    display: block;
    z-index: 10;
    width: clamp(6px, 1.6vw, 80px);
    height: 102%;
    top: -2px;
    left: 0;
}

.border-right {
    position: absolute;
    background-color: #fff;
    display: block;
    z-index: 10;
    width: clamp(6px, 1.6vw, 80px);
    height: 102%;
    top: -2px;
    right: 0;
}


/* ===========================
photo
=========================== */
.section--photo {
    margin-top: 40px;
    position: relative;
}

.photo__top {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.topic--photo {
    width: 70.9vw;
    max-width: 400px;
    margin: 0 auto;
}

.topic__img--animation,
.topic__img--animation .topic--photoMenu{
    display: block;
    -webkit-mask-image: linear-gradient(to right, black 100%, transparent 0%);
    mask-image: linear-gradient(to right, black 100%, transparent 0%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
    -webkit-mask-position: left;
    mask-position: left;
    transition: mask-size 0.8s ease-out, -webkit-mask-size 0.3s ease-out;
}

.topic__img--animation.is-visible {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.photo__top {
    margin: 20px auto 0;
    padding: 0 46px;
}

.photo__item {
    margin-bottom: 20px;

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

.photo__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.photo__table {
    display: none;
}

/* view more */
.view-more {
    font-family: "futura-pt", sans-serif;;
    font-size: 1.2rem;
    line-height: 2;
    letter-spacing: 0.96px;
    width: 106px;
    /* display: flex; */
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid var(--primary-blue);
    text-align: center;
    padding: 0 8px;


    display: inline-flex;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.view-more.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.view-more img {
    transition: transform 0.4s ease-out;
}

.view-more:hover img {
    transform: translateX(5px);
}

.blob {
    opacity: 0.15;
    position: absolute;
    overflow: hidden;
    z-index: -1;
}

.photo__blob--1 {
    width: clamp(120px, 149vw, 510px);
    top: clamp(31px, 65%, 5px);
    left: clamp(-157px, 0%, -110px);
}

.photo__blob--2 {
    width: clamp(120px, 74vw, 492px);
    bottom: clamp(88px, 65%, 5px);
    right: clamp(-132px, -16%, -40px);
}

/* pc photo 769px */
@media screen and (min-width: 769px) {
    .section--photo {
        margin-top: 100px;
    }

    .topic--photo {
        width: 40vw;
        max-width: 884px;
    }

    .photo__top {
        padding: 0 5.55%;
    }

    .photo__list {
        display: none;
    }

    .photo__table {
        width: 100%;
        display: block;
        margin: 20px auto 0;
    }

    .photo__table img {
        width: 100%;
    }

    .photo__table img {
        opacity: 0;
        transform: translateY(30px);
        transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    }

    .photo__table img.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .photo__blob--1 {
        width: clamp(615px, 95vw, 1300px);
        top: clamp(31px, 65%, 5px);
        left: clamp(-157px, 0%, -110px);
    }

    .photo__blob--2 {
        width: clamp(490px, 53vw, 800px);
        bottom: clamp(69px, 5%, 48px);
        right: clamp(-132px, -16%, -40px);
    }

    .view-more {
        font-size: 1.6rem;
        width: fit-content;
        margin-top: 52px;
    }

    .photo__afterCloud.show {
    margin-top: 200px;
    }
}
/* pc photo 769px */


/* ===========================
about
=========================== */
.section--about {
    background: linear-gradient(
                to bottom,
                #FFF 0%,
                rgba(255, 255, 255, 0) 1%,
                rgba(246, 250, 253, 1) 8%,
                rgba(246, 250, 253, 1) 90%,
                rgba(255, 255, 255, 0) 95%,
                #FFF 100%
                );
}

.about__content {
    margin: 10px 6.4% 0;
    padding-top: 120px;
}

.topic--about {
    width: 68vw;
    max-width: 400px;
    margin: 0 auto;
}

.about__img {
    margin-top: 20px;

    display: block;
    max-width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.about__img.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about__txt {
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.about__txt li {
    list-style: none;
    margin-bottom: 1rem;
    overflow: hidden;
}

.about__txt li span {
    display: inlin    e-block;
    position: relative;
    opacity: 0;
    background: linear-gradient(to right, transparent 0%, transparent 50%, rgba(255,255,255,1) 50%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: opacity 0.8s ease;
}

.about__txt li span.is-visible {
    opacity: 1;
    color: inherit;
}

.about__txt--jp {
    font-size: 1.4rem;
    line-height: 2;
}

.about__txt--en {
    margin-top: 60px;
    font-family: Jost;
    font-size: 1.4rem;
    line-height: 2.8rem;
}

.pcBr {
    display: none;
}

/* pc about 769px */
@media screen and (min-width: 769px) {
    .topic--about {
        margin-top: 80px;
        width: 40vw;
        max-width: 884px;
    }

    .about__img {
        width: 1000px;
        margin: 70px auto 0;
        display: block;
    }

    .about__txt {
        width: 1000px;
        margin: 70px auto 0;
    }

    .about__txt--jp {
        font-size: 1.4rem;
        line-height: 2.33;
    }

    .about__txt--en {
        font-size: 1.5rem;
        line-height: 2.22;
    }

    .pcBr {
        display: block;
    }

    .about__afterCloud.show {
        margin-top: 282px;
    }
}
/* pc about 769px */


/* ===========================
blog
=========================== */
.section--blog {
    margin-top: 100px;
    position: relative;
    scroll-margin-top: 120px;
}

.topic--blog {
    width: 64.5vw;
    max-width: 400px;
    margin: 0 auto;
}

.blog__content {
    margin-top: 20px;
}


/* アメブロ */
/* リスト全体 */
#ameba-blog-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 各リストアイテム */
#ameba-blog-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px 18px;
    border-bottom: 1px solid var(--primary-white);
    cursor: pointer;
    transition: background 0.2s;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#ameba-blog-list li:hover {
    background:  rgba(246, 250, 253, 1) ;
}

.blog-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.blog-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* 左側テキスト部分 */
.blog-text {
    display: flex;
    flex-direction: column;
}

/* タイトル */
.blog-title {
    font-family: "futura-pt", sans-serif;;
    font-size: 1.4rem;
}

/* 本文 */
.blog-excerpt {
    font-size: 1.2rem;
    margin-top: 10px;
    line-height: 1.4;
}

/* 投稿日付 */
.blog-date {
    color: var(--primary-skyBlue);
    font-family: "futura-pt", sans-serif;;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 4px;
}

.blog__viewMore {
    margin: 20px 24px 0 0;
    display: flex;
    justify-content: flex-end;
}

/* 右側矢印 */
.blog-arrow {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-left: 26px;
}

.blog__blob--3 {
    width: clamp(120px, 87vw, 411px);
    top: clamp(-46px, -11%, 5px);
    right: clamp(-157px, 22%, -80px);
}

.blog__blob--4 {
    width: clamp(265px, 74vw, 33%);
    bottom: clamp(65px, -11%, 5px);
    left: clamp(-157px, 22%, -80px);
}

/* pc blog 769px */
@media screen and (min-width: 769px) {
    .section--blog {
        margin-top: 200px;
    }

    .topic--blog {
        width: 40vw;
        max-width: 884px;
    }

    .blog__content {
        margin-top: 70px;
    }

    #ameba-blog-list li {
        padding: 24px 10% 32px;
    }

    /* タイトル */
    .blog-title {
        font-size: 1.6rem;
    }

    /* 本文 */
    .blog-excerpt {
        font-size: 1.6rem;
    }

    /* 投稿日付 */
    .blog-date {
        font-size: 1.4rem;
    }

    /* 右側矢印 */
    .blog-arrow {
        font-size: 1.4rem;
    }

    .blog__afterCloud.show {
        margin-top: 200px;
    }

    .blog__viewMore {
        margin: 20px 10% 0 0;
    }

    .blog__blob--3 {
        width: clamp(480px, 45vw, 800px);
        top: clamp(-46px, -11%, 5px);
        right: clamp(-157px, 22%, -80px);
    }

    .blog__blob--4 {
        width: clamp(265px, 74vw, 33%);
        bottom: clamp(65px, -11%, 5px);
        left: clamp(-157px, 22%, -80px);
    }

    .blob.blog__blob--4.show {
        opacity: 0.3;
        transform: translateY(0) rotate(188deg);
    }
}
/* pc blog 769px */


/* blobとcloudのアニメーション */
/* ▼共通：最初は非表示＋下に少しズレてる */
.blob {
    opacity: 0;
    transform: translateY(30px) rotate(90deg);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.blob.show {
    opacity: 0.3;
    transform: translateY(0) rotate(45deg);
}

.photo__afterCloud,
.about__afterCloud,
.blog__afterCloud {
    position: relative;
    margin-top: 90px;
    width: 14.4vw;
    max-width: 140px;
    left: 50%;
    transform: translate(-50%, 30px);
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

/* ▼表示されたとき */
.photo__afterCloud.show,
.about__afterCloud.show,
.blog__afterCloud.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ▼ふわふわアニメーション */
@keyframes float {
    0%   { transform: translate(-50%, -10px); }
    50%  { transform: translate(-50%, 0px); }
    100% { transform: translate(-50%, -10px); }
}

.cloud-float {
    animation: float 5s ease-in-out infinite;
}
