@charset "UTF-8";
/* 使用フォント */
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap");
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }
}

/* 共通 */
@media screen and (max-width: 768px) {
  .sp_img figure {
    width: 100%;
  }
  .sp_img img {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
}

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

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

.no-disp {
  display: none;
}

.layout-block.is-layout-flex {
  display: initial;
}

/* レイアウト */
body {
  display: grid;
  grid-template-rows: -webkit-min-content 1fr -webkit-min-content;
  grid-template-rows: min-content 1fr min-content;
}

#layout-header,
#layout-body,
#layout-footer {
  width: 100%;
}
@media screen and (max-width: 768px) {
  #layout-header,
#layout-body,
#layout-footer {
    max-width: 100vw;
  }
}

#layout-header .container,
#layout-footer .container {
  width: 100%;
  min-width: 350px;
}

@media screen and (max-width: 768px) {
  .container {
    padding-inline: 2%;
  }
}
@media print, screen and (min-width: 769px) {
  .container {
    margin-inline: auto;
  }
  #layout-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-auto-rows: 65vh auto;
    gap: 2rem 0;
    padding-bottom: 3rem;
  }
  #layout-body:has(.page-top) {
    grid-auto-rows: auto auto;
  }
  #layout-body:not(:has(.page-top)) {
    grid-auto-rows: 65vh auto;
  }
  #layout-body .pagetitle-left {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  #layout-body .page-visual {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  #layout-body .sideblock {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  #layout-body .container {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  #layout-body .container {
    width: 100%;
  }
  .sideblock {
    width: 300px;
    padding-inline: 8%;
    position: relative; /* ←必要なもの */
    top: 0;
    left: 0;
    z-index: 10;
  }
  .sideblock .fixd_header {
    position: -webkit-sticky; /* ←必要なもの */
    position: sticky; /* ←必要なもの */
    top: 0;
    right: 0;
  }
  .container:not(.page-top) .mainblock {
    margin-inline: 19.0243902439%;
  }
}
@media print, screen and (min-width: 769px) {
  #layout-header .container:has(.page-2nd) {
    padding: 0.5em;
    display: flex;
    flex-basis: 300px;
  }
  #layout-header .sitename.page-2nd {
    width: 300px;
    grid-column: 1/2;
    grid-row: 1/3;
  }
  #layout-header .sitename.page-2nd img {
    width: 52.8888888889%;
    margin: auto;
  }
  #layout-header .sitelogo.page-2nd {
    grid-column: 2/3;
    grid-row: 1/2;
    width: 37.56%;
    margin: auto;
  }
  #layout-header #h-nav.page-2nd {
    grid-column: 2/3;
    grid-row: 2/3;
  }
}
@media print, screen and (min-width: 769px) {
  #layout-header .sitename {
    margin-block: 0.8%;
  }
}
@media screen and (max-width: 768px) {
  #layout-header .sitename {
    height: 100%;
    width: 100%;
    margin: 0;
  }
  #layout-header .sitename a {
    height: 100%;
    display: block;
    width: 100%;
  }
  #layout-header .sitename img,
#layout-header .sitename picture {
    height: 100%;
    -o-object-fit: fill;
       object-fit: fill;
  }
}

@media print, screen and (min-width: 769px) {
  #layout-body {
    position: relative;
  }
  #layout-body::after {
    content: "";
    display: block;
    width: 300px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #f7f7f8;
  }
  #layout-body .page-visual img:nth-of-type(1) {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  #layout-body:not(:has(.page-school_letter, .page-album)) .page-visual ~ * img {
    margin: auto;
  }
}
#layout-body .pagetitle-left {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
#layout-body .pagetitle-left img,
#layout-body .pagetitle-left picture {
  margin: 0 auto;
  height: 100%;
  -o-object-fit: scale-down;
     object-fit: scale-down;
}
@media screen and (max-width: 768px) {
  #layout-body .pagetitle-left {
    margin-bottom: 3em;
  }
  #layout-body .pagetitle-left img {
    width: 100%;
  }
}

@media print, screen and (min-width: 769px) {
  .sideblock {
    padding-top: 1em;
  }
}
.page-visual > img {
  margin-inline: auto;
}

