@charset "UTF-8";

/* 
*{
    outline: 2px red solid;
} */

body {
    color: #444444;
    font-size: 20px;
    line-height: 1.75;
    scroll-behavior: smooth;
}


.round {
    border-radius: 30px;
}

.smbr {
    display: none;
}

figcaption{
    font-size: 18px;
}


.comment_mini {
    color: #0A9FD5;
    font-size: 16px;
}

@media screen and (max-width: 880px) {
    .smbr {
        display: block;
    }

}

@media screen and (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .comment_mini {
        font-size: 12px;
    }


}

/* メイン */
.lower_visual {
    width: 100%;
    opacity: 40%;

}

.lower {
    position: relative;
}

.lower__title {
    position: absolute;
    top: calc(50% + 20px);
    left: 8.2%;

}

h2 {
    font-size: 100px;
    font-weight: bold;
    line-height: normal;
    text-shadow: #999 2px 1px 6px;
}

.lower_cap {
    font-size: 24px;
    font-weight: bold;
}

.circle-arrow {
    width: 80px;
    height: 80px;
    background-color: #25843a;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 60px;
    right: 60px;
    z-index: 122;
    transition: background-color 0.3s, border-color 0.3s;

}

.circle-arrow::before {
    content: '';
    width: 15px;
    height: 15px;
    border-left: 3px solid white;
    border-top: 3px solid white;
    transform: rotate(45deg);
    display: inline-block;
}

.circle-arrow:hover {
    background-color: #0A9FD5;
    border-color: #fff;
}

.circle-arrow:hover::before {
    border-color: #fff;
}

@media screen and (max-width: 1100px) {
    .lower__title {
        position: absolute;
        left: 6.67%;
        top: auto;
        bottom: 22px;
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }

    h2 {
        font-size: 67px;
        line-height: 1;
    }

    .lower_cap {
        font-size: 20px;
    }
}

@media screen and (max-width: 700px) {
    h2 {
        font-size: 53px;
        line-height: 1;
    }

    .lower_cap {
        font-size: 15px;
    }
}

@media screen and (max-width: 600px) {
    h2 {
        font-size: 35px;
        line-height: 1;
    }

    .lower_cap {
        font-size: 10px;
    }

    .circle-arrow {
        width: 56px;
        height: 56px;
        bottom: 24px;
        right: 24px;

    }
}



/* リンク */
.link__space {
    padding: 0 24px;
    margin-top: 76px;
}

.link {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    background-color: #EDF6F5;
    border-radius: 30px;
    margin: 0 auto;
    max-width: 1290px;
    padding: 30px 50px;
}

.link__buttun {
    display: flex;
    align-items: center;

}

.vector {
    height: 9px;
    width: auto;
    margin-right: 10px;
}



.link__tag {
    line-height: 10px;
}

@media screen and (max-width: 800px) {
    .link {
        flex-direction: column;

        gap: 40px;
        padding: 40px 30px;

    }

}

@media screen and (max-width: 600px) {
    .link__space{
        margin-top: 40px;
    }
}

/* 開業 */
.secound__explain {
    position: relative;
}

.hello {
    position: relative;
}

.open__shape1 {
    position: absolute;
    width: 11vw;
    top: 120px;

    z-index: -1;




}

.secound__explain {
    position: relative;
}

.block__open {
    position: relative;
    top: 0;
}


.open__shape2 {
    width: 23vw;
    position: absolute;
    bottom: -13px;
    right: -200px;
    z-index: 1;
}


.block__img {
    z-index: 22;
}

@media screen and (max-width: 1230px) {
    .open__shape2 {
        right: -90px;
        bottom: -3px;
    }
}

@media screen and (max-width: 990px) {
    .open__shape1 {
        width: 20vw;


    }



}


@media screen and (max-width: 770px) {
    .open__shape2 {
        width: 44vw;
        
    }
}

@media screen and (max-width: 600px) {
    .open__shape1 {
        bottom: -296px;
    }
}

/* ダイヤモンド */
.first {
    background-color: #E7F2F2;
    padding: 110px 32px;
}

h3 {
    font-size: 43px;
    font-weight: bold;
    border-left: #0A9FD5 4px solid;
    padding-left: 20px;
    max-width: 1226px;
    margin: auto;
    margin-bottom: 70px;
    line-height: 1.3;

}

.year {
    font-size: 25px;
    color: #0A9FD5;
    margin-left: 20px;
}



.first__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 69px;
    margin: auto;
    max-width: 1220px;
    margin-top: 60px;

}

.first__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: auto;
    max-width: 1220px;
}


.wrapper__inner {
    display: grid;
    grid-template-columns: 216fr 495fr;
    grid-column: span 2;
    width: 90.38%;
    background: #fff;
    border-radius: 30px;
    gap: 53px;
    padding: 20px;
}


