@charset "utf-8";

html,
body {
  color: #505050;
}

img {
  max-width: 100%;
  height: auto;
}

/* 全体 */
#footstep_wrap {
  display: none;
}

body>div:not(.tpl_top_index) div#mymainback_bg {
  background-color: #FFF;
  padding: 0;
}

body>div:not(.tpl_top_index) div#mymainback {
  max-width: none;
  padding: 0;
  justify-content: center;
}

.keep_page_wrap {
  top: 124px;
}

#toTopBtn {
  bottom: 60px;
}

div#pankuzu_wrap {
  display: none;
}

body>div:not(.tpl_top_index) div#mymainback_bg {
  background-color: transparent;
  background-image: none;
}

body>div:not(.tpl_top_index) div#mymainback_bg:after {
  content: none;
}

a img {
  display: block;
}

img {
  vertical-align: middle;
}

div#header {
  display: flex;
  max-width: 1500px;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#header h1 {
  margin: 0;
}

div#header ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 2rem 2.4rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

div#header ul a {
  color: #FFF;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  background-color: #4C2C11;
  padding: 0.5rem 2rem;
  border-radius: 50px;
}

.wrap01 {
  position: relative;
}

.wrap01::before {
  content: "";
  width: 45.334%;
  height: 96.284%;
  max-width: 850px;
  max-height: 850px;
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border: 5px solid #FFF;
  display: block;
  position: absolute;
  z-index: 1;
}

.main_img {
  position: relative;
  overflow: hidden;
}

.text {
  position: absolute;
  bottom: 14%;
  right: 7%;
  width: 41%;
}

.main_img::after {
  content: "";
  background-image: url(/img/mokkuru/img_slide_bot.png);
  width: 101%;
  aspect-ratio: 1920 / 272;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -1.5px;
  left: -0.5%;
  z-index: 0;
}

.shisetsu_box {
  position: relative;
  max-width: 825px;
  width: 100%;
  margin: 0 auto 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  background-image: url(/img/mokkuru/bg_shisetsu.png);
  padding: 4rem;
  text-align: center;
  line-height: 1.7;
}

.shisetsu_box::before {
  content: "";
  background-image: url(/img/mokkuru/img_shisetsu.png);
  width: 178px;
  height: 221px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: -80px;
  z-index: 0;
}

.shisetsu_box p {
  margin: 0;
  font-size: 2rem;
}

.wrap02 {
  background-color: #FBF7F2;
  padding: 8rem 2rem 1rem;
  position: relative;
}

.wrap02::before {
  content: "";
  background-image: url(/img/mokkuru/img_haguruma01.png);
  width: 777px;
  height: 1347px;
  background-repeat: no-repeat;
  background-size: 1109px 1347px;
  background-position: top 0 left 0;
  position: absolute;
  top: -70px;
  right: 0;
}

.wrap02::after {
  content: "";
  background-image: url(/img/mokkuru/img_haguruma02.png);
  width: 498px;
  height: 698px;
  background-repeat: no-repeat;
  background-size: 698px 698px;
  background-position: top 0 right 0;
  position: absolute;
  bottom: -140px;
  left: 0;
  transform: translateY(50%);
}

.shisetsu_bnr {
  max-width: 1140px;
  display: flex;
  justify-content: center;
  margin: 0 auto 12rem;
  position: relative;
  flex-wrap: wrap;
  gap: 2rem 6rem;
  padding: 0 2rem;
}

.naikan_box {
  position: relative;
}

.naikan_box::before {
  content: "";
  background-color: #F5EDE1;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  position: absolute;
  top: 30px;
  left: -180px;
}

.naikan {
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto 12rem;
  position: relative;
  padding: 0 2rem;
}

.naikan img {
  width: calc(100% / 3 - 3rem);
}

.news_box {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 10rem;
  padding: 6rem;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  background-image: url(/img/mokkuru/bg_news.png);
  z-index: 1;
}

.news_box::after {
  content: "";
  background-image: url(/img/mokkuru/img_oshirase.png);
  width: 98px;
  height: 98px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: 0;
  right: 0;
}

.section_information {
  border: none;
  background: none;
  margin: 0;
}

.section_information h2 {
  background: none;
  width: fit-content;
  margin: 0 auto 2rem;
  padding: 0;
}

.section_information_list ul {
  padding: 0;
}

.section_information_list ul li {
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border: none;
  padding: 16px 0px 17px;
}

.section_information_list ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-image: radial-gradient(circle, #DEC18C 1.5px, transparent 2px);
  background-size: 12px 3px;
  background-repeat: repeat-x;
}

.article_title a {
  text-decoration: none;
}

.section_information div.link_box {
  gap: 2rem 5rem;
  justify-content: center;
  padding: 0rem;
  margin-top: 4rem;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
}

.section_information .link_box span[class*="link_"] {
  max-width: 330px;
  width: 100%;
  margin: 0;
  display: inline-block;
  vertical-align: top;
}

.section_information div.link_box span a,
.section_information div.link_box span.link_ichiran a {
  background-color: #527634;
  font-weight: 600;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  color: #FFF;
  font-size: 1.6rem;
  position: relative;
  display: block;
  border: none;
  line-height: 2rem;
  text-decoration: none;
  margin: 0px;
  text-align: center;
}

