@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
.sec > .wp-block-group__inner-container {
  max-width: 1200px;
  margin: auto;
}

.sec > .wp-block-group__inner-container {
  position: relative;
}
@media screen and (max-width: 768px) {
  .sec > .wp-block-group__inner-container figure {
    width: 100%;
  }
}

.normal-linkbutton .wp-block-button__link {
  color: inherit;
  background-color: initial;
  border-radius: 9999px;
  padding: initial;
  font-size: initial;
}

.wp-block-media-text__media > img {
  max-width: 100%;
  -o-object-fit: scale-down;
     object-fit: scale-down;
}

.is-layout-flex > :is(*, div) {
  margin: initial;
}

/* レイアウト */
body {
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.wrap {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  container-type: inline-size;
}
@media print, screen and (min-width: 769px) {
  .wrap {
    background: url(../images/header_bg_pc.png) no-repeat top center;
  }
}
@media screen and (max-width: 768px) {
  .wrap {
    position: relative;
  }
  .wrap:after {
    content: "";
    width: 100vw;
    height: 465px;
    background: url(../images/header_bg_sp.png) no-repeat top center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: -1;
  }
}

.layout-body {
  flex-grow: 1;
}

.layout-header ul,
.layout-header dl,
.layout-header ol,
.layout-footer ul,
.layout-footer dl,
.layout-footer ol {
  padding-left: 0;
}

li.menu-item {
  list-style: none;
}

.ContentOver-box {
  padding: 2rem 0;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.innerbox {
  max-width: 1200px;
  width: 100%;
  padding-inline: 50px;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .layout-header > .innerbox,
.layout-footer > .innerbox {
    padding-left: 2%;
    padding-right: 2%;
  }
}
.anker-top {
  padding-top: 100px;
  margin-top: -10px;
}

@media print, screen and (min-width: 769px) {
  .sp_disp {
    display: none !important;
  }
}

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

.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-sp {
    display: block;
  }
}
.sp_img figure {
  width: 100%;
}
.sp_img img {
  min-width: 100%;
  max-width: 100%;
}

figure.sp_img {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
figure.sp_img img {
  max-width: 100%;
  -o-object-fit: scale-down;
     object-fit: scale-down;
}

.is-layout-flex > *.boxcenter {
  margin: auto;
}

.layout-header {
  display: grid;
  z-index: 1000;
}
.layout-header .innerbox {
  position: relative;
}
.layout-header .sidemenu-wrapper {
  position: absolute;
  top: 0;
}

.global-nav {
  margin-block: auto;
  margin-inline: 0 auto;
}

@media print, screen and (min-width: 769px) {
  .layout-header .innerbox {
    height: 432px;
  }
  .globalmenu-wrapper {
    width: 63.3333333333%;
  }
  #logo {
    display: flex;
    align-items: center;
    margin-top: 2.5em;
    -webkit-margin-after: 0.5em;
            margin-block-end: 0.5em;
  }
  #logo a {
    display: block;
    margin: auto;
    margin-left: 0;
  }
  .global-nav {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    min-width: 400px;
    -webkit-margin-before: 2em;
            margin-block-start: 2em;
  }
  .page-name {
    position: relative;
    z-index: 0;
    font-family: "Kiwi Maru";
    color: #8c6239;
    font-weight: 500;
    -webkit-margin-after: 2em;
            margin-block-end: 2em;
  }
}
@media screen and (max-width: 768px) {
  .layout-header .innerbox {
    height: 465px;
    display: flex;
    flex-direction: column;
  }
  .globalmenu-wrapper {
    -webkit-margin-before: auto;
            margin-block-start: auto;
    -webkit-margin-after: 45px;
            margin-block-end: 45px;
  }
  #logo {
    margin-block: 0.5em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
.layout-body:not(:has(> .container-home)) {
  padding-bottom: 1rem;
}
@media print, screen and (min-width: 769px) {
  .layout-body .sec,
.layout-body .contentsblock {
    margin-block: 0rem 8rem;
    margin-inline: auto;
  }
}
@media screen and (max-width: 768px) {
  .layout-body .content {
    padding-top: 8rem;
  }
  .layout-body > .innerbox {
    padding-inline: 2%;
    padding-top: 3em;
    position: relative;
  }
  .layout-body .sec,
.layout-body .contentsblock {
    margin-block: 0rem 3rem;
    margin-inline: auto;
  }
  .layout-body .sec:last-child,
.layout-body .contentsblock:last-child {
    margin-bottom: 0;
  }
}

.page-content {
  min-height: 300px;
}

.layout-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: clamp(14px, 1.8vw, 18px);
  background-color: #6b9cdf;
  position: relative;
  -webkit-padding-before: 1rem;
          padding-block-start: 1rem;
  -webkit-padding-after: 2rem;
          padding-block-end: 2rem;
  color: #fff;
}
.layout-footer .sitename {
  font-family: "Kiwi Maru", serif;
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 24px);
  text-align: center;
  margin-bottom: 0.3em;
}
.layout-footer .tel {
  text-decoration: none;
  color: currentColor;
}
@media print, screen and (min-width: 769px) {
  .layout-footer > .innerbox {
    align-items: center;
  }
  .layout-footer .contact {
    display: flex;
    margin: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  .layout-footer .contact > div {
    margin-inline: 0.5em;
  }
}
@media screen and (max-width: 768px) {
  .layout-footer > .innerbox {
    justify-content: space-around;
    flex-direction: column;
  }
  .layout-footer .sitename {
    margin-bottom: 0.5em;
  }
  .layout-footer .contact {
    display: flex;
    flex-wrap: wrap;
  }
  .layout-footer .contact > .add {
    width: 100%;
  }
  .layout-footer .contact .tel,
.layout-footer .contact .fax {
    letter-spacing: 4px;
  }
  .layout-footer .contact .fax:before {
    content: " / ";
    padding-inline: 1em;
  }
}

.copyright {
  display: block;
  padding: 0.5% 0;
  text-align: center;
  background-color: #6b9cdf;
  color: #fff;
}

#nav ul {
  margin: 0;
}
#nav li a {
  display: block;
  color: #42210b;
  position: relative;
  text-decoration: none;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(20px, 1.8vw, 22px);
  font-weight: 600;
}

