@charset "UTF=8";

#page_top a::before {
    background-color: #ffffff;
}
#page_top a::after {
    background-color: #ffffff;
}
.menu__open span {
    background-color: #fff;
}
.fixed-bg {
    display:block;
    position: fixed;
    top:0;
    left:0;
    z-index:-5;
    width: 100%;
    min-height: 100vh;
    background-image: url(../img/heros.webp);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(105%);
}
#first-view {
    position: relative;
    min-width: 100%;
    min-height: 100vh;
}

#first-view .catch {
    position: absolute;
    top: 30%;
    right: 3%;
    height: 45%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    writing-mode: vertical-rl; /* 縦書き（右から左） */
    text-orientation: upright; /* 縦書きで文字を正しい向きに */
    font-size: 1.6rem; 
    padding: 3rem 1.5rem 1rem 1.5rem ;
    letter-spacing: 1rem;
    line-height: 3rem;
    filter: drop-shadow(1px 1px 1px rgba(123, 123, 123, 0.459));
    z-index: 2;
}
.r { 
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    align-self: center;
}
.l {
    grid-area: 2 / 1 / 3 / 2;
    justify-self: end;
}

#first-view .catch span {
    font-size: 2.8rem;
    letter-spacing: 0.7rem;
}
.first-view__logo--wrapper {
    position: relative;
    padding-top: 3rem;
    padding-left: 1.5rem;
    width: 70%;
}
.first-view__logo--wrapper::before {
    content: "";
    width: 100%;
    height: 110%;
    border-radius: 50%;
    background-color: #7e2c31;
    position: absolute;
    top: -40%;
    left: -30%;
    transform: rotate(150deg);
    z-index: 1;
}
.first-view__logo--wrapper::after {
    content: "";
    width: 100%;
    height: 200%;
    border-radius: 50%;
    background-color: #531c20;
    position: absolute;
    top: -50%;
    left: -70%;
    transform: rotate(20deg);
    z-index: 2;
}
.first-view__logo {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 3;
    filter: drop-shadow(1px 1px 1px rgba(82, 82, 82, 0.37));
}
.first-view__logo h1 {
    color: #ffffff;
    font-size: 2.4rem;
    margin: 0;
}
.first-view__logo svg{
    width: 20%;
}
.first-view__logo--wrapper h2 {
    color: #ffffff;
    font-weight: lighter;
    font-size: 1.8rem;
    position: relative;
    z-index: 3;
    filter: drop-shadow(1px 1px 1px rgba(51, 51, 51, 0.494));
}
#first-view .scroll {
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(to bottom, #7e2c31 0%, #5c2024 10%, rgba(126, 44, 49, 0) 100%);
    background-size: 100% 200%; /* 背景の高さを倍にして動かす */
    background-position: top;
    animation: moveGradient 1.5s ease-in-out infinite alternate;
    padding: 1rem;
    height: 30%;
}
@keyframes moveGradient {
    0% {
        background-position: bottom;
    }
    100% {
        background-position: top;
    }
}
#first-view .scroll p {
    letter-spacing: 2px;
}
#first-view .scroll::after {
    content: "";
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, #fff 0%, rgba(126, 44, 49, 0) 100%);
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}
#overview {
    color: #ffffff;
    text-align: center;
    margin-top: 5rem;
}
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0; /* 初期状態は透明 */
    transition: opacity 0.5s ease-in-out; /* アニメーション設定 */
}

#background.bg::before {
    opacity: 1; /* アニメーションで表示 */
}

#overview .overview__content--title {
    text-align: center;
    margin-bottom: 3rem;
}
#overview .overview__content--title span{
    display: inline-block;
    font-size: 3.2rem;
    padding: 1rem 2rem;
    margin: 1.5rem;
    border: 1px solid #ffffff;
}
#overview .h-text {
    font-size: 2rem;
}
#overview .overview__content--text {
    font-size: 1.6rem;
    text-align: center;
    line-height: 3rem;
    margin-bottom: 5rem;
}
.hokkaido__container {
    display: grid;
    place-items: center; 
    position: relative;
}
.hokkaido__text {
    font-size: 1.6rem;
    position: absolute;
    top: 60%;
    left: 52%;
    transform: translate(-50%,-50%);
    z-index: 2; /* テキストを前面に */
    width: 80%;
}
.hokkaido__container svg {
    position: relative;
    z-index: 1; 
    width: 80%;
    opacity: 0.5;/* SVGを背景に配置 */
}
#flow .flow__center {
    background-color: #7e2c31;
    color: #ffffff;
    padding: 5rem 0;
    transition: border-radius 2s ease;
}
#flow .add-border-radius {
    border-radius: 45vw 45vw 0 0;
}
#flow .section-title {
    border: 2px solid #ffffff; /* 全体の枠線 */
    margin: 0 auto;
}