.section_information div.link_box span.link_ichiran a:after {
  content: "";
  width: 20px;
  height: 13px;
  background-color: transparent;
  background-image: url(/img/mokkuru/white_arrow.png);
  background-size: 20px 13px;
  background-position: center;
  right: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.section_information div.link_box span.link_ichiran.link_ichiran2 a {
  background-color: #8E6E4A;
}

.wrap03 {
  position: relative;
  padding: 10rem 2rem 16rem;
}

.wrap03::before {
  content: "";
  background-image: url(/img/mokkuru/bg_calendar_top.png);
  width: 100%;
  aspect-ratio: 1920 / 295;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0px;
  left: 0;
  z-index: -1;
}

.wrap03::after {
  content: "";
  background-image: url(/img/mokkuru/img_circle01.png);
  width: 567px;
  height: 816px;
  background-repeat: no-repeat;
  background-size: 667px 816px;
  background-position: top 0 left 0;
  position: absolute;
  top: 160px;
  right: 0;
  z-index: -1;
}

*::before,
*::after {
  pointer-events: none;
}

.calendar_box {
  max-width: 1100px;
  margin: 0 auto 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.tuushin {
  text-align: center;
  margin-bottom: 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tuushin p {
  font-size: 1.8rem;
  margin-top: 1rem;
}

.fllormap_box {
  text-align: center;
  position: relative;
  z-index: 0;
}

.fllormap_box::before {
  content: "";
  background-image: url(/img/mokkuru/img_haguruma03.png);
  width: 410px;
  height: 679px;
  background-repeat: no-repeat;
  background-size: 510px 679px;
  background-position: top 0 right 0;
  position: absolute;
  top: -150px;
  left: -20px;
  z-index: -1;
}

.fllormap_box::after {
  content: "";
  background-image: url(/img/mokkuru/img_circle02.png);
  width: 321px;
  height: 569px;
  background-repeat: no-repeat;
  background-size: 531px 569px;
  background-position: top 0 left 0;
  position: absolute;
  top: 180px;
  right: -20px;
  z-index: -1;
}

.wrap04 {
  background: linear-gradient(to bottom, #FFF 0%, #FFF 35%, #FBF7F2 35%, #FBF7F2 100%);
  padding-bottom: 12rem;
}

.mugen-marquee {
  overflow: hidden;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mugen-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.slide-item {
  gap: 1.5rem;
  flex-shrink: 0;
  margin-right: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  font-size: 2rem;
  font-weight: 600;
  background-color: #FFF;
  padding: 1.5rem 1.5rem 2.7rem 1.5rem;
  box-shadow: 0 0 10px rgb(0, 0, 0, 0.15);
  border-radius: 10px 10px 0 0;
  position: relative;
}

.slide-item::after {
  content: "";
  background-image: url(/img/mokkuru/slide_line.png);
  width: 100%;
  height: 13px;
  background-repeat: repeat;
  position: absolute;
  bottom: 0px;
  left: 0px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--marquee-width)));
  }
}

.mugen-marquee:hover .mugen-track {
  animation-play-state: paused;
}

.wrap05 {
  padding: 15rem 2rem 23rem;
  background-color: #FBF7F2;
  background-image: url(/img/mokkuru/bg_riyou.png);
  position: relative;
  overflow: hidden;
}

.wrap05::before {
  content: "";
  background-image: url(/img/mokkuru/bg_riyou_top.png);
  width: 100%;
  aspect-ratio: 1920 / 155;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 0;
}

.wrap05::after {
  content: "";
  background-image: url(/img/mokkuru/bg_riyou_bot.png);
  width: 101%;
  aspect-ratio: 1920 / 312;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -1.5px;
  left: -0.5%;
  z-index: 0;
}

div#main_body {
  box-shadow: none;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  border-radius: 20px;
  padding: 5rem 6rem;
  z-index: 1;
}

.detail_free {
  overflow-y: scroll;
  height: 800px;
}

div#main_body>img {
  margin: 0 auto 4rem;
  text-align: center;
}

.detail_free {
  text-align: left;
}

.wrap05_sousyoku {
  position: relative;
}

.wrap05_sousyoku::before {
  content: "";
  background-image: url(/img/mokkuru/img_riyou_left.png);
  width: 351px;
  height: 385px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -220px;
  left: 50px;
  z-index: 1;
}

.wrap06 {
  background-color: #FBF7F2;
  padding: 4rem 2rem 8rem;
  position: relative;
  z-index: 0;
}

.wrap06::before {
  content: "";
  background-image: url(/img/mokkuru/img_access_left.png);
  width: 707px;
  height: 637px;
  background-repeat: no-repeat;
  background-size: 867px 867px;
  background-position: top 0 right 0;
  position: absolute;
  bottom: 0;
  left: 0;
}

.wrap06::after {
  content: "";
  background-image: url(/img/mokkuru/img_access_right.png);
  width: 663px;
  height: 1048px;
  background-repeat: no-repeat;
  background-size: 763px 1048px;
  background-position: top 0 left 0;
  position: absolute;
  top: -250px;
  right: 0;
  z-index: -1;
}

.access_box {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.access_box strong {
  color: #4C2C11;
  font-size: 2rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.access_box strong::before,
.access_box strong::after {
  content: "";
  background-image: url(/img/mokkuru/img_sun.png);
  width: 34px;
  height: 34px;
  background-repeat: no-repeat;
  background-size: contain;
}

.map-frame {
  position: relative;
  width: 100%;
  max-width: 866px;
  aspect-ratio: 866 / 583;
  /* 比率固定 */
}

/* 地図（内側） */
.map-frame iframe {
  position: absolute;
  top: 4.632%;
  left: 3.118%;
  right: 3.118%;
  bottom: 4.632%;
  width: 94%;
  height: 90.5%;
}

/* フレーム画像（上にかぶせる） */
.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/img/mokkuru/img_map-1.png) no-repeat center center;
  background-size: 100% 100%;
  pointer-events: none;
}

.wrap07 {
  position: relative;
  padding: 7rem 2rem 6rem;
  background-image: url(/img/mokkuru/bg_bnr.png);
  background-size: 485px 485px;
}

.wrap07::before {
  content: "";
  background-image: url(/img/mokkuru/bg_bnr-1.png);
  width: 100%;
  height: 30px;
  position: absolute;
  left: 0;
  top: 0px;
  transform: translateY(-50%);
}

