@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap");
/* section
--------------------------------------------------------- */
.rhythm .section:not(.cnt-safety) {
  margin-top: 100px;
  padding-top: 0;
}

@media (min-width: 992px) {
  .rhythm .section:not(.cnt-safety) {
    margin-top: 150px;
  }
}
/* intro-link
--------------------------------------------------------- */
.rhythm .cnt-intro {
  position: relative;
  width: 100%;
  background: #f8efd9;
}
@media (max-width: 767px) {
  .rhythm .cnt-intro:after {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: url("/youji/grade/nencho/local/images/bg-wave-beg-top.png") repeat top left;
    background-size: auto 3px;
  }
}
.rhythm .cnt-intro .inner {
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .rhythm .cnt-intro .inner {
    padding: 45px 15px 20px;
  }
}
@media (min-width: 768px) {
  .rhythm .cnt-intro .inner {
    padding: 50px 30px 40px;
  }
}
.rhythm .cnt-intro img {
  max-width: 100%;
}
@media (max-width: 767px) {
  .rhythm .cnt-intro h2 {
    margin-bottom: 20px;
  }
}
@media (min-width: 768px) {
  .rhythm .cnt-intro h2 {
    margin-bottom: 30px;
  }
}
.rhythm .cnt-intro ul {
  padding: 0;
  list-style: none;
}
@media (max-width: 767px) {
  .rhythm .cnt-intro li {
    margin-bottom: 10px;
  }
}
@media (min-width: 768px) {
  .rhythm .cnt-intro li {
    margin-bottom: 15px;
  }
}
.rhythm .cnt-intro li:last-child {
  margin-bottom: 0;
}
.rhythm .cnt-intro a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #fff;
  border-radius: 10px;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  color: #725352;
}

.rhythm .cnt-header {
  margin-top: 0px;
}

@media (max-width: 767px) {
  .rhythm .cnt-intro a {
    padding: 20px 5%;
  }
}
@media (min-width: 768px) {
  .rhythm .cnt-intro a {
    padding: 20px 4%;
  }
}
.rhythm .cnt-intro a span {
  font-weight: 600;
}
@media (max-width: 767px) {
  .rhythm .cnt-intro a span {
    font-size: 1.4em;
  }
}
@media (min-width: 768px) {
  .rhythm .cnt-intro a span {
    font-size: 1.6em;
  }
}
.rhythm .cnt-intro a i:first-child {
  width: 12%;
}
@media (max-width: 767px) {
  .rhythm .cnt-intro a i:first-child {
    margin-right: 10px;
  }
}
@media (min-width: 768px) {
  .rhythm .cnt-intro a i:first-child {
    margin-right: 15px;
  }
}
.rhythm .cnt-intro a i:last-child {
  position: relative;
  width: 8.4%;
  margin-left: auto;
  border-radius: 100%;
  border: 1px solid #ddd;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}
.rhythm .cnt-intro a i:last-child:after {
  content: "";
  display: block;
  width: 100%;
  padding-top: 100%;
}
.rhythm .cnt-intro a i:last-child img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 40%;
  height: auto;
}
.rhythm .cnt-intro .arrow {
  display: block;
}
@media (max-width: 767px) {
  .rhythm .cnt-intro .arrow {
    width: 27px;
    margin: 15px auto 0;
  }
}
@media (min-width: 768px) {
  .rhythm .cnt-intro .arrow {
    width: 54px;
    margin: 30px auto 0;
  }
}