#flow .section-title__line {
    border-left: 1px solid #ffffff;
}

#flow .section-title__content {
    color: #ffffff;
}
#flow .section-title__side-text {
    color: #ffffff;
}
#flow .section-title__side-text::after {
    background-color: #ffffff;
}
#flow .flow__content {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
}
#flow .flow__flex {
    width: 80%;
}
#flow .flow__list {
    margin: 3rem 0 5rem 0;
    color: #222222;
    text-align: center;
}
#flow .flow__list--item {
    background-color: #ffffff;
    padding: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
}
#flow .flow__list--item:last-child::after {
    content: none;
}
#flow .flow__list--item::after {
    content: "";
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 25px;
    background-image: url(../svg/Polygon\ 1.svg);
    background-size: cover; /* サイズを調整 */
    background-repeat: no-repeat;
}
#flow .h__wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}
#flow h3 {
    font-size: 2.4rem;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    text-align: center;
}
#flow h3::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 110%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: #ffffff;
    border-radius: 50%;
}
#flow h3::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 110%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: #ffffff;
    border-radius: 50%;
}
#flow .flow__bring {
    font-size: 1.2rem;
    text-align: center;
}
#flow .flow__bring .tops {
    width: 25.64%;
}
#flow .flow__bring .bottoms {
    width: 12.82%;
}
#flow .flow__bring svg {
    margin-bottom: 15px;
}
#flow .bring__item {
    margin-bottom: 15px;
}
#flow .btn-center {
    width: 100%;
    text-align: center;
    margin-top: 5rem;
}
@media screen and (min-width:768px) {
    .fixed-bg {
        background-image: url(../img/hero.webp);
        background-position: 50%;
    }
    .first-view__logo--wrapper {
        width: 100%;
        justify-content: center;
    }
    #first-view .catch{
        top: 50%;
        right: 13%;
        transform: translateY(-50%);
        height: 50%;
        line-height: 7rem;
        font-size: 2.8rem; 
    }
    #first-view .catch span {
        font-size: 4rem;
    }
    .first-view__logo--wrapper {
        padding-left: 3rem;
        width: 50%;
    }
    .first-view__logo svg{
        width: 17%;
    }
    .first-view__logo h1 {
        font-size: 4rem;
    }
    .first-view__logo--wrapper h2 {
        font-size: 2rem;
    }
    #overview {
        padding: 15rem 5rem;
    }
    #overview .overview__content--title {
        text-align: left;
        display: flex;
        align-items: center;
    }
    #overview .h-text {
        font-size: 2.6rem;
    }
    #overview .overview__content--text {
        text-align: left;
        font-size: 2rem;
        line-height: 3;
    }
    #overview .overview__content--title span {
        font-size: 3.6rem;
    }
    #overview .overview__content--title span:first-child {
        margin-left: 0;
    }
    .hokkaido {
        display: flex;
        justify-content: center;
    }
    .hokkaido__text {
        font-size: 2rem;
    }
    .hokkaido__container {
        width: 100%;
    }
    #flow {
        display: flex;
        justify-content: center;
    }
    #flow .section-title {
        border: 3px solid #ffffff; /* 全体の枠線 */
        margin: 0 auto;
    }
    #flow .flow__center {
        width: 78.125%;
        padding: 5rem 0;
    }
    #flow .flow__flex {
        width: 75%;
    }
    #flow .flow__list {
        margin: 3rem 0 5rem 0;
        color: #222222;
        text-align: center;
    }
    #flow .flow__list--item {
        font-size: 1.8rem;
    }
    #flow h3 {
        font-size: 2.4rem;
    }
    #flow .flow__bring {
        display: flex;
        align-items: flex-end;
        gap: 2rem;
        font-size: 1.8rem;
    }
    #flow .bring__item {
        margin-bottom: 0;
    }
}
@media screen and (min-width:1024px) {
    #first-view .catch {
        right: 15%;
        height: 70%;
    }
    .first-view__logo--wrapper {
        width: 30%;
    }
    
    .first-view__logo--wrapper h2{
        margin-top: 1rem;
    }
    #overview .h-text {
        font-size: 3rem;
    }
    #overview .overview__content--text {
        font-size: 2.4rem;
        line-height: 3;
    }
    #overview .overview__content--title span {
        font-size: 4rem;
    }
    .hokkaido {
        display: flex;
        justify-content: flex-end;
    }
    .hokkaido__text {
        font-size: 2.4rem;
    }
    .hokkaido__container {
        width: 60%;
    }

    #flow .section-title {
        border: 4px solid #ffffff; /* 全体の枠線 */
    }
    #flow .flow__flex {
        width: 50%;
    }
    #flow .flow__list--item {
        font-size: 2rem;
    }
    #flow h3 {
        font-size: 2.4rem;
    }
    #flow .flow__bring {
        font-size: 2rem;
    }
}