@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
   1. Base Styles（ベーススタイル）
   ========================================================================== */
html {
  font-size: 62.5%;
  /* 1rem = 10px */
  scroll-behavior: smooth;
  scroll-margin-top: 76px;
}

body {
  font-family: 'Noto Sans Japanese, Yu Gothic, Hiragino Kaku Gothic Pro, Osaka, Meiryo, MS PGothic, Arial, Helvetica, Verdana';
  font-size: 1.6rem;
  /* font-weight: 500; */
  line-height: 2;
  color: #000;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a:hover {
  opacity: 0.7;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

figure {
  margin: 0;
}

address {
  font-style: normal;
}

/* ==========================================================================
     2. Utility Classes（ユーティリティ）
     ========================================================================== */
.u-text-center {
  text-align: center;
}

.u-text-right {
  text-align: right;
}

.u-mb-0 {
  margin-bottom: 0 !important;
}

.u-mb-20 {
  margin-bottom: 2rem !important;
}

/* pc sp 表示設定 */
.u-pc-only {
  display: inline-block !important;
}

.u-sp-only {
  display: none !important;
}

@media (max-width: 768px) {
  .u-pc-only {
    display: none !important;
  }

  .u-sp-only {
    display: inline-block !important;
  }
}


/* pc sp 表示設定 */
/* .pc-only {
  display: inline-block !important;
}

.sp-only {
  display: none !important;
}

@media only screen and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: inline-block !important;
  }
}
 */
/* 共通snsボタンスタイル */
.sns-button {
  color: #fff;
  background-color: #20944f;
  padding: 6px 8px;
  display: inline-block;
  /* border-radius: 4px; */
  font-size: 1.2rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

.sns-button:hover {
  opacity: 0.7;
}

/* 個別調整 */
.sns-button--fb {
  padding: 2px 10px;
}

.sns-button--tw {
  padding: 2px 8px;
}

.sns-button--yt {
  padding: 2px 8px;
}

.sns-button--tik {
  padding: 2px 9px;
}

.sns-button--is {
  padding: 2px 9px;
}

.sns-button--ml {
  padding: 2px 9px;
}

/* ==========================================================================
     3. Layout
     ========================================================================== */

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  width: 100%;
  background-color: #eee;
  border-top: 4px solid #20944f;
  position: fixed;
  z-index: 100;
}

@media only screen and (max-width: 1023px) {
  .header {
    position: relative;
    border-top: none;
  }
}

.header__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .header__inner {
    padding: 1.5rem 2.5rem;
  }
}

.header__logo {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.header__logo-link {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.header__logo-img img {
  display: block;
  height: 3.6rem;
}

.header__logo-sub {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 600;
  color: #20944f;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-list,
.header__sns {
  display: flex;
  gap: 1.3rem;
  list-style: none;
}

.header__nav-list {
  font-size: 1.2rem;
  font-weight: bold;
}

.header__nav-item a {
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.header__nav-item a:hover {
  opacity: 0.7;
}

/* ハンバーガーボタン（SP表示時のみ） */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1001;
}

.header__burger span {
  display: block;
  height: 2px;
  background-color: #20944f;
  border-radius: 1px;
}

/* ドロワーメニュー全体（初期状態は非表示） */
.header__drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.header__drawer.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* オーバーレイ部分（背景暗く） */
.header__drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* スライドインするメニュー本体 */
.header__drawer-nav {
  position: absolute;
  top: 0;
  right: -80%;
  width: 80%;
  height: 100%;
  background-color: #fff;
  border-left: 4px solid #20944f;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
  padding: 6rem 2rem;
  transition: right 0.3s ease;
}

.header__drawer.is-active .header__drawer-nav {
  right: 0;
}

/* メニューリスト */
.header__drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.header__drawer-item a {
  display: block;
  font-size: 1.6rem;
  color: #20944f;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.8rem;
}

/* SPでだけ表示 */
@media (max-width: 1023px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    display: none;
  }
}


/* ==========================================================================
   Footer
   ========================================================================== */

/* ==========================================================================
     Footer
     ========================================================================== */

.footer {
  background-color: #20944f;
  color: #ffffff;
  font-size: 1.2rem;
}

.footer__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer__copyright {
  margin: 0;
  white-space: nowrap;
}

.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__nav a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__nav a:hover {
  opacity: 0.7;
}

@media (max-width: 640px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer__nav {
    flex-direction: column;
    gap: 0.8rem;
  }
}



/* 戻るボタン */

#pageTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1000;
  display: none;
  /* 初期非表示 */
}

#pageTopBtn img {
  width: 100%;
  height: auto;
  opacity: 0.5;
}

/* SP時のみ表示（幅767px以下） */
@media (max-width: 767px) {
  #pageTopBtn.show {
    display: block;
  }
}