@charset "utf-8";
*{
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
  background-color: #F9F5EF;
  animation: fadeIn 1.3s ease 0s 1 normal;
  -webkit-animation: fadeIn 1.3s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}

body.no-scroll { /* メニュー開時スクロールさせない */
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}


/*-- ローディングアニメーション --*/
.loader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #F9F5EF;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease-in-out;
}
.loader-screen.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-text {
  display: flex;
}
.letter {
  color: #B77277;
  font-size: 24px;
  opacity: 0;
  transform: translateY(20px);
}
.letter.space {
  width: 8px;
}
.letter-animation {
  animation: fadeInUp 0.5s forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*-- ヘッダー --*/
.header{
  width: 100%;
  height: 140px;
  position: relative;
}
.header-left{
  float: left;
  margin-top: 45px;
  margin-left: 10%;
}
.header-left a{
  text-decoration: none;
  line-height: 1.5;
  color: white;
  list-style: none;
}
.icon-en{
  font-size: 24px;
  font-weight: 500;
}
.icon-jp{
  font-size: 10px;
}

/*-- メニュー --*/
.gNav{
  float: right;
  padding-top: 55px;
  padding-right: 5%;
}
.gNav-menu a{
  text-decoration: none;
  margin-left: 20px;
  color: white;
  list-style: none;
}
ul{
  list-style: none;
}
.gNav :hover{
  color: #B77277;
  transition: color 0.15s;
}
.header .btn-gNav {
  position: fixed;
  top: 30px;
  right: 20px;
  width: 30px;
  height: 24px;
  z-index: 12;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}
.header .btn-gNav span {
  position: absolute;
  width: 100%;
  height: 2.5px;
  background: black;
  border-radius: 0.1px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}
.header .btn-gNav span:nth-child(1) {
  top: 0;
}
.header .btn-gNav span:nth-child(2) {
  top: 10px;
}
.header .btn-gNav span:nth-child(3) {
  top: 20px;
}
.header .btn-gNav.open span:nth-child(1) {
  background: #000000;
  top: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.header .btn-gNav.open span:nth-child(2),
.header .btn-gNav.open span:nth-child(3) {
  top: 6px;
  background: #000000;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
.btn-gNav {
  display: none;
  margin-top: 30px;
  margin-right: 5%;
}
.gNav .gNav-menu {
  display: flex;
  justify-content: space-between;
}
.gNav .gNav-menu li {
  margin: 0 auto;
}
.language-switcher {
  display: flex;
  align-items: center;
  padding-left: 40px;
}
.language-separator {
  margin: 0 0px 0 20px;
  color: #B77277;
}

@media screen and (max-width: 950px) {
  .btn-gNav {
    display: block;
  }
  .gNav-menu a{
    color: black;
  }
  .gNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgb(236, 227, 230);
    font-weight: normal;
    box-sizing: border-box;
    z-index: 3;
    transition: 0.7s;
  }
  .gNav.open {
    right: 0;
  }
  .gNav .gNav-menu {
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .gNav .gNav-menu li {
    list-style: none;
    text-align: center;
    width: auto;
    padding: 30px 0;
    font-size: 24px;
  }
  .language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0;
    margin: 20px 0;
    width: 100%;
  }
  .language-switcher a {
    font-size: 18px;
    margin: 0 10px;
    padding-left: 20px;
}
  .language-separator {
    font-size: 18px;
    margin: 0 0 0 5;
  }
}


/*-- フッター --*/
.footer{
  height: 300px;
  background-color: #B77277;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end; 
  padding-top: 70px;
}
.footer-left{
  flex: 0 0 auto;
  margin-left: 15%;
}
.footer-left a{
  text-decoration: none;
  line-height: 1.5;
  color: white;
}
.icon-en{
  font-size: 24px;
}
.icon-jp{
  font-size: 10px;
}
.footer-menu{
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin-right: 15%;
  bottom: 100px;
  font-size: 18px;
}
.footer-menu a{
  color: white;
  font-size: 16;
  text-decoration: none;
  line-height: 2;
}
.footer-bottom {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto; 
  margin-bottom: 20px; 
}
.footer-language {
  color: white;
  text-align: center;
  font-size: 15px;
  margin-bottom: 10px; 
}
.footer-language a {
  color: white;
  text-decoration: none;
}
.footer-copyright {
  color: white;
  text-align: center;
  font-size: 10px;
}

@media screen and (max-width: 760px) {
  .footer {
    height: auto;
    padding-top: 50px;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-left {
    order: 2;  /* 順序を変更 */
    margin-left: 10%;
    margin-top: 30px;
    margin-bottom: 70px;
    text-align: left;  /* 左揃えに変更 */
  }
  .footer-menu {
    font-size: 16px;
    order: 1;
    margin-top: 50px;
    margin-right: 0;
    margin-left: 10%;
    margin-bottom: 30px;
    align-items: flex-start;  /* 左揃えに変更 */
  }
  .footer-menu li {
    text-align: left;
  }
  .footer-bottom {
    order: 3;
    margin-bottom: 10px;
    align-self: center;
    width: 100%;
  }
  .pagetop {
    right: 10px;
    bottom: 10px;
  }
}


/*-- ページトップへボタン --*/
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
  mix-blend-mode: difference;
}
@media (hover: hover) and (pointer: fine) {
  .pagetop:hover, .pagetop:hover .pagetop__arrow {
    border-color: #B77277;
    transition: 0.3s;
  }
}
@media screen and (max-width: 425px) {
  .pagetop {
    right: 10px;
    bottom: 10px;
  }
}

  

