@charset "UTF-8";
/* 使用フォント */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500&display=swap");
/* 共通 */
.sp_img > figure {
  width: 100%;
}
.sp_img > figure > img {
  min-width: 100%;
  max-width: 100%;
}

/* レイアウト */
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%;
}

.container {
  max-width: 1280px;
  width: 100%;
  min-width: 980px;
  margin: auto;
}
/* 画像の扱い */
@media print, screen and (max-width: 1280px) {
  img,
picture {
    max-width: initial;
    width: 100%;
    display: block;
    height: auto;
  }
}
#layout-header {
  background: url(../images/header-bg_pc.png) top center repeat-x;
  -webkit-padding-before: 9.609375%;
          padding-block-start: 9.609375%;
}
#layout-header .container {
  container-type: inline-size;
  height: 100%;
}

.site-header {
  position: relative;
  margin: auto;
}
.site-header .sitename {
  margin-block: 1.5625%;
  margin-inline: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.site-header .menu-item.album {
  position: absolute;
  right: 0%;
  top: 10%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

#g-nav {
  max-width: 980px;
  margin-inline: auto;
}
#g-nav ul {
  justify-content: space-evenly !important;
  background: url(../images/globalNav/menu-bg_pc.png) center center no-repeat;
}
#g-nav li.current-menu-item.top a {
  background: url(../images/globalNav/top-current_pc.png) center center no-repeat;
}
#g-nav li.current-menu-item.about a {
  background: url(../images/globalNav/about-current_pc.png) center center no-repeat;
}
#g-nav li.current-menu-item.admission a {
  background: url(../images/globalNav/admission-current_pc.png) center center no-repeat;
}
#g-nav li.current-menu-item.life a {
  background: url(../images/globalNav/life-current_pc.png) center center no-repeat;
}
#g-nav li.current-menu-item.recruit a {
  background: url(../images/globalNav/recruit-current_pc.png) center center no-repeat;
}

.keyVisual {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
}
.keyVisual::before {
  content: "";
  width: 100cqw;
  height: 417px;
  background: url(../images/top/keyvisual-bg_pc.png) center center no-repeat;
  background-size: contain;
  position: absolute;
  margin-inline: calc(50% - 50cqw);
  padding-inline: calc(50cqw - 50%);
}

#layout-body {
  container-type: inline-size;
}
@media print, screen and (max-width: 980px) {
  #layout-body > .container:not(.page-top) .mainblock {
    padding-inline: 2%;
  }
}
@media print, screen and (min-width: 981px) {
  #layout-body > .container:not(.page-top) .mainblock {
    position: relative;
    min-height: 300px;
  }
}
@media print, screen and (min-width: 1080px) {
  #layout-body > .container:not(.page-top) .mainblock::after {
    content: "";
    height: 100%;
    width: 180px;
    position: absolute;
    left: -15px;
    top: 0;
    background: url(../images/bg-l_pc.png) top center repeat-x;
  }
  #layout-body > .container:not(.page-top) .mainblock::before {
    content: "";
    height: 100%;
    width: 180px;
    right: 0;
    top: 0;
    position: absolute;
    background: url(../images/bg-r_pc.png) top center repeat-x;
  }
}

.page-visual {
  -webkit-margin-before: auto;
          margin-block-start: auto;
  -webkit-margin-after: 3.5rem;
          margin-block-end: 3.5rem;
  max-height: 180px;
  position: relative;
  border-image-source: linear-gradient(#333, #333);
  border-image-slice: fill 0;
  border-image-width: 1;
  border-image-outset: 0 100cqw;
  border-image-repeat: repeat;
}
.page-visual-top {
  border-image-source: url(../images/pagename/top_bg.png);
}
.page-visual-about {
  border-image-source: url(../images/pagename/about_bg.png);
}
.page-visual-admission {
  border-image-source: url(../images/pagename/admission_bg.png);
}
.page-visual-life {
  border-image-source: url(../images/pagename/life_bg.png);
}
.page-visual-recruit {
  border-image-source: url(../images/pagename/recruit_bg.png);
}
.page-visual-news {
  border-image-source: url(../images/pagename/news_bg.png);
}
.page-visual-album {
  border-image-source: url(../images/pagename/album_bg.png);
}
.page-visual:after {
  content: "";
  background: url(../images/pagename/name_line.png) center center repeat-x;
  background-size: contain;
  position: absolute;
  width: 100cqw;
  height: 100%;
  top: 0;
  margin: 0 calc(50% - 50cqw);
}

.mainblock .sec {
  max-width: 1024px;
  margin: auto;
  min-width: 980px;
}
.mainblock .block-index {
  width: 100%;
}
.mainblock .excerpt-text {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mainblock .entry-time {
  white-space: nowrap;
}

.page-visual-none {
  min-height: 178px;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#layout-footer {
  min-height: 179px;
  background: url(../images/footer-bg_pc.png) center bottom repeat-x;
  display: flex;
  justify-content: center;
  flex-direction: column;
  -webkit-margin-before: auto;
          margin-block-start: auto;
  -webkit-margin-after: 0;
          margin-block-end: 0;
}
#layout-footer .container {
  display: flex;
  -webkit-margin-before: auto;
          margin-block-start: auto;
  -webkit-margin-after: 0;
          margin-block-end: 0;
  align-items: end;
}
#layout-footer .site-name {
  margin-inline: 1em;
}
#layout-footer address {
  font-style: normal;
}
#layout-footer address p {
  margin-block: 0.4em;
}
#layout-footer .related {
  margin-inline: 1em;
}
#layout-footer .recruit {
  background: url(../images/footer-aw_pc.png) left bottom no-repeat;
  min-width: 146px;
  min-height: 102px;
  -webkit-margin-start: auto;
          margin-inline-start: auto;
}
#layout-footer .recruit img {
  width: inherit;
}
#layout-footer .recruit span {
  margin-top: -3.5em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: block;
  margin-left: -2em;
}

.copyright {
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-block: 0.3em;
  margin-inline: auto;
}

/*メニュー*/
#fixd_header {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}

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

#g-nav > ul {
  display: flex;
  justify-content: center;
}

div.tothetop {
  position: fixed;
  right: 2%;
  bottom: 0%;
  z-index: 1500;
}
div.tothetop a {
  display: block;
  margin: 0;
  background: url(../images/scrolltop_pc.png) center center no-repeat;
  background-size: contain;
  width: 100px;
  aspect-ratio: 1/1;
  text-indent: -9999px;
  overflow: hidden;
  opacity: 0.3;
}
div.tothetop a:hover {
  opacity: 1;
}