@media only screen and (max-width: 768px) {
  .global-nav {
    width: 52%;
    max-width: 245px;
  }
  #nav li {
    margin-bottom: 0.3em;
    max-height: 46px;
    aspect-ratio: 9/2;
  }
  #nav li a {
    aspect-ratio: 9/2;
  }
}
@media print, screen and (min-width: 769px) {
  #menu_btn,
.overlay {
    display: none;
  }
  #nav ul {
    display: flex;
    justify-content: space-around;
  }
  #nav li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 16.6666666667%;
    padding: 0 1%;
  }
  #nav .menu-item-has-children > a {
    padding-right: 40px;
  }
  #nav .menu-item-has-children > a.open:first-of-type,
#nav .current-menu-item a {
    color: #303030;
  }
  #nav li ul.sub-menu {
    flex-direction: column;
    position: absolute;
    width: 200px;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    padding: 10px 0;
  }
  #nav li ul.sub-menu li {
    width: 100%;
  }
  #nav li ul.sub-menu li a {
    line-height: 1.6em;
    color: #303030;
    padding: 10px 20px;
  }
  #nav li ul.sub-menu li a:hover {
    color: #4a4a4a;
  }
}
@media print, screen and (min-width: 769px) {
  .menu-item.admission > a {
    aspect-ratio: 1/1;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 88px;
    background: url("../images/globalNav/menu-admission_pc.png") no-repeat top center;
    background-size: contain;
  }
  .menu-item.event > a {
    aspect-ratio: 1/1;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 88px;
    background: url("../images/globalNav/menu-event_pc.png") no-repeat top center;
    background-size: contain;
  }
  .menu-item.timetable > a {
    aspect-ratio: 1/1;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 88px;
    background: url("../images/globalNav/menu-timetable_pc.png") no-repeat top center;
    background-size: contain;
  }
  .menu-item.support > a {
    aspect-ratio: 1/1;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 88px;
    background: url("../images/globalNav/menu-support_pc.png") no-repeat top center;
    background-size: contain;
  }
  .menu-item.nikoniko > a {
    aspect-ratio: 1/1;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 88px;
    background: url("../images/globalNav/menu-nikoniko_pc.png") no-repeat top center;
    background-size: contain;
  }
  .menu-item.mori > a {
    aspect-ratio: 1/1;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 88px;
    background: url("../images/globalNav/menu-mori_pc.png") no-repeat top center;
    background-size: contain;
  }
  .menu-item.temporary > a {
    aspect-ratio: 1/1;
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 88px;
    background: url("../images/globalNav/menu-temporary_pc.png") no-repeat top center;
    background-size: contain;
  }
}
@media screen and (max-width: 768px) {
  .menu-item.admission > a {
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: url("../images/globalNav/menu-admission_sp.png") no-repeat center center;
    background-size: contain;
  }
  .menu-item.event > a {
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: url("../images/globalNav/menu-event_sp.png") no-repeat center center;
    background-size: contain;
  }
  .menu-item.timetable > a {
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: url("../images/globalNav/menu-timetable_sp.png") no-repeat center center;
    background-size: contain;
  }
  .menu-item.support > a {
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: url("../images/globalNav/menu-support_sp.png") no-repeat center center;
    background-size: contain;
  }
  .menu-item.nikoniko > a {
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: url("../images/globalNav/menu-nikoniko_sp.png") no-repeat center center;
    background-size: contain;
  }
  .menu-item.mori > a {
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: url("../images/globalNav/menu-mori_sp.png") no-repeat center center;
    background-size: contain;
  }
  .menu-item.temporary > a {
    display: block;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: url("../images/globalNav/menu-temporary_sp.png") no-repeat center center;
    background-size: contain;
  }
  .menu-item.intro > a {
    background-size: contain;
  }
  .menu-item.contact > a {
    aspect-ratio: 31/18;
  }
}
/* -----------------------*/
/* -----------------------*/
#side-menu {
  display: none;
}