.wrap07 ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 4rem 6rem;
}

.wrap07 ul li {
  width: calc(100% / 3 - 4rem);
}

#main #main_body div[class*="detail_"] {
  padding-right: 1rem;
  background: linear-gradient(white 30%, transparent), linear-gradient(transparent, white 70%) 0 100%, linear-gradient(rgba(0, 0, 0, 0.1) 15%, transparent), linear-gradient(transparent, rgba(0, 0, 0, 0.1) 85%) 0 100%;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-repeat: no-repeat;
  background-color: white;
  background-attachment: local, local, scroll, scroll;
}

#toTopBtn:hover {
  transform: none;
  animation: none;
}

#toTopBtn {
  bottom: 10px;
  right: 10px;
}

#toTopBtn img {
  width: 80px;
  display: block;
}

.copyright {
  text-align: center;
  padding: 0 0 1rem;
  color: #FFF;
}

div#footer_wrap {
  padding: 3rem 2rem 0;
  border-bottom: none;
  background-image: url(/img/mokkuru/bg_footer.png);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

div#footer {
  display: flex;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
  gap: 1rem 4rem;
  flex-wrap: wrap;
}

div#footer a {
  background-color: #FFFFFF;
  border: 3px solid #12A771;
  padding: 1rem;
  max-width: 260px;
  width: 100%;
  text-align: center;
  color: #505050;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 50px;
}

div#footer a:nth-child(2) {
  background-color: #12A771;
  color: #FFFFFF;
}

.footer_menu {
  max-width: 1100px;
}

.footer_menu ul {
  margin: 0;
  gap: 2rem 5.5rem;
  list-style: none;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.footer_menu ul li {
  width: auto;
  max-width: none;
}

.footer_menu a {
  background-color: transparent;
  border: none;
  padding: 0;
  color: #FFF;
  font-weight: 600;
  border-radius: 0;
  font-size: 2rem;
  position: relative;
  transition: none;
}

.footer_menu a:after {
  content: none;
}

.footer_menu a:hover {
  background-color: transparent;
  border: none;
  padding: 0;
  color: #FFF;
  font-weight: 600;
  border-radius: 0;
  font-size: 2rem;
  position: relative;
  transition: none;
}

div#footer a {
  background-color: transparent;
  border: none;
  padding: 0;
  max-width: none;
  text-align: left;
  color: #FFF;
  font-size: 1.6rem;
  width: auto;
}

div#footer a:nth-child(2) {
  background-color: transparent;
}

.footer_left {
  display: flex;
  justify-content: flex-start;
  gap: 4rem;
  align-items: flex-end;
  max-width: 706px;
  width: 100%;
}

.footer_left span {
  color: #FFF;
  font-weight: 600;
}

.footer_right {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  width: 100%;
  max-width: 300px;
}

.footer_right>div:first-child {
  display: flex;
  gap: 2rem;
}

.footer_right>div:last-child {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 186px;
  gap: 1.5rem;
  align-items: center;
}

div#footer .footer_right>div:last-child a {
  background-color: #FFF;
  color: #4C2C11;
  padding: 1rem 2rem;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

div#footer .footer_right>div:last-child a:first-child::before {
  content: url(/img/mokkuru/ic_mail.png);
  width: 21px;
  height: 17px;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
}

/* ハンバーガーメニュー　ここから */
.bento {
  width: 40px;
  height: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  display: none;
}

.bento-box {
  display: block;
  width: 8px;
  height: 8px;
  background: #4C2C11;
  border-radius: 20px;
}

/* リセットCSS */
.button {
  border-color: transparent;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.menu-btn {
  display: none;
}

.nav {
  transform: scale(1, 1);
  transform-origin: top;

  /* デフォルト：アニメなし */
  transition: none;
}

.nav.is-animate {
  /* 押したときだけアニメON */
  transition: transform 0.32s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.nav.is-close {
  transform: scale(1, 0);
}

.calendar_wrap {
  position: relative;
  width: 100%;
  padding-top: 75%;
  /* 高さ比率（4:3なら75%） */
}

.calendar_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#main_body h2 {
  padding: 1rem 2rem 1rem 3rem;
}

#main_body h2:after {
  width: 55px;
}

#main_body h3 {
  padding: 6px 0px;
}

.bnr_box a {
  position: relative;
  display: inline-block;
}

.bnr_box a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}

.bnr_box a:hover::after,
.bnr_box a:focus::after,
.bnr_box a:hover img,
.bnr_box a:focus img {
  opacity: 1;
}

.main_img img {
  width: 100%;
}

/* ハンバーガーメニュー　ここまで */

