@charset "utf-8";

/* Theme Name: homyaame.style */

/* ==============================
common
================================= */
:root{
    --primary-white: #FFF;
    --primary-subwhite: #F8F6F3;
    --primary-black: #333333;
    --primary-green: #BDAE91;
    --primary-sub: #4C6473;
    --title-width: 89.3%;
    --main-width: 80.0%;
    --content-padding: 4.2%;
}

html{
    font-size: 62.5%;
}

body{
    font-family: 
    "Noto Sans JP",
        Arial,
        sans-serif;
    font-style: normal;
    font-weight: 100;
    color: var(--primary-black, #333333);
    background-color: var(--primary-subwhite, #BDAE91);
    line-height: 1.5;
}

img{
    max-width: 100%;
    padding-right: 0;
    
}

.main__visual{
    margin-left: 20px;
    height: 100vh;
}

@media screen and (max-width: 768px) {
  html, body {
    height: 100%;
    overflow: hidden;
  }
}

/* ==============================
header
================================= */

.header{
    background-color: #BDAE91;
}

.header__topic,
.nav__topic{
    color: #F8F6F3;
    font-family: "Noto Sans JP";
    font-size: 1.8rem;
    letter-spacing: 2.7px;
}

.header__topic span,
.nav__topic span{
    font-size: 1.6rem;
}

/* header-pc */
@media screen and (min-width:768px) {

    .header__topic{
        font-size: 2rem;
    }

    .header__topic span{
        font-size: 1.8rem;
    }

    .header__btn_open{
        display: none;
    }

    .header__btn_close{
        display: none;
    }

}

/* nav-pc */
@media screen and (min-width:768px) {
    .nav{
        width: 295px;
        height: 100vh;
        position: fixed;
        left: 0;
        transform: translateX(0);
        z-index: 100;
    }

    .nav__header{
        display: block;
        padding-top: 80px;
        font-size: 2rem;
        letter-spacing: 10px;
    }

    .nav__topic{
        font-size: 2.4rem;
        letter-spacing: 10px;
    }

    .nav__topic span{
        font-size: 1.8rem;
    }

    .nav__item:last-of-type{
        margin-top: 38px;
        width: 45px;
        height: 45px;
        flex-shrink: 0;
        aspect-ratio: 1/1;
    }

    .nav__box{
        width: 300px;
        margin-top: 0;
    }

    .nav__list{
        margin-top: 55px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        text-align: left;
        align-items: flex-start;
    }

    .nav__message{
        margin-left: 70px;
        text-align: left;
        writing-mode: vertical-rl;
    }

    .nav__message_txt{
        display: block;
        letter-spacing: 10px;
        line-height: 40px;
    }

    .nav_btn_instagram{
        stroke-width: 10px;
    }
}

/* nav表示 */
    .nav.hidden {
        display: none;
    }
    
    /* 表示用クラス */
    .nav.show {
        display: block;
        transform: translateX(0);
    }

    .nav.active {
        transform: translateX(0); 
    }

/* ==============================
mainvisual
================================= */

/* スライドアニメーション */
.slide__list {
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
/* imgのみ */

.main__visual_sp {
    opacity: 0;
    width: 100%;
    height: calc(100vh - 80px);
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 15s 0s infinite;
    animation: anime 15s 0s infinite;
    z-index: 1;
    border-radius: 30px 0 0 0;
  }

  .main__visual_sp:nth-of-type(1) {
  -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
  }
  
  .main__visual_sp:nth-of-type(2) {
    -webkit-animation-delay: 5s;
    animation-delay: 5s;
  }
  
  .main__visual_sp:nth-of-type(3) {
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
  }
  
  /* ふわっとアニメーション */
  @keyframes anime {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    50% {
      opacity: 0;
      z-index: 9;
    }
    100% {
      opacity: 0;
    }
  }
  
  @-webkit-keyframes anime {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    50% {
      opacity: 0;
      z-index: 9;
    }
    100% {
      opacity: 0;
    }
  }
/* スライドアニメーション */


.slide__list_sp {
    text-align: right;
    height: calc(100vh - 80px);
}

.slide__list_pc{
    display: none;
    text-align: right;
}

.main{
    background-color: #BDAE91;
}

.main__message_bg {
    width: 235px;
    height: 158px;
    background-color: var(--primary-green);
    margin-top: -280px;
    position: absolute;
    z-index: 1;
    border-radius: 0 40px 40px 0;
}

.main__message{
    display: block;
    font-size: 1.4rem;
    font-weight: 100;
    line-height: 1.5;
    letter-spacing: 7px;
    color: var(--primary-black);
    letter-spacing: 0.15em;
    line-height: 1.8;
    font-size: 1.4rem;
}

.main__message_txt{
    position: absolute;
    padding: 35px 25px 35px 55px;
    font-size: 1.4rem;
    font-weight: 100;
    line-height: 1.7;
    letter-spacing: 7px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-color: var(--primary-subwhite);
    position: relative;
  }

  /* main-pc */
  @media screen and (min-width:768px) {

    /* スライドアニメーション */
.slideBox {
    height: 500px;
    overflow: hidden;
    position: relative;
  }
/* imgのみ */
.main__visual {
    opacity: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    margin-left: 0;
    left: 0;
    top: 0;
    -webkit-animation: anime 15s 0s infinite;
    animation: anime 15s 0s infinite;
  }

  .main__visual:nth-of-type(1) {
  -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
  }
  
  .main__visual:nth-of-type(2) {
    -webkit-animation-delay: 5s;
    animation-delay: 5s;
  }
  
  .main__visual:nth-of-type(3) {
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
  }
  
  /* ふわっとアニメーション */
  @keyframes anime {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    50% {
      opacity: 0;
      z-index: 9;
    }
    100% {
      opacity: 0;
    }
  }
  
  @-webkit-keyframes anime {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    50% {
      opacity: 0;
      z-index: 9;
    }
    100% {
      opacity: 0;
    }
  }
/* スライドアニメーション */

    .slide__list_pc{
        display: block;
        width: calc(100% - 295px);
        margin-left: auto;
        height: calc(100vh - 24px);
    }

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

    .slide__list_sp{
        height: 100%;
        display: none;
    }

    .main__message_bg{
        display: none;
    }

    .main__visual{
        width: 100%;
        height: calc(100vh - 24px);
        border-bottom-left-radius: 80px;
        object-fit: cover;
    }
}


/* ==============================
footer
================================= */

.footer{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    height: 24px;
    padding-top: 4px;
    background-color: #BDAE91;
    z-index: 1000;
}

/* section タイトル用 */
.topic{
    width: 88px;
    height: 25px;

    color: var(--primary-green, #BDAE91);
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 6px;
    margin: 0 auto;
}