@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@400;500;700&display=swap");
/* レイアウト */
body {
  container-type: inline-size;
  overflow-x: hidden;
}

#wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#layout-body {
  flex-grow: 1;
}
@media print, screen and (min-width: 769px) {
  .home #layout-body {
    -webkit-padding-before: 2rem;
            padding-block-start: 2rem;
    -webkit-padding-after: 2rem;
            padding-block-end: 2rem;
  }
}
@media print, screen and (min-width: 769px) {
  body:not(.home) #layout-body {
    -webkit-padding-before: 10rem;
            padding-block-start: 10rem;
    -webkit-padding-after: 5rem;
            padding-block-end: 5rem;
  }
}
@media screen and (max-width: 768px) {
  #layout-body {
    -webkit-padding-before: 1rem;
            padding-block-start: 1rem;
    -webkit-padding-after: 1rem;
            padding-block-end: 1rem;
  }
}

.innerwrap {
  width: 96%;
  margin: auto;
}
@media print, screen and (min-width: 769px) {
  .innerwrap {
    max-width: 1200px;
  }
}

.sp_img > figure {
  width: 100%;
}
.sp_img > figure > img {
  min-width: 100%;
  max-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;
  }
}

@media screen and (max-width: 768px) {
  .sitename {
    height: 100%;
    width: 100%;
    margin: 0;
  }
  .sitename a {
    height: 100%;
    display: block;
    width: 100%;
  }
  .sitename img,
.sitename picture {
    height: 100%;
    -o-object-fit: fill;
       object-fit: fill;
  }
}
#layout-header {
  background: url(../images/pagename/pagetitlebg.png) center center no-repeat;
  background-size: contain;
}
#layout-header .innerwrap {
  margin-top: 40px;
  aspect-ratio: 30/13;
  position: relative;
}
#layout-header .sitename {
  width: 32.5%;
}
#layout-header .pagename {
  width: 16%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  position: absolute;
  left: 8%;
  top: calc(50% - 100px);
}

.mainblock > .sec {
  padding: 0 3%;
  margin-block: 3rem;
}
.mainblock > .sec:first-child {
  margin-top: initial;
}
.mainblock > .sec:last-child {
  margin-bottom: initial;
}

#layout-footer {
  background: url(../images/footer-bg_pc.png) repeat-x center center;
  height: clamp(147px, 14vw, 294px);
}
#layout-footer .innerwrap {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2%;
}
#layout-footer .site-name {
  aspect-ratio: 382/182;
  max-height: clamp(87.5px, 25vw, 60%);
  margin-inline: auto;
}
#layout-footer .site-name img {
  max-height: 100%;
}

.related-link {
  aspect-ratio: 185/32;
  max-height: clamp(31.5px, 25vw, 22%);
}
.related-link img {
  max-height: 100%;
}

.copyright {
  margin: auto;
}

@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;
  }
}