@media (min-width: 835px) {
  main > .note,
main .chapter {
    width: 95%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
  main > .note {
    padding: 80px 0;
  }
  main > .note p {
    font-size: 1.6rem;
  }
  main .chapter {
    border-width: 3px;
    border-style: solid;
    border-radius: 10px;
    overflow: hidden;
  }
  main .chapter:not(:last-of-type) {
    margin-bottom: 50px;
  }
  main .chapter header {
    padding: 20px 40px;
    position: relative;
  }
  main .chapter header * {
    color: #fff;
  }
  main .chapter header h2 {
    font-size: 2rem;
  }
  main .chapter header h2 span {
    display: inline-block;
    margin-left: 20px;
    font-size: 1.5rem;
    color: #333;
  }
  main .chapter header h2 .info {
    font-size: 1.3rem;
  }
  main .chapter header figure {
    width: 215px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    right: 30px;
    top: 20px;
  }
  main .chapter .details {
    background: #fff;
    padding: 30px 40px;
  }
  main .chapter .details h3:first-of-type,
main .chapter .details .note:first-of-type {
    padding-right: 230px;
  }
  main .chapter .details h3 {
    font-size: 1.6rem;
  }
  main .chapter .details .note {
    margin-top: 20px;
  }
  main .chapter .details .note + h3 {
    margin-top: 30px;
  }
  main .chapter:first-of-type, main .chapter:nth-of-type(4n + 1) {
    border-color: #6AC1D6;
  }
  main .chapter:first-of-type header, main .chapter:nth-of-type(4n + 1) header {
    background: #6AC1D6;
  }
  main .chapter:nth-of-type(2), main .chapter:nth-of-type(4n + 2) {
    border-color: #8ABE38;
  }
  main .chapter:nth-of-type(2) header, main .chapter:nth-of-type(4n + 2) header {
    background: #8ABE38;
  }
  main .chapter:nth-of-type(3), main .chapter:nth-of-type(4n + 3) {
    border-color: #F49E29;
  }
  main .chapter:nth-of-type(3) header, main .chapter:nth-of-type(4n + 3) header {
    background: #F49E29;
  }
  main .chapter:nth-of-type(4), main .chapter:nth-of-type(4n + 4) {
    border-color: #A78CBE;
  }
  main .chapter:nth-of-type(4) header, main .chapter:nth-of-type(4n + 4) header {
    background: #A78CBE;
  }
}
@media (max-width: 834px) {
  main > .note {
    padding: 60px 7%;
  }
}
@media (max-width: 834px) and (min-width: 835px) {
  main > .note p {
    line-height: 2.5;
  }
}
@media (max-width: 834px) and (max-width: 414px) {
  main > .note p {
    line-height: 2.2;
  }
}
@media (max-width: 834px) {
  main > .note p:not(:last-of-type) {
    margin-bottom: 2em;
  }
}
@media (max-width: 834px) {
  main .chapter header {
    padding: 20px 5%;
    position: relative;
  }
  main .chapter header::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
  }
  main .chapter header:not(.open)::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
  main .chapter header.open::after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
  }
  main .chapter header * {
    color: #fff;
  }
  main .chapter header h2 {
    padding-right: calc(5% + 120px);
    font-size: 1.6rem;
    line-height: 1.6;
  }
  main .chapter header h2 span {
    display: block;
    margin-top: 5px;
    font-size: 1.3rem;
    color: #333;
  }
  main .chapter header .info {
    margin-top: 10px;
    font-size: 1.2rem;
    line-height: 1.7;
  }
  main .chapter header figure {
    width: 105px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    right: 30px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  main .chapter .details {
    display: none;
    background: #fff;
    padding: 30px 5% 40px;
  }
  main .chapter .details h3 {
    font-size: 1.5rem;
  }
  main .chapter .details .note {
    margin-top: 20px;
  }
  main .chapter .details .note + h3 {
    margin-top: 30px;
  }
  main .chapter:first-of-type, main .chapter:nth-of-type(4n + 1) {
    border-color: #6AC1D6;
  }
  main .chapter:first-of-type header, main .chapter:nth-of-type(4n + 1) header {
    background: #6AC1D6;
  }
  main .chapter:nth-of-type(2), main .chapter:nth-of-type(4n + 2) {
    border-color: #8ABE38;
  }
  main .chapter:nth-of-type(2) header, main .chapter:nth-of-type(4n + 2) header {
    background: #8ABE38;
  }
  main .chapter:nth-of-type(3), main .chapter:nth-of-type(4n + 3) {
    border-color: #F49E29;
  }
  main .chapter:nth-of-type(3) header, main .chapter:nth-of-type(4n + 3) header {
    background: #F49E29;
  }
  main .chapter:nth-of-type(4), main .chapter:nth-of-type(4n + 4) {
    border-color: #A78CBE;
  }
  main .chapter:nth-of-type(4) header, main .chapter:nth-of-type(4n + 4) header {
    background: #A78CBE;
  }
}