@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Outfit:wght@100..900&display=swap');


:root {
    --main-color: #F6732A;
    --main-bg-color: #FEF1EA;
    --secondary-text-color: #1F3778;
    --secondary-color: #345CC8;
    --shadow_1: 0px 0px 10px 0px #0000000F;

    --scroll-top: 220px;           /* 初期（開場前）の top */
    --scroll-top-loaded: 160px;    /* .loaded 時の top（ふわっと移動先） */
    --scroll-scale-init: 1.5;
    --scroll-scale-loaded: 1;
}



/*===================================================
	リセット
====================================================*/
.headerHidden {
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
}

header.headerShadow {
    box-shadow: none;
}

#container {
    width: 100%;
}

footer {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#feature #wrap {
    padding-top: 0;
}

/*===================================================
	フレーム
====================================================*/
body {
    background-color: #FAFAFA;
}

.allContain {
    position: relative;
    color: #1D1B1A;
    font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", meiryo, Osaka, "ＭＳ Ｐゴシック", sans-serif;
    background: #FAFAFA;
}

.container {
    position: relative;
}

.container:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 300px;
    width: 3px;
    height: calc(100% - 50px);
    background: var(--main-color);
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease 3s;
}

.loaded .container:before {
    opacity: 1;
}

.orange {
    color: #FF7C60;
}

.space {
    width: 100%;
    height: 87px;
}

/* SP */
@media screen and (max-width: 900px) {
    .space {
        height: 51px;
    }
    .container:before {
        z-index: 0;
    }
}

/*===================================================
	frame
====================================================*/
.frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.frame .frameInner {
    position: sticky;
    top: 86px;
    display: block;
    width: 100%;
    height: calc(100vh - 86px);
    background: transparent;
    border: 10px solid #345CC8;
    box-sizing: border-box;
    z-index: 5;
}

.frame .frameInner span {
    position: absolute;
    width: 16px;
    line-height: 0;
}

.frame .frameInner span:nth-child(1) {
    top: 0;
    left: 0;
}

.frame .frameInner span:nth-child(2) {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

.frame .frameInner span:nth-child(3) {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

.frame .frameInner span:nth-child(4) {
    bottom: 0;
    left: 0;
    transform: scale(-1) rotate(90deg);
}

/* SP */
@media screen and (max-width: 900px) {
    .frame .frameInner {
        top: 0;
        height: calc(100svh - 50px);
    }
}



/*===================================================
	walking
====================================================*/
.walking {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.walkingInner {
    position: sticky;
    top: 86px;
    display: block;
    width: 100%;
    height: calc(100svh - 86px);
    background: transparent;
    box-sizing: border-box;
    z-index: 1;
}

.walking .scroll {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 180px;
    height: 180px;
    background-color: #FFF;
    border-radius: 400px;
    transform: translate(-50%, 60%) scale(1.5);
    transition: transform 0.5s ease 2s, background-color 0.5s ease 2.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loaded .walking .scroll {
    background-color: var(--main-color);
    transform: translate(-50%, 60%);
}

.walking .scroll img {
    opacity: 0;
    width: 80%;
    animation: circle 6s linear infinite;
    transition: opacity 1s ease 3.5s;
}

@keyframes circle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loaded .walking .scroll img {
    opacity: 1;
}

.walking .loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-color);
}

.walking .loading .count {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: Outfit;
    color: #FFF;
    font-size: clamp(200px, 500px, 36vw);
    font-style: normal;
    font-weight: 700;
    display: flex;
    align-items: center;
    line-height: 1em;
    letter-spacing: 0;
    opacity: 0;
    transition: 0.3s ease;
}

.loaded .walking .loading .count {
    opacity: 1;
}

.digit {
    display: inline-block;
    height: 1em;
    line-height: 1;
}

.time-part {
    width: 0.65em;
    text-align: center;
    height: 1em;
    overflow: hidden;
    display: inline-block;
    box-sizing: border-box;
    letter-spacing: 0;
}

.loaded .time-part.hundredths.tens .digit-wrapper {
    animation: hundredths-tens 1s forwards 1s 1;
}

.loaded .time-part.hundredths.ones .digit-wrapper {
    animation: hundredths-ones 1s ease forwards 1s 1;
}

@keyframes hundredths-tens {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-67%);
    }
}

@keyframes hundredths-ones {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-94.9%);
    }
}


.walking .walkingAnim {
    width: 200px;
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    transform: translate(-56%, -23%) scale(1.5);
    transform-origin: bottom;
    transition: 1s ease 2s;
}

.loaded .walking .walkingAnim {
    transform: translate(-56%, -14%);

}

/* SP */
@media screen and (max-width: 900px) {
    .walkingInner {
        top: 0;
        height: calc(100svh - 50px);
    }

    .walking .scroll {
        width: 200px;
        height: 200px;
        bottom: -5%;
    }

    .walking .walkingAnim {
        width: 180px;
        bottom: -2%;
    }

    .loaded .walking .scroll {
        transform: translate(-50%, calc(-50svh - 50% + 300px));
    }

    .loaded .walking .walkingAnim {
        transform: translate(-56%, calc(-50svh - 50% + 160px));
        
    }

    .walking .loading .count {
        font-size: clamp(124px, 500px, 30vw);
    }
}

