html, body {
  margin: 0;
  padding: 0;
  background: #f5f2eb;
  color: #282622;
}

body {
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
}

a,
a:visited {
  color: #282622;
}


/* =========================
   PAGE
========================= */

.gradatim-page {
  box-sizing: border-box;
  width: min(88%, 820px);
  margin: 7vh auto;
  padding: 4.4em 4.2em 3.8em;
  border: 1px solid rgba(40, 38, 34, 0.36);
}


/* =========================
   TITLE
========================= */

.gradatim-header {
  position: relative;
}

.gradatim-heading h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.gradatim-reading {
  margin-top: 0.65em;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(40, 38, 34, 0.5);
}


/* =========================
   MOTIF
   青灰＝凛 / 《圧縮》
   橙＝爆豪 / 《爆破》
========================= */

.gradatim-motif {
  position: relative;
  height: 84px;
  margin: 1.7em 0 1.8em;
  overflow: hidden;
}


/* 二人の軌跡 */

.gradatim-motif .line {
  position: absolute;
  display: block;
  height: 1px;
  transform-origin: left center;
}

.line-blue {
  left: -2%;
  top: 44px;
  width: 64%;
  background: rgba(102, 119, 132, 0.74);
  transform: rotate(-4deg);
}

.line-blue::after {
  content: "";
  position: absolute;
  left: 63%;
  top: 0;
  width: 88%;
  height: 1px;
  background: rgba(102, 119, 132, 0.46);
  transform-origin: left center;
  transform: rotate(8deg);
}

.line-orange {
  left: 6%;
  top: 55px;
  width: 58%;
  background: rgba(217, 107, 43, 0.78);
  transform: rotate(4deg);
}

.line-orange::after {
  content: "";
  position: absolute;
  left: 68%;
  top: 0;
  width: 95%;
  height: 1px;
  background: rgba(217, 107, 43, 0.5);
  transform-origin: left center;
  transform: rotate(-9deg);
}


/* 《圧縮》 */

.glass {
  position: absolute;
  display: block;
  box-sizing: border-box;
  background: none;
}

.glass-1 {
  width: 42px;
  height: 30px;
  left: 7%;
  top: 19px;

  border: 1px solid rgba(102, 119, 132, 0.24);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;

  transform: rotate(-18deg);
}

.glass-1::after {
  content: "";
  position: absolute;

  width: 29px;
  height: 20px;
  left: 7px;
  top: 5px;

  border: 1px solid rgba(102, 119, 132, 0.16);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}


/* 《爆破》の火花 */

.glass-2 {
  width: 19px;
  height: 1px;

  right: 10%;
  top: 48px;

  background: rgba(217, 107, 43, 0.72);

  transform: rotate(-27deg);
}

.glass-2::before,
.glass-2::after {
  content: "";
  position: absolute;
  display: block;

  height: 1px;

  background: rgba(217, 107, 43, 0.55);
  transform-origin: left center;
}

.glass-2::before {
  width: 11px;
  left: 7px;
  top: -6px;
  transform: rotate(48deg);
}

.glass-2::after {
  width: 8px;
  left: 11px;
  top: 5px;
  transform: rotate(-44deg);
}


/* もう一つ薄い圧力弧 */

.glass-3 {
  width: 54px;
  height: 36px;

  right: 21%;
  top: 14px;

  border: 1px solid rgba(102, 119, 132, 0.18);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;

  transform: rotate(19deg);
}


/* =========================
   ATTENTION
========================= */

.gradatim-attention {
  margin-top: 1.2em;
  text-align: left;

  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.gradatim-attention a {
  display: inline-block;

  color: rgba(40, 38, 34, 0.62);
  text-decoration: none;

  padding-bottom: 3px;
  border-bottom: 1px solid rgba(102, 119, 132, 0.4);
}

.gradatim-attention a::after {
  content: " →";
  color: #d96b2b;
}

.gradatim-attention a:hover {
  opacity: 0.6;
}


/* =========================
   CHAPTER AREA
========================= */

.gradatim-episodes {
  margin-top: 3.2em;
}

.chapter-block {
  margin-top: 3.4em;
}

.chapter-block:first-child {
  margin-top: 0;
}

.chapter-title {
  display: flex;
  align-items: center;
  gap: 1.3em;

  margin: 0 0 1.2em;

  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.chapter-title::after {
  content: "";
  flex: 1;
  height: 1px;

  background: linear-gradient(
    to right,
    rgba(102, 119, 132, 0.5),
    rgba(217, 107, 43, 0.22),
    rgba(40, 38, 34, 0.1)
  );
}


/* =========================
   EPISODE LIST
========================= */

.episode-list {
  border-top: 1px solid rgba(40, 38, 34, 0.18);
}

.episode-item {
  display: grid;
  grid-template-columns: 3.2em 1fr;
  gap: 1em;
  align-items: center;

  padding: 1.15em 0;

  border-bottom: 1px solid rgba(40, 38, 34, 0.18);

  text-decoration: none;
}

.episode-item:hover {
  opacity: 0.6;
}

.episode-no {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #d96b2b;
}

.episode-title {
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.055em;
}


/* =========================
   BACK
========================= */

.gradatim-back {
  margin-top: 4em;

  text-align: center;

  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.gradatim-back a {
  text-decoration: none;

  padding-bottom: 4px;

  border-bottom: 1px solid rgba(40, 38, 34, 0.4);
}

.gradatim-back a:hover {
  opacity: 0.6;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .gradatim-page {
    width: 88%;
    margin: 4vh auto;
    padding: 2.7em 1.7em 2.8em;
  }


  /* TITLE */

  .gradatim-heading h1 {
    font-size: 1.55rem;
    letter-spacing: 0.18em;
  }

  .gradatim-reading {
    font-size: 0.64rem;
  }


  /* MOTIF */

  .gradatim-motif {
    height: 68px;
    margin: 1.4em 0 1.5em;
  }

  .line-blue {
    top: 34px;
    width: 62%;
  }

  .line-orange {
    top: 44px;
    width: 58%;
  }

  .glass-1 {
    width: 32px;
    height: 23px;

    left: 3%;
    top: 14px;
  }

  .glass-1::after {
    width: 22px;
    height: 15px;

    left: 5px;
    top: 4px;
  }

  .glass-2 {
    width: 15px;

    right: 7%;
    top: 39px;
  }

  .glass-2::before {
    width: 9px;
  }

  .glass-2::after {
    width: 7px;
  }

  .glass-3 {
    width: 38px;
    height: 27px;

    right: 20%;
    top: 10px;
  }


  /* ATTENTION */

  .gradatim-attention {
    margin-top: 1em;

    text-align: left;

    font-size: 0.68rem;
  }


  /* CHAPTER */

  .gradatim-episodes {
    margin-top: 2.8em;
  }

  .chapter-block {
    margin-top: 2.8em;
  }

  .chapter-title {
    gap: 1em;

    margin-bottom: 1em;

    font-size: 0.86rem;
  }


  /* EPISODE */

  .episode-item {
    grid-template-columns: 2.6em 1fr;
    gap: 0.7em;

    padding: 1em 0;
  }

  .episode-no {
    font-size: 0.72rem;
  }

  .episode-title {
    font-size: 0.85rem;
  }


  /* BACK */

  .gradatim-back {
    margin-top: 3em;
  }
}