html {
  scroll-behavior: smooth;
}

body {
  font-family: source-han-sans-jp-variable, sans-serif;
  font-variation-settings: "wght" 400;
  background-color: #fff;
  color: #5f5045;
  overflow-x: hidden;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 980px) {
  .br-sp {
    display: none;
  }

  .pconly {
    display: none;
  }
}

@media screen and (min-width: 979px) {
  .br-pc {
    display: none;
  }

  .sponly {
    display: none;
  }
}


.main-content {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.menu-container {
  position: absolute;
  top: 80px;
  left: 15px;
  width: 20vw;
  max-width: 240px;
  min-width: 120px;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

@media (max-width: 980px) {
  .menu-container {
    display: none;
  }
}

@media (min-width: 979px) {

  .nav-section,
  .menu {
    display: none !important;
  }
}

.sticky-menu-img {
  position: sticky;
  top: 80px;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: auto;
  z-index: 20;
}

.menu-base {
  width: 100%;
  height: auto;
  display: block;
}

.menu-item {
  position: absolute;
  display: inline-block;
  transition: transform 0.3s ease;
}

.menu-item img {
  width: 100%;
  height: auto;
  display: block;
}

.note-icon {
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff69b4;
  font-size: 1.4rem;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-item:hover {
  transform: translateX(20px);
}

.menu-item:hover .note-icon {
  opacity: 1;
  visibility: visible;
}


.item-logo:hover {
  transform: none !important;
  opacity: 0.7;
}

.item-logo .note-icon {
  display: none !important;
}

/* -------------------------------------------
   各パーツの配置（％指定でレスポンシブ対応）
------------------------------------------- */
.item-logo {
  top: 6%;
  left: 26%;
  width: 50%;
  transition: opacity 0.3s ease !important;
}

.item-01 {
  top: 31%;
  left: 15%;
  width: 60%;
}

.item-02 {
  top: 45%;
  left: 15%;
  width: 60%;
}

.item-03 {
  top: 58%;
  left: 15%;
  width: 60%;
}

.item-04 {
  top: 72%;
  left: 15%;
  width: 60%;
}


/* .item-01 {
  top: 28%;
  left: 15%;
  width: 60%;
}

.item-02 {
  top: 40%;
  left: 15%;
  width: 60%;
}

.item-03 {
  top: 52%;
  left: 15%;
  width: 60%;
}

.item-04 {
  top: 64%;
  left: 15%;
  width: 60%;
}

.item-05 {
  top: 76%;
  left: 15%;
  width: 60%;
} */

.item-logo:hover {
  transform: none !important;
  opacity: 0.7;
}

.item-logo .note-icon {
  display: none !important;
}


.content-body {
  width: 100%;
}

.main-long-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {

  .menu-container {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .sticky-menu-img {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }
}

.sectionWrap {
  width: 100%;
  padding-left: 25%;
  margin: 0 auto;
  padding-top: 5em;
  padding-right: 3em;
}

@media (max-width: 980px) {

  .content-body {
    width: 100%;
  }

  .sectionWrap {
    padding-left: 0;
    padding-right: 0;
  }
}

.title {
  width: 25%;
  margin: 0 auto 5em;
}

footer {
  position: relative;
  z-index: 9;
  width: 100%;
  background-color: #aee2ec;
  border-top: 40px solid #fff99e;
}

footer a:hover img {
  opacity: 0.5;
  transition-duration: 0.3s;
}

footer ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 675px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 50px 0 30px 0;
}

footer li {
  width: 23%;
  margin-bottom: 1em;
}

footer ul a {
  display: block;
  padding: 0 10px;
}

p.copyright {
  font-size: 12px;
  text-align: center;
  color: #6a635b;
  margin: 0;
  padding: 0 0 20px 0;
}

footer img {
  max-width: 100%;
}


p.copyright {
  font-size: 10px;
  text-align: center;
  color: #6a635b;
  margin: 0;
  padding: 0 0 20px 0;
}

@media (max-width:980px) {
  footer img {
    max-width: 100%;
  }

  footer ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    list-style: none;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: space-around;
  }

  footer li {
    width: 20%;
    margin: 5px;
  }

  footer ul a {
    display: block;
    padding: 0 10px;
  }

  p.copyright {
    font-size: 10px;
    text-align: center;
    color: #6a635b;
    margin: 0;
    padding: 0 0 20px 0;
  }
}

@media (max-width: 746px) {

  .title {
    width: 50%;
    margin-bottom: 3em;
  }

  .sectionWrap {
    padding-top: 4em;
  }

  footer img {
    max-width: 100%;
  }

  footer ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    list-style: none;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: space-around;
  }

  footer li {
    width: 38%;
    margin: 5px;
  }

  footer ul a {
    display: block;
    padding: 0 10px;
  }

  p.copyright {
    font-size: 10px;
    text-align: center;
    color: #6a635b;
    margin: 0;
    padding: 0 0 20px 0;
  }

}

/*__________________________________________________

  burger menu
  __________________________________________________*/

.menu {
  position: fixed;
  z-index: 99;
  right: 20px;
  top: 20px;
  width: 48px;
  height: 48px;
  background: #b9d7d7;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

.menu.is-show {
  opacity: 1;
  visibility: visible;
}

.menu:hover {
  background-color: #b9d7d7;
}

.menu__line {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  transition: transform .3s, top .3s;
  /* topの変形もスムーズに */
  height: 3px;
  background: #fff;
}

.menu__line--top {
  top: 16px;
}

.menu__line--center {
  top: 22.5px;
}

.menu__line--bottom {
  top: 30px;
}

.menu.active .menu__line--top {
  top: 22.5px;
  transform: rotate(45deg);
}

.menu.active .menu__line--center {
  transform: scaleX(0);
}

.menu.active .menu__line--bottom {
  top: 22.5px;
  transform: rotate(135deg);
}

/* --- gnav関連 --- */
.gnav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 98;
  width: 100%;
  height: 100vh;
  background-color: #fff;
}

.gnav.active {
  display: block;
}

.gnav__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
}

