@charset "UTF-8";

/* main > section[id] */
main > section[id] {
  padding: 4rem 0;
}
@media screen and (min-width: 768px) {
  main > section[id] {
    padding: 7.2rem 0;
  }
}
main > section[id] > h2 {
  margin-bottom: 1.6rem;
}
@media screen and (min-width: 768px) {
  main > section[id] > h2 {
    margin-bottom: 2rem;
  }
}
main > section[id] > h2 + .container {
  border-top: 1px solid rgb(230, 230, 230);
}
@media screen and (min-width: 768px) {
  main > section[id] > h2 + .container {
    padding-left: 30rem;
  }
}

/* features */
#features {
  counter-reset: ft-num;
}
#features section {
  padding: 1.2rem 0;
  counter-increment: ft-num;
}
@media screen and (min-width: 768px) {
  #features section {
    padding: 3.8rem 0;
    display: flex;
    -moz-column-gap: 2.4rem;
    column-gap: 2.4rem;
  }
  #features section > * {
    flex-basis: 1fr;
  }
  #features section:nth-of-type(even) {
    flex-direction: row-reverse;
  }
  #features section:nth-of-type(odd) .text {
    padding-right: 5.6rem;
  }
  #features section:nth-of-type(even) .text {
    padding-left: 5.6rem;
  }
}
#features h3 {
  padding: 0 0 0.3em 0;
  margin: 0;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: calc(1.1 / 44 * 1em);
  text-indent: calc(1.1 / 44 * 1em);
}
@media screen and (min-width: 768px) {
  #features h3 {
    font-size: 4.4rem;
  }
}
#features h3::before {
  content: counter(ft-num, decimal-leading-zero);
  margin-bottom: calc(2.2rem * 0.6);
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 3.4rem;
  font-weight: bold;
  line-height: 1;
  color: rgb(184, 28, 43);
  border-bottom: calc(7 / 68 * 1em) solid;
}
@media screen and (min-width: 768px) {
  #features h3::before {
    margin-bottom: calc(4.4rem * 0.6);
    font-size: 6.8rem;
  }
}
#features .desc {
  padding: 0.28em 0;
  font-size: 1.6rem;
  line-height: 1.56;
}
@media screen and (min-width: 768px) {
  #features .desc {
    padding: 0.5em 0;
    font-size: 2rem;
    line-height: 2;
  }
}
#features .desc p {
  margin: 0;
  letter-spacing: 0.01em;
}
@media screen and (min-width: 768px) {
  #features .desc p {
    letter-spacing: 0.05em;
  }
}
#features .desc p.notes {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: calc(16 * 1.56 / 15);
  letter-spacing: 0.01em;
}
@media screen and (min-width: 768px) {
  #features .desc p.notes {
    font-size: 1.7rem;
    line-height: calc(20 * 2 / 17);
  }
}
#features .photo {
  padding: 2.4rem 0;
}
@media screen and (min-width: 768px) {
  #features .photo {
    padding: 0;
  }
}
#features .photo .image {
  margin: 0 auto;
  width: 34rem;
}
@media screen and (min-width: 768px) {
  #features .photo .image {
    width: 88.8rem;
  }
}
#features .photo .image img {
  width: 100%;
  border-radius: 6px;
}
@media screen and (min-width: 768px) {
  #features .photo .image img {
    border-radius: 10px;
  }
}

/* rnd */

