@charset "UTF-8";

/* header photo */
@media screen and (max-width: 767px) {
  /* sp only */
  #header .photo section {
    padding-bottom: 1.2rem;
    display: grid;
    grid-template-columns: 1fr 11rem;
    grid-template-rows: auto 1fr;
    position: relative;
  }
  #header .photo section::before {
    content: "";
    position: absolute;
    top: -4.9rem;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    z-index: -10;
    background-color: rgb(241, 244, 249);
  }
  #header .photo section > h2 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  #header .photo section > .desc {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  #header .photo section > .ill {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
}
@media screen and (min-width: 768px) {
  #header .photo {
    position: relative;
  }
  #header .photo section {
    padding: 0 10rem;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
}
#header .photo h2 {
  padding: 0.5em 0 0.125em 0;
  margin: auto 0 0 0;
  font-size: 2.75rem;
  font-weight: 600;
  font-feature-settings: "palt";
  line-height: 1.25;
  letter-spacing: 0.1em;
  color: rgb(0, 0, 0);
}
@media screen and (max-width: 767px) {
  /* sp only */
  html[lang="en"] #header .photo h2::first-line {
    letter-spacing: 0.02em;
  }
}
@media screen and (min-width: 768px) {
  #header .photo h2 {
    margin: 0;
    font-size: 5.5rem;
    color: rgb(255, 255, 255);
  }
}
#header .photo .desc {
  padding: 0.28em 0;
  font-size: 1.6rem;
  line-height: 1.56;
}
@media screen and (min-width: 768px) {
  #header .photo .desc {
    padding: 0.61em 0;
    max-width: 78.2rem;
    font-size: 1.8rem;
    line-height: 2.22;
  }
}
#header .photo .desc p {
  margin: 0;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  #header .photo .desc p {
    font-weight: 500;
    color: rgb(255, 255, 255);
  }
}
@media screen and (min-width: 768px) {
  #header .photo .ill {
    margin-left: auto;
    order: -10;
  }
}
#header .photo .ill .image {
  margin-top: -3.3rem;
  width: 11.9rem;
  height: 11.9rem;
  border: solid 1px rgb(230, 230, 230);
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  #header .photo .ill .image {
    margin-top: -16.3rem;
    width: 23.8rem;
    height: 23.8rem;
  }
}
#header .photo .ill .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* type */
#type {
  padding: 1.9rem 0 3.8rem 0;
  margin: 0;
  position: relative;
}
#type::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 16.1rem;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -10;
  background-color: rgb(241, 244, 249);
}
@media screen and (min-width: 768px) {
  #type {
    padding-top: 9.2rem;
    padding-bottom: 7.2rem;
  }
  #type::before {
    top: -9.2rem;
    bottom: 0;
  }
}
#type dd {
  margin: 0;
}
#type ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
@media screen and (max-width: 767px) {
  /* sp only */
  #type dt,
  #type dd:has(ul) > div {
    padding: 0.25em 0;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-indent: 0.05em;
    text-align: center;
  }
  #type dt {
    color: rgb(255, 255, 255);
    background-color: rgb(76, 73, 72);
  }
  #type dd:has(ul) {
    padding-top: 2.2rem;
  }
  #type dd > div,
  #type dd li {
    padding: 0 1.2rem;
    border-left: solid 1px rgb(76, 73, 72, 0.4);
    border-right: solid 1px rgb(76, 73, 72, 0.4);
  }
  #type dd > div {
    background-color: rgb(219, 219, 218);
  }
  #type dd:not(:has(ul)) > div,
  #type dd li {
    padding-top: 0.35em;
    padding-bottom: 0.35em;
    font-size: 1.4rem;
    line-height: 1.7;
  }
  #type dd:not(:has(ul)) > div::before,
  #type dd li::before {
    content: "\30FB";
  }
  #type dd:has(ul) > div {
    border-top: solid 1px rgb(76, 73, 72, 0.4);
    border-bottom: solid 1px rgb(76, 73, 72, 0.4);
    color: rgb(76, 73, 72);
  }
  #type dd:has(+ dd ul) div,
  #type dd li:last-of-type {
    padding-bottom: 1.35em;
    border-bottom: solid 1px rgb(76, 73, 72, 0.4);
  }
  #type dt + dd div,
  #type dd li:first-of-type {
    padding-top: 1.35em;
  }
  #type dd li {
    background-color: rgb(255, 255, 255);
  }
}
@media screen and (min-width: 768px) {
  #type {
    margin: 0 auto;
    max-width: 143rem;
  }
  #type > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    -moz-column-gap: 1.96rem;
    column-gap: 1.96rem;
  }
  #type dt,
  #type dd:has(ul) {
    flex-basis: 100%;
  }
  #type dt {
    padding: 0.1em 0;
    margin-bottom: 4.6rem;
    font-size: 3.4rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-indent: 0.05em;
    text-align: center;
    color: rgb(255, 255, 255);
    background-color: rgb(76, 73, 72);
  }
  #type dt,
  #type dd:has(ul) > div {
    position: relative;
  }
  #type dt::before,
  #type dd:has(ul) > div::before {
    content: "";
    margin: 0 auto;
    display: inline-block;
    width: 1px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgb(76, 73, 72, 0.4);
  }
  #type dt::before {
    height: 4.6rem;
  }
  #type dd:has(ul) > div::before {
    height: 2.6rem;
  }
  #type dt::after,
  #type dd:has(ul) > div::after {
    content: "";
    margin: 0 auto;
    display: inline-block;
    height: 1px;
    position: absolute;
    left: 0;
    right: 0;
    background-color: rgb(76, 73, 72, 0.4);
  }
  #type dt::after {
    max-width: 120.7rem;
    top: calc(100% + 4.6rem);
  }
  #type dd:has(ul) > div::after {
    scale: calc(1081 / 220) 1;
    top: calc(100% + 2.6rem);
  }
  #type dd {
    flex-basis: 22.2rem;
  }
  #type dd:not(:has(ul)),
  #type dd ul {
    padding-top: 5.4rem;
  }
  #type dd:not(:has(ul)),
  #type dd ul li {
    position: relative;
  }
  #type dd:not(:has(ul))::before,
  #type dd ul li::before {
    content: "";
    margin: 0 auto;
    display: inline-block;
    width: 1px;
    height: 5.4rem;
    position: absolute;
    left: 0;
    right: 0;
    background-color: rgb(76, 73, 72, 0.4);
  }
  #type dd:not(:has(ul))::before {
    top: 0;
  }
  #type dd ul li::before {
    bottom: calc(100% + 1px);
  }
  #type dd div {
    padding: 0.175em 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 22.2rem;
    min-height: 6.5rem;
    box-sizing: border-box;
    font-size: 1.9rem;
    line-height: 1.25;
    text-align: center;
    color: rgb(76, 73, 72);
    border: solid 1px rgb(76, 73, 72, 0.4);
    background-color: rgb(219, 219, 218);
  }
  #type dd:has(ul) > div {
    margin: 2.6rem auto;
  }
  #type dd ul {
    display: flex;
    justify-content: center;
    -moz-column-gap: 7.8rem;
    column-gap: 7.8rem;
  }
  #type dd li {
    padding: 0.05em 1em;
    flex-basis: 19.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 6.5rem;
    box-sizing: border-box;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-indent: 0.05em;
    text-align: center;
    color: rgb(35, 24, 21);
    border: solid 1px rgb(76, 73, 72, 0.4);
    background-color: rgb(255, 255, 255);
  }
}

