@charset "utf-8";

/* 共通設定
----------------------------- */
:root {
    --en-fontFamily: 'Helvetica', sans-serif;
    --jp-fontFamily: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体', serif;
    --bg-fontFamily: 'Noto Serif JP', serif;
    --bg-color: #fff;
}
/* * {
    outline: 1px solid blue;
} */
html {
    font-size: 100%;
    color: #333333;
    scroll-behavior: smooth;
    height: 100%;
}
img {
    width: 100%;
    display: block;
    height: auto;
}
.wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5%;
    width: 40px;
    height: 95%;
    background-color: #639980;
}
.inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

  /* ↓波紋が広がると同時にロゴが浮かび上がるcss */
/* Loading背景画面設定*/
#splash {
    /*fixedで全面に固定*/
    display: block;
      position: fixed;
      width: 100%;
      height: 100%;
      z-index: 99999;
      background-image: url(../img/loading.webp);
      background-position: center center;
      top: 0;
    }

    /* Loading画像中央配置*/
    #splash_logo {
      position: fixed;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      z-index: 9000;
    }
    
    /* Loading アイコンの大きさ設定*/
    #splash_logo img {
      position: fixed;
      left: 50%;
      top: 40%;
      transform: translate(-50%, -50%);
      display: none;
      z-index: 99999;
      width: 10%;
    }
    
    /* fadeUpをするアイコンの動き */
    .fadeUp{
    animation-name: fadeUpAnime;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
    opacity: 0;
    }
    
    @keyframes fadeUpAnime{
      from {
        opacity: 0;
      transform: translateY(100px);
      }
    
      to {
        opacity: 1;
      transform: translateY(0);
      }
    }
/* ↑波紋が広がると同時にロゴが浮かび上がるcss */

.sidetext {
    display: flex;
    justify-content: space-between;
}

.sidetext-left {
    transform: rotate(90deg);
    position: absolute;
    right: -20px;
    top: 250px;
}

.sidetext-right {
    transform: rotate(-90deg);
    position: absolute;
    left: -20px;
    top: 250px;
}
/* header
----------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 3%;
    z-index: 100;
    width: 20%;
}
.title {
    margin-left: 20%;
}
.title img{
    width: auto;
    height: 45vh;
    margin-top: 5vh;
    margin-left: 7%;
    margin-bottom: 60px;
}
.global-nav-ul {
    width: 100%;
    font-family: var(--en-fontFamily);
    font-weight: 700;
    font-size: 2.25rem;
    margin-left: 30%;
}
.gnavi-li {
    margin-top: 20px;
}

/*==================================
ホバーアニメーション設定
===================================*/

.global-nav .li-hovanime a{
    /*線の基点とするためrelativeを指定*/
  position: relative;
}
.global-nav .li-hovanime.current a,
.global-nav .li-hovanime a:hover{
  color:#639980;
}
.global-nav .li-hovanime a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: -5px;
    left: 0;
    /*線の形状*/
    width: 100%;
    height: 3px;
    background:#639980;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}
/*現在地とhoverの設定*/
.global-nav .li-hovanime.current a::after,
.global-nav .li-hovanime a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}

.global-nav .minne {
    width: 150px;
}
/*　上方向にスクロールしたときのアニメーション　*/

#title-logo.UpMove{
	animation: DefaultSize 0.5s forwards;
}
@keyframes DefaultSize{
  from {
    height: 45vh;
  }
  to {
    height: 30vh;
    margin-bottom: 30px;
  }
}

/*　下方向にスクロールしたときのアニメーション　*/

#title-logo.DownMove{
	animation: MiniSize 0.5s forwards;
}
@keyframes MiniSize{
  from {
    height: 30vh;
  }
  to {
    height: 45vh;
    margin-bottom: 60px;
  }
}