/*===================================================
	visual
====================================================*/
.visual {
    position: relative;
    background-color: #FAFAFA;
    z-index: 0;
}

.visual .bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 1s ease 2.5s;
    opacity: 0;
    z-index: 0;
}

.visual .bg.bg01 {
    top: -20%;
}

.visual .bg.bg02 {
    top: -25%;
}

.visual .bg.bg03 {
    top: -30%;
}

.loaded .visual .bg {
    opacity: 1;
    top: 0;
}


.visual .titBox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.5s ease 3.5s;
}

.loaded .visual .titBox {
    opacity: 1;
}

.visual .titBox h2 {
    color: #345CC8;
    text-align: center;
    font-size: 66px;
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
    letter-spacing: -0.5px;
}

.visual .titBox .years {
    color: #345CC8;
    font-family: Outfit;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.5px;
}


/* SP */
@media screen and (max-width: 900px) {
    .visual .titBox {
        width: 100%;
        transform: translate(-50%, -160%);
    }

    .visual .titBox h2 {
        font-size: 34px;
    }

    .visual .titBox .years {
        font-size: 18px;
    }
}

/*===================================================
	intro
====================================================*/
.intro {
    position: relative;
    text-align: center;
    padding-top: 70px;
    padding-bottom: 160px;
    z-index: 3;
}

.intro .contentInner {
    background: #FFF;
    width: calc(100% - 364px);
    margin: 0 auto;
    border-radius: 56px;
    display: inline-flex;
    padding: 40px 120px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 940px;
    box-shadow: var(--shadow_1);
    opacity: 0;
    transition: opacity 1s ease 2.5s;
}
    
.loaded .intro .contentInner {
    opacity: 1;
}

.intro .contentInner .year {
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
    letter-spacing: 0.5px;
    display: flex;
    padding: 24px 72px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--main-bg-color);
    border-radius: 56px;
}

.intro .contentInner .lead {
    text-align: center;
    font-size: clamp(10px, 28px, 1.7vw);
    font-style: normal;
    font-weight: 900;
    line-height: 230%;
    letter-spacing: 0.5px;
}

.intro .contentInner .lead.orange {
    color: #F6732A;
}

/* SP */
@media screen and (max-width: 900px) {

    .intro {
        padding-top: 160px;
        padding-bottom: 80px;
    }

    .intro .contentInner {
        width: calc(100% - 32px);
        box-sizing: border-box;
        margin: 0 auto;
        padding: 24px 32px 48px;
    }

    .intro .contentInner .lead {
        font-size: 16px;
    }
}


/*===================================================
	history
====================================================*/
.history {}

.history .contentInner {
    display: flex;
}

.history .cardBlock {
    width: 50%;
    z-index: 1;
}

.history .cardInner {
    position: sticky;
    top: 86px;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 86px);
    padding: 0 80px;
    box-sizing: border-box;
}

.history .cardDetail {
    opacity: 0;
    width: 410px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #DDD;
    margin-bottom: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease, opacity 0.3s ease;
    border-radius: 16px;
    padding: 16px 16px 104px 16px;
    box-sizing: border-box;
}

.history .cardDetail img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: contain;
    border-radius: 8px;
}



.history .detailYearBlock {
    position: absolute;
    right: 0;
    top: 32px;
    height: 60px;
    width: 178px;
    transform: translate(50%);
    background: var(--main-color);
    font-family: Outfit;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    border-radius: 100px;
    color: #FFF;
}