.mainblock .block-index {
  width: 100%;
}
.mainblock .excerpt-text {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mainblock .category,
.mainblock .entry-time {
  white-space: nowrap;
}
.mainblock .entry-excerpt > a {
  display: flex;
  align-items: center;
  gap: 1em;
  font-family: "Noto Sans JP", sans-serif;
  text-decoration: none;
  color: #333;
}
@media print, screen and (min-width: 769px) {
  .mainblock .sec {
    -webkit-margin-after: 7.3181818182%;
            margin-block-end: 7.3181818182%;
  }
}
@media screen and (max-width: 768px) {
  .mainblock .sec {
    -webkit-margin-after: 16%;
            margin-block-end: 16%;
    width: 100%;
  }
}

#layout-footer {
  color: #333;
  display: flex;
  -webkit-padding-before: 2.2%;
          padding-block-start: 2.2%;
  -webkit-padding-after: 2.8%;
          padding-block-end: 2.8%;
}
#layout-footer .add {
  font-style: normal;
  font-family: "M PLUS Rounded 1c", sans-serif;
  margin-block: 0;
  font-size: clamp(13.5px, 1.04vw, 20px);
}
#layout-footer .zip {
  display: block;
}
#layout-footer .tel a {
  white-space: nowrap;
  text-indent: 100%;
  overflow: hidden;
  background: url(../images/tel_pc.png) center center no-repeat;
  background-size: contain;
  display: block;
  width: 100%;
}
@media print, screen and (min-width: 769px) {
  #layout-footer {
    background-color: #f7f7f8;
    padding-left: calc(300px + 1.5rem);
  }
  #layout-footer .container {
    display: flex;
    gap: 4.24%;
  }
  #layout-footer .unit-left {
    width: min(31.92%, 420px);
  }
  #layout-footer .unit-right {
    flex-grow: 1;
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    margin-right: 4%;
  }
  #layout-footer .site-name {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    display: inline-block;
    margin-inline: 0.8em;
  }
  #layout-footer .site-name a {
    pointer-events: none;
  }
  #layout-footer .tel {
    aspect-ratio: 92/5;
    margin: 0;
  }
  #layout-footer .tel a {
    pointer-events: none;
    cursor: default; /* カーソルをデフォルトに戻す */
  }
  #layout-footer .add {
    text-align: center;
    padding: 0.3em 0;
  }
  #layout-footer .deprivatized-menu {
    margin-left: 1.5em;
  }
  #layout-footer .deprivatized-menu .menu-item {
    margin-top: 1em;
  }
  #layout-footer .deprivatized-menu .menu-item a {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  #layout-footer .deprivatized-menu .menu-item img {
    width: 85%;
  }
  #layout-footer .download-menu {
    margin-left: 1.5em;
  }
  #layout-footer .download-menu .download-menu-item {
    margin-top: 0.8em;
    width: 85%;
  }
  #layout-footer .related-menu-title {
    -webkit-margin-before: 29.7619047619%;
            margin-block-start: 29.7619047619%;
  }
  #layout-footer .related-menu {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  #layout-footer .related-menu .menu-item {
    margin-top: 1em;
    background-image: repeating-linear-gradient(90deg, #ff0000, #ff0000 11.6px, transparent 11.6px, transparent 23.2px);
    background-position: left bottom;
    background-repeat: repeat-x;
    background-size: 100% 1px;
  }
  #layout-footer .related-menu a {
    padding-bottom: 0.25em;
  }
  #layout-footer .global-menu,
