/* -------------------------------
default styling
------------------------------- */
:root {
  --yellow: #ffdb5c;
  --blue: #4897d8;
  --orange: #f8a055;
  --red: #fa6e59;
}

/* ++++++++++++++++++++++++++++++++++++ */
.loading {
  width: 100px; /*1フレーム分の横幅*/
  height: 100px; /*1フレーム分の縦幅*/
  background: url("../images/steps.png") no-repeat; /*背景画像の読み込み*/
  animation: stepsline 1s steps(2) infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes stepsline {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -200px 0;
  }
}

.loading_wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: var(--yellow);
  text-align: center;
  color: var(--red);
}
.loading_wrapper p {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
}
/* ++++++++++++++++++++++++++++++++++++ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "mizolet", "heisei-maru-gothic-std", "Noto Sans JP",
    "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Arial", "Yu Gothic", "Meiryo", sans-serif;
  color: #333;
  background-color: #fff;
}

h1,
h2 {
  line-height: 1.4;
}
h2,
h3 {
  margin-top: 0;
  font-weight: 500;
}
h1 {
  margin-top: 0;
  text-align: center;
}
ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
p {
  line-height: 1.5;
}
figure {
  margin: 0;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
}
a,
textarea {
  transition: all 0.15s ease-in-out;
}

nav a:hover,
nav a:active {
  color: var(--blue);
  font-weight: 500;
}

/* Reusable Classes */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.class_info span,
.footer_contact_info span {
  display: block;
  font-weight: 400;
}
.btn_basic {
  background-color: var(--orange);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 24px;
}
.triangle {
  width: 0;
  height: 0;
  transform: rotate(90deg);
}
.separator {
  width: 70%;
  border-bottom: 3px dashed var(--red);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.separator::before,
.separator::after {
  content: "◆";
  color: var(--red);
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 1.5px));
}
.separator::before {
  left: -1em;
}
.separator::after {
  right: -1em;
}
/* Header */
header {
  background: var(--yellow);
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  display: flex;
  z-index: 100;
}

.header_nav {
  display: flex;
  z-index: 10;
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background: transparent;
  font-weight: 400;
  opacity: 0;
  transition: 0.6s;
}
.nav_item {
  white-space: nowrap;
}
/* Page - home */
/* Page - home - hero */
.hero {
  display: flex;
}
.hero_class_info_address,
.hero_class_info_phone {
  display: flex;
  align-items: center;
}
.hero > figure > img {
  border-radius: 24px;
}
.hero_class_info h1 {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0;
}

/* Page - home - thought_intro */
.home_thought_intro > figure > img {
  border-radius: 24px;
}
.home_thought_intro {
  display: flex;
}
/* Page - home - ability */
.home_ability_circle {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}
.home_ability_circle_item {
  background-color: var(--yellow);
  border-radius: 50%;
  aspect-ratio: 1;
  text-align: center;
  align-content: center;
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* Page - home - feature */
.home_feature_items {
  text-align: center;
}
.home_feature_items_text h3 {
  padding-bottom: 8px;
  position: relative;
  width: fit-content;
  margin: auto;
}
.home_feature_items_text h3::after {
  content: "";
  width: 60px;
  border-bottom: 3px solid var(--red);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.home_feature_items_text {
  text-align: left;
  max-width: 230px;
  margin: auto;
}

/* page - thought */
.page_thought_intro {
  display: flex;
  flex-direction: column;
}
.page_thought_intro strong {
  color: var(--red);
}
.benefits dt {
  background-color: var(--yellow);
  border-radius: 32px;
  text-align: center;
}
.profile_content {
  display: flex;
}
.profile_content img {
  border-radius: 24px;
}
/* page - class */
.class_info_item,
.feature_item {
  display: flex;
}
.class_info_item figure img {
  border-radius: 24px;
  aspect-ratio: 3/2;
}
.page_class_info h3,
.feature_item h3 {
  padding-bottom: 8px;
  position: relative;
  width: fit-content;
}
.page_class_info h3::after,
.feature_item h3::after {
  content: "";
  width: 60px;
  border-bottom: 3px solid var(--red);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* page - plan */

.page_plan_title {
  position: relative;
}
.page_plan_title::after {
  content: " すべて税込み";
  font-size: 0.5em;
  position: absolute;
  bottom: 4px;
  text-align: center;
  margin-left: 1em;
}

.admission {
  text-align: center;
}
h2.admission_fee {
  border-radius: 32px;
  background-color: var(--yellow);
  padding: 8px 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
h2.course_heading {
  padding-bottom: 8px;
  position: relative;
  width: fit-content;
}
h2.course_heading::after {
  content: "";
  border-bottom: 3px solid var(--red);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.plans_content {
  display: flex;
}
.plans_schedule,
.plans_price {
  border: 5px solid var(--orange);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.plans_schedule h3,
.plans_price h3 {
  border-radius: 24px;
  background-color: var(--yellow);
  padding: 8px 16px;
  width: fit-content;
}
.time p,
.tuition p,
.tickets p {
  display: inline;
}
.time {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 1em;
}
.remarks {
  font-size: 16px;
}
/* page - schedule */
.xo-event-calendar table.xo-month .month-dayname td div,
.xo-event-calendar table.xo-month .month-week {
  line-height: 2.5em;
  height: 2.5em;
}
/* .xo-event-calendar table.xo-month .month-dayname td div {
  padding: 0;
  text-align: center;
  font-size: 1em;
} */
.xo-event-calendar {
  text-align: center;
}
.other-month {
  visibility: hidden;
}
.calendars span {
  display: block;
  width: 100%;
}
table.month-dayname {
  table-layout: fixed; /* テーブルのレイアウトを固定 */
  width: 100%; /* テーブルの幅を親要素に合わせる */
}
.month-dayname th,
.month-dayname td {
  width: auto; /* セルの幅を自動調整 */
}
.xo-months {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 2em;
}

.holiday-title span {
  display: inline-block;
  width: 30px;
  height: 30px;
}
.holiday-title {
  text-align: left;
  align-items: center;
  display: flex;
}
.xo-event-calendar {
  margin-bottom: 1em;
}
/* Footer */
footer {
  background: var(--orange);
  display: flex;
  position: relative;
  bottom: 0;
  width: 100%;
}
.footer_class_info > p:first-child {
  color: var(--blue);
  font-size: 16px;
}
.footer_contact_info > p {
  padding: 8px 24px;
  background: var(--yellow);
  border-radius: 50px;
  width: fit-content;
}
.footer_contact_info #phone {
  fill: #fff;
}
.footer_contact_info_phone,
.footer_contact_info_line {
  display: flex;
  align-items: center;
}
.footer_class_info_phone_number {
  position: relative;
  -webkit-text-stroke: 1px #333;
}
.footer_class_info_phone_number::after {
  content: "平日9:00～20:00";
  position: absolute;
  bottom: 0;
  right: 0;
  -webkit-text-stroke: initial;
}
.footer_contact_info {
  display: flex;
  flex-direction: column;
}
.copyright {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
