* {
    margin: 0;
    padding: 0;
    max-width: 100%;
}
html, 
body {
  max-width: 100%;
  overflow-x: hidden;
  color: #484848;
  font-size: 16px;
}
body {
  margin-top: 90px; 
}
@media (max-width: 768px) {
  body {
      margin-top: 0;
    }
}

/* -------------共通デザイン---------------- */
h1 {
    color: #484848;
    font-family: "Vollkorn SC", serif;
    font-weight: 900;
    font-style: normal;
    background-color: #fff;
    font-size: 34px;
    padding: 20px 30px;
    display: block;
    border: 1px solid #484848;
    position: relative;
    margin: 20px 20%;
    text-align: center;
}
@media (max-width: 768px) {
  h1 {
    text-align: center;
    display: block;
    margin: 30px auto;
    font-size: 30px;
  }
}

h2 {
    color: #484848;
    font-family: "Vollkorn SC", serif;
    font-weight: 900;
    font-style: normal;
    font-size: 28px;
    margin-left: 20px;
}
h2:first-letter {
    color: #7bbf6a;
    font-size: 2em;
}
@media (max-width: 768px) {
  .n-t {
    text-align: center;
  }
  h2 {
    text-align: center;
    display: block;
    width: 100%;
    margin: 30px auto;
  }
}


h3 {
  font-weight: bold;
  padding: 0.5em 1em;
  border: 3px solid #9b9b9b;
  box-shadow: 3px 3px 0 0 #9b9b9b;
  position: relative;
  margin-bottom: 20px;
}
h3 span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
h3::before, h3::after {
  content: '';
  height: 0;
  width: 0;
  border: solid transparent;
  position: absolute;
  left: 30px;
}
h3::before {
  border-color: transparent;
  border-top-color: #9b9b9b;
  border-right-color: #9b9b9b;
  border-width: 10px;
  top: 100%;
  left: 26px;
}
h3::after {
  border-color: transparent;
  border-top-color: #fff;
  border-right-color: #fff;
  border-width: 6.5px;
  top: 99%;
}


/* ページボタン */
.entry a {
  font-family: 'Noto Sans JP', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #7bbf6a;
  font-weight: 700;
  outline: 1px solid #7bbf6a;
  display: block;
  position: relative;
  box-sizing: border-box;
  max-width: 300px;
  text-align: center; 
  padding: 16px 64px;
  margin: 24px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  z-index:999;
  transition: all 0.3s;
}
.entry a::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 100%;
  height: 100%;
  background: #e1f5d5;
  z-index:-999;
  transition: all 0.3s ease;
}
.entry a:hover::before {
  top: 0;
  left: 0;
  transition: all 0.3s;
}



/* -------------------ヘッダーデザイン----------------------- */
header {
    display: flex;
    position: fixed;
    top: 0;
    align-items: center;
    background: #fff; 
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.logo {
    width: 200px;
    margin: 10px;
}
.h-menu {
    display: flex;
    flex: 1;
    justify-content: space-between;
    margin-left: 5%;
    margin-right: 5%;
}
.h-menu a {
    font-family: 'Arial', 'Helvetica', 'Segoe UI', sans-serif;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.h-menu a:hover {
    color: #2db73f;
    text-shadow: 0 0 1px #2db73f, 0 0 1px #2db73f; 
    border-bottom: 3px solid #2db73f;
}
.h-menu a:visited {
  color: #484848; 
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 10px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 5px;
}

@media (max-width: 768px) {
    header {
      position: static;
      background: transparent;
      box-shadow: none;
      padding: 0;
      height: 0;
      overflow: visible;
    }
    .logo {
      display: none;
    }
      /* ▼ハンバーガーアイコンだけ右上に固定表示 */
  .hamburger {
    display: flex;          /* SPで表示 */
    position: fixed;        /* 画面に対して固定 */
    margin: 10px;
    top: 10px;
    right: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 2000;
  }

  .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #484848;
    border-radius: 2px;
    transition: all 0.4s ease;
  }
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 10px; }
  .hamburger span:nth-child(3) { top: 20px; }

  .hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }

  /* ▼メニューも画面右上基準で固定 */
  .h-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 46px;          /* ハンバーガーの下あたり */
    right: 16px;
    background: #f3fdee;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(95, 95, 95, 0.15);
    z-index: 1900;
  }

  .h-menu a {
    margin: 10px 0;
    text-align: center;
  }

  .h-menu.active {
    display: flex;
  }
}






/* -----------------------フッター------------------- */
.site-footer {
  width: 100%;
  background: #dddddd;
  padding: 16px 4%;
  box-sizing: border-box;
  border-top: 3px solid #404040;
}
.footer-inner {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ===== 左：ロゴ部分 ===== */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.footer-logo-img {
  max-height: 50px;
  width: auto;
}


/* ===== 右：メニュー部分 ===== */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-nav-row {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav-row li a {
  text-decoration: none;
  color: #444;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-nav-row li a:hover {
  color: #7bbf6a;  /* ホバー時のアクセント */
}
@media (max-width: 768px) {

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-logo {
    align-items: center;
  }
  .footer-nav {
    align-items: center; 
  }
  .footer-nav-row {
    justify-content: center;
  }
}




/* --------------------帯デザイン----------------- */
.marquee {
  width: 100%;
  overflow: hidden;
  /* ★ 固定色 → 動くグラデーションに変更 */
  background: linear-gradient(90deg, #5fa75a, #7bbf6a, #9be58a);
  background-size: 300% 300%;
  animation: marqueeBg 8s ease-in-out infinite;

  padding: clamp(10px, 2vw, 26px) 0;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(2px, 0.5vw, 4px);
  background-color: #ffffff;
}
.marquee::before { top: clamp(2px, 0.8vw, 6px); }
.marquee::after  { bottom: clamp(2px, 0.8vw, 6px); }

.marquee-content {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 20s linear infinite reverse;
  position: relative;
  z-index: 1;
}
.marquee-content span {
  font-family: "Stack Sans Notch", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  white-space: nowrap;
  font-size: clamp(1.2rem, 4vw, 3.4rem);
  line-height: 1.2;
  color: #fff;
  padding-right: clamp(1rem, 4vw, 3rem);
}
.marquee-content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20%;
  width: 20%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transform: skewX(-20deg);
  animation: shineMove 3.5s linear infinite;
  pointer-events: none;
}
@keyframes marqueeBg {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shineMove {
  0%   { left: -30%; }
  100% { left: 130%; }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



/* -------------------------TOPスクロール--------------------- */
/* -------------------------問い合わせ--------------------- */
.container {
  padding: 50px 0;
  z-index: 9999;
}
.page-top {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 80px;
  right: -80px;
  bottom: calc(10% - 40px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border: 0;
  background: #7bbf6a;
  transition: .2s;
  letter-spacing: 3px;
  font-weight: bold;
  border-radius: 10px 0 0 10px;
}

.contact-tab {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 80px;
  right: -80px;
  bottom: calc(30% - 40px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border: 0;
  background: #d1bd57;
  transition: .2s;
  letter-spacing: 3px;
  font-weight: bold;
  border-radius: 10px 0 0 10px;
  text-decoration: none;
}
.contact-img {
  width: 70%;
}

button i{
  position: absolute;
  font-size: 30px;
  color: #FFF;
  top: 15px;
  font-weight: 300;
}
button p{
  margin: 0;
  font-size: 15px;
  bottom: 13px;
  position: absolute;
}
.is-active {
  opacity: 1;
  visibility: visible;
}

.page-top.is-active {
  right: -2px;
}

.contact-tab.is-active {
  right: -2px;
}