#layout-footer .sub-menu {
    display: flex;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  #layout-footer #f-subnav > .sub-menu {
    container-type: inline-size;
    container-name: nav;
    width: 100%;
  }
  #layout-footer .global-menu li {
    font-size: clamp(18px, 0.96vw, 24px);
  }
  #layout-footer .global-menu li:nth-child(6) {
    width: max(16.6666666667%, 175px);
  }
  #layout-footer .sub-menu {
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 0.5em;
    margin-block: 1em;
  }
  @container nav (min-width: 751px) {
    #layout-footer .sub-menu li {
      width: calc((100% - 1em) / 3);
    }
  }
  @container nav (max-width: 750px) {
    #layout-footer .sub-menu li {
      width: calc((100% - 1em) / 2);
    }
  }
  #layout-footer .globalmap {
    width: 100%;
    text-align: center;
    aspect-ratio: 108/49;
  }
  #layout-footer .globalmap iframe {
    width: calc(100% - 20px);
    height: 100%;
  }
}
@media screen and (max-width: 768px) {
  #layout-footer {
    margin-top: 1.5em;
    align-items: center;
    border-image-source: url(../images/footer_bg_sp.png);
    border-image-slice: fill 0;
    border-image-width: 1;
    border-image-outset: 1.5em 0;
    border-image-repeat: stretch;
  }
  #layout-footer .container {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
  #layout-footer .site-name {
    display: block;
    margin: auto;
    position: relative;
  }
  #layout-footer .site-name picture img {
    width: 90.6666666667%;
    aspect-ratio: 85/24;
    margin: auto;
  }
  #layout-footer .go-googlemap_button {
    width: 24%;
    display: block;
    position: absolute;
    right: 24%;
    bottom: 5%;
    aspect-ratio: 101/40;
  }
  #layout-footer .tel {
    margin-inline: auto;
    margin-block: 0;
    width: 75.2%;
    height: 46px;
  }
  #layout-footer .add {
    text-align: center;
    line-height: 1.3;
  }
  #layout-footer .deprivatized-menu {
    display: flex;
    gap: 0 2em;
    width: 90%;
    margin-inline: auto;
    margin-top: 3.7333333333%;
    background-size: 80%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #layout-footer .deprivatized-menu li > a {
    padding-inline: 0;
  }
  #layout-footer .deprivatized-menu li {
    background: url(../images/f_deprivatized-menu_sp.png) bottom center repeat-x;
    background-size: 85%;
    width: 45%;
  }
}

.copyright {
  color: #4d4d4d;
  text-align: center;
}
@media print, screen and (min-width: 769px) {
  .copyright {
    background-color: #f7f7f8;
  }
}
@media screen and (max-width: 768px) {
  .copyright {
    font-size: 11px;
    -webkit-padding-after: 0.5em;
            padding-block-end: 0.5em;
  }
}

/*メニュー*/
@media print, screen and (min-width: 769px) {
  #fixd_header {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
  }
}
@media screen and (max-width: 768px) {
  #layout-header .container {
    padding-top: 70px;
  }
  #fixd_header {
    position: fixed;
    height: 70px;
    width: 100%;
    z-index: 999;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
  }
  #fixd_header .sp_sitename {
    margin: 0 auto;
    height: 100%;
    position: relative;
    z-index: 999;
  }
  #fixd_header .sp_sitename img {
    height: 100%;
  }
  #fixd_header.UpMove {
    -webkit-animation: UpAnime 0.5s forwards;
            animation: UpAnime 0.5s forwards;
  }
  @-webkit-keyframes UpAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-100px);
    }
  }
  @keyframes UpAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-100px);
    }
  }
  #fixd_header.DownMove {
    -webkit-animation: DownAnime 0.5s forwards;
            animation: DownAnime 0.5s forwards;
  }
  @-webkit-keyframes DownAnime {
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes DownAnime {
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .wrap {
    position: relative;
  }
  #overlay {
    width: 0;
    height: 0;
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background: rgba(255, 255, 255, 0.7);
  }
  #overlay.open {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  .openbtn {
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding: 8px 8px;
  }
  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
  }
  .openbtn.active span:nth-of-type(1) {
    transform: translateY(16px) rotate(-45deg);
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    transform: translateY(-16px) rotate(45deg);
  }
  #g-nav {
    position: fixed;
    z-index: 50;
    top: 0;
    padding-top: 70px;
    overflow: auto;
    right: -120%;
    width: 100%;
    padding-inline: 2%;
    min-height: 100vh;
    height: 100%;
    overflow-y: scroll;
    background: #fff;
    transition: all 0.6s;
  }
  #g-nav.panelactive {
    right: 0;
  }
  #g-nav .menu {
    padding-top: 20px;
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  #g-nav .menu-item {
    width: 48%;
  }
  #g-nav .menu-item a {
    display: inline-block;
    padding: 0;
  }
  #g-nav .menu-item img {
    width: 100%;
    height: auto;
  }
  #g-nav #relatedmenu {
    flex-direction: column;
  }
  #g-nav #relatedmenu li {
    width: 100%;
  }
  #g-nav .menu-item-has-children > a:first-of-type {
    position: relative;
    padding-right: 2em;
  }
  #g-nav .menu-item-has-children > a.open:first-of-type {
    color: #212529;
  }
  #g-nav .menu-item-has-children > a:after,