/* general
--------------------------------------------------------- */
.rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup {
  background: #1BB8CE;
}
.rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup:before, .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup:after {
  display: none;
}
.rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 {
  margin: 0;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 {
    font-size: 23px;
  }
}
@media (min-width: 768px) {
  .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 {
    font-size: 30px;
  }
}
.rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 small {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1;
}
@media (max-width: 767px) {
  .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 small {
    font-size: 17px;
  }
}
@media (min-width: 768px) {
  .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 small {
    font-size: 20px;
  }
}
.rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span {
  position: relative;
  display: inline-block;
}
@media (max-width: 767px) {
  .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span {
    padding: 0 40px;
  }
}
@media (min-width: 768px) {
  .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span {
    padding: 0 50px;
  }
}
.rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span:before, .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span:after {
  position: absolute;
  display: block;
  content: "";
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media (max-width: 767px) {
  .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span:before, .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span:after {
    width: 26px;
    height: 42px;
  }
}
@media (min-width: 768px) {
  .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span:before, .rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span:after {
    width: 35px;
    height: 56px;
  }
}
.rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span:before {
  left: 0;
  background: url("/youji/grade/nencho/local/images/ttl-dot-left.png") no-repeat top left;
  background-size: 100% auto;
}
.rhythm div:not(.cnt-after):not(.cnt-hitori):not(.cnt-hiragana):not(.cnt-tokei) .hgroup h3 span:after {
  right: 0;
  background: url("/youji/grade/nencho/local/images/ttl-dot-right.png") no-repeat top left;
  background-size: 100% auto;
}

.rhythm .cnt-hitori .hgroup:before, .rhythm .cnt-hitori .hgroup:after, .rhythm .cnt-hiragana .hgroup:before, .rhythm .cnt-hiragana .hgroup:after, .rhythm .cnt-tokei .hgroup:before, .rhythm .cnt-tokei .hgroup:after {
  display: none;
}
.rhythm .cnt-hitori .hgroup h3, .rhythm .cnt-hiragana .hgroup h3, .rhythm .cnt-tokei .hgroup h3 {
  line-height: 1.3;
}
.rhythm .cnt-hitori .hgroup h3 span, .rhythm .cnt-hiragana .hgroup h3 span, .rhythm .cnt-tokei .hgroup h3 span {
  display: block;
}
.rhythm .cnt-hitori .hgroup h3 i, .rhythm .cnt-hiragana .hgroup h3 i, .rhythm .cnt-tokei .hgroup h3 i {
  display: inline-block;
  width: auto;
  margin-bottom: 25px;
  padding: 0 40px 10px;
  border-bottom: 1px dashed #fff;
}
.rhythm .cnt-hitori .hgroup h3 i:after, .rhythm .cnt-hiragana .hgroup h3 i:after, .rhythm .cnt-tokei .hgroup h3 i:after {
  display: none;
}
.rhythm .cnt-hitori .hgroup h3 i small, .rhythm .cnt-hitori .hgroup h3 i span, .rhythm .cnt-hiragana .hgroup h3 i small, .rhythm .cnt-hiragana .hgroup h3 i span, .rhythm .cnt-tokei .hgroup h3 i small, .rhythm .cnt-tokei .hgroup h3 i span {
  display: block;
  color: #fff;
  line-height: 1;
}
.rhythm .cnt-hitori .hgroup h3 i small, .rhythm .cnt-hiragana .hgroup h3 i small, .rhythm .cnt-tokei .hgroup h3 i small {
  margin-bottom: 5px;
  font-size: 13px;
}
@media (min-width: 768px) {
  .rhythm .cnt-hitori .hgroup h3 i small, .rhythm .cnt-hiragana .hgroup h3 i small, .rhythm .cnt-tokei .hgroup h3 i small {
    font-size: 15px;
  }
}
.rhythm .cnt-hitori .hgroup h3 i span, .rhythm .cnt-hiragana .hgroup h3 i span, .rhythm .cnt-tokei .hgroup h3 i span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
@media (max-width: 767px) {
  .rhythm .cnt-hitori .hgroup h3 i span, .rhythm .cnt-hiragana .hgroup h3 i span, .rhythm .cnt-tokei .hgroup h3 i span {
    font-size: 40px;
  }
}
@media (min-width: 768px) {
  .rhythm .cnt-hitori .hgroup h3 i span, .rhythm .cnt-hiragana .hgroup h3 i span, .rhythm .cnt-tokei .hgroup h3 i span {
    font-size: 60px;
  }
}

/* hitori
--------------------------------------------------------- */
.rhythm .cnt-hitori {
  margin-top: 0 !important;
}
.rhythm .cnt-hitori .hgroup {
  background: #F49E09;
}

/* hiragana
--------------------------------------------------------- */
.rhythm .cnt-hiragana .hgroup {
  background: #F75D5D;
}

/* tokei
--------------------------------------------------------- */
.rhythm .cnt-tokei .hgroup {
  background: #2F97D4;
}

.after-subject__balloon {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  font: 400 22px/1.4 YakuHanJP, "Noto Sans JP", sans-serif;
}
.after-subject__balloon::before,
.after-subject__balloon::after {
  content: "";
  display: block;
  width: 29px;
  height: 4px;
  background-image: linear-gradient(to right, #5a463b, #5a463b 2px, transparent 2px, transparent 4px);
  background-size: 6px 3px;
  background-repeat: repeat-x;
  -webkit-transform: rotate(-117deg);
  transform: rotate(-117deg);
  position: absolute;
  top: 16px;
  left: -22px;
}
.after-subject__balloon::after {
  -webkit-transform: rotate(-63deg);
  transform: rotate(-63deg);
  left: auto;
  right: -22px;
}
.after-subject__img {
  max-width: 360px !important;
  margin: 0 auto !important;
  margin-top: 30px !important;
}

.p-2023summer-youtube__btn {
  margin-top: 20px;
  text-align: center;
}
.p-2023summer-youtube__btn img {
  max-width: 500px;
  width: 100%;
}
.p-2023summer-youtube__btn p {
  font: bold 20px/1 YakuHanJP, "Noto Sans JP", sans-serif;
  letter-spacing: 0.02em;
  color: #472B00;
}
@media screen and (max-width: 767px) {
  .p-2023summer-youtube__btn p {
    font-size: 16px;
  }
}