.first__item {
    gap: 10px;
}

.first__container {
    gap: 69px;
    padding: 20px;
}

.wrapper__inner {
    gap: 20px;
}

.diamonond__area {
    position: relative;
}

.diamond__shape1 {
    position: absolute;
    mix-blend-mode: multiply;
    width: 25vw;
    top: 425px;
    left: -30px;
}




@media screen and (max-width: 1150px) {
    .first__container {
        gap: 45px;
    }
}

@media screen and (max-width: 990px) {
    .diamond__shape1 {
        top: 20px;
    }

}

@media screen and (max-width: 900px) {
    .first__container {
        grid-template-columns: 1fr;
        max-width: 600px;
        padding: 0px;
    }

    .first__wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
    }

    .wrapper__inner {
        grid-template-columns: 1fr;
        width: 100%;

    }

    .first__wrapper .wrapper__inner {
        grid-column: auto;
        /* span解除 */
    }

    .first__bigContainer {
        padding: 0 20px;
    }
}

@media screen and (max-width: 770px) {
    h3 {
        font-size: 35px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    .first {
        padding: 40px 24px;
    }

    h3 {
        font-size: 21px;

    }

    .year {
        font-size: 20px;

    }

}






.first__item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 39px;
    background-color: white;
    padding: 30px 40px 10px 40px;
    border-radius: 30px;
    max-width: 1220px;
    margin: 60px auto;
}




.first__item img {
    width: 100%;
    object-fit: cover;
}

.center {
    text-align: center;
}

.fly {
    grid-template-columns: 1fr 450px;
}

@media screen and (max-width: 1230px) {
    .first__item {
        gap: 10px;
    }

}

@media (max-width: 1000px) {
    .first__item {
        grid-template-columns: 1fr;
        max-width: 600px;
        padding: 20px;
    }

    /* 画像順を変更 */
    .grid-item:nth-child(2) {
        order: 2;
    }

    .grid-item:nth-child(3) {
        order: 1;
    }

    .photo:nth-child(2) {
        order: 2;
    }

    .photo:nth-child(3) {
        order: 1;
    }

    .center {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .first__item {
        margin-top: 20px;
        margin-bottom: 0px;
    }
}

/* ちゅーピープール時代 */
.secound {
    margin: 110px 0px;
    padding: 0px 32px;
    overflow: hidden;
}

.chupie {
    position: relative;
}

.first__explain {
    display: grid;
    grid-template-columns: 1fr 500px;
    max-width: 1177px;
    margin: auto;
    gap: 60px;
    overflow: visible;

    align-items: center;
    position: relative;
}

.secound__explain {
    max-width: 1177px;
}

.first__explain img {
    width: 100%;
    height: 377px;
    object-fit: cover;

}

.block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    max-width: 1090px;
    margin: 60px auto 0px;
    padding: 0px 20px;
}

.chupie__shape {
    position: absolute;
    width: 25vw;
    top: -20px;
    right: -70px;
}

.chupie {
    position: relative;
}

.chupieArea {
    position: relative;
}

.chupieArea__shape1 {
    position: absolute;
    width: 14vw;
    right: -85px;

}

.chupieArea__shape2 {
    position: absolute;
    top: 100px;
    width: 15vw;
    left: -120px;

}


@media screen and (max-width: 1150px) {
    .first__explain {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .first__explain img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .chupie__shape {
        width: 30vw;
        top: -20px;
    }


}

@media screen and (max-width: 768px) {
    .chupieArea__shape2 {
        top: auto;
        /* topの値をリセット */
        bottom: 100px;
        left: -60px;
        /* 必要に応じて左位置も調整 */
        width: 30vw;
        /* 必要に応じて幅も調整 */
    }
}

@media screen and (max-width: 750px) {
    .chupieArea__shape1 {
        width: 22vw;
    }

    .chupieArea__shape2 {
        top: auto;
        /* topの値をリセット */
        bottom: 10px;
        left: -60px;
        /* 必要に応じて左位置も調整 */
        width: 30vw;
        /* 必要に応じて幅も調整 */
    }
}

@media screen and (max-width: 700px) {
    .secound {
        margin: 40px 0px;
    }
}

@media screen and (max-width: 600px) {
    .secound {
        padding: 0px 24px;
    }

    .chupie__shape {
        top: 0px;
        width: 32vw;
        right: -40px;
    }

    .chupieArea__shape1 {
        right: -65px;
    }
}



/* 最終日 */
.last {
    position: relative;
}

h4 {
    font-size: 36px;
    font-weight: bold;
    background-color: white;
    width: 375px;
    box-shadow: 3px 4px 10px #c7c6c6;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 28px;

}

.bg-none {
    background-color: transparent;
    padding: 20px;
}

.last__corner {
    margin-top: 75px;
    padding: 0px 20px;
}


.last {
    padding: 0px 32px;
}

.last__container {
    background-color: #E7F2F2;
    max-width: 1200px;
    border-radius: 30px;
    margin: 40px auto;
    padding: 40px 10px 64px 10px;
    position: relative;

}

.last__shape1 {
    position: absolute;

}

.last__cap {
    max-width: 1090px;
    margin: auto;
}

.capa {
    padding: 0px 20px;
}

@media screen and (max-width: 600px) {
    h4 {
        font-size: 20px;
        width: 265px;
    }

    .blue {
        font-size: 18px;
    }

    .last__container {
        padding: 5px 10px 40px 10px;
    }

    .last {
        padding: 0px 24px;
    }
}

/* ありがとうございました */
.thanks {
    margin: 110px 0px;
    position: relative;
    /* 重要: z-indexを機能させるために必要 */
}

.thanks__explain {
    position: relative;
    z-index: 2;
    /* より大きな値を設定 */
}

.thanks__shape {
    position: absolute;
    z-index: 1;
    /* より小さな値を設定 */
}

.thanks__explain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1250px;
    margin: 50px auto 0px;
    padding: 0px 32px;
    gap: 30px;
    align-items: center;
}