#g-nav .menu-item-has-children > a:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    width: 10px;
    height: 1px;
    background: #212529;
    transition: 0.2s;
  }
  #g-nav .menu-item-has-children > a:after {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
  }
  #g-nav .menu-item-has-children > a.open:before {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  #g-nav .menu-item-has-children > a.open:after {
    background: transparent;
  }
}
.menu-item {
  font-family: "M PLUS Rounded 1c", sans-serif;
}
.menu-item a {
  text-decoration: none;
  color: #4d4d4d;
}
@media print, screen and (min-width: 769px) {
  .menu-item {
    font-size: clamp(20px, 0.96vw, 24px);
  }
}

.menu li {
  list-style-type: none;
}
.menu li > a {
  display: block;
  width: 100%;
}
.menu li > a span {
  display: block;
}
.menu li.menu-item-has-children ul.sub-menu {
  display: none;
}

@media print, screen and (min-width: 769px) {
  #g-nav #globalmenu {
    background: url(../images/globalNav/bg.png) no-repeat right top;
    background-size: 30%;
  }
  #g-nav #globalmenu a {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  #g-nav #globalmenu img {
    height: 17.5px;
  }
  #g-nav #globalmenu .access img {
    height: 39.5px;
  }
  #g-nav .download-menu {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  #g-nav .download-menu .download-menu-item {
    width: 48%;
  }
  #g-nav .related-menu .menu-item {
    background: url(../images/relatedNav/related_line_pc.png) bottom center no-repeat;
  }
  .sideblock:has(.sub-menu) li > a {
    padding: 5px 0;
  }
  .sideblock ul:not(.sub-menu) li > a {
    padding: 8px 0;
  }
}
@media screen and (max-width: 768px) {
  .menu li > a {
    line-height: 2;
  }
  #g-nav > .sub-menu {
    display: grid;
    grid-template-columns: auto auto;
  }
  #g-nav > .sub-menu li {
    width: auto;
  }
  #g-nav > .download-menu {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2%;
    margin-block: 2% 1em;
  }
  #g-nav .site-info {
    width: 100%;
    border: solid;
    border-width: 15px 25px 0 25px;
    display: inline-block;
    border-image-source: url(../images/global-siteinfo_bg_sp.png);
    border-image-slice: 100 fill;
    border-image-outset: 5px;
    border-image-repeat: round;
  }
  #g-nav .go-googlemap {
    position: relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    display: block;
  }
  #g-nav .go-googlemap_button {
    position: absolute;
    bottom: 14.2857142857%;
    right: 16.8%;
    width: 14.9333333333%;
  }
  #g-nav .site-name {
    display: block;
    margin: auto 0;
  }
  #g-nav .site-name img {
    margin: auto;
    width: 76.5333333333%;
    aspect-ratio: 288/70;
  }
  #g-nav .tel {
    margin: 0;
  }
  #g-nav .tel a {
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    background: url(../images/tel_pc.png) center center no-repeat;
    background-size: contain;
    margin-inline: auto;
    margin-block: 0;
    width: 75.2%;
    height: 46px;
    display: block;
    width: 100%;
  }
  #g-nav .global-menu .menu-item {
    height: 46px;
  }
  #g-nav .global-menu .menu-item a {
    height: 100%;
    display: flex;
    align-items: flex-end;
  }
  #g-nav .related-menu-title img {
    width: 100%;
    max-width: 100%;
  }
}
@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);
    width: 48px;
    aspect-ratio: 1/1;
    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_sp.png);
    width: 48px;
    aspect-ratio: 1/1;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
    opacity: 0.3;
  }
  div.tothetop a:hover {
    opacity: 1;
  }
}
.modaal-outer-wrapper {
  max-width: 2460px;
  max-height: 90%;
  width: 90%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: auto;
}

.modaal-inner-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
  padding: 0 !important;
}

.modaal-wrapper {
  overflow: hidden;
}