: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-access .subheader {
  background-image: url(../images/common/img-access-ritomic-subheader_pc.webp);
}
@media screen and (max-width: 767px) {
  .page-access .subheader {
    background-image: url(../images/common/img-access-ritomic-subheader_sp.webp);
  }
}
.page-access .subheader.is-piano {
  background-image: url(../images/common/img-access-piano-subheader_pc.webp);
}
@media screen and (max-width: 767px) {
  .page-access .subheader.is-piano {
    background-image: url(../images/common/img-access-piano-subheader_sp.webp);
  }
}
.page-access .access__section {
  padding-top: 1.4375rem;
  padding-bottom: calc(11.1111111111vw + 12.125rem);
}
@media screen and (max-width: 767px) {
  .page-access .access__section {
    padding-top: 3.375rem;
    padding-bottom: calc(11.7333333333vw + 5.5rem);
  }
}
.page-access .access__cont {
  width: 70.25rem;
  max-width: 100%;
  margin-inline: auto;
}
.page-access .access-tab__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (min-width: 768px) {
  .page-access .access-tab__list {
    gap: clamp(4rem, 0.429rem + 7.44vw, 7.125rem);
  }
}
@media screen and (max-width: 767px) {
  .page-access .access-tab__list {
    gap: clamp(1rem, -0.432rem + 7.16vw, 3rem);
  }
}
.page-access .access-tab-list__item {
  color: var(--accent-color);
  background: var(--white-color);
  text-align: center;
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 2.24px;
  border-radius: 1.25rem;
  border: 0.125rem solid currentColor;
  width: 18.875rem;
  max-width: 100%;
  padding: 1rem;
}
@media screen and (max-width: 767px) {
  .page-access .access-tab-list__item {
    width: 9.625rem;
    padding: 0.5625rem;
    border-radius: 0.625rem;
    font-size: 1rem;
  }
}
@media screen and (max-width: 374px) {
  .page-access .access-tab-list__item {
    font-size: 0.875rem;
    padding: 0.5625rem 0.25rem;
  }
}
.page-access .access-tab-list__item[aria-selected=true] {
  color: var(--white-color);
  background: var(--accent-color);
}
.page-access .tab-panel {
  margin-top: 6.25rem;
}
@media screen and (max-width: 767px) {
  .page-access .tab-panel {
    margin-top: 2.8125rem;
  }
}
.page-access .rhythmic-lesson__lead {
  text-align: center;
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.66667;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-lesson__lead {
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5625;
  }
}
.page-access .rhythmic-lesson-lead__inline {
  color: var(--accent-color);
  display: inline-block;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-lesson-lead__inline {
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5625;
    margin-top: 1rem;
  }
}
.page-access .rhythmic-map {
  margin-top: 3.3125rem;
  overflow: hidden;
  border-radius: 2.5rem;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-map {
    margin-top: 1.625rem;
    border-radius: 1.25rem;
  }
}
.page-access .rhythmic-address__title {
  margin-top: 3.0625rem;
  text-align: center;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-address__title {
    margin-top: 1.0625rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5625;
  }
}
.page-access .rhythmic-address__text {
  font-style: normal;
  text-align: center;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-address__text {
    font-size: 0.875rem;
    line-height: 1.7857;
  }
}
.page-access .rhythmic__title {
  color: var(--accent-color);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 2.24px;
  margin-top: 9.5625rem;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic__title {
    margin-top: 4.4375rem;
    font-size: 1.25rem;
    font-style: normal;
    letter-spacing: 2.24px;
  }
}
.page-access .rhythmic-route__cont {
  width: 62.9375rem;
  max-width: 100%;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route__cont {
    width: 35rem;
  }
}
.page-access .rhythmic-route01 {
  margin-top: 3.375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route01 {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: clamp(2.25rem, -0.179rem + 5.06vw, 4.375rem) clamp(2.25rem, -1.393rem + 7.59vw, 5.438rem);
  }
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route01 {
    margin-top: 2.1875rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 2.5rem;
  }
}
.page-access .rhythmic-route01::before {
  content: "";
  position: absolute;
  background: url("../images/access/bg-rhythmic-l.svg") no-repeat top center/cover;
  width: 100vw;
  aspect-ratio: 2103/5000;
  top: -7.375rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: -1;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route01::before {
    aspect-ratio: 375/4500;
    top: -6.25rem;
  }
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route01__item {
    width: calc(50% - clamp(2.25rem, -1.393rem + 7.59vw, 5.438rem) / 2);
  }
}
.page-access .rhythmic-route01__text {
  margin-top: 2.125rem;
  text-align: center;
  font-style: normal;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route01__text {
    margin-top: 0.9375rem;
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-access .rhythmic-route__cont02 {
  margin-top: 9.375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route__cont02 {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route__cont02 {
    margin-top: 2.5rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 1.625rem;
    position: relative;
    padding-bottom: 13.25rem;
  }
  .page-access .rhythmic-route__cont02::before {
    content: "";
    position: absolute;
    background: url("../images/access/deco-eurhythmics.webp") no-repeat center center/contain;
    width: 9.375rem;
    height: 10.6875rem;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    left: 50%;
    bottom: 0;
  }
}
.page-access .rhythmic-route-cont02-text__block {
  position: relative;
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route-cont02-text__block {
    width: 47.6%;
    padding-bottom: 21rem;
  }
}
@media screen and (min-width: 768px) and (max-width: 1280px) {
  .page-access .rhythmic-route-cont02-text__block {
    padding-bottom: 16rem;
  }
}
.page-access .rhythmic-route-cont02-text__block::before {
  content: "";
  position: absolute;
  background: url("../images/access/deco-eurhythmics.webp") no-repeat center center/contain;
  width: 17.5rem;
  height: 20rem;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  left: 50%;
  bottom: 0;
}
@media screen and (min-width: 768px) and (max-width: 1280px) {
  .page-access .rhythmic-route-cont02-text__block::before {
    width: 13.125rem;
    height: 15rem;
    bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route-cont02-text__block::before {
    display: none;
  }
}
.page-access .rhythmic-route-cont02__text {
  font-style: normal;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route-cont02__text {
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-access .rhythmic-route-cont02-text__inline {
  color: var(--accent-color);
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route-cont02-text__inline {
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-access .rhythmic-route__cont02-text__info {
  color: var(--accent-color);
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.875;
  margin-top: 2.125rem;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route__cont02-text__info {
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-access .rhythmic-route-cont02-img__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2.875rem;
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route-cont02-img__block {
    width: 45.7%;
  }
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route-cont02-img__block {
    gap: 2.5rem;
  }
}
.page-access .rhythmic-route__cont03 {
  margin-top: 9.375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route__cont03 {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 2.5625rem clamp(2.25rem, 0.536rem + 3.57vw, 3.75rem);
  }
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route__cont03 {
    margin-top: 2.5rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 2.5rem;
  }
}
.page-access .rhythmic-route-cont03__text {
  font-style: normal;
  line-height: 1.875;
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route-cont03__text {
    width: calc(50% - clamp(2.25rem, 0.536rem + 3.57vw, 3.75rem) / 2);
  }
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route-cont03__text {
    text-align: center;
    line-height: 1.875;
    font-size: 0.875rem;
  }
}
@media screen and (min-width: 768px) and (min-width: 768px) {
  .page-access .rhythmic-route-cont03__img {
    width: calc(50% - clamp(2.25rem, 0.536rem + 3.57vw, 3.75rem) / 2);
  }
}
.page-access .rhythmic-route__cont04 {
  margin-top: 9.375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route__cont04 {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route__cont04 {
    margin-top: 2.5rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1.6875rem;
  }
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route-cont04-text__block {
    width: calc(33.3333333333% - clamp(2rem, 1.357rem + 1.34vw, 2.563rem) * 2 / 3);
  }
}
.page-access .rhythmic-route-cont04__text {
  font-style: normal;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route-cont04__text {
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-access .rhythmic-route-cont04__info {
  color: var(--accent-color);
  font-size: 0.875rem;
  font-style: normal;
  line-height: 2.143;
}
@media screen and (max-width: 767px) {
  .page-access .rhythmic-route-cont04__info {
    font-size: 0.875rem;
    line-height: 1.7857;
    text-align: center;
  }
}
@media screen and (min-width: 768px) {
  .page-access .rhythmic-route-cont04__img {
    width: calc(33.3333333333% - clamp(2rem, 1.357rem + 1.34vw, 2.563rem) * 2 / 3);
  }
}
.page-access .piano__cont {
  width: 70.25rem;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 2.5rem;
  border: 0.125rem solid var(--accent-color);
  background: var(--white-color);
  padding: 2.5rem;
}
@media screen and (max-width: 767px) {
  .page-access .piano__cont {
    border-radius: 1.875rem;
    padding: 1rem 0.625rem;
  }
}
.page-access .piano__lead {
  color: var(--accent-color);
  text-align: center;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .page-access .piano__lead {
    font-size: 1rem;
    line-height: 1.5625;
  }
}
.page-access .piano__text {
  margin-top: 2.0625rem;
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.875;
}
@media screen and (max-width: 767px) {
  .page-access .piano__text {
    font-size: 0.875rem;
    line-height: 1.78571;
  }
}
.page-access .tab-panel {
  display: none;
}
.page-access .tab-panel.is-active {
  display: block;
}