@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&family=Noto+Sans+JP:wght@100..900&family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/*全体設定*/

p {
  color: #3d3d3d;
}

body {
  background-color: #fffaec;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

html {
  font-size: 100%;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.yomogi-regular {
  font-family: "Yomogi", cursive;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.wrapper {
  max-width: 1180px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0;
  overflow: hidden;
}

/*  ヘッダー　nav 下線 */
.sampleItem {
  position: relative;
  line-height: 1.8;
  .underline {
    position: absolute;
    left: 0;
    bottom: 20%;
    display: inline-block;
    width: 0;
    height: 1px;
    background-color: #578e7e;
  }
}

/*  フッター　nav 下線 */
.sampleItem_footer {
  padding-bottom: 1px; /* テキストと下線の間隔 */
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
}

.sampleItem_footer:hover {
  background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}

/* ハンバーガーメニュー */

.site-header-navbtn {
  /* background-color: #fffaec; */
  border-radius: 1rem;
  border: none;
  display: none;
  width: 3.5rem;
  height: 3.5rem;
  position: fixed;
  display: none;
  right: 1rem;
  top: 1rem;
  z-index: 10;
  cursor: pointer;
}

.site-header-navbtn span,
.site-header-navbtn::before,
.site-header-navbtn::after {
  width: 26px;
  height: 1px;
  background-color: #578e7e;
  position: absolute;
  top: 50%;
  left: 13px;
  transition: 0.4s;
}

.site-header-navbtn::before,
.site-header-navbtn::after {
  content: "";
}

.site-header-navbtn::before {
  transform: translateY(-8px);
}

.site-header-navbtn::after {
  transform: translateY(8px);
}

body.is-nav-open .site-header-navbtn span {
  transform: scaleX(0);
}
body.is-nav-open .site-header-navbtn::before {
  transform: translateY(0) rotate(45deg);
}
body.is-nav-open .site-header-navbtn::after {
  transform: translateY(0) rotate(-45deg);
}

/*==================
#loading
==================*/

#loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background: #3d3d3d;
}

#loading_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.loading-one {
  display: inline-block;
  border-top: 1px solid #fffaec;
  border-bottom: 1px solid #fffaec;
}
.loading-one p.loading-txt {
  color: #fffaec;
  font-size: clamp(1.5rem, -3.848rem + 14.29vw, 3rem);
  font-family: "Edu AU VIC WA NT Arrows", cursive;
  letter-spacing: 0.25em;
  line-height: 2;
  padding: 2em 0;
}

#loading,
#loading_box {
  display: none;
}

/*==================
.animation_loading
==================*/

.animation_loading {
  animation: equalizer_loading 7000ms infinite;
  animation-iteration-count: 10;
}
@keyframes equalizer_loading {
  0% {
    width: 70%;
  }
  10% {
    width: 50%;
  }
  20% {
    width: 100%;
  }
  30% {
    width: 10%;
  }
  40% {
    width: 50%;
  }
  50% {
    width: 70%;
  }
  60% {
    width: 50%;
  }
  70% {
    width: 10%;
  }
  80% {
    width: 100%;
  }
  90% {
    width: 10%;
  }
  100% {
    width: 70%;
  }
}

/* タイトル */

.section-title {
  display: block;
  text-align: left;
  font-size: 2rem;
  margin-top: clamp(2rem, -8.696rem + 28.57vw, 5rem);
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #3d3d3d;
  border-bottom: 3px solid #578e7e;
}

.content-title {
  font-size: 1rem;
  margin: 10px 0;
}

/* ヘッダー　メインフェードイン */
.header,
.about_header .main_text,
.site_header .main_text {
  animation: loading 2.5s;
}
@keyframes loading {
  0% {
    opacity: 0;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/*pagetop*/

.page_top {
  width: 20px;
  height: auto;
  position: fixed;
  z-index: 15;
  right: 1rem;
  bottom: 1rem;
  cursor: pointer;
  opacity: 0.8;
}

.page_top:hover {
  opacity: 0.5;
}

/*mouse*/
.mouse-follow {
  width: 50px;
  height: 50px;
  position: fixed;
  border-radius: 50%;
  background-color: #8fbbd6;
  opacity: 0.5;
  /* top: 0;
  left: 0; */
  z-index: 1000;
  margin-left: -30px;
  margin-top: -30px;
  pointer-events: none;
}

/*リンクボタン（詳しくは）こちら */
.btn_link a {
  background: #578e7e;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 200px;
  padding: 10px 2rem;
  border-radius: 30px;
  color: #fffaec;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

.btn_link a:before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  right: -1em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: #3d3d3d;
  transition: 0.3s;
}

.btn_link a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1em;
  transform: translateY(-50%);
  width: 40px;
  height: 1px;
  background-color: #3d3d3d;
  transition: 0.3s;
}
.btn_link a:hover:before,
.btn_link a:hover:after {
  right: -0.5em;
}
.btn_link a:hover {
  background: #fff;
  color: #578e7e;
}

/* コンタクト */

.contact {
  width: 100%;
  min-height: 100vh;
  background-image: url(../img/cantact_back.png);
  background-repeat: no-repeat;
  /* background-size: cover; */
  background-size: 100% 90%; /*背景画像のサイズ指定*/
  background-position: center center;
  margin-top: clamp(2rem, -8.696rem + 28.57vw, 5rem);
  overflow: hidden;
  position: relative;
}

.contect_title p {
  font-size: clamp(3rem, -3.157rem + 16.45vw, 10rem);
  font-family: "Edu AU VIC WA NT Arrows", cursive;
  text-align: center;
  color: #3d3d3d;
}

.contact_text p {
  display: block;
  text-align: center;
  color: #578e7e;
  font-size: clamp(1rem, 0.78rem + 0.59vw, 1.25rem);
}

.contact_wrapper {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* メールリンク */
.mail_link {
  display: block;
  margin: 0 auto;
  margin-top: 0;
  margin-bottom: 2rem;
}

.mail_link a {
  width: 200px;
  height: auto;
  background-color: #fffaec;
  color: #578e7e;
  padding: 1rem 2rem;
  border: 1px solid #578e7e;
  border-radius: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  font-weight: 500;
}

.mail_link a:hover {
  background-color: #578e7e;
  color: #fffaec;
}

/*フッター*/

footer {
  height: auto;
  position: relative;
  margin-top: 0;
}

.footer {
  width: 100%;
  height: auto;
  padding: 10px 0;
  text-align: center;
  background-color: #578e7e;
  overflow: hidden;
  position: absolute;
  bottom: 0;
}

.copyright small {
  display: block;
  font-size: 1rem;
  color: #fffaec;
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.footer .footer_nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 1rem;
  margin-top: 2rem;
}

/* .footer .footer_nav ul li {
  margin: 2rem auto;
} */

.footer .footer_nav ul li a {
  color: #fffaec;
  font-size: 1.5rem;
}
