@charset "utf-8";

:root {
  --bg-color: #DA8899;
  --black: #0C000A;
  --white: #FFFFFB;
  --box-color: #CA5069;
  --border-color: #B50C6C;
  --button-color: #89006E;
  --font: "Mochiy Pop One", sans-serif;
  --shadow: rgba(0, 0, 0, 0.3);
}


body {
  background-color: var(--bg-color);
}

/* メイン */
main {
  overflow: hidden;
}

main article {
  position: relative;
  width: 1410px;
  max-width: 93%;
  margin: 51px auto 0;
  display: grid;
  grid-template-columns: 3fr 4fr;
  column-gap: 30px;
  font-size: 17px;
}

.pic {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  background-image: repeating-linear-gradient(135deg, var(--box-color), var(--box-color) 8px, transparent 8px, transparent 16px);
  padding: 8px;
  border-radius: 13px;
}

.pic img:first-child {
  position: relative;
  z-index: 10;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  padding: 8px;
}

.pic::after {
  content: '';
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border-radius: 13px;
  border: 8px solid var(--bg-color);
}

.pic img:nth-child(2) {
  position: absolute;
  z-index: 2;
  bottom: 6%;
  left: -104px;
  width: 240px;
  transform: rotate(-20deg);
}

.pic img:nth-child(3) {
  position: absolute;
  z-index: 2;
  top: 7%;
  right: -46px;
  width: 210px;
  transform: rotate(17deg);
}

main article section:nth-child(2) {
  position: relative;
  z-index: 20;
}

.name hgroup {
  position: relative;
  height: 120px;
  width: fit-content;
  margin: 8px auto 0;
}

h1 {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 70px;
  width: 6.3em;
  font-family: var(--font);
  font-weight: normal;
  color: #004A1E;
  -webkit-text-stroke: var(--white) 2px;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: -2px;
}

.name img {
  position: absolute;
  width: 100%;
  left: calc(50% + 9px);
  transform: translateX(-50%);
  bottom: 0;
  filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.3));
  user-select: none;
  pointer-events: none;
}

main article section:nth-child(2) div:not([class]) {
  position: relative;
  margin-top: 2em;
  border: 4px solid var(--box-color);
  padding: 42px 32px 32px;
  background-color: #FBF3F1;
  border-radius: 6px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

main article section:nth-child(2) div:last-child {
  margin-top: 3em;
}

main article h2 {
  position: absolute;
  left: -20px;
  top: -26px;
  line-height: 1;
  padding: 8px 20px 12px;
  font-family: var(--font);
  font-weight: normal;
  color: var(--white);
  border: 2px solid var(--bg-color);
  border-radius: 100px;
  background-color: var(--box-color);
}

main article dl {
  display: grid;
  grid-template-columns: 8em auto;
  row-gap: 10px;
}

main article dl dt {
  font-weight: bold;
}

/* 一覧へ戻る */
/* .maid {
  width: fit-content;
  position: relative;
  margin: 80px auto 54px;
  background-color: var(--border-color);
  border-radius: 100px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: var(--white);
} */

.maid a {
  display: block;
  width: max-content;
  position: relative;
  margin: 80px auto 54px;
  background-color: var(--border-color);
  border-radius: 100px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: var(--white);


  font-family: var(--font);
  font-size: 20px;
  line-height: 1;
  padding: 13px 26px 15px;
}

.maid a::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -130%;
  background: #4AF393;
  mix-blend-mode: darken;
  width: 120%;
  height: calc(100% + 8px);
  transform: skewX(-25deg);
  transition-duration: .5s;
}

.maid a:hover::before {
  left: -10%;
}

@media (max-width: 800px) {
  main article {
    display: block;
    margin-top: 0;
    padding-top: 142px;
  }

  .pic img:first-child {
    position: relative;
    z-index: 10;
    height: 100%;
    max-height: 70vh;
    object-fit: cover;
    margin: 0 auto;
    padding: 8px;
  }

  main article section:nth-child(2) {
    position: static;
  }

  .name {
    position: absolute;
    width: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .name hgroup {
    height: 91px;
    margin-top: 28px;
  }

  h1 {
    font-size: 54px;
  }

  main article section:nth-child(2) div:not([class]) {
    margin-top: 2em;
    padding: 42px 1.2em 32px;
  }

}