/* rnd header */
#rnd header {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  #rnd header {
    flex-direction: row;
    -moz-column-gap: 10rem;
    column-gap: 10rem;
    align-items: flex-end;
  }
  #rnd header > .text {
    flex-basis: 1fr;
  }
  #rnd header > .photo {
    flex-basis: 88.8rem;
  }
}
#rnd header h3 {
  padding: 0.15em 0;
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: calc(1.1 / 44 * 1em);
}
@media screen and (min-width: 768px) {
  #rnd header h3 {
    padding: 0.3em 0;
    font-size: 4.4rem;
    line-height: 1.6;
  }
}
#rnd header h3 span {
  padding: 0.3em 0 0.15em 0;
  display: block;
  font-size: 1.7rem;
  letter-spacing: calc(0.85 / 34 * 1em);
}
@media screen and (min-width: 768px) {
  #rnd header h3 span {
    padding: 0.6em 0 0.3em 0;
    font-size: 3.4rem;
  }
}
#rnd header .desc {
  padding: 0.28em 0;
  font-size: 1.6rem;
  line-height: 1.56;
}
@media screen and (min-width: 768px) {
  #rnd header .desc {
    padding: 0.5em 0;
    font-size: 2rem;
    line-height: 2;
  }
}
#rnd header .desc p {
  margin: 0;
  letter-spacing: 0.01em;
}
@media screen and (min-width: 768px) {
  #rnd header .desc p {
    letter-spacing: 0.05em;
  }
}
#rnd header .photo {
  padding-bottom: 2.4rem;
  order: -10;
}
@media screen and (min-width: 768px) {
  #rnd header .photo {
    padding-bottom: 0;
    order: 0;
  }
}
#rnd header .photo .image {
  margin: 0 auto;
  width: 34rem;
}
@media screen and (min-width: 768px) {
  #rnd header .photo .image {
    width: 88.8rem;
  }
}
#rnd header .photo .image img {
  width: 100%;
  border-radius: 6px;
}
@media screen and (min-width: 768px) {
  #rnd header .photo .image img {
    border-radius: 10px;
  }
}

/* rnd projects */
#rnd .projects {
  padding: 2rem 0;
  margin: 0;
  list-style: none;
}
@media screen and (min-width: 768px) {
  #rnd .projects {
    padding: 6.4rem 0;
  }
}
#rnd .projects > li {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
}
#rnd .projects > li > .meta {
  order: -10;
}
@media screen and (min-width: 768px) {
  #rnd .projects > li {
    padding: 6.4rem 0;
    display: grid;
    grid-template-columns: 63rem 1fr;
    grid-template-rows: auto auto auto auto;
    -moz-column-gap: 6.8rem;
    column-gap: 6.8rem;
  }
  #rnd .projects > li > h4 {
    grid-column: 1 / 2;
    grid-row: 2 / 5;
  }
  #rnd .projects > li > .summary {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  #rnd .projects > li > .partner {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
  #rnd .projects > li > .detail {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }
  #rnd .projects > li > .meta {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    order: 0;
  }
}
@media screen and (min-width: 768px) {
  #rnd .projects > li:not(:first-of-type) {
    border-top: 1px solid rgb(229, 229, 228);
  }
}
#rnd .projects h4 {
  padding: 0.18em 0;
  margin: 0;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: calc(1.1 / 44 * 1em);
}
@media screen and (min-width: 768px) {
  #rnd .projects h4 {
    font-size: 4.4rem;
  }
}
#rnd .projects .summary {
  padding: 0.28em 0;
  font-size: 1.6rem;
  line-height: 1.56;
}
@media screen and (min-width: 768px) {
  #rnd .projects .summary {
    padding: 0.565em 0;
    font-size: 2rem;
    line-height: 2.13;
  }
}
#rnd .projects .summary p {
  margin: 0;
  letter-spacing: 0.01em;
}
@media screen and (min-width: 768px) {
  #rnd .projects .summary p {
    letter-spacing: calc(1.8 / 15 * 1em);
  }
}
#rnd .projects .partner {
  padding: 1rem 0;
  margin: 0;
}
@media screen and (min-width: 768px) {
  #rnd .projects .partner {
    padding: 1rem 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
#rnd .projects .partner dt,
#rnd .projects .partner dd {
  font-size: 1.2rem;
  line-height: 1.88;
  letter-spacing: calc(1.26 / 18 * 1em);
  color: rgb(0, 0, 0);
}
@media screen and (min-width: 768px) {
  #rnd .projects .partner dt,
  #rnd .projects .partner dd {
    font-size: 1.8rem;
    line-height: 2;
  }
}
#rnd .projects .partner dt {
  padding: 0.25em 0;
}
#rnd .projects .partner dd {
  padding-left: 1em;
  padding-right: 1em;
  margin: 0;
  border-left: solid 1px rgb(230, 230, 230);
  border-right: solid 1px rgb(230, 230, 230);
}
@media screen and (min-width: 768px) {
  #rnd .projects .partner dd {
    padding-left: 1.5em;
    padding-right: 1.5em;
  }
}
#rnd .projects .partner dd:first-of-type {
  padding-top: 0.75em;
  border-top: solid 1px rgb(230, 230, 230);
}
#rnd .projects .partner dd:last-of-type {
  padding-bottom: 0.75em;
  border-bottom: solid 1px rgb(230, 230, 230);
}
#rnd .projects .partner:has(dd + dd) dd::before {
  content: "";
  margin-top: -0.25em;
  margin-right: 0.75em;
  display: inline-block;
  vertical-align: middle;
  width: 0.25em;
  height: 1px;
  background-color: currentColor;
}
@media screen and (min-width: 768px) {
  #rnd .projects .meta {
    padding-bottom: 3.2rem;
    display: flex;
    align-items: center;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
  }
}
#rnd .projects .meta .period {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: calc(1.4 / 20 * 1em);
  color: rgb(183, 28, 43);
}
@media screen and (min-width: 768px) {
  #rnd .projects .meta .period {
    font-size: 2rem;
  }
}
#rnd .projects .meta p {
  padding: 0.3em 1.5em;
  margin: 1rem 0;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: 0.05em;
  border-radius: 1.8rem;
  background-color: rgb(241, 241, 241);
}
@media screen and (min-width: 768px) {
  #rnd .projects .meta p {
    padding: 0.2em 1.5em;
    margin-bottom: 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 2rem;
    line-height: 1.4;
  }
}
#rnd .projects .meta p strong {
  font-weight: 500;
}

