@charset "UTF-8";
#theme {
  display: grid;
}
@media (max-width: 640px) {
  #theme {
    margin-top: 2em;
  }
}
@media (min-width: 641px) {
  #theme {
    position: relative;
    margin-top: 4em;
  }
}
#theme h2 img {
  width: 100%;
}
@media (max-width: 640px) {
  #theme h2 + p br {
    display: none;
  }
}
@media (min-width: 641px) {
  #theme h2 + p {
    margin: -3.5em 0 0;
  }
}
#theme .body {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  grid-gap: 1em;
  margin-top: 1em;
}
@media (max-width: 640px) {
  #theme .body {
    padding: 0 0.25em;
    font-size: 4vw;
  }
}
@media (min-width: 641px) {
  #theme .body {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 0.5em;
    font-size: 20px;
  }
}
#theme .body li {
  display: grid;
  padding: 0 0 1.25em;
  background: url(../images/theme_base_top.png) no-repeat left top/100% auto, url(../images/theme_base_bottom.png) no-repeat left bottom/100% auto, url(../images/theme_base_center.png) no-repeat left center/100% 70%;
}
@media (max-width: 640px) {
  #theme .body li {
    grid-template-areas: "h3 h3" "img dl";
    grid-template-columns: 10em 1fr;
    grid-template-rows: 5.5em auto;
    grid-column-gap: 1em;
    background-size: 100% auto, 100% auto, 100% 60%;
  }
  #theme .body li h3 {
    grid-area: h3;
  }
  #theme .body li dl {
    grid-area: dl;
  }
  #theme .body li img {
    grid-area: img;
  }
}
@media (min-width: 641px) {
  #theme .body li {
    grid-template-rows: subgrid;
    grid-row: span 3;
    grid-gap: 0;
  }
}
#theme .body li h3 {
  margin: 0;
  text-align: left;
  font-size: 1em;
}
#theme .body li h3 img {
  width: auto;
}
@media (max-width: 640px) {
  #theme .body li h3 img {
    height: 2.5em;
    transform: translate(-0.5em, 0.5em);
  }
}
@media (min-width: 641px) {
  #theme .body li h3 img {
    height: 2.25em;
    transform: translate(-0.5em, 0.25em);
  }
}
#theme .body li dl {
  display: grid;
  padding: 0 1.25em;
}
@media (min-width: 641px) {
  #theme .body li dl {
    grid-template-columns: max-content 1fr;
    margin: 1.75em 0 0;
  }
}
#theme .body li dl dt,
#theme .body li dl dd {
  text-align: left;
}
@media (max-width: 640px) {
  #theme .body li dl dt,
  #theme .body li dl dd {
    font-size: 0.8em;
  }
}
@media (min-width: 641px) {
  #theme .body li dl dt,
  #theme .body li dl dd {
    font-size: 0.7em;
  }
}
#theme .body li dl dt {
  color: #0054a6;
}
@media (max-width: 640px) {
  #theme .body li dl dt {
    font-weight: bold;
  }
}
@media (min-width: 641px) {
  #theme .body li dl dt::after {
    content: " ： ";
  }
}
#theme .body li dl dd {
  margin: 0;
}
@media (max-width: 640px) {
  #theme .body li > img {
    margin-left: 1.25em;
  }
}
@media (min-width: 641px) {
  #theme .body li > img {
    justify-self: center;
    width: 70%;
    margin-top: 0.75em;
  }
}
#theme::after {
  content: "";
  width: 100%;
  background: url(../images/theme_image.png) no-repeat right bottom/contain;
}
@media (max-width: 640px) {
  #theme::after {
    margin-top: 1em;
    height: 6em;
  }
}
@media (min-width: 641px) {
  #theme::after {
    height: 7em;
  }
}

#detail {
  display: grid;
  grid-row-gap: 1.5em;
  margin-top: 3em;
}
@media (max-width: 640px) {
  #detail {
    font-size: 4vw;
  }
}
@media (min-width: 641px) {
  #detail {
    font-size: 20px;
  }
  #detail::after,
  #detail *::after {
    all: unset;
  }
}
#detail .detail-item {
  display: grid;
  padding: 0 1.5em 1.5em;
  background: no-repeat left top/100% auto, no-repeat left bottom/100% auto, no-repeat left center/100% calc(100% - 4em);
}
@media (max-width: 640px) {
  #detail .detail-item {
    grid-template-rows: 6em auto;
    background-image: url(../images/detail_base_top_sp.png), url(../images/detail_base_bottom_sp.png), url(../images/detail_base_center_sp.png);
  }
}
@media (min-width: 641px) {
  #detail .detail-item {
    grid-template-rows: 4.5em auto;
    background-image: url(../images/detail_base_top_pc.png), url(../images/detail_base_bottom_pc.png), url(../images/detail_base_center_pc.png);
  }
}
#detail .detail-item h3 {
  margin: 0;
  font-size: 1em;
  text-align: left;
}
@media (max-width: 640px) {
  #detail .detail-item h3 {
    transform: translate(-2em, 0.25em);
  }
}
@media (min-width: 641px) {
  #detail .detail-item h3 {
    transform: translate(-2em, -0.25em);
  }
}
@media (max-width: 640px) {
  #detail .detail-item h3 img {
    height: 3em;
  }
}
@media (min-width: 641px) {
  #detail .detail-item h3 img {
    height: 2.75em;
  }
}
#detail .detail-images {
  display: grid;
}
@media (max-width: 640px) {
  #detail .detail-images {
    grid-row-gap: 1.5em;
  }
}
@media (min-width: 641px) {
  #detail .detail-images {
    grid-template-columns: 9.5em repeat(3, 1fr);
    grid-column-gap: 0.75em;
    align-items: start;
  }
}
#detail .detail-images figure {
  display: grid;
  grid-row-gap: 0.5em;
  margin: 0;
}
@media (max-width: 640px) {
  #detail .detail-images figure:nth-of-type(1) {
    grid-row-gap: 0.75em;
    padding: 0 1em;
  }
  #detail .detail-images figure:nth-of-type(n+2) {
    grid-template-columns: 10em 1fr;
    grid-column-gap: 1em;
  }
}
#detail .detail-images figure figcaption {
  text-align: justify;
}
@media (max-width: 640px) {
  #detail .detail-images figure figcaption {
    font-size: 0.85em;
  }
}
@media (min-width: 641px) {
  #detail .detail-images figure figcaption {
    font-size: 0.6em;
  }
}
#detail .detail-images figure:nth-of-type(1) figcaption {
  color: #0054a6;
}
@media (max-width: 640px) {
  #detail .detail-images figure:nth-of-type(1) figcaption {
    font-size: 0.95em;
  }
}
@media (min-width: 641px) {
  #detail .detail-images figure:nth-of-type(1) figcaption {
    font-size: 0.65em;
  }
}