.thanks__comment {
    font-weight: bold;
    font-size: 38px;
    text-align: center;
}

.thanks__staff {
    font-size: 30px;
    font-weight: lighter;
}

.thanks__shape {
    position: absolute;
    width: 20vw;
    bottom: 20px;
    right: 0px;
}

.br__th{
    display: none;
}

@media screen and (max-width: 1240px) {
    .thanks__comment {
        font-size: 29px;
    }

    .thanks__staff {
        font-size: 20px;
    }
}

@media screen and (max-width: 1050px) {
    .thanks__explain {
        gap: 20px;
    }

    .thanks__comment {
        font-size: 27px;
    }

}

@media screen and (max-width: 905px) {
    .thanks__explain {
        grid-template-columns: 1fr;
        padding: 0px 40px;
        margin: 40px auto;
    }
}

@media screen and (max-width:600px) {
    .thanks{
        margin: 80px 0px;
    }

}
@media screen and (max-width:450px) {
    .br__th{
        display: block;
    }
}

/* 年表 */

.past {
    background-color: #E7F2F2;
    padding: 110px 0px 110px 0px;

}

.past__box {
    max-width: 1270px;
    margin: auto;
    padding: 0px 32px;

}

.past__title {
    font-size: 4.8rem;
    padding-left: 30px;
    border-left: 4px solid #0A9FD5;
    margin-bottom: 60px;
}

.past__list {
    position: relative;
    display: grid;
    grid-template-columns: 366px 1fr;
    align-items: center;

}

.past__list time {
    font-weight: bold;
    height: 74px;
    display: inline-block;
    border-bottom: 3px solid #0A9FD5;
    display: flex;
    align-items: center;
    padding-left: 47px;
}



span.--month {
    width: 1.5em;
    text-align: right;
}

span.--month-second {
    width: 2em;
}

span.--comment {
    display: block;
    border-bottom: 3px solid #d9d9d9;
    height: 74px;
    display: flex;
    align-items: center;
}

.time__top {
    border-top: 3px solid #0A9FD5;

}

.comment__top {
    border-top: 3px solid #d9d9d9;

}

@media screen and (max-width: 1290px) {


    .past__list {
        grid-template-columns: 250px 1fr;
    }

    .past__list time {
        height: 110px;
        padding-left: 0px;
    }

    .--year {
        height: fit-content;
        height: auto;
    }

    span.--comment {
        height: fit-content;
        height: 110px;
    }
}

@media screen and (max-width: 805px) {
    .past__title {
        padding-left: 10px;
    }

    .past__list time {
        border: none;
        height: auto;
    }

    .past__list span {
        border: none;
        height: auto;
    }

    .past__list:first-of-type time {
        border: none;
    }

    .past__list:first-of-type span {
        border: none;
    }

    .past__list {
        grid-template-columns: 1fr;
        padding: 5px 20px;
        border-top: 3px solid #0A9FD5;
    }

}

@media screen and (max-width: 760px) {
    .block {
        grid-template-columns: 1fr;
        max-width: 560px;

    }
}

@media screen and (max-width: 600px) {
    .past__title {
        font-size: 21px;
        margin-bottom: 20px;

    }

    .past__list time {
        line-height: 1.7;
    }

    .past {
        padding: 40px 0px;
    }

    .thanks__comment {
        font-size: 20px;
    }

    .thanks__staff {
        font-size: 16px;
    }

    .block {
        margin: 20px 0px 0px 0px;
        gap: 20px;
    }

    .past__box {
        padding: 0px 24px;
    }

}

/* footer */
.copy__secound {
    background-color: #444444;
    color: white;
}