.history .detailYearBlock .yearNum {
    opacity: 0;
    transition: 0.5s ease;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.history .detailBlock {
    width: calc(50% - 120px);
    padding: 80px 32px;
    box-sizing: border-box;
}

.history .detailInner {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.history .historyList {
    position: relative;
    background: #FFF;
    padding: 40px 64px;
    border-radius: 56px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);
}

.history .historyList.orange {
    background: #F6732A;
    color: #FFF;
}

.history .historyList:before {
    content: "";
    position: absolute;
    top: calc(50% - 2px);
    left: -29px;
    width: 29px;
    height: 4px;
    background: #FFF;
}

.history .historyList.orange:before {
    background: #F6732A;
}

.history .historyList dt {
    font-family: "Outfit", serif;
    color: var(--secondary-text-color);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 8px;
}

.history .historyList.orange dt {
    color: #FFF;
}

.history .historyList dd>* {
    margin-bottom: 8px;
}

.history .historyList dd>*:last-child {
    margin-bottom: 0;
}

.history .historyList dd .tit {
    color: var(--main-color);
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: 230%;
    letter-spacing: -0.5px;
    line-height: 1.5em;
}

.history .historyList dd .txt {
    font-style: normal;
    font-weight: 900;
    line-height: 230%;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    font-size: clamp(10px, 16px, 1.2vw);
}

.history .historyList dd figure {
    margin: 0;
    line-height: 0;
    text-align: center;
}

.history .historyList dd .btn {
    margin-top: 8px;
    text-align: right;
}

.history .historyList dd .btn a {
    background: #F6732A;
    color: #FFF;
    display: inline-block;
    width: auto;
    min-width: auto;
    padding: 14px 42px 14px 22px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.05em;
    margin: 0;
    border-radius: 100px;
    position: relative;
}

.history .historyList dd .btn span {
    position: absolute;
    top: 52%;
    right: 22px;
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transform: translate(0, -50%) rotate(45deg);
}

.history .yearBlock {
    position: sticky;
    top: 86px;
    bottom: 0;
    width: 120px;
    height: calc(100vh - 86px);
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.history .yearList {
    background: var(--main-bg-color);
    display: block;
    padding: 32px 16px;
    border-radius: 100px;
    box-sizing: border-box;
}

.history .yearList li {
    font-family: "Outfit", serif;
    color: #1F3778;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: 0.5s ease;
}

.history .yearList li a {
    color: #F6732A;
    text-decoration: none;
}

.history .yearList li.dots {
    font-size: 4px;
    color: #FFC09D;
}


/* SP */
@media screen and (max-width: 900px) {

    .history .cardBlock,
    .history .yearBlock {
        display: none;
    }

    .history .historyList:before {
        content: none;
    }

    .history .detailBlock {
        width: 100%;
        padding: 80px 16px;
        box-sizing: border-box;
        z-index: 3;
    }

    .history .detailInner {
        height: auto;
        margin-bottom: 110px;
        gap: 32px;
    }

    .history .detailInner .yearNum {
        background: var(--main-color);
        font-family: Outfit;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%;
        border-radius: 100px;
        color: #FFF;
        margin: 0 auto 8px;
        z-index: 0;
        padding: 8px 32px;
    }

    .history .historyList {
        padding: 40px 32px;
        border-radius: 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .history .cardDetail {
        opacity: 1;
        position: relative;
        top: auto;
        left: auto;
        padding: 8px 8px 52px 8px;
        margin: 0 auto;
        width: 70%;
    }

    .history .historyList dd .txt {
        font-size: 14px;
    }
}



/*===================================================
	outro
====================================================*/
.outro {
    padding: 180px 0;
    z-index: 2;
    position: relative;
}

.outro .contentInner {
    background: #FFF;
    padding: 0;
    width: 800px;
    margin: 0 auto;
    border-radius: 56px;
    display: flex;
    justify-content: center;
}

.outro .outroList {
    display: inline-flex;
    padding: 56px 120px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.outro .outroList li {}

.outro .outroList li:nth-child(1) {
    font-family: "Outfit", serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
    letter-spacing: 0.5px;
    color: #F6732A;
}

.outro .outroList li:nth-child(2) {
    font-size: 28px;
    font-style: normal;
    font-weight: 900;
    line-height: 230%;
    letter-spacing: 0.5px;
}

.outro .outroList li:nth-child(3) {
    display: block;
    aspect-ratio: 300 / 89;
    width: 234px;
    line-height: 0;
}

.outro .outroList li:nth-child(4) {
    text-align: center;
    font-family: "Outfit", serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


/* SP */
@media screen and (max-width: 900px) {
    .outro {
        padding: 0 0 180px;
    }

    .outro .contentInner {
        width: calc(100% - 32px);
    }

    .outro .outroList {
        padding: 32px 0;
    }

    .outro .outroList li:nth-child(2) {
        font-size: 15px;
    }

    .outro .outroList li:nth-child(4) {
        font-size: 24px;
    }
}

/*===================================================
    hero-title
====================================================*/


.loaded .hero-title-wrap {
    opacity: 1;
    top: 0;
}

/* ----- wrap ----- */
.hero-title-wrap {
    position: absolute;
    width: 100%;
    z-index: 10;
    opacity: 0;
    transition: opacity 1s ease 2.5s;
    top: 20px;
}

/* ----- 本体 ----- */
.hero-title {
    text-align: left;

    background-image: url(../image/bg_tit.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 16px;

    padding: clamp(12px, 1.5vw, 16px) clamp(16px, 3vw, 20px) clamp(16px, 3vw, 24px);
}

/* ----- 英語部分 ----- */
.hero-title__heading {
    padding: 0;
    text-shadow: none;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    color: #F6732A;
    font-family: "Outfit", "Noto Sans JP", "ヒラギノ角ゴ Pro W3",
        "Hiragino Kaku Gothic Pro", "メイリオ", meiryo, Osaka,
        "ＭＳ Ｐゴシック", sans-serif;

    font-size: clamp(24px, 3.5vw, 32px);
}

/* ----- サブタイトル ----- */
.hero-title__subtitle {
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    color: #757575;
    font-size: clamp(14px, 2.5vw, 16px);
}
