@charset "utf-8";

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

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(
    #4f1500 0%,
    #bc3200 25%,
    #4cac86 50%,
    #e3d0a6 65%,
    #4cac86 85%,
    #bc3200 100%
  );
  background-attachment: fixed;
  font-size: 1.6rem;
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  color: #f9f6f1;
  letter-spacing: 0.1em;
}
li {
  list-style: none;
}

a {
  text-decoration: none;
}

.sectionTitle {
  font-size: 4.8rem;
  font-family: "Yeseva One", serif;
  font-weight: 400;
  font-style: normal;
  padding-bottom: 0.9rem;
}

.sectionTitle,
.sectionSubtitle {
  text-align: center;
}

.headerMenu {
  width: 80%;
  height: 80px;
  display: flex;
  max-width: 136.6rem;
  font-size: 1.6rem;
  justify-content: space-around;
  padding: 0 12.3rem;
  margin: 0 auto;
  flex-wrap: wrap; 
}

.headerMenu li {
  line-height: 80px;
  color: #7eff84;
  white-space: nowrap; /* テキストの折り返し防止 */
  flex-shrink: 0; /* 縮小させない */
  justify-content: center;
}

.headerLogo a {
  display: inline-block;
  padding: 1rem;
  font-size: 4.2rem;
  font-family: "Qwitcher Grypen", cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.14em;
  color: #f9f6f1;
  margin: 0 2rem;
  position: absolute;
  white-space: nowrap;
  top: 50%;
  transform: translateY(-50%);

  z-index: 2;
}

.naviMenu {
  display: flex;
  align-items: center; /* 子要素の縦中央揃え */
  padding: 0 2rem;
  max-width: 1440px;
  margin: 0 auto;
  height: 80px; 
  position: relative;
}



/* ここからセカンドビュー */
.secondView {
  text-align: center;
  padding: 16rem 0 20rem;
}
.secondView span {
  font-family: "Amatica SC", cursive;
  font-size: 12rem;
  padding-bottom: 2.3rem;
}

.secondView p {
  padding-bottom: 1rem;
}

/* ここからフッター */
footer {
  padding: 6.4rem 2.7rem 3rem;
  background-color: #f9f6f1;
  width: 100%;
  margin: 0 auto;
}

.footerLogo {
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  color: #8e3331;
  font-family: "Qwitcher Grypen", cursive;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.08em;
  margin: 0 auto;
  padding: 0 3rem;
}

.footerLogo span {
  white-space: nowrap;
  font-size: 32rem;
}

.footerContainer {
  display: flex;
}

.footerNavi1 a,
.footerNavi2 a {
  color: #8e3331;
}

.footerContainer li {
  padding-bottom: 1.6rem;
}

.footerNavi2 {
  margin-left: 16.2rem;
}
.footerLink {
  display: flex;
  margin-left: auto;
  align-items: flex-start;
}

.footerLink img {
  width: 4.2rem;
  height: auto;
}

.snsLinks img:hover {
  transform: scale(1.2) translateY(-2px);
  filter: brightness(1.2);
  transition: 0.3s ease;
}

.footerLink li {
  margin-right: 1.5rem;
}

.snsText {
  color: #8e3331;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}

/* aリンクのアニメーション */

.hoverLink {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.hoverLink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.hoverLink:hover::after {
  transform: scaleX(1);
}


/* topへ戻るボタン */

#toTopBtn {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 6.2rem;
  width: 56px;
  height: 56px;
  border: 2px solid #7eff84;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
}

#toTopBtn.show {
  display: flex; /* これ超重要 */
  opacity: 1;
}

#toTopBtn svg {
  width: 24px;
  height: 24px;
  stroke: #7eff84; /* SVGの線色をCSS管理に */
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke 0.3s ease;
}
#toTopBtn:hover {
  background-color: #7eff84; /* 正円を緑で塗りつぶし */
  border-color: #7eff84; /* 枠線も同じ色に */
}

#toTopBtn:hover svg path {
  stroke: #f00;
}



/* ----メディアクエリ---- */

@media (max-width: 1000px) {
  .headerMenu {
    justify-content: center;
    padding: 0 2rem;
  }
  .headerMenu li {
    line-height: 40px;
    flex-basis: 100%; /* 横幅いっぱいにして折り返し */
    text-align: center;
  }

  .headerLogo {
    font-size: 2.4rem;
  }
}


@media (max-width: 768px) {
  .logoWord {
    display: block;
    text-align: center; 
    font-size: 2.4rem;
  }
  .headerLogo a {
    margin: 0 auto;
  }

  .headerMenu {
    display: none;
  }
  
  
}

/* 💥ジャスト1366pxの時！ここで3.2remに */
@media (max-width: 1366px) {
  .footerLogo {
    font-size: 32rem;
  }
}

/* 画面さらに小さいとき用 */
@media (max-width: 1024px) {
  .footerLogo {
    font-size: 24rem;
  }
}
