@charset "UTF-8";

/*==========================
loading view
==========================*/
#loading {
  display: none; /* JavaScriptが有効でない場合に非表示 */
  width: 100%;
  height: 100vh;
  transition: all 0.5s;
  background-color: var(--primary-yellow);
  animation-name: loadeing__fadeIn;
}

.loading__img {
  width: 30%;
  height: 30%;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-name: loadeing__fadeIn;
}

/* 初回アクセス時にのみ表示 */
body.show-loading #loading {
  display: block;
}

/* end of loading */
.loaded {
  /* 初回アクセス時にのみ表示を追加したのでこちらにimportantを追記して優先度を上げる */
  display: none !important;
}

/* fade in container */
.allsection {
  display: none;
}

.allsection.open {
  display: block;
  animation-name: loadeing__fadeIn;
  animation-fill-mode: forwards;
  animation-duration: 2s;
}

@keyframes loadeing__fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*==========================
fadeIn
==========================*/
.fadeIn {
  transform: translate(0, 0px);
  opacity: 0;
  transition: 2s;
}
.fadeIn.animated {
  transform: translate(0, 0);
  opacity: 1;
}

/* ==========================
common
============================= */
:root {
  --primary-white: #ffffff;
  --primary-black: #2e2e2e;
  --primary-lightGray: #aaaaaa;
  --primary-red: #ff0d33;
  --primary-yellow: #c1a650;
  --primary-yellowR: 193, 166, 80;
  --contentWidth: 80%;
  --contentPadding: 6.4%;
  --contentPaddingPc: 9%;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.4rem;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.3px;
  color: var(--primary-black, #2e2e2e);
  background-color: var(--primary-white, #ffffff);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.pcBr {
  display: none;
}

.sectionTitle {
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.3;
}

/* ====  common pc 769px  ===== */
@media screen and (min-width: 769px) {
  body {
    color: var(--primary-black, #2e2e2e);
    font-size: 1.6rem;
    line-height: 2;
  }

  .spBr {
    display: none;
  }

  .pcBr {
    display: block;
  }
}

@media screen and (min-width: 1020px) {
  .txt__spOnly {
    display: none;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .sectionTitle {
    font-size: 2.8rem;
  }
}

@media screen and (min-width: 1201px) {
  .sectionTitle {
    font-size: 3.2rem;
    font-weight: 900;
  }
}

/* =========================
header
==========================*/
.header {
  padding: 16px 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo__header {
  width: 94px;
  height: 18px;
}

.logo__txt {
  display: none;
}

.header__btn {
  width: 24px;
}

/* nav初期表示 */
.nav {
  background-color: rgba(var(--primary-yellowR), 0.95);
  padding: 20px 20px;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo__white {
  width: 94px;
  height: 18px;
}

.btn__close {
  width: 8px;
  height: 12px;
  margin-right: 2%;
}

.nav__list {
  margin-top: 66px;
  margin-left: 26%;
}

.nav__item {
  color: var(--primary-white, #f9f9f9);
  font-family: "Zen Old Mincho";
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2em;
  letter-spacing: 0.2px;
  margin-top: 16px;
  display: flex;
  align-items: center;
}

.nav__item::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 0.5px;
  background: var(--primary-white);
  margin-right: 24px;
}

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

.icon__pcOnly {
  display: none;
}

/* ====  header pc 769px  ===== */
@media screen and (min-width: 1020px) {
  .container {
    position: sticky;
    top: 0;
    background-color: var(--primary-white);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
  }

  .header {
    max-width: 1280px;
    height: 88px;
    margin: 0 auto;
    padding: 28px 58px 28px 108px;
  }

  .header__btn,
  .logo__white,
  .btn__close,
  .nav__item:first-of-type {
    display: none;
  }

  .logo__header {
    width: 172px;
    height: 32px;
  }

  .nav {
    background-color: transparent;
    width: auto;
    height: auto;
    padding: 0;
    position: static;
    transform: translate(0);
    align-items: center;
  }

  .nav__list {
    display: flex;
    margin: 0;
    gap: 32px;
  }

  .nav__item {
    margin: 0;
    font-family: "Zen Old Mincho";
    color: var(--primary-black, #2e2e2e);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8;
  }

  .icon__pcOnly {
    display: block;
    width: 24px;
    height: 24px;
  }

  .nav__item::before {
    display: none;
  }
}

/* ====  header 769px end ===== */

/* =========================
footer
==========================*/
.footer {
  background-color: rgba(var(--primary-yellowR), 0.5);
  padding: 28px;
  margin-top: 40px;
  text-align: center;
}

.footer__img {
  width: 94px;
  height: 18px;
}

.copy {
  color: var(--primary-black, #2e2e2e);
  font-family: "Zen Old Mincho";
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 8px;
}
