@charset "UTF-8";

:root {
  /* PC */
  --vw-large: 1360;
  /* SP */
  --vw-small: 390;
  /* Colors */
  --color-primary: #00800D;
  /* ロゴや番号のグリーン（推定） */
  --color-primary-dark: #3e8a4d;
  /* フッターや濃いグリーン（推定） */
  --color-primary-light: #00A310;
  /* フッターや明るいグリーン（推定） */
  --color-text-body: #272727;
  /* 本文テキスト */
  --color-text-light: #888888;
  /* 薄いテキスト（日付など） */
  --color-white: #ffffff;
  --color-bg-light: #f8f8f8;
  /* セクション背景の薄いグレー */
  --color-black-btn: #222222;
  /* 「詳しく見る」ボタン等の黒 */

  /* Fonts */
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  /* 英字見出し用（推定） */
  --font-zenkaku: "Zen Kaku Gothic New", sans-serif;

}

html {
  font-size: 62.5%;
  /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

main {
  overflow: hidden;
}

body {
  font-size: calc((100vw / var(--vw-large))*16);
  color: var(--color-text-body);
  text-align: center;
  font-family: var(--font-ja);
  font-weight: 400;
  font-style: normal;
  line-height: calc((100vw / var(--vw-large))*35);
  /* 250% */
  letter-spacing: calc((100vw / var(--vw-large))*1.59);
  position: relative;
}

h2 {
  text-align: center;
  font-size: calc((100vw / var(--vw-large))*28);
  font-style: normal;
  font-weight: 500;
  /* 0 */
  letter-spacing: calc((100vw / var(--vw-large))*0.5);
}

p {
  font-size: calc((100vw / var(--vw-large))*16);
  font-weight: 400;
  line-height: 150%;
  letter-spacing: calc((100vw / var(--vw-large))*0.6);
}

img,
picture {
  width: 100%;
  height: auto;
  vertical-align: bottom
}

li {
  list-style: none;
}

a {
  &:hover {
    opacity: 0.8;
  }
}

/* font */

.shippori {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;
}

.marcellus_sc {
  font-family: "Marcellus SC", sans;
  font-weight: 400;
  font-style: normal;
}

.cormorant {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 500;
}

.noto {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.noto_s {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.under_line {
  color: var(--brown, #524D38);
  background: linear-gradient(transparent 70%, rgba(75, 159, 159, 0.60) 50%);
  margin: 0;
  display: inline;
}

@media screen and (max-width: 768px) {

  h2 {
    font-size: calc((100vw / var(--vw-small))*24);
  }

  p {
    font-size: calc((100vw / var(--vw-small))*14);
  }

  a {
    font-size: calc((100vw / var(--vw-small))*14);
  }
}

/* other */

.sp {
  display: none;
}

.sp-br {
  display: none;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  vertical-align: middle;
  text-align: inherit;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

::before,
::after {
  box-sizing: inherit;
}

@media(max-width:768px) {

  .pc {
    display: none;
  }

  .pc-br {
    display: none;
  }

  .sp {
    display: block;
  }

  .sp-br {
    display: block;
  }

}

.floating {
  position: fixed;
  width: calc((100vw / var(--vw-large))*57);
  right: 0;
  top: calc((100vw / var(--vw-large))*290);
  z-index: 1000;
  transition: 0.5s;
}

/*フッターまでスクロールしたら消す*/
.is-hidden {
  visibility: hidden;
  opacity: 0;
}

/**header**/

#header {
  position: fixed;
  background-color: #fff;
}

/* Header Styles */
.l-header {
  position: absolute;
  /* MVの上に重ねる */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding-top: calc((100vw / var(--vw-large)) * 20);
  padding-bottom: calc((100vw / var(--vw-large)) * 20);
}

.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: calc((100vw / var(--vw-large)) * 50);
  padding-right: calc((100vw / var(--vw-large)) * 50);
}

.l-header__logo img {
  width: calc((100vw / var(--vw-large)) * 180);
  /* ロゴサイズ調整 */
  height: auto;
}

.l-header__nav {
  margin-left: auto;
  margin-right: calc((100vw / var(--vw-large)) * 40);
}

.l-header__list {
  display: flex;
  list-style: none;
  height: calc((100vw / var(--vw-large))*14);

  li {
    border-right: 1px solid #D3D3D3;
    padding: 0 calc((100vw / var(--vw-large))*14);
    line-height: 0.5;

    &:last-child {
      padding: 0 0 0 calc((100vw / var(--vw-large))*14);
      border-right: initial;
    }
  }
}


.l-header__item a {
  text-decoration: none;
  color: var(--color-text-body);
  /* 必要に応じて白に変更 */
  font-size: calc((100vw / var(--vw-large)) * 14);
  font-weight: 500;
  font-family: var(--font-zenkaku);
}

/* ヘッダーボタン */
.c-btn-header {
  display: inline-flex;
  /* 矢印とテキストを横並び中央揃えにするため */
  align-items: center;
  justify-content: center;

  /* 色設定 */
  background-color: transparent;
  /* 背景：透明 */
  color: var(--color-primary);
  /* 文字色：緑 */
  border: 1px solid var(--color-primary);
  /* 線：緑 */

  /* サイズ・余白 */
  padding: calc((100vw / var(--vw-large)) * 10) calc((100vw / var(--vw-large)) * 25);
  border-radius: 50px;

  /* フォント設定 */
  text-decoration: none;
  font-size: calc((100vw / var(--vw-large)) * 14);
  font-weight: bold;

  transition: all 0.3s ease;
}

/* テキスト右側の矢印（CSSで描画） */
.c-btn-header::after {
  content: "";
  display: inline-block;
  width: calc((100vw / var(--vw-large)) * 6);
  height: calc((100vw / var(--vw-large)) * 6);
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transform: rotate(45deg);
  /* 右向き矢印にする */
  margin-left: calc((100vw / var(--vw-large)) * 10);
  /* テキストとの距離 */
  margin-bottom: 2px;
  /* 視覚的な中心補正 */
  transition: border-color 0.3s ease;
}

/* ホバー時の挙動（反転させて視認性を高める一般的なパターン） */
.c-btn-header:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.c-btn-header:hover::after {
  border-color: var(--color-white);
}

/*　上に上がる動き　*/

#header.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.l-main {
  margin-top: calc((100vw / var(--vw-large))*95);
}

@media(max-width:768px) {

  header {
    height: calc((100vw / var(--vw-small))*60);
    padding: 0;
    display: flex;
    align-items: center;

    .header_inner {
      width: 100%;
      display: block;
    }


    nav {

      .logo_wrap {
        width: calc((100vw / var(--vw-small))*140);
        margin-left: calc((100vw / var(--vw-small))*20);
      }

      .nav1 {
        li {
          margin: 0 !important;
          padding: 0 0 0 calc((100vw / var(--vw-small))*24);
          text-align: left;
          position: relative;

          &::before {
            content: '';
            /*何も入れない*/
            display: inline-block;
            width: calc((100vw / var(--vw-small))*14);
            height: calc((100vw / var(--vw-small))*14);
            position: absolute;
            top: 58%;
            left: 0;
            background-color: #524D38;
          }
        }
      }
    }

    ul {
      display: block;

      li {
        a {
          color: #524D38;

          span {
            font-size: calc((100vw / var(--vw-small))*18);
          }

          &:last-child {
            margin: 0;

          }
        }
      }

      .current>a {
        font-weight: 700;
      }
    }

    .menu {
      position: fixed;
      inset: 0;
      /* top:0; right:0; bottom:0; left:0; */
      width: 100%;
      height: 100vh;
      /* 100vh の代替 */
      background-color: #F5F4F0;
      z-index: 9999;
      /* 必ず上に出るよう十分大きめに */
      overflow: auto;
      -webkit-overflow-scrolling: touch;
      /* スライドは transform で行う（右から入ってくる）*/
      transform: translateX(100%);
      /* 初期は画面外（右） */
      transition: transform 0.3s ease, opacity 0.3s ease;
      /* opacity: 1; */

      .flex {
        display: block;
        margin-left: calc((100vw / var(--vw-large))*180);
      }
    }

    .menu.open {
      transform: translateX(0);
      right: 0;
      /* 保険 */
      top: 0;
    }

    .menu-list {
      width: 100%;
    }

    .menu-list a {
      padding: calc((100vw / var(--vw-small))*20) 0 0 0;
      font-size: calc((100vw / var(--vw-small))*18);
      width: 100%;
      display: block;
    }

    .btn {
      /* ボタンの配置位置  */
      position: fixed;
      top: calc((100vw / var(--vw-small))*15);
      right: 0px;
      /* ボタンの大きさ  */
      width: calc((100vw / var(--vw-small))*30);
      height: calc((100vw / var(--vw-small))*30);
      /* 最前面に */
      z-index: 999999;
      /* わかりやすいように */
    }

    .btn-line {
      display: block;
      position: relative;
      /* バーガー線の位置基準として設定 */
      width: calc((100vw / var(--vw-small))*12);
      /* 線の長さと高さ */
      height: calc((100vw / var(--vw-small))*2);
      /* margin: 0 calc((100vw / var(--vw-small))*16) 0 calc((100vw / var(--vw-small))*6); */
      background-color: #524D38;
      /* バーガー線の色 */
      transition: .2s;
    }

    .close-none {
      display: none;
    }

    .btn-line::before,
    .btn-line::after {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: #524D38;
      transition: .5s;
    }

    .btn-line::before {
      /*上の線の位置*/
      transform: translateY(-6px);
      width: calc((100vw / var(--vw-small))*24);
      right: 0;
      -webkit-transform: translateY(-6px);
      -moz-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
      -o-transform: translateY(-6px);
    }

    .btn-line::after {
      /*下の線の位置*/
      transform: translateY(6px);
      width: calc((100vw / var(--vw-small))*24);
      right: 0;
      -webkit-transform: translateY(6px);
      -moz-transform: translateY(6px);
      -ms-transform: translateY(6px);
      -o-transform: translateY(6px);
    }

    /***** メニューオープン時 *****/
    .btn-line.open {
      background-color: transparent;
      /* 真ん中の線を透明に */
    }

    .btn-line.open::before,
    .btn-line.open::after {
      content: "";
      background-color: #524D38;
      /* 上下の線の色を変える */
      transition: .2s;
    }

    .btn-line.open::before {
      transform: rotate(45deg);
      /* 上の線を傾ける */
      width: calc((100vw / var(--vw-small))*30);
      background-color: #524D38;
    }

    .btn-line.open::after {
      transform: rotate(-45deg);
      /* 下の線を傾ける */
      width: calc((100vw / var(--vw-small))*30);
      background-color: #524D38;
    }
  }
}


/*headerここまで*/

.pc_mv {
  width: 100%;
}

@media(max-width:820px) {
  .pc_mv {
    display: none;
  }

  .sp_mv {
    width: 100vw;
    margin-bottom: 40px;
    display: block;
  }
}

/* ============================================
   Footer (PC Style)
============================================ */
.l-footer {
  background-color: #489850;
  /* 緑色の背景 */
  color: var(--color-white);
  /* 上余白: 80px */
  padding-top: calc((100vw / var(--vw-large)) * 64);
  /* 下余白: 20px */
  padding-bottom: calc((100vw / var(--vw-large)) * 64);
  text-align: left;

  .l-footer__inner {
    width: calc((100vw / var(--vw-large))*1207);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* ナビゲーションとの境界線（デザインにあれば） */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* 下余白: 40px */
    padding-bottom: calc((100vw / var(--vw-large)) * 20);
    margin: 0 auto calc((100vw / var(--vw-large))*20);
  }

  /* --- 左側：会社情報 --- */
  .l-footer__info {
    width: calc((100vw / var(--vw-large))*251);
    /* およそ1/4 */

    .l-footer__logo {
      /* 幅: 200px */
      width: calc((100vw / var(--vw-large)) * 200);
      margin-bottom: calc((100vw / var(--vw-large)) * 20);

      img {
        width: 100%;
        height: auto;
      }
    }

    .l-footer__address {
      font-size: calc((100vw / var(--vw-large)) * 16);
      line-height: 1.6;
      margin-bottom: calc((100vw / var(--vw-large)) * 20);
      font-family: var(--font-zenkaku);
      font-weight: 400;
    }

    .l-footer__contact {
      font-size: calc((100vw / var(--vw-large)) * 16);
      font-weight: 700;
      line-height: 1.5;
      font-family: var(--font-en);

      a {
        margin: 0;
        color: var(--color-white);
        text-decoration: none;
        font-style: italic;

        span {
          font-size: calc((100vw / var(--vw-large))*19);
        }
      }
    }
  }

  /* --- 右側：ナビゲーション --- */
  .l-footer__nav {
    width: calc((100vw / var(--vw-large))*936);
    display: flex;
    flex-wrap: wrap;
    /* カラム間隔: 40px */
    gap: calc((100vw / var(--vw-large)) * 40) calc((100vw / var(--vw-large))*34);

    .l-footer__nav-col {
      width: calc((100vw / var(--vw-large))*283);

      /* タイトル */
      .l-footer__nav-title {
        font-size: calc((100vw / var(--vw-large)) * 15);
        font-family: var(--font-zenkaku);
        font-weight: bold;
        line-height: 1;
        margin-bottom: calc((100vw / var(--vw-large)) * 10);
        padding-bottom: calc((100vw / var(--vw-large)) * 10);
        border-bottom: 1px solid #fff;

        a {
          color: #fff;
          text-decoration: none;
        }
      }

      /* リスト */
      .l-footer__nav-list {
        list-style: none;
        padding: 0;
        margin: 0;

        li {
          margin-bottom: calc((100vw / var(--vw-large)) * 10);
          line-height: 1.5;

          a {
            position: relative;
            /* 矢印の基準点 */
            display: inline-block;
            font-size: calc((100vw / var(--vw-large)) * 14);
            font-family: var(--font-zenkaku);
            color: var(--color-white);
            text-decoration: none;
            transition: opacity 0.3s;
            width: 100%;
            letter-spacing: 0;

            /* --- 矢印の描画 --- */
            &::after {
              content: "";
              position: absolute;
              /* 上下中央配置 */
              top: 50%;
              right: 0;
              transform: translateY(-50%) rotate(45deg);
              /* 45度回転させて矢印にする */
              /* 矢印のサイズ (6px程度) */
              width: calc((100vw / var(--vw-large)) * 6);
              height: calc((100vw / var(--vw-large)) * 6);
              /* 右と上のボーダーで「く」の字を作る */
              border-top: 1px solid var(--color-white);
              border-right: 1px solid var(--color-white);
              transition: right 0.3s;
              /* ホバー時のアニメーション用 */
            }

            &:hover {
              opacity: 0.7;
              text-decoration: underline;

              /* ホバー時に矢印が少し右に動くアニメーション（お好みで削除可） */
              &::after {
                right: calc((100vw / var(--vw-large))*-4);
              }
            }
          }
        }
      }
    }
  }

  /* --- コピーライト --- */
  .l-footer__copyright {
    width: calc((100vw / var(--vw-large))*1208);
    margin: 0 auto;
    text-align: left;
    font-size: calc((100vw / var(--vw-large)) * 11);
    color: rgba(255, 255, 255, 0.8);
  }
}

/* 404 */

.error-404 {
  min-height: 80vh;
  /* 画面の8割くらい確保 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: calc((100vw / var(--vw-large))*150) auto;
}

@media screen and (max-width: 768px) {
  .error-404 {
    min-height: 80vh;
    /* 画面の8割くらい確保 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: calc((100vw / var(--vw-small))*80) auto;
    width: 80%;
  }
}

.thanks_txt {
  min-height: 80vh;
  /* 画面の8割くらい確保 */
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: calc((100vw / var(--vw-large))*150) auto;

  p {
    margin-bottom: 20px;
  }

  a {
    text-decoration: none;
    color: #524D38;
  }


}

@media screen and (max-width: 768px) {
  .thanks_txt {
    min-height: 80vh;
    /* 画面の8割くらい確保 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: calc((100vw / var(--vw-small))*80) auto;
    width: 80%;
  }
}

/* --- ページ下部CTAバナー --- */
.cta {
  padding: calc((100vw / var(--vw-large))*50) 0 calc((100vw / var(--vw-large))*94);
  background-color: #F2F8F3;

  .p-feature__cta-bottom {
    background-image: url(../img/common/cta-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: calc((100vw / var(--vw-large))*805);
    padding: calc((100vw / var(--vw-large))*33) 0 calc((100vw / var(--vw-large))*28);
    margin: 0 auto;
    text-align: center;

    h4 {
      font-size: calc((100vw / var(--vw-large))*22);
      font-weight: bold;
      margin-bottom: calc((100vw / var(--vw-large))*14);
    }

    p {
      margin-bottom: calc((100vw / var(--vw-large))*18);
    }

    a {
      background-color: var(--color-primary-light);
      display: block;
      width: calc((100vw / var(--vw-large))*332);
      margin: 0 auto;
      color: #fff;
      text-decoration: none;
      font-size: calc((100vw / var(--vw-large))*15);
      font-weight: bold;
      padding: calc((100vw / var(--vw-large))*20) 0;
    }
  }
}

/* textbook-links */

.p-page-links {
  /* 画面幅1360pxのとき幅1000px */
  width: calc((100vw / var(--vw-large)) * 1000);
  max-width: 100%;
  margin: 0 auto calc((100vw / var(--vw-large))*100);

  /* リスト部分 */
  .p-page-links__list {
    display: flex;
    flex-wrap: wrap;
    /* アイテム間の隙間: 20px相当 */
    gap: calc((100vw / var(--vw-large)) * 26) calc((100vw / var(--vw-large))*20);
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* リストアイテム */
  .p-page-links__item {
    /* 3カラムレイアウト計算: (100% - 隙間2つ分) ÷ 3 */
    width: calc((100% - (calc((100vw / var(--vw-large)) * 20) * 2)) / 3);
  }

  /* カレント（閲覧中）の表示：透明度80% */
  .p-page-links__item.is-current {
    opacity: 0.3;
    pointer-events: none;
    /* クリック無効化 */
  }

  /* リンク本体 */
  .p-page-links__link {
    display: flex;
    text-decoration: none;
    height: 100%;
    /* 高さを揃える */
    transition: opacity 0.3s;
  }

  .p-page-links__link:hover {
    opacity: 0.7;
  }

  /* アイコンエリア（緑色背景） */
  .p-page-links__icon {
    background-color: var(--color-primary-light);
    /* 幅: 80px相当 */
    width: calc((100vw / var(--vw-large)) * 62);
    height: calc((100vw / var(--vw-large))*62);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* アイコン画像 */
  .p-page-links__icon img {
    /* サイズ: 40px相当 */
    width: calc((100vw / var(--vw-large)) * 22);
    height: auto;
    display: block;
  }

  /* テキストエリア（グレー背景） */
  .p-page-links__text {
    background-color: #f5f5f5;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc((100vw / var(--vw-large))*62);
    /* フォント設定 */
    font-size: calc((100vw / var(--vw-large)) * 16);
    font-weight: 700;
    color: #333;
    line-height: 1.4;
  }
}