@media (max-width: 1080px) {

  div#mymainback {
    margin: 0 0 0rem;
  }

  div#header ul a {
    color: #4C2C11;
    font-size: 1.6rem;
    text-decoration: underline;
    background-color: transparent;
    padding: 0;
  }

  .bento {
    display: flex;
    background-color: #FFF;
    padding: 4px;
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .bento span {
    transition: all 0.6s ease-in-out;
  }

  .menu-btn:checked~.bento span:nth-of-type(2),
  .menu-btn:checked~.bento span:nth-of-type(4),
  .menu-btn:checked~.bento span:nth-of-type(6),
  .menu-btn:checked~.bento span:nth-of-type(8) {
    opacity: 0;
    transform: rotate(180deg);
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 30px;
    width: calc(100% - 60px);
    height: auto;
    background-color: rgba(255, 255, 255, 0.95);
    transform: scale(1, 0);
    transform-origin: top;
    border-radius: 1000px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }

  /* Hamburger menu button */
  .menu-btn:checked~.nav {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    padding: 40px;
  }

  div#header ul {
    justify-content: flex-start;
    gap: 1rem 2rem;
  }

  /* Hamburger menbu text */
  .nav li {
    padding: 0;
    opacity: 0;
    transition: 0.5s;
  }

  .menu-btn:checked~.nav a,
  .menu-btn:checked~.nav li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }

  .wrap02 {
    padding: 4rem 0rem 1rem;
  }

  /*   .wrap02::before,
  .wrap02::after,
  .wrap03::after,
  .fllormap_box::before,
  .fllormap_box::after,
  .wrap05_sousyoku::before,
  .wrap06::before,
  .wrap06::after {
    content: none;
  } */

  .wrap02::before {
    width: 167px;
    height: 203px;
    background-size: contain;
    top: -30px;
    right: -30px;
  }

  .wrap02::after {
    width: 220px;
    height: 220px;
    bottom: -50px;
    left: -80px;
    z-index: 0;
    background-size: contain;
  }

  .wrap03::after {
    opacity: 0.1;
  }

  .fllormap_box::before {
    width: 200px;
    height: 266px;
    background-size: contain;
    top: 0;
    left: -70px;
    z-index: -1;
    opacity: 0.5;
  }

  .fllormap_box::after {
    width: 150px;
    height: 161px;
    background-size: contain;
    bottom: -110px;
    right: -80px;
    z-index: -1;
    opacity: 0.3;
    top: auto;
  }

  .wrap05_sousyoku::before {
    width: 58px;
    height: 64px;
    bottom: -75px;
    left: 0;
  }

  .wrap06::after {
    width: 250px;
    height: 343px;
    background-size: contain;
    top: -150px;
    right: -70px;
  }

  .wrap06::before {
    width: 300px;
    height: 300px;
    background-size: contain;
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  .shisetsu_box::before {
    width: 100px;
    height: 124px;
    top: -20px;
    left: 80px;
  }

  .shisetsu_box,
  .shisetsu_bnr,
  .naikan {
    margin: 0 auto 6rem;
  }

  .news_box::after {
    width: 49px;
    height: 49px;
    bottom: 10px;
    right: 30px;
  }

  .news_box {
    margin: 0 auto 5rem;
  }

  .calendar_box {
    gap: 0;
  }

  .wrap03 {
    padding: 5rem 2rem 8rem;
  }

  .calendar_box {
    margin: 0 auto 4rem;
  }

  .tuushin p {
    font-size: 1.6rem;
  }

  .tuushin {
    margin-bottom: 7rem;
  }

  .slide-item img {
    width: 250px;
  }

  .wrap04 {
    padding-bottom: 6rem;
  }

  .wrap05 {
    padding: 10rem 1rem 18rem;
  }

  .wrap06 {
    padding: 0rem 2rem 5rem;
  }

  div#main_body {
    padding: 2rem 1rem;
  }

  #main_body .toc_link_wrap {
    display: none;
  }

  .wrap07 ul {
    gap: 2rem;
  }

  .wrap07 ul li {
    width: calc(100% / 3 - 1.4rem);
  }

  .wrap07 {
    padding: 5rem 2rem 4rem;
  }

  .footer_menu ul {
    gap: 1.5rem 3.5rem;
    flex-direction: row;
  }

  .footer_menu a {
    font-size: 1.6rem;
  }

  div#footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer_right {
    max-width: none;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer_right>div:last-child {
    flex-direction: row;
    width: 100%;
    max-width: 420px;
    flex-wrap: wrap;
    justify-content: center;
  }

  div#footer .footer_right>div:last-child a {
    max-width: 200px;
  }

  div#main_body>img {
    margin: 0 auto 1rem;
  }

  div#header {
    justify-content: center;
  }

  .footer_menu {
    display: none;
  }
}

@media (max-width: 767px) {
  .main_img>img {
    width: 100% !important;
    height: 100dvh !important;
    object-fit: cover;
    object-position: center center;
    vertical-align: top;
  }

  .text {
    right: 0;
    width: 100%;
    max-width: 400px;
    left: 0;
    margin: 0 auto;
  }

  .wrap01::before {
    width: 300px;
    height: 300px;
  }

  div#header {
    padding: 0;
  }

  div#header a img {
    max-width: 230px;
  }

  .shisetsu_box,
  .news_box {
    background-size: 150% 100%;
    padding: 4rem 2rem;
  }

  .shisetsu_box::before {
    width: 70px;
    height: 87px;
    top: -20px;
    left: 20px;
  }

  .wrap05 {
    padding: 7rem 1rem 13rem;
  }

  .wrap07 ul {
    gap: 1rem;
  }

  .wrap07 ul li {
    width: calc(50% - 0.5rem);
  }

  div#footer_wrap {
    gap: 2rem;
  }

  .footer_left {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer_left a img {
    max-width: 250px;
  }

  #toTopBtn img {
    width: 60px;
  }

  .footer_menu ul {
    gap: 1.5rem;
  }

  .news_box::after {
    bottom: -17px;
    right: 10px;
  }
}

@media (max-width: 580px) {
  .nav {
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 308px;
    height: 308px;
  }

  .nav li {
    width: 100%;
    text-align: center;
  }

  .shisetsu_box,
  .news_box {
    background-size: 300% 100%;
  }

  .shisetsu_box p br {
    display: none;
  }

  .naikan img {
    width: calc(100% / 3 - 1rem);
  }

  .slide-item img {
    width: 190px;
  }

  .slide-item {
    margin-right: 1rem;
    font-size: 1.6rem;
  }

  .mugen-track {
    animation: marquee 30s linear infinite;
  }

  .wrap05 {
    padding: 5rem 1rem 8rem;
  }

  .access_box strong {
    font-size: 1.6rem;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .wrap07 {
    padding: 3rem 2rem 2rem;
  }

  .footer_menu ul {
    gap: 1rem;
  }

  .shisetsu_box p,
  .article_title a {
    font-size: 1.6rem;
  }

  .detail_free {
    overflow-y: scroll;
    height: 500px;
  }
}

#footstep_wrap {
  display: none;
}