.gnav__menu {
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.gnav__menu__item01 {
  list-style: none;
  width: 60%;
  margin: 0 auto 60px auto;
  padding: 0;
  text-align: center;
}

.gnav__menu__item01 a {
  padding: 0;
  text-decoration: none;
  transition: .5s;
}

.gnav__menu__item01 a:hover {
  color: #666;
}

.gnav__menu__item02 {
  list-style: none;
  width: 50%;
  margin: 40px auto 0 auto;
  padding: 0;
  text-align: center;
}

.gnav__menu__item02 a {
  padding: 0;
  text-decoration: none;
  transition: .5s;
}

.gnav__menu__item02 a:hover {
  color: #666;
}

.gnav.active {
  display: block;
}

/* loading */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: #b9d7d7;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30vw;
  max-width: 400px;
  min-width: 150px;

  height: auto;
  opacity: 0;
  animation: slideUp 1.2s ease forwards 0.3s;
}

.loading-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.loading-text {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInText 0.8s ease forwards 1.2s; 
}

.loading-text .dots span {
  display: inline-block;
  animation: dotBounce 1.4s infinite ease-in-out both;
}

.loading-text .dots span:nth-child(1) {
  animation-delay: 0s;
}
.loading-text .dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-text .dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes slideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInText {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes dotBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

#loading.loaded {
  opacity: 0;
  visibility: hidden;
}

#web-content {
  opacity: 0;
}

#loading.loaded+#web-content {
  opacity: 1;
  transition: opacity 1s ease;
}

@media (max-width:900px) {
  .loading-logo {
    width: 80vw;
  }
}

@media (max-width:600px) {
  .loading-logo {
    width: 60vw;
  }
}
