:root {
  --font-color: #594B3A;
  --white-color: #FFFFFF;
  --gray-color: #F2EEE7;
  --background-color: #FBE9E5;
  --accent-color: #E5555D;
  --sp-padding: 1.125rem;
  --pc-padding: 2rem;
  --pc-header-height: 24.3125rem;
  --sp-header-height: 9.4375rem;
  --ff-base: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

/* =========================
   Breakpoint variables
========================= */
/* =========================
   Breakpoint map
========================= */
/* =========================
   Media query mixin
========================= */
.page-rhythmic .subheader {
  background-image: url(../images/common/img-ritomic-subheader_pc.webp);
}
@media screen and (max-width: 767px) {
  .page-rhythmic .subheader {
    background-image: url(../images/common/img-ritomic-subheader_sp.webp);
  }
}
.page-rhythmic .intro-section {
  padding-bottom: 1.4375rem;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .intro-section {
    padding-top: 1.3125rem;
    padding-bottom: 3.6875rem;
  }
}
.page-rhythmic .intro__lead {
  color: var(--accent-color);
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 2.24px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .intro__lead {
    font-size: 1.25rem;
  }
}
.page-rhythmic .intro__text {
  margin-top: 2.5rem;
  line-height: 1.875;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .intro__text {
    margin-top: 2rem;
    font-size: 0.875rem;
    line-height: 1.78571;
    width: 35rem;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
}
.page-rhythmic .intro-cont__lead {
  font-size: 2rem;
  margin-top: 6.5rem;
  text-align: center;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .intro-cont__lead {
    color: var(--accent-color);
    font-size: 1.25rem;
    line-height: 1.5;
    margin-top: 0.625rem;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
}
.page-rhythmic .intro__cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 2.25rem;
}
@media screen and (min-width: 768px) {
  .page-rhythmic .intro__cont {
    gap: clamp(1rem, 0.357rem + 3.42vw, 3.438rem);
    width: 53rem;
    max-width: 100%;
    margin-inline: auto;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .intro__cont {
    margin-top: 4.75rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.page-rhythmic .intro__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media screen and (min-width: 768px) {
  .page-rhythmic .intro__list {
    width: 62%;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .intro__list {
    margin-top: 2.5rem;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
}
.page-rhythmic .intro-list__item {
  font-size: clamp(1rem, 0.714rem + 0.6vw, 1.25rem);
  font-style: normal;
  line-height: 2;
  letter-spacing: 1px;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .intro-list__item {
    font-size: 1rem;
    line-height: 1.875;
  }
}
.page-rhythmic .intro__img {
  width: 12.75rem;
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .intro__img {
    width: 9.375rem;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}
.page-rhythmic .charm__section {
  position: relative;
  padding-top: calc(9.0277777778vw + 7.8125rem);
  padding-bottom: 3.25rem;
  background: var(--background-color);
}
@media screen and (max-width: 767px) {
  .page-rhythmic .charm__section {
    padding-top: calc(8vw + 2.375rem);
    padding-bottom: 1.9375rem;
  }
}
.page-rhythmic .charm__section::before {
  content: "";
  position: absolute;
  background: url("../images/ritomic/bg-intro-02_pc.webp") no-repeat center center/cover;
  aspect-ratio: 1440/135;
  width: 100%;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .page-rhythmic .charm__section::before {
    background: url("../images/ritomic/bg-intro-02_sp.webp") no-repeat center center/cover;
    aspect-ratio: 375/35;
    top: 0;
  }
}
.page-rhythmic .charm__cont {
  width: 70.25rem;
  max-width: 100%;
  margin-inline: auto;
  background: var(--white-color);
  border-radius: 2.5rem;
  padding: 3.4375rem 4.0625rem 2.5rem 4.0625rem;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .charm__cont {
    padding: 2.75rem 1.875rem;
    border-right: 1.875rem;
    width: 35rem;
  }
}
.page-rhythmic .charm__title {
  color: var(--accent-color);
  text-align: center;
  font-size: 2rem;
  line-height: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 2.24px;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .charm__title {
    font-size: 1.25rem;
  }
}
.page-rhythmic .charm__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: clamp(2rem, -1.429rem + 7.14vw, 5rem);
  margin-top: 3.6875rem;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .charm__list {
    margin-top: 2.75rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 2.4375rem;
  }
}
@media screen and (min-width: 768px) {
  .page-rhythmic .charm-list__item {
    width: calc(33.3333333333% - clamp(2rem, -1.429rem + 7.14vw, 5rem) * 2 / 3);
  }
}
.page-rhythmic .charm-item__title {
  margin-top: 1.5rem;
  color: var(--accent-color);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .charm-item__title {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.875;
  }
}
.page-rhythmic .charm-item__text {
  margin-top: 0.5rem;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .charm-item__text {
    margin-top: 0.6875rem;
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-rhythmic .course__section {
  padding-top: 20.8125rem;
  padding-bottom: 7.3125rem;
  position: relative;
}
@media screen and (min-width: 768px) and (max-width: 1280px) {
  .page-rhythmic .course__section {
    padding-top: 21.3125rem;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course__section {
    padding-top: 17.875rem;
    padding-bottom: 3.75rem;
  }
}
.page-rhythmic .course__section::before {
  content: "";
  position: absolute;
  background: url("../images/ritomic/bg-course_pc.webp") no-repeat center center/cover;
  aspect-ratio: 1440/135;
  width: 100%;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course__section::before {
    background: url("../images/ritomic/bg-course_sp.webp") no-repeat center center/cover;
    aspect-ratio: 375/35;
    top: 0;
  }
}
.page-rhythmic .course__title {
  text-align: center;
}
.page-rhythmic .course__title span {
  position: relative;
  color: var(--accent-color);
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 2.24px;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course__title span {
    font-size: 1.5rem;
  }
}
.page-rhythmic .course__title span::before {
  content: "";
  position: absolute;
  background: url("../images/ritomic/deco-course-01.webp") no-repeat center center/contain;
  width: 17.5rem;
  height: 20rem;
  left: -21.8125rem;
  bottom: -4.6875rem;
}
@media screen and (min-width: 768px) and (max-width: 1280px) {
  .page-rhythmic .course__title span::before {
    width: 12.5rem;
    height: 14.3125rem;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    left: 50%;
    bottom: 2.5625rem;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course__title span::before {
    width: 9.375rem;
    height: 10.6875rem;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    left: 50%;
    bottom: 3.75rem;
  }
}
.page-rhythmic .course__list {
  width: 70rem;
  max-width: 100%;
  margin-inline: auto;
  margin-top: 6.75rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4.5rem;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course__list {
    margin-top: 2.125rem;
    gap: 3rem;
    width: 35rem;
  }
}
.page-rhythmic .course-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (min-width: 768px) {
  .page-rhythmic .course-list__item {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .page-rhythmic .course-list__item:nth-child(2n) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-list__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1.5rem;
  }
}
.page-rhythmic .course-list__item01 .course-item__img::before {
  width: 6.25rem;
  height: 6.25rem;
  top: -3.8125rem;
  right: 2.625rem;
  background: url("../images/ritomic/deco-course-02.webp") no-repeat center center/contain;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-list__item01 .course-item__img::before {
    width: 5rem;
    height: 5rem;
    top: -2rem;
    right: 0.75rem;
  }
}
.page-rhythmic .course-list__item01 .course-item__title {
  color: #FF8488;
}
.page-rhythmic .course-list__item01 .course-item__lead {
  color: #FF8488;
}
.page-rhythmic .course-list__item02 .course-item__img::before {
  width: 7.5rem;
  height: 14.0625rem;
  top: -9.375rem;
  right: 1.25rem;
  background: url("../images/ritomic/deco-course-03.webp") no-repeat center center/contain;
}
@media screen and (min-width: 768px) and (max-width: 1280px) {
  .page-rhythmic .course-list__item02 .course-item__img::before {
    width: 6.25rem;
    height: 11.6875rem;
    top: -6.375rem;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-list__item02 .course-item__img::before {
    width: 5rem;
    height: 9.375rem;
    right: 85%;
    top: -3.0625rem;
  }
}
.page-rhythmic .course-list__item02 .course-item__title {
  color: #FF981A;
}
.page-rhythmic .course-list__item02 .course-item__lead {
  color: #FF981A;
}
.page-rhythmic .course-list__item03 .course-item__img::before {
  width: 6.25rem;
  height: 6.25rem;
  top: -2.8125rem;
  right: 3.4375rem;
  background: url("../images/ritomic/deco-course-04.webp") no-repeat center center/contain;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-list__item03 .course-item__img::before {
    width: 4.375rem;
    height: 4.375rem;
    top: -2.3125rem;
    right: 1.375rem;
  }
}
.page-rhythmic .course-list__item03 .course-item__title {
  color: #3F8FD0;
}
.page-rhythmic .course-list__item03 .course-item__lead {
  color: #3F8FD0;
}
.page-rhythmic .course-list__item04 .course-item__img::before {
  width: 7.5rem;
  height: 11.25rem;
  top: -6.3125rem;
  right: 4.4375rem;
  background: url("../images/ritomic/deco-course-05.webp") no-repeat center center/contain;
}
@media screen and (min-width: 768px) and (max-width: 1280px) {
  .page-rhythmic .course-list__item04 .course-item__img::before {
    width: 6.25rem;
    height: 9.375rem;
    right: 1.1875rem;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-list__item04 .course-item__img::before {
    width: 5rem;
    height: 7.5rem;
    right: 1.875rem;
    top: 76%;
  }
}
.page-rhythmic .course-list__item04 .course-item__title {
  color: #79BF4B;
}
.page-rhythmic .course-list__item04 .course-item__lead {
  color: #79BF4B;
}
@media screen and (min-width: 768px) {
  .page-rhythmic .course-item__cont {
    width: 47.3%;
  }
}
.page-rhythmic .course-item__cont ul li {
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-item__cont ul li {
    line-height: 1.78571;
  }
}
.page-rhythmic .course-item__lead {
  font-size: clamp(1.125rem, 0.982rem + 0.3vw, 1.25rem);
  line-height: 1.68;
  letter-spacing: 2.24px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 1.0625rem;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-item__lead {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
  }
}
.page-rhythmic .course-item__title {
  font-size: clamp(1.5rem, 0.929rem + 1.19vw, 2rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 2.24px;
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-item__title {
    line-height: 1.68;
    font-size: clamp(1.125rem, 5.3vw, 1.25rem);
    text-align: center;
    margin-bottom: 1rem;
  }
}
.page-rhythmic .course-item__text {
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .course-item__text {
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-rhythmic .course-item__img {
  position: relative;
}
@media screen and (min-width: 768px) {
  .page-rhythmic .course-item__img {
    width: 47.3%;
  }
}
.page-rhythmic .course-item__img::before {
  content: "";
  position: absolute;
}
.page-rhythmic .other-course__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 3.9375rem;
  width: 70rem;
  max-width: 100%;
  margin-inline: auto;
  background: #FBFAF6;
  border-radius: 2.5rem;
  padding: clamp(2.5rem, -0.714rem + 6.7vw, 5.313rem) clamp(2.188rem, -0.313rem + 5.21vw, 4.375rem);
}
@media screen and (min-width: 768px) {
  .page-rhythmic .other-course__block {
    gap: 5.5%;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .other-course__block {
    margin-top: 3.25rem;
    padding: 1.6875rem 1.25rem;
    border-radius: 1.875rem;
    width: 35rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1.5rem;
  }
}
@media screen and (min-width: 768px) {
  .page-rhythmic .other-course__cont {
    width: 54.3%;
  }
}
.page-rhythmic .other-course__cont ul li {
  font-style: normal;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .other-course__cont ul li {
    font-size: 0.875rem;
    line-height: 1.7857;
  }
}
.page-rhythmic .other-course__lead {
  color: var(--accent-color);
  font-size: clamp(1.125rem, 0.982rem + 0.3vw, 1.25rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .other-course__lead {
    font-size: 1rem;
    line-height: 1.875;
  }
}
.page-rhythmic .other-course__title {
  color: var(--accent-color);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 1.1875rem;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .other-course__title {
    margin-top: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.5;
  }
}
.page-rhythmic .other-course__text {
  margin-top: 0.5625rem;
  font-style: normal;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .other-course__text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.7857;
  }
}
.page-rhythmic .other-course__text a {
  display: inline;
  color: var(--accent-color);
  text-decoration: underline;
}
@media screen and (min-width: 768px) {
  .page-rhythmic .other-course-item__img {
    width: 40.1%;
  }
}
.page-rhythmic .access__section {
  position: relative;
  padding-top: calc(9.375vw + 7.5625rem);
  padding-bottom: calc(10.4861111111vw + 9.4375rem);
}
@media screen and (max-width: 767px) {
  .page-rhythmic .access__section {
    padding-top: calc(8vw + 4.125rem);
    padding-bottom: calc(11.2vw + 5.625rem);
  }
}
.page-rhythmic .access__section::before {
  content: "";
  position: absolute;
  background: url("../images/ritomic/bg-access_pc.webp") no-repeat center center/cover;
  aspect-ratio: 1440/135;
  width: 100%;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .page-rhythmic .access__section::before {
    background: url("../images/ritomic/bg-access_sp.webp") no-repeat center center/cover;
    aspect-ratio: 375/35;
    top: 0;
  }
}
.page-rhythmic .access__cont {
  width: 69.75rem;
  max-width: 100%;
  margin-inline: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (min-width: 768px) {
  .page-rhythmic .access__cont {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .access__cont {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 3.0625rem;
    width: 35rem;
  }
}
@media screen and (min-width: 768px) {
  .page-rhythmic .access__block {
    width: 42.5%;
  }
}
.page-rhythmic .access__title {
  color: var(--accent-color);
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 2.24px;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .access__title {
    text-align: center;
    font-size: 1.25rem;
  }
}
.page-rhythmic .access__text {
  margin-top: 2.375rem;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .access__text {
    margin-top: 1.375rem;
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-rhythmic .access__btn {
  margin-top: 2.5rem;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .access__btn {
    margin-top: 2.0625rem;
  }
}
.page-rhythmic .access__btn a {
  color: var(--white-color);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  padding: 1rem 2rem;
  border-radius: 3.125rem;
  background: var(--accent-color);
  width: 17.75rem;
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .page-rhythmic .access__btn a {
    font-size: 1rem;
    padding: 0.5625rem 2rem;
    margin-inline: auto;
  }
}
.page-rhythmic .access__map {
  border-radius: 2.5rem;
  overflow: hidden;
  aspect-ratio: 610/294;
}
@media screen and (min-width: 768px) {
  .page-rhythmic .access__map {
    width: 54.7%;
  }
}
@media screen and (max-width: 767px) {
  .page-rhythmic .access__map {
    border-radius: 1.875rem;
    aspect-ratio: 340/164;
  }
}
.page-rhythmic .access__map iframe {
  width: 100%;
  height: 100%;
}