body>div:not(.tpl_top_index) div#mymainback_bg {
  background-color: #FFF;
  padding: 0;
}

body>div:not(.tpl_top_index) div#mymainback {
  max-width: none;
  padding: 0;
  justify-content: center;
}

.keep_page_wrap {
  top: 124px;
}

#toTopBtn {
  bottom: 60px;
}

div#pankuzu_wrap {
  display: none;
}

body>div:not(.tpl_top_index) div#mymainback_bg {
  background-color: transparent;
  background-image: none;
}

body>div:not(.tpl_top_index) div#mymainback_bg:after {
  content: none;
}

a img {
  display: block;
}

img {
  vertical-align: middle;
}

div#header {
  display: flex;
  max-width: 1500px;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#header h1 {
  margin: 0;
}

div#header ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 2rem 2.4rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

div#header ul a {
  color: #FFF;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  background-color: #4C2C11;
  padding: 0.5rem 2rem;
  border-radius: 50px;
}

.wrap01 {
  position: relative;
}

.wrap01::before {
  content: "";
  width: 45.334%;
  height: 96.284%;
  max-width: 850px;
  max-height: 850px;
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border: 5px solid #FFF;
  display: block;
  position: absolute;
  z-index: 1;
}

.main_img {
  position: relative;
  overflow: hidden;
}

.text {
  position: absolute;
  bottom: 14%;
  right: 7%;
  width: 41%;
}

.main_img::after {
  content: "";
  background-image: url(/img/mokkuru/img_slide_bot.png);
  width: 101%;
  aspect-ratio: 1920 / 272;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -1.5px;
  left: -0.5%;
  z-index: 0;
}

.shisetsu_box {
  position: relative;
  max-width: 825px;
  width: 100%;
  margin: 0 auto 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  background-image: url(/img/mokkuru/bg_shisetsu.png);
  padding: 4rem;
  text-align: center;
  line-height: 1.7;
}

.shisetsu_box::before {
  content: "";
  background-image: url(/img/mokkuru/img_shisetsu.png);
  width: 178px;
  height: 221px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: -80px;
  z-index: 0;
}

.shisetsu_box p {
  margin: 0;
  font-size: 2rem;
}

.wrap02 {
  background-color: #FBF7F2;
  padding: 8rem 2rem 1rem;
  position: relative;
}

.wrap02::before {
  content: "";
  background-image: url(/img/mokkuru/img_haguruma01.png);
  width: 777px;
  height: 1347px;
  background-repeat: no-repeat;
  background-size: 1109px 1347px;
  background-position: top 0 left 0;
  position: absolute;
  top: -70px;
  right: 0;
}

.wrap02::after {
  content: "";
  background-image: url(/img/mokkuru/img_haguruma02.png);
  width: 498px;
  height: 698px;
  background-repeat: no-repeat;
  background-size: 698px 698px;
  background-position: top 0 right 0;
  position: absolute;
  bottom: -140px;
  left: 0;
  transform: translateY(50%);
}

.shisetsu_bnr {
  max-width: 1140px;
  display: flex;
  justify-content: center;
  margin: 0 auto 12rem;
  position: relative;
  flex-wrap: wrap;
  gap: 2rem 6rem;
  padding: 0 2rem;
}

.naikan_box {
  position: relative;
}

.naikan_box::before {
  content: "";
  background-color: #F5EDE1;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  position: absolute;
  top: 30px;
  left: -180px;
}

.naikan {
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto 12rem;
  position: relative;
  padding: 0 2rem;
}

.naikan img {
  width: calc(100% / 3 - 3rem);
}

.news_box {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 10rem;
  padding: 6rem;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  background-image: url(/img/mokkuru/bg_news.png);
  z-index: 1;
}

.news_box::after {
  content: "";
  background-image: url(/img/mokkuru/img_oshirase.png);
  width: 98px;
  height: 98px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: 0;
  right: 0;
}

.section_information {
  border: none;
  background: none;
  margin: 0;
}

.section_information h2 {
  background: none;
  width: fit-content;
  margin: 0 auto 2rem;
  padding: 0;
}

.section_information_list ul {
  padding: 0;
}

.section_information_list ul li {
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border: none;
  padding: 16px 0px 17px;
}

.section_information_list ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-image: radial-gradient(circle, #DEC18C 1.5px, transparent 2px);
  background-size: 12px 3px;
  background-repeat: repeat-x;
}

.article_title a {
  text-decoration: none;
}

.section_information div.link_box {
  gap: 2rem 5rem;
  justify-content: center;
  padding: 0rem;
  margin-top: 4rem;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
}

.section_information .link_box span[class*="link_"] {
  max-width: 330px;
  width: 100%;
  margin: 0;
  display: inline-block;
  vertical-align: top;
}

.section_information div.link_box span a,
.section_information div.link_box span.link_ichiran a {
  background-color: #527634;
  font-weight: 600;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  color: #FFF;
  font-size: 1.6rem;
  position: relative;
  display: block;
  border: none;
  line-height: 2rem;
  text-decoration: none;
  margin: 0px;
  text-align: center;
}