/* photos */
#photos {
  padding: 2.4rem 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
@media screen and (min-width: 768px) {
  #photos {
    padding: 7.2rem 0;
    gap: 1.7rem;
  }
}
#photos li {
  flex-basis: 14.5rem;
}
#photos li:last-of-type {
  flex-basis: 11.6rem;
}
@media screen and (min-width: 768px) {
  #photos li {
    flex-basis: 25.1rem;
  }
  #photos li:last-of-type {
    flex-basis: 19.9rem;
  }
}
#photos li .image img {
  width: 100%;
}

/* related */
#related {
  padding: 3rem 0 5.5rem 0;
}
@media screen and (min-width: 768px) {
  #related {
    padding: 3rem 0 11rem 0;
    display: flex;
    justify-content: space-between;
  }
}
#related > article {
  padding: 0;
  margin: 0 auto;
  max-width: 30rem;
  border-radius: 6px;
  position: relative;
  z-index: 0;
  overflow: clip;
}
@media screen and (min-width: 768px) {
  #related > article {
    margin: 0;
    max-width: none;
    border-radius: 10px;
    flex-basis: 57.9rem;
  }
}
#related > article + article {
  margin-top: 1.5rem;
}
@media screen and (min-width: 768px) {
  #related > article + article {
    margin-top: 0;
  }
}
#related > article .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(310 / 579 * 100%);
  background-color: rgba(0, 0, 0, 0.4);
}
#related > article h2 {
  margin: 0;
}
#related > article h2 .ttl {
  --width-img-sp: calc(var(--width-img) * 0.5);
  display: block;
  width: var(--width-img-sp, -webkit-fit-content);
  width: var(--width-img-sp, -moz-fit-content);
  width: var(--width-img-sp, fit-content);
}
@media screen and (min-width: 768px) {
  #related > article h2 .ttl {
    width: var(--width-img, -webkit-fit-content);
    width: var(--width-img, -moz-fit-content);
    width: var(--width-img, fit-content);
  }
}
#related > article h2 .ttl img {
  width: 100%;
}
#related > article p {
  padding: 1em 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #related > article p {
    padding: 1.2em 0;
    font-size: 1.6rem;
    font-weight: 600;
  }
}
@media screen and (max-width: 767px) {
  /* sp only */
  #related > article .cmp_button a {
    padding-left: 1em !important;
    min-width: 11.4rem !important;
    min-height: 2.5rem !important;
    border-radius: 1.25rem !important;
  }
  #related > article .cmp_button a::after {
    margin: 0 0.8rem;
    width: 1.2rem;
    height: 1.1rem;
  }
  #related > article .cmp_button a .image {
    width: 6rem !important;
    font-size: 0.8rem !important;
  }
}
#related > article .bg {
  position: relative;
  z-index: -10;
}
#related > article .bg img {
  width: 100%;
  aspect-ratio: 579 / 296;
  -o-object-fit: cover;
  object-fit: cover;
  transition: 0.4s scale ease-out;
}
#related > article:has(a:hover) .bg img {
  scale: 1.1;
}
