@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  color: #000;
  background-color: #F4F1E6;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 400;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

a {
  color: #1f1f1f;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  opacity: 0.7;
}
.hover-line {
  position: relative;
}
.hover-line::after {
  content: "";
  width: 100%;
  height: 1px;
  background: #000;
  position: absolute;
  left: 0;
  bottom: -5px;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.5s;
}

main {
  padding-top: 100px;
}
.wrapper{
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
}

.fadein{
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s;
}
.fadein.inview{
    opacity: 1;
    transform: translateY(0);
}

/* opening-MV ----------------------------- */
#opening-MV{
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #C4C3B7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#opening-MV .op-wrap{
    font-size: 40px;
    font-family: 'Zen Old Mincho', sans-serif;
    font-weight: 700;
    color: #F4F1E6;
    line-height: 1.5;
    animation: fadeIn 2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

#opening-MV.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* 下層ページタイトル ------------------------ */
.single-title{
    font-family: 'Zen Old Mincho', sans-serif;
    font-weight: 700;
    font-size: 128px;
    letter-spacing: -0.1em;
    line-height: 0.8;
    color: #C4C3B7;
    text-align: center;
}

/* header---------------------------------- */
#header{
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(244, 241, 230, 0.7);
  padding: 0 30px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
}

#header .logo{
  color: #000;
  font-family: 'Zen Old Mincho', sans-serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.1em;
  position: fixed;
  top: 18px;
  left: 30px;
  z-index: 30;
}
#header .logo span{
  font-size: 32px;
}

#header .nav .menu-list{
  display: flex;
  align-items: center;
  font-size: 16px;
}
#header .nav .menu-list > li{
  margin-left: 40px;
}
#header .nav .menu-list .hover-line:hover::after{
    transform: scale(1, 1);
}
#header .nav .menu-list .menu-contact a{
  color: #F4F1E6;
  background-color: #C4832D;
  border: 1px solid #C4832D;
  border-radius: 30px;
  display: block;
  padding: 8px 30px;
  text-align: center;
}
#header .nav .menu-list .menu-contact a:hover{
    color: #C4832D;
    background-color: #F4F1E6;
    border: 1px solid #C4832D;
}


/* footer --------------------------------- */
#footer{
    width: 100%;
    background-color: #555853;
    padding: 60px 0 80px;
}
#footer .footer-inner{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 30px;
}

#footer .footer-inner .footer-logo{
    color: #fff;
    font-family: 'Zen Old Mincho', sans-serif;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: -0.1em;
    line-height: 1;
}
#footer .footer-inner .footer-logo .small{
    color: #C4832D;
    font-size: 32px;
}

#footer .footer-menu{
    display: flex;
    align-items: center;
}
#footer .footer-menu li{
    padding-left: 40px;
}
#footer .footer-menu li:last-child{
    border-left: 1px solid #fff;
    padding-left: 20px;
    margin-left: 20px;
}
#footer .footer-menu li a{
    color: #fff;
    font-size: 15px;
}
#footer .footer-menu li a .x-logo{
    width: 20px;
}

#footer .copyright{
    font-size: 12px;
    margin-top: 5px;
    margin-left: 35px;
}


/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {

    html{
        scroll-padding-top: 60px;
    }
    main{
        padding-top: 60px;
    }

    /* 下層ページタイトル ------------------------ */
    .single-title{
        font-size: 96px;
    }

    /* opening-MV ----------------------------- */
    #opening-MV .op-wrap{
        font-size: 24px;
        writing-mode: vertical-rl;
    }


    /* header---------------------------------- */
    #header{
        height: 60px;    
    }
    #header .logo{
        font-size: 40px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    #header .nav{
        width: 100%;
        height: 80vh;
        background-color: #C4832D;
        border-radius: 0;
        position: fixed;
        top: -80vh;
        left: 0;
        z-index: 20;
        clip-path: ellipse(100% 90% at 50% 0%);
        transition: all 0.6s;
        overflow: auto;
    }

    /* active */
        #header .nav.active{
        top: 0;
    }

    #header .nav .menu-list{
        flex-direction: column;
        margin-top: 100px;
    }
    #header .nav .menu-list > li{
        text-align: center;
        margin: 0 auto;
        margin-bottom: 40px;
    }
    #header .nav .menu-list >li a{
        color: #F4F1E6;
    }
    #header .nav .menu-list .menu-contact a{
        padding: 0;
    }


    /* ハンバーガーメニュー */
    #header .hamburger{
        width: 50px;
        height: 50px;
        color: #F4F1E6;
        background-color: #C4832D;
        border-radius: 50%;
        cursor: pointer;
        position: fixed;
        top: 5px;
        right: 20px;
        z-index: 30;
    }
    #header .hamburger span{
        width: 30px;
        height: 1px;
        background-color: #F4F1E6;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: all 0.4s;
    }
    #header .hamburger span:nth-of-type(1){
        top: 16px;
    }
    #header .hamburger span:nth-of-type(2){
        top: 25px;
    }
    #header .hamburger span:nth-of-type(3){
        top: 34px;
    }

    /* active */
    #header .hamburger.active span:nth-of-type(1){
        top: 24px;
        transform: rotate(-45deg);
    }
    #header .hamburger.active span:nth-of-type(2){
        opacity: 0;
    }
    #header .hamburger.active span:nth-of-type(3){
        top: 24px;
        transform: rotate(45deg);
    }


    /* footer --------------------------------- */
    #footer .footer-inner{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #footer .footer-menu{
        flex-direction: column;
        align-items: center;
    }
    #footer .footer-menu li{
        padding: 40px 0 0;
    }
    #footer .footer-menu li:last-child{
        border-left: 0;
        padding: 40px 0 0;
        margin: 0 auto;
    }

    #footer .copyright{
        margin: 40px 0 0;
        text-align: center;
    }

}