.section_information div.link_box span.link_ichiran a:after {
  content: "";
  width: 20px;
  height: 13px;
  background-color: transparent;
  background-image: url(/img/mokkuru/white_arrow.png);
  background-size: 20px 13px;
  background-position: center;
  right: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.section_information div.link_box span.link_ichiran.link_ichiran2 a {
  background-color: #8E6E4A;
}

.wrap03 {
  position: relative;
  padding: 10rem 2rem 16rem;
}

.wrap03::before {
  content: "";
  background-image: url(/img/mokkuru/bg_calendar_top.png);
  width: 100%;
  aspect-ratio: 1920 / 295;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0px;
  left: 0;
  z-index: -1;
}

.wrap03::after {
  content: "";
  background-image: url(/img/mokkuru/img_circle01.png);
  width: 567px;
  height: 816px;
  background-repeat: no-repeat;
  background-size: 667px 816px;
  background-position: top 0 left 0;
  position: absolute;
  top: 160px;
  right: 0;
  z-index: -1;
}

*::before,
*::after {
  pointer-events: none;
}

.calendar_box {
  max-width: 1100px;
  margin: 0 auto 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.tuushin {
  text-align: center;
  margin-bottom: 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tuushin p {
  font-size: 1.8rem;
  margin-top: 1rem;
}

.fllormap_box {
  text-align: center;
  position: relative;
  z-index: 0;
}

.fllormap_box::before {
  content: "";
  background-image: url(/img/mokkuru/img_haguruma03.png);
  width: 410px;
  height: 679px;
  background-repeat: no-repeat;
  background-size: 510px 679px;
  background-position: top 0 right 0;
  position: absolute;
  top: -150px;
  left: -20px;
  z-index: -1;
}

.fllormap_box::after {
  content: "";
  background-image: url(/img/mokkuru/img_circle02.png);
  width: 321px;
  height: 569px;
  background-repeat: no-repeat;
  background-size: 531px 569px;
  background-position: top 0 left 0;
  position: absolute;
  top: 180px;
  right: -20px;
  z-index: -1;
}

.wrap04 {
  background: linear-gradient(to bottom, #FFF 0%, #FFF 35%, #FBF7F2 35%, #FBF7F2 100%);
  padding-bottom: 12rem;
}

.mugen-marquee {
  overflow: hidden;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mugen-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.slide-item {
  gap: 1.5rem;
  flex-shrink: 0;
  margin-right: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  font-size: 2rem;
  font-weight: 600;
  background-color: #FFF;
  padding: 1.5rem 1.5rem 2.7rem 1.5rem;
  box-shadow: 0 0 10px rgb(0, 0, 0, 0.15);
  border-radius: 10px 10px 0 0;
  position: relative;
}

.slide-item::after {
  content: "";
  background-image: url(/img/mokkuru/slide_line.png);
  width: 100%;
  height: 13px;
  background-repeat: repeat;
  position: absolute;
  bottom: 0px;
  left: 0px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--marquee-width)));
  }
}

.mugen-marquee:hover .mugen-track {
  animation-play-state: paused;
}

.wrap05 {
  padding: 15rem 2rem 23rem;
  background-color: #FBF7F2;
  background-image: url(/img/mokkuru/bg_riyou.png);
  position: relative;
  overflow: hidden;
}

.wrap05::before {
  content: "";
  background-image: url(/img/mokkuru/bg_riyou_top.png);
  width: 100%;
  aspect-ratio: 1920 / 155;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 0;
}

.wrap05::after {
  content: "";
  background-image: url(/img/mokkuru/bg_riyou_bot.png);
  width: 101%;
  aspect-ratio: 1920 / 312;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -1.5px;
  left: -0.5%;
  z-index: 0;
}

div#main_body {
  box-shadow: none;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  border-radius: 20px;
  padding: 5rem 6rem;
  z-index: 1;
}

.detail_free {
  overflow-y: scroll;
  height: 800px;
}

div#main_body>img {
  margin: 0 auto 4rem;
  text-align: center;
}

.detail_free {
  text-align: left;
}

.wrap05_sousyoku {
  position: relative;
}

.wrap05_sousyoku::before {
  content: "";
  background-image: url(/img/mokkuru/img_riyou_left.png);
  width: 351px;
  height: 385px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -220px;
  left: 50px;
  z-index: 1;
}

.wrap06 {
  background-color: #FBF7F2;
  padding: 4rem 2rem 8rem;
  position: relative;
  z-index: 0;
}

.wrap06::before {
  content: "";
  background-image: url(/img/mokkuru/img_access_left.png);
  width: 707px;
  height: 637px;
  background-repeat: no-repeat;
  background-size: 867px 867px;
  background-position: top 0 right 0;
  position: absolute;
  bottom: 0;
  left: 0;
}

.wrap06::after {
  content: "";
  background-image: url(/img/mokkuru/img_access_right.png);
  width: 663px;
  height: 1048px;
  background-repeat: no-repeat;
  background-size: 763px 1048px;
  background-position: top 0 left 0;
  position: absolute;
  top: -250px;
  right: 0;
  z-index: -1;
}

.access_box {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.access_box strong {
  color: #4C2C11;
  font-size: 2rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.access_box strong::before,
.access_box strong::after {
  content: "";
  background-image: url(/img/mokkuru/img_sun.png);
  width: 34px;
  height: 34px;
  background-repeat: no-repeat;
  background-size: contain;
}

.map-frame {
  position: relative;
  width: 100%;
  max-width: 866px;
  aspect-ratio: 866 / 583;
  /* 比率固定 */
}

/* 地図（内側） */
.map-frame iframe {
  position: absolute;
  top: 4.632%;
  left: 3.118%;
  right: 3.118%;
  bottom: 4.632%;
  width: 94%;
  height: 90.5%;
}

/* フレーム画像（上にかぶせる） */
.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/img/mokkuru/img_map-1.png) no-repeat center center;
  background-size: 100% 100%;
  pointer-events: none;
}

.wrap07 {
  position: relative;
  padding: 7rem 2rem 6rem;
  background-image: url(/img/mokkuru/bg_bnr.png);
  background-size: 485px 485px;
}

.wrap07::before {
  content: "";
  background-image: url(/img/mokkuru/bg_bnr-1.png);
  width: 100%;
  height: 30px;
  position: absolute;
  left: 0;
  top: 0px;
  transform: translateY(-50%);
}

.wrap07 ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 4rem 6rem;
}