/* rnd detail */
#rnd .detail section {
  margin-top: 1.4rem;
}
@media screen and (min-width: 768px) {
  #rnd .detail section {
    margin-top: 2.8rem;
  }
}
#rnd .detail h5 {
  padding: 0.28em 0;
  margin: 0;
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1.56;
  letter-spacing: 0.01em;
  color: rgb(184, 28, 43);
}
@media screen and (min-width: 768px) {
  #rnd .detail h5 {
    padding: 0.425em 0;
    font-size: 2.3rem;
    line-height: 1.85;
    letter-spacing: 0.05em;
  }
}
#rnd .detail h5.bd {
  border-bottom: 1px solid rgb(204, 204, 204);
}
#rnd .detail .desc {
  padding: 0.28em 0;
  font-size: 1.6rem;
  line-height: 1.56;
}
@media screen and (min-width: 768px) {
  #rnd .detail .desc {
    padding: 0.5em 0;
    font-size: 2rem;
    line-height: 2;
  }
}
#rnd .detail .desc p {
  margin: 0;
  letter-spacing: 0.01em;
}
@media screen and (min-width: 768px) {
  #rnd .detail .desc p {
    letter-spacing: 0.05em;
  }
}
#rnd .detail .figures {
  padding: 1.6rem calc(50vw - 50%);
  margin: 0 calc(50% - 50vw);
  list-style: none;
  display: flex;
  -moz-column-gap: 1.6rem;
  column-gap: 1.6rem;
}
@media screen and (max-width: 767px) {
  /* sp only */
  #rnd .detail .figures {
    overflow: scroll auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(172, 40, 44) rgb(230, 230, 230);
  }
  #rnd .detail .figures::-webkit-scrollbar {
    height: 3px;
  }
  #rnd .detail .figures::-webkit-scrollbar-thumb {
    background-color: rgb(172, 40, 44);
  }
  #rnd .detail .figures::-webkit-scrollbar-track {
    background-color: rgb(230, 230, 230);
  }
}
@media screen and (min-width: 768px) {
  #rnd .detail .figures {
    padding: 2.8rem 0;
    margin: 0;
    -moz-column-gap: 2.8rem;
    column-gap: 2.8rem;
  }
}
#rnd .detail figure {
  margin: 0;
}
#rnd .detail figcaption {
  padding: 0.25em 0;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.5;
}
#rnd .detail .figures figure img {
  width: auto;
  max-width: none;
  height: 34rem;
}
#rnd .detail .figures.sm figure img {
  height: 22.6rem;
}
@media screen and (min-width: 768px) {
  #rnd .detail .figures figure img {
    height: 30rem;
  }
  #rnd .detail .figures figure.lg img {
    width: 100%;
    height: auto;
  }
}
