@charset "UTF-8";

/* ******************************************************
common
****************************************************** */
:root {
  --Brown: #5C4938;
  --White: #FAFAFA;
  --Beige: #F4ECE1;
  --Pink: #EFB19A;
  --Green: #4E8B91;
  --darkGreen: #356165;
  --contentPadding: 4.2%;
  --headerHeight: 89px;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "M PLUS 1", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--Brown);
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-size: 1.6rem;
}

html,
body {
  overflow-x: hidden;
}

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

.section {
  scroll-margin-top: 110px;
}

.section__topic {
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  font-style: normal;
  color: var(--White);
  text-align: left;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0.05em;
  -webkit-text-stroke: var(--Brown) 2px;
  text-shadow: 3px 2px 0 #79C3CB;
  display: inline-block;
  position: relative;
}

.fadeIn {
  transform: translateY(10px);
  transition: all 0.3s ease-out;
  opacity: 0;
}

.fadeIn.animated {
  transform: translateY(0);
  opacity: 1;
}

.section__topic::after {
  content: "";
  display: inline-block;
  width: 58px;
  height: 50px;
  background-image: url(../images/star.png);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
}

h3 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--Green);
}

.logo {
  cursor: pointer;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url(../images/background-image.png);
  background-repeat: repeat;
  background-position: center top;
  background-size: 900px auto;
}

.inner__wrapper {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.layout {
  max-width: 430px;
  background-color: #F8FDFC;
  background-image:
    linear-gradient(rgba(121, 195, 203, 0.4), rgba(121, 195, 203, 0.4)), 
    url(../images/background_paper.png);
  margin: 0 auto;
  position: relative;
}

/* common */
@media screen and (min-width: 1024px) {
  .inner__wrapper {
    padding: 0 8.3%;
  }

  .layout {
    margin-left: 0;
  }

  .section {
    scroll-margin-top: 60px;
  }
} 

@media screen and (min-width: 768px) and (max-width: 1111px) {
  .bg {
    background-size: 1200px auto;
    background-repeat: repeat;
    background-position: center top;
  }
}

@media screen and (min-width: 1112px) {
  .bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
  }
}
/* common */

/* ******************************************************
header
****************************************************** */
.header {
  width: 100%;
  max-width: 430px;
  height: 89px;
  padding: 14px var(--contentPadding) 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: #F8FDFC;
  background-image:
    linear-gradient(rgba(121, 195, 203, 0.4), rgba(121, 195, 203, 0.4)), 
    url(../images/background_paper.png);
}

.header__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  width: 75px;
  height: 72px;
}

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

.logo img {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 0 auto;
}

.logo__name {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 900;
  white-space: nowrap;
}

.nav {
  display: block;
  position: fixed;
  top: 89px;
  left: -300%;
  width: 100%;
  height: calc(100dvh - 89px);
  transition: all 0.4s ease;
  z-index: 900;
  background-color: #F8FDFC;
  background-image:
    linear-gradient(rgba(121, 195, 203, 0.4), rgba(121, 195, 203, 0.4)), 
    url(../images/background_paper.png);
  overflow-y: auto;
}

.nav.active {
  left: 0;
}

.nav__list {
  margin-top: 8.3%;
}

.nav__item {
  display: block;
  line-height: 50px;
  font-family: "Luckiest Guy", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--darkGreen);
}

.sns__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-bottom: 136px;
}

.sns__item {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.nav__item:hover,
.sns__item:hover {
  opacity: 0.8;
}

.header__right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.header__btn {
  display: block;
  width: 160px;
  height: 50px;
  background-color: var(--Pink);
  border: var(--Brown) solid 2px;
  border-radius: 8px;
  text-align: center;
  line-height: 50px;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.header__btn:hover {
  background-color: var(--Brown);
  color: var(--Pink);
  transition: all 0.3s ease;
}

.navDecor {
  position: fixed;
  top: 89px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100dvh - 89px);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navDecor.active{
  opacity: 1;
  visibility: visible;
}

.navDecor__dots {
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url(../images/dot.png);
  background-position: bottom center;
  background-repeat: repeat;
  background-size: 60px 60px;
  width: 100%;
  height: 80px;
  z-index: 1;
}

.navDecor__piano {
  display: block;
  background-image: url(../images/hamburger_piano.png);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  width: 151px;
  height: 104px;
  object-fit: contain;
  position: absolute;
  bottom: 32px;
  left: 6.6%;
  z-index: 2;
}

/* hamburger */
.hamburger__btn {
  width: 36px;
  height: 30px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.hamburger__line {
  display: block;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background-color: var(--Brown);
  transition: 0.4s;
}

.hamburger__btn.active .hamburger__line:nth-of-type(1) {
  transform: rotate(30deg) translateY(10px);
}

.hamburger__btn.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}

.hamburger__btn.active .hamburger__line:nth-of-type(3) {
  transform: rotate(-30deg) translateY(-12px);
}

/* header */
@media screen and (min-width: 1024px) {
  .header {
    position: fixed;
    top: 50%;
    left: calc((100% - (430px + 8.3% * 2 + 286px)) / 2 + 430px + 8.3% * 2);
    /* left: 75%; */
    transform: translateY(-50%);
    /* transform: translateY(-50%, -75%); */
    width: 260px;
    height: auto;
    padding: 24px 0 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--White);
    background-image: none;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
  }

  .nav__item {
    line-height: 44px;
  }

  .navDecor {
    display: none;
  }

  .sns__list {
    padding-bottom: 0;
    margin-top: 20px;
  }

  .header__logo {
    width: auto;
    height: auto;
    gap: 0;
  }

  .header__logo img {
    width: 100px;
    height: 100px;
    /* padding: 20px; */
    object-fit: contain;
  }

  .logo__name {
    font-size: 1.4rem;
    font-weight: 800;
  }

  .nav__list {
    margin-top: 20px;
  }

  .hamburger__btn {
    display: none;
  }
  .header__btn {
    margin-top: 20px;
  }
}

/* ******************************************************
footer
****************************************************** */
.footer {
  background-color: var(--Brown);
  color: var(--White);
  margin: 0 auto;
  text-align: center;
  padding-bottom: 80px;
  position: relative;
}

.footer::after{
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  background-image: url(../images/dot.png);
  background-position: top center;
  background-repeat: repeat;
  background-size: 60px 60px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  cursor: pointer;
}

.footer__navItem:hover,
.footer__snsItem:hover {
  opacity: 0.8;
}

.footer__navItem {
  line-height: 50px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer__sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.footer__btn {
  margin: 30px auto 0;
  width: 210px;
  height: 73px;
  background-color: var(--Pink);
  color: var(--Brown);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
}

.footer__btn:hover {
  color: var(--Pink);
  background-color: var(--White);
  transition: all 0.3s ease;
}

.footer__info {
  margin: 30px auto 27px;
  padding: 0 8.8%;
}

/* .footer__top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
} */

.footer__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  display: block;
  width: 100px;
  height: 100px;
  padding: 8px;
  object-fit: contain;
}

.footer__logoName {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex: 1;
  text-align: left;
}

.footer__bottom {
  margin: 4px auto 0;
  padding-left: 8px;
}

.footer__item {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

.footer__term {
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  width: 6.8em;
}

.footer__desc {
  font-size: 1.4rem;
  text-align: left;
  flex: 1;
}

/* a.footer__tel {
  text-decoration-line: underline;
  text-underline-offset: 4px;
} */

.footer__copyright {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 30px auto;
}