.utility-nav {
    max-width: 1000px;
    position: relative;
    display: flex;
    z-index: 1;
    padding-top: 50px;
    padding-right: 50px;
    justify-content: flex-end;
    margin: 0 auto;
}
.utility-nav img{
    width: 50px;
    height: 50px;
}
.main {
    position: relative;
    z-index: 5;
}
.second-page-title {
    display: none;
}
.top-img {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-image: url(../img/mv_big.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.side-text {
    position: absolute;
    top: 0;
    right: 10px;
    color: #00A99D;
    height: 100%;
    width: 3rem;
    overflow: hidden;
    font-family: var(--bg-fontFamily);
    transform: rotate(-180deg);
    z-index: 99;
}
.side-text p {
    font-size: 1rem;
    line-height: 1.5;
    writing-mode: vertical-rl;
}
.side-text p span{
    display: inline-block;
    transform: rotate(90deg);
}
/* footer
----------------------------- */
.top-footer {
    font-family: var(--jp-fontFamily);
}
.top-footer small{
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    margin-left: 5%;
}
.common-footer {
    position: relative;
    width: 100%;
    height: 30vh;
    margin-top: 200px;
    font-family: var(--jp-fontFamily);
    background-image: url(../img/splash.webp);
    background-repeat: no-repeat;
    background-size: cover;
}
.common-footer .small {
    position: absolute;
    color: #FFF7E5;
    bottom: 10px;
    left: 10%;
}
.common-footer::before {
    content: "";
    position: absolute;
    right: 20%;
    top: -9%;
    width: 40px;
    height: 40px;
    border-radius: 45px;
    background-color: #d54a00;
    z-index: -1;
}
.bg-text {
    position: absolute;
    top: -290px;
    left: 25%;
    font-family: var(--bg-fontFamily);
    font-size: 1rem;
    line-height: 1.5;
    color: #90C7B0;
    width: 245px;
}
.bgfr-text {
    position: absolute;
    top: -290px;
    left: 30%;
    font-family: var(--bg-fontFamily);
    font-size: 1rem;
    line-height: 1.5;
    color: #90C7B0;
    width: 245px;
}
.is-for-sp {
    display: none;
}

/* side-text の表示幅
----------------------------- */
@media(max-width: 1120px){
    .side-text {
        display: none;
    }
}
/* レスポンシブ
----------------------------- */
@media(max-width: 820px){
    #splash_logo img {
        width: 30%;
      }

    #title-logo.UpMove{
        animation: none;
    }
    #title-logo.DownMove{
        animation: none;
    }
    .title {
        margin-left: 0px;
        position: fixed;
        top: 0;
        left: 18px;
    }
    .title img{
        height: 20vh;
        background-color: white;
        border: 1px solid #639980;
        border-top: none;
        margin-top: 0;
        padding: 15px;
        box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.1);
    }
    #top .title img {
        height: 40vh;
        background-color: rgba(0,0,0,0);
        border: none;
        box-shadow: none;
    }
    .wrapper::before {
        width: 25px;
    }
    .global-nav .li-hovanime.current a,
    .global-nav .li-hovanime a:hover{
    color: #333;
    }
    .global-nav .li-hovanime a::after {
        content: none;
    }
    .sp-minne {
        margin-left: -10px;
    }
    .top-footer small{
        position: absolute;
        font-size: 0.625rem;
        left: 0;
        bottom: 10px;
        z-index: 1;
        margin-left: 10%;
    }
    .second-page-title {
        display: block;
        font-family: var(--en-fontFamily);
        font-size: 2rem;
        font-weight: 700;
        text-align: center;
        padding-top: 25px;
    }
    .bg-text {
        position: absolute;
        top: -130px;
        left: 0%;
        font-family: var(--bg-fontFamily);
        font-size: 0.625rem;
        line-height: 2.0;
        color: #90C7B0;
        width: 165px;
    }
    .common-footer::before {
        content: "";
        position: absolute;
        right: 5%;
        top: -6%;
        width: 27px;
        height: 27px;
        border-radius: 45px;
        background-color: #d54a00;
        z-index: -1;
    }
    .common-footer .small {
        position: absolute;
        color: #FFF7E5;
        bottom: 10px;
        left: 50%;
        font-size: 0.5625rem;
        transform: translate(-50%, 0);
    }
    .gnavi-li {
        font-size: 2rem;
        margin-top: 25px;
    }
    .is-for-sp {
        display: block;
        width: 50px;
    }
    /* sp-button
    ----------------------------- */
    .sp-button{
        position: fixed;
        display: inline-block;
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
        z-index: 100;
        border: #333 solid 1px;
        background-color: rgba(255,255,255,0.4);
    }
    .sp-button span{
        display: inline-block;
        position: absolute;
        right: 0;
        left: 0;
        height: 1px;
        width: 33px;
        margin: auto;
        transition: all .4s;
        background: #333;
    }
    .sp-button span:first-of-type {
        top: 11px;
    }
    .sp-button span:nth-of-type(2) {
        top: 24px;
    }
    .sp-button span:last-of-type {
        top: 37px;
    }
    .active {
        background-color: rgba(147, 134, 138, 0.95);
    }

    .active span{
        background: #333;
    }
    .active span:first-of-type {
        transform: translateY(13px) rotate(-45deg);
    }
    
    .active span:nth-of-type(2) {
        opacity: 0; 
    }
    
    .active span:last-of-type {
        transform: translateY(-13px) rotate(45deg);
    }

    .global-nav{
        background: rgba(147, 134, 138, 0.95);
        padding-top: 70px;
        display: block;
        box-sizing: border-box;
        position: fixed;
        top: 0;
        max-width: 100%;
        width: 100%;
        height: 65%;
    
        right: -100%;
        transition: right .5s;
        z-index: 9999;
    }
    .global-nav ul {
        flex-direction: column;
        margin-left: 35%;
    }
    .view_menu {
        right: 0;
    }
    .utility-nav {
        display: none;
    }
}