.wrap07 ul li {
  width: calc(100% / 3 - 4rem);
}

#main #main_body div[class*="detail_"] {
  padding-right: 1rem;
  background: linear-gradient(white 30%, transparent), linear-gradient(transparent, white 70%) 0 100%, linear-gradient(rgba(0, 0, 0, 0.1) 15%, transparent), linear-gradient(transparent, rgba(0, 0, 0, 0.1) 85%) 0 100%;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-repeat: no-repeat;
  background-color: white;
  background-attachment: local, local, scroll, scroll;
}

#toTopBtn:hover {
  transform: none;
  animation: none;
}

#toTopBtn {
  bottom: 10px;
  right: 10px;
}

#toTopBtn img {
  width: 80px;
  display: block;
}

.copyright {
  text-align: center;
  padding: 0 0 1rem;
  color: #FFF;
}

div#footer_wrap {
  padding: 3rem 2rem 0;
  border-bottom: none;
  background-image: url(/img/mokkuru/bg_footer.png);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

div#footer {
  display: flex;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
  gap: 1rem 4rem;
  flex-wrap: wrap;
}

div#footer a {
  background-color: #FFFFFF;
  border: 3px solid #12A771;
  padding: 1rem;
  max-width: 260px;
  width: 100%;
  text-align: center;
  color: #505050;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 50px;
}

div#footer a:nth-child(2) {
  background-color: #12A771;
  color: #FFFFFF;
}

.footer_menu {
  max-width: 1100px;
}

.footer_menu ul {
  margin: 0;
  gap: 2rem 5.5rem;
  list-style: none;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.footer_menu ul li {
  width: auto;
  max-width: none;
}

.footer_menu a {
  background-color: transparent;
  border: none;
  padding: 0;
  color: #FFF;
  font-weight: 600;
  border-radius: 0;
  font-size: 2rem;
  position: relative;
  transition: none;
}

.footer_menu a:after {
  content: none;
}

.footer_menu a:hover {
  background-color: transparent;
  border: none;
  padding: 0;
  color: #FFF;
  font-weight: 600;
  border-radius: 0;
  font-size: 2rem;
  position: relative;
  transition: none;
}

div#footer a {
  background-color: transparent;
  border: none;
  padding: 0;
  max-width: none;
  text-align: left;
  color: #FFF;
  font-size: 1.6rem;
  width: auto;
}

div#footer a:nth-child(2) {
  background-color: transparent;
}

.footer_left {
  display: flex;
  justify-content: flex-start;
  gap: 4rem;
  align-items: flex-end;
  max-width: 706px;
  width: 100%;
}

.footer_left span {
  color: #FFF;
  font-weight: 600;
}

.footer_right {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  width: 100%;
  max-width: 300px;
}

.footer_right>div:first-child {
  display: flex;
  gap: 2rem;
}

.footer_right>div:last-child {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 186px;
  gap: 1.5rem;
  align-items: center;
}

div#footer .footer_right>div:last-child a {
  background-color: #FFF;
  color: #4C2C11;
  padding: 1rem 2rem;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

div#footer .footer_right>div:last-child a:first-child::before {
  content: url(/img/mokkuru/ic_mail.png);
  width: 21px;
  height: 17px;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
}

/* ハンバーガーメニュー　ここから */
.bento {
  width: 40px;
  height: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  display: none;
}

.bento-box {
  display: block;
  width: 8px;
  height: 8px;
  background: #4C2C11;
  border-radius: 20px;
}

/* リセットCSS */
.button {
  border-color: transparent;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.menu-btn {
  display: none;
}

.nav {
  transform: scale(1, 1);
  transform-origin: top;

  /* デフォルト：アニメなし */
  transition: none;
}

.nav.is-animate {
  /* 押したときだけアニメON */
  transition: transform 0.32s cubic-bezier(0.04, 0.04, 0.12, 0.96);
}

.nav.is-close {
  transform: scale(1, 0);
}

.calendar_wrap {
  position: relative;
  width: 100%;
  padding-top: 75%;
  /* 高さ比率（4:3なら75%） */
}

.calendar_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#main_body h2 {
  padding: 1rem 2rem 1rem 3rem;
}

#main_body h2:after {
  width: 55px;
}

#main_body h3 {
  padding: 6px 0px;
}

.bnr_box a {
  position: relative;
  display: inline-block;
}

.bnr_box a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}

.bnr_box a:hover::after,
.bnr_box a:focus::after,
.bnr_box a:hover img,
.bnr_box a:focus img {
  opacity: 1;
}

.main_img img {
  width: 100%;
}

/* ハンバーガーメニュー　ここまで */