.sidemenu-wrapper {
  background-color: #fff;
}
.sidemenu-wrapper:after {
  position: absolute;
  top: 99%;
  right: 0;
  content: "";
  display: block;
  aspect-ratio: 9/2;
  width: 100%;
}
.sidemenu-wrapper #sidemenu-trigger {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background: url("../images/globalNav/sidemenu_sitelogo_pc.png") no-repeat center center;
  padding-block: 1.2em;
  width: 100%;
  cursor: pointer;
}

#side-menu {
  padding: 0.5em;
  text-align: center;
  font-family: "Kiwi Maru";
  font-size: clamp(16px, 1.8vw, 18px);
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  margin: auto;
}
#side-menu a {
  text-decoration: none;
  color: #303030;
}
#side-menu ul {
  margin-top: 0;
}
#side-menu .menu-item {
  margin-block: 0.5em;
}
#side-menu .contact {
  white-space: nowrap;
  overflow: hidden;
  background: url("../images/globalNav/sidemenu_contact_pc.png") no-repeat center center;
  background-size: contain;
  aspect-ratio: 21/13;
  width: 70%;
  margin-inline: auto;
}
#side-menu .contact a {
  text-indent: 100%;
  display: block;
}

.sidemenu-wrapper {
  width: 12%;
  min-width: 144px;
}
.sidemenu-wrapper:after {
  background: url("../images/globalNav/sidemenu-bgoff-bottom_pc.png") no-repeat top center;
  background-size: contain;
}
.sidemenu-wrapper:after:has(.is-open) {
  background: url("../images/globalNav/sidemenu-bg-bottom_pc.png") no-repeat center center;
  background-size: contain;
  background-color: #ccc;
}

@media print, screen and (min-width: 769px) {
  .sidemenu-wrapper {
    right: 0.5%;
  }
}
@media screen and (max-width: 768px) {
  .sidemenu-wrapper {
    right: 2%;
  }
}
/* -----------------------*/
/* ページ上部へ戻る */
/* -----------------------*/
@media screen and (min-width: 769px) {
  div.tothetop {
    position: fixed;
    right: 2%;
    bottom: 0%;
    z-index: 1500;
  }
  div.tothetop a {
    display: block;
    margin: 0;
    background: url(../images/scrolltop_pc.png) no-repeat center center;
    aspect-ratio: 1/1;
    width: 65px;
    text-indent: -9999px;
    overflow: hidden;
    opacity: 0.3;
  }
  div.tothetop a:hover {
    opacity: 1;
  }
}
@media screen and (max-width: 768px) {
  div.tothetop {
    position: fixed;
    right: 2%;
    bottom: 1%;
    z-index: 1500;
  }
  div.tothetop a {
    display: block;
    margin: 0;
    background: url(../images/scrolltop_pc.png) no-repeat center center;
    aspect-ratio: 1/1;
    width: 50px;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
    opacity: 0.3;
  }
  div.tothetop a:hover {
    opacity: 1;
  }
}