@charset "utf-8";

/* =======================
common
======================= */
html {
    font-size: 62.5%;
}

body {
    font-family:
        "Noto Sans JP",
        "Lato"
        "Lora"
        "Zen Old Mincho"
        "Gelasio"
        "Montserrat"
        Arial
        sans-serif;
    font-style: normal;
    color: #222222;
    background: linear-gradient(to right, #F1EDEA 76.3%, #E5E0DC 23.7%);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

.backgroundColor {
    background-color: #FCFCFC;

    position: relative;
}

.pcBr {
    display: none;
}

@media screen and (min-width: 769px) {
    .spBr {
        display: none;
    }
}

/* =======================
animation
======================= */

/* ページが読み込まれたときのフェードインとスライドイン */
body {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

body.loaded {
    opacity: 1;
}

/* title animation */

@keyframes showTextFromBottom {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(0px);
    }
}
    
.textanimation span {
  animation: showText 3s backwards;
  display: inline-block;
}

.textanimation > span {
  overflow: hidden;
}

.textanimation > span > span {
  opacity: 0; /* 初期状態で透明に */
  transform: translateY(100%);
}

.textanimation.animate > span > span {
  animation: showTextFromBottom 0.5s forwards;
  opacity: 1;
}

/* =======================
header
======================= */

/* header */

.header {
    display: flex;
    justify-content: space-between;
    padding: 0 4% 10px 4%;
    align-items: flex-end;
    flex-shrink: 0;
    align-self: stretch;
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: transparent; 
    transition: background-color 0.3s ease; /* 背景色が変わるアニメーション */
}

.header.scrolled {
    background-color: rgba(252, 252, 252, 0.95); /* スクロール後に背景色を変える */
}

.header__topic {
    padding-top: 28px;
} 

.header__title {
    color: #6B6565;
    font-family: "Lora";
    font-size: 1.6rem;
    font-weight: 700;
    line-height: normal;

    position: relative;
    z-index: 2000;
    white-space: nowrap; /* 折り返しを防ぐ */
}

.header__logo {
    margin-right: 16px;
    width: 32px;
    height: 32px;
}

.header__nav {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    transition: ease .4s;
    z-index: 1000;
}

@media screen and (max-width: 290px) {
    .header__title {
        white-space: normal;
    }
}

/* header pc */

@media screen and (min-width: 769px) {
    .header {
        padding: 0 9.7% 10px 9.7%;
    }

    .header__topic {
        padding-top: 55px;
    }

    .header__title {
        font-size: 2.4rem;
    }

    .header__logo {
        margin-right: 20px;
        width: 45px;
        height: 45px;
    }

    .header__nav {
        width: auto;
        height: auto;
        position: static;
        transform: translateX(0);
    }

}/* pc 769px */

/* header responsive */

@media screen and (min-width: 500px) and (max-width: 769px) {
    .header__title {
        font-size: 2rem;
    }
}

@media screen and (min-width: 769px) and (max-width: 1000px)  {
    .header__title {
        font-size: 2rem;
    }

    .header__logo {
        margin-right: 15px;
        width: 40px;
        height: 40px;
    }
}/* header responsive */

/* nav */
.nav__items {
    background: linear-gradient(to right, #F1EDEA 76.3%, #E5E0DC 23.7%);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.nav-items {
    padding: 28px 4% 0 4%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}



.nav__list {
    background-color: #FCFCFC;
    padding: 65px 4.3% 189px 4.3%;
    margin-top: 47px;
    position: relative;
}

/* .nav__item {
    font-family: "Lato";
    font-size: 2.4rem;
    font-weight: 700;
    line-height: normal;
    margin-top: 29px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
    position: relative;
} */

.nav__item {
    font-family: "Georgia";
    font-size: 2.4rem;
    font-weight: 700;
    line-height: normal;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
    position: relative;
    color: #725D5E;
}

.nav__item:first-of-type {
    margin-top: 0;
}

/* .nav__item a {
    z-index: 2;
    width: 100%;
    height: 50px;
} */

.nav__item a {
    z-index: 2;
    width: 100%;
    height: 49px;
}

.lastNav__item a {
    height: 26px;
}

/* .nav__item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 35px;
    background: linear-gradient(to right, #F1EDEA 81.3%, #E5E0DC 18.7%);
    top: 15px;
    z-index: 1;
} */
.nav__item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 35px;
    background: linear-gradient(to right, #F1EDEA 81.3%, #E5E0DC 18.7%);
    top: 14px;
    z-index: 1;
}

.nav__item:last-child::after {
    display: none; 
}

.nav__item::before {
    position: absolute;
    content: url(../images/nav-icon1-2.svg);
    display: inline-block;
    line-height: 0;
    bottom: 6px; 
    right: 9px; 
    z-index: 2; 
}

.nav__item:nth-child(2)::before,
.nav__item:nth-child(4)::before {
    content: url(../images/nav-icon2-2.svg);
}

.nav__item:last-child::before {
    content: "";
}

.nav__item:last-child a {
    margin-bottom: 0;
}

.nav__item:last-of-type {
    margin-top: 35px;
    font-family: "Lato";
    font-size: 2rem;
    color: #6B6565;
}

.nav__highlight {
    color: #925F5F;
}

.nav__sns {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.nav__icon {
    width: 26px;
    height: 26px;
}

/* nav pc */
@media screen and (min-width: 769px) {
    
    .nav__items {
        background: transparent;
        width: auto;
        height: auto;
        position: static;
    }

    .nav-items {
        padding: 0;
        position: static;
        transform: translateX(0);
    }

    .nav__list {
        display: flex;
        background-color: transparent;
        padding: 0;
        margin-top: 0px;
        align-items: center;
    }

    .nav__item {
        font-family: "Lato";
        font-size: 1.8rem;
        font-weight: 800;
        margin-top: 0px;
        flex-direction: row;
        color: #6B6565;
        margin-right: 35px;
    }

    .nav__item:hover{ 
        opacity:0.5;
        transition:0.3s;
    }

    .lastNav__item {
        display: none;
    }

    .nav__item:nth-child(4) {
        margin-right: 0px;
    }

    .nav__item a {
        width: auto;
        height: auto;
    }
    
    .nav__item::after {
        display: none;
    }

    .nav__item::before {
        display: none;
    }

    .nav__highlight {
        color: #6B6565;
    }

    .nav__sns {
        display: none;
    }

}/* pc 769px */

/* nav responsive */
@media screen and (min-width: 769px) and (max-width: 1000px)  {
    .nav__item {
        font-size: 1.6rem;
        margin-right: 20px;
    }
}/* nav responsive */

/* hamburgerMenu */

.hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #6B6565;
    position: relative;
    transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
    display: block;
}
  
.hamburger span:nth-child(1) {
    top: 0;
}
  
.hamburger span:nth-child(2) {
    margin: 7px 0;
}
  
.hamburger span:nth-child(3) {
    top: 0;
}

/* hamburgerMenu pc */
@media screen and (min-width: 769px) {
    .hamburger {
        display: none;
    }
}/* pc 769px */

/* hamburgerMenu click */
.header__nav.active {
    transform: translateX(0);
}
  
.hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}
  
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
  
.hamburger.active span:nth-child(3) {
    top: -9.98px;
    transform: rotate(-45deg);
}

/* =======================
footer
======================= */

/* footer */

.footer {
    padding: 30px 4% 30px 4%;
}

.footer__frame {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer__list {
    color: #6B6565;
    text-align: center;
    font-family: "Lato";
    font-size: 1.5rem;
    font-weight: 800;
    line-height: normal;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.footer__logo--sp {
    width: 44px;
    height: 44px;
}

.footer__logo--pc {
    display: none;
}

.footer__sns {
    width: 25px;
    height: 25px;
}

.footer__topic {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    border-top: 1px solid #6B6565;
    padding-top: 15px;
}

.footer__title {
    color: #373434;
    font-family: "Lora";
    font-size: 1.5rem;
    font-weight: 700;
    line-height: normal;
}

.footer__copy {
    color: #373434;
    font-family: "Lato";
    font-weight: 400;
    line-height: normal;
}

.footer__copy small {
    font-size: 1rem;
}

@media screen and (max-width: 350px) {
    .footer__list {
        flex-direction: column;
        gap: 10px;
    }
}

/* footer pc */
@media screen and (min-width: 769px) {
    .footer {
        padding: 50px 9.7% 50px 9.7%;
    }

    .footer__frame {
        flex-direction: row;
        gap: 0;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .footer__menu {
        /* display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px; */
        display: block;
    }

    .footer__list {
        font-size: 1.8rem;
        gap: 35px;
    }

    .footer__item:hover{ 
        opacity:0.5;
        transition:0.3s;
    }
 
    .footer__logo--sp {
        display: none;
    }

    .footer__pcFrame {
        display: flex;
        gap: 37px;
        align-items: center;
    }

    .footer__logo--pc {
        display: block;
        width: 61px;
        height: 61px;
    }

    .footer__sns {
        position: absolute;
        width: 20px;
        height: 25px;
        bottom: 0;
        right: 0;
    }

    .footer__topic {
        border-top: 0px solid #6B6565;
        padding-top: 0px;
        position: relative;
    }

    .footer__title {
        font-size: 2.4rem;
        margin-bottom: 18px;
    }

}/* pc 769px */


/* footer responsive */
@media screen and (min-width: 769px) and (max-width: 1000px) {
    .footer__list {
        font-size: 1.6rem;
        gap: 25px;
    }

    .footer__pcFrame {
        gap: 27px;
    }

    .footer__title {
        font-size: 1.8rem;
    }

    
}