@media (max-width: 1080px) {

  div#mymainback {
    margin: 0 0 0rem;
  }

  div#header ul a {
    color: #4C2C11;
    font-size: 1.6rem;
    text-decoration: underline;
    background-color: transparent;
    padding: 0;
  }

  .bento {
    display: flex;
    background-color: #FFF;
    padding: 4px;
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .bento span {
    transition: all 0.6s ease-in-out;
  }

  .menu-btn:checked~.bento span:nth-of-type(2),
  .menu-btn:checked~.bento span:nth-of-type(4),
  .menu-btn:checked~.bento span:nth-of-type(6),
  .menu-btn:checked~.bento span:nth-of-type(8) {
    opacity: 0;
    transform: rotate(180deg);
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 30px;
    width: calc(100% - 60px);
    height: auto;
    background-color: rgba(255, 255, 255, 0.95);
    transform: scale(1, 0);
    transform-origin: top;
    border-radius: 1000px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }

  /* Hamburger menu button */
  .menu-btn:checked~.nav {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    padding: 40px;
  }

  div#header ul {
    justify-content: flex-start;
    gap: 1rem 2rem;
  }

  /* Hamburger menbu text */
  .nav li {
    padding: 0;
    opacity: 0;
    transition: 0.5s;
  }

  .menu-btn:checked~.nav a,
  .menu-btn:checked~.nav li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }

  .wrap02 {
    padding: 4rem 0rem 1rem;
  }

  /*   .wrap02::before,
  .wrap02::after,
  .wrap03::after,
  .fllormap_box::before,
  .fllormap_box::after,
  .wrap05_sousyoku::before,
  .wrap06::before,
  .wrap06::after {
    content: none;
  } */

  .wrap02::before {
    width: 167px;
    height: 203px;
    background-size: contain;
    top: -30px;
    right: -30px;
  }

  .wrap02::after {
    width: 220px;
    height: 220px;
    bottom: -50px;
    left: -80px;
    z-index: 0;
    background-size: contain;
  }

  .wrap03::after {
    opacity: 0.1;
  }

  .fllormap_box::before {
    width: 200px;
    height: 266px;
    background-size: contain;
    top: 0;
    left: -70px;
    z-index: -1;
    opacity: 0.5;
  }

  .fllormap_box::after {
    width: 150px;
    height: 161px;
    background-size: contain;
    bottom: -110px;
    right: -80px;
    z-index: -1;
    opacity: 0.3;
    top: auto;
  }

  .wrap05_sousyoku::before {
    width: 58px;
    height: 64px;
    bottom: -75px;
    left: 0;
  }

  .wrap06::after {
    width: 250px;
    height: 343px;
    background-size: contain;
    top: -150px;
    right: -70px;
  }

  .wrap06::before {
    width: 300px;
    height: 300px;
    background-size: contain;
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  .shisetsu_box::before {
    width: 100px;
    height: 124px;
    top: -20px;
    left: 80px;
  }

  .shisetsu_box,
  .shisetsu_bnr,
  .naikan {
    margin: 0 auto 6rem;
  }

  .news_box::after {
    width: 49px;
    height: 49px;
    bottom: 10px;
    right: 30px;
  }

  .news_box {
    margin: 0 auto 5rem;
  }

  .calendar_box {
    gap: 0;
  }

  .wrap03 {
    padding: 5rem 2rem 8rem;
  }

  .calendar_box {
    margin: 0 auto 4rem;
  }

  .tuushin p {
    font-size: 1.6rem;
  }

  .tuushin {
    margin-bottom: 7rem;
  }

  .slide-item img {
    width: 250px;
  }

  .wrap04 {
    padding-bottom: 6rem;
  }

  .wrap05 {
    padding: 10rem 1rem 18rem;
  }

  .wrap06 {
    padding: 0rem 2rem 5rem;
  }

  div#main_body {
    padding: 2rem 1rem;
  }

  #main_body .toc_link_wrap {
    display: none;
  }

  .wrap07 ul {
    gap: 2rem;
  }

  .wrap07 ul li {
    width: calc(100% / 3 - 1.4rem);
  }

  .wrap07 {
    padding: 5rem 2rem 4rem;
  }

  .footer_menu ul {
    gap: 1.5rem 3.5rem;
    flex-direction: row;
  }

  .footer_menu a {
    font-size: 1.6rem;
  }

  div#footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer_right {
    max-width: none;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer_right>div:last-child {
    flex-direction: row;
    width: 100%;
    max-width: 420px;
    flex-wrap: wrap;
    justify-content: center;
  }

  div#footer .footer_right>div:last-child a {
    max-width: 200px;
  }

  div#main_body>img {
    margin: 0 auto 1rem;
  }

  div#header {
    justify-content: center;
  }

  .footer_menu {
    display: none;
  }

  div#news {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .main_img>img {
    width: 100% !important;
    height: 100dvh !important;
    object-fit: cover;
    object-position: center center;
    vertical-align: top;
  }

  .text {
    right: 0;
    width: 100%;
    max-width: 400px;
    left: 0;
    margin: 0 auto;
  }

  .wrap01::before {
    width: 300px;
    height: 300px;
  }

  div#header {
    padding: 0;
  }

  div#header a img {
    max-width: 230px;
  }

  .shisetsu_box,
  .news_box {
    background-size: 150% 100%;
    padding: 4rem 2rem;
  }

  .shisetsu_box::before {
    width: 70px;
    height: 87px;
    top: -20px;
    left: 20px;
  }

  .wrap05 {
    padding: 7rem 1rem 13rem;
  }

  .wrap07 ul {
    gap: 1rem;
  }

  .wrap07 ul li {
    width: calc(50% - 0.5rem);
  }

  div#footer_wrap {
    gap: 2rem;
  }

  .footer_left {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer_left a img {
    max-width: 250px;
  }

  #toTopBtn img {
    width: 60px;
  }

  .footer_menu ul {
    gap: 1.5rem;
  }

  .news_box::after {
    bottom: -17px;
    right: 10px;
  }
}

@media (max-width: 580px) {
  .nav {
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 308px;
    height: 308px;
  }

  .nav li {
    width: 100%;
    text-align: center;
  }

  .shisetsu_box,
  .news_box {
    background-size: 300% 100%;
  }

  .shisetsu_box p br {
    display: none;
  }

  .naikan img {
    width: calc(100% / 3 - 1rem);
  }

  .slide-item img {
    width: 190px;
  }

  .slide-item {
    margin-right: 1rem;
    font-size: 1.6rem;
  }

  .mugen-track {
    animation: marquee 30s linear infinite;
  }

  .wrap05 {
    padding: 5rem 1rem 8rem;
  }

  .access_box strong {
    font-size: 1.6rem;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .wrap07 {
    padding: 3rem 2rem 2rem;
  }

  .footer_menu ul {
    gap: 1rem;
  }

  .shisetsu_box p,
  .article_title a {
    font-size: 1.6rem;
  }

  .detail_free {
    overflow-y: scroll;
    height: 500px;
  }
}