body#guidance .clr_join,
body#guidance .clr_gym {
  --bgc: #f3f7ff;
  --color: #000042;
}
body#guidance .clr_web {
  --bgc: #e8f6ff;
  --color: var(--clr-main);
}

.howto {
  padding: 0 2rem;
}
@media (720px <= width) {
  .howto {
    padding: 20rem 0 0;
    margin: 0 max(50% - 85rem, 6rem);
  }
}
@media (1024px <= width) {
  .howto__header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (1024px <= width) {
  .howto__textbox {
    padding-left: 10rem;
  }
}
.howto__lead {
  margin-top: 4rem;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 150%;
}
.howto__lead .strong {
  font-size: 5.2rem;
  line-height: 150%;
}
.howto__text {
  margin-top: 3rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 180%;
}
.howto__body {
  margin-top: 8.3rem;
}
@media (720px <= width) {
  .howto__body {
    margin-top: 12rem;
  }
}
@media (1024px <= width) {
  .howto__body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
  }
}
.howto .join {
  position: relative;
  padding: 8rem 2rem 4rem;
  background-color: var(--bgc);
}
@media (720px <= width) {
  .howto .join {
    padding: 9rem 6rem 8rem;
  }
}
.howto .join + .join {
  margin-top: 6rem;
}
@media (1024px <= width) {
  .howto .join + .join {
    margin-top: 0;
  }
}
.howto .join .lead {
  background: var(--color);
  color: #fff;
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: 700;
  line-height: 140%;
  text-align: center;
  border-radius: 100rem;
  padding: 1.5rem 0;
}
@media (720px <= width) {
  .howto .join .lead {
    padding: 2.4rem 0 2.8rem;
    font-size: 2.8rem;
    line-height: 1;
    width: 100%;
    max-width: 60rem;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }
  .howto .join .lead br {
    display: none;
  }
}
.howto .join .lead::after {
  content: "";
  width: 3rem;
  height: 1.5rem;
  background: var(--color);
  position: absolute;
  left: calc(50% - 1.5rem);
  bottom: -1.45rem;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.howto .join .textbox {
  margin-top: 3rem;
}
@media (720px <= width) {
  .howto .join .textbox {
    margin-top: 5rem;
  }
}
.howto .join .label {
  text-align: center;
  color: var(--color);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--clr-line);
}
.howto .join .label .sub {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 150%;
}
.howto .join .label .main {
  margin-top: 1rem;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}
@media (720px <= width) {
  .howto .join .label {
    padding-bottom: 4rem;
  }
  .howto .join .label .sub {
    font-size: 2.4rem;
    line-height: 1;
  }
  .howto .join .label .main {
    margin-top: 2.5rem;
    font-size: 4rem;
    line-height: 1;
  }
  .howto .join .label br {
    display: none;
  }
}
.howto .join .text {
  margin-top: 2rem;
  font-size: 1.6rem;
  line-height: 175%;
}
@media (720px <= width) {
  .howto .join .text {
    margin-top: 4rem;
    font-size: 2rem;
    line-height: 1.8;
  }
}

.flow {
  padding-top: 10rem;
}
@media (720px <= width) {
  .flow {
    padding-top: 20rem;
  }
}
.flow__title {
  margin-left: 2rem;
  margin-right: 2rem;
}
@media (720px <= width) {
  .flow__title {
    margin-left: max(50% - 85rem, 6rem);
    margin-right: max(50% - 85rem, 6rem);
  }
}
.flow__body {
  margin-top: 4rem;
}
@media (720px <= width) {
  .flow__body {
    margin-top: 16rem;
  }
}
.flow__tab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-left: 2rem;
  margin-right: 2rem;
}
@media (720px <= width) {
  .flow__tab {
    margin-left: max(50% - 85rem, 6rem);
    margin-right: max(50% - 85rem, 6rem);
  }
}
.flow__tab a {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: #999;
  text-align: center;
  background-color: #fff;
  border-top: 1px solid var(--clr-line);
  padding: 2.2rem 0;
}
.flow__tab a.active {
  color: var(--color);
  background-color: var(--bgc);
  border-top-color: var(--color);
}
@media (720px <= width) {
  .flow__tab a {
    font-size: 2.2rem;
    padding: 3.9rem;
  }
}
.flow__contents {
  background-color: var(--bgc);
  padding: 6rem 2rem 10rem;
}
@media (720px <= width) {
  .flow__contents {
    padding: 12rem max(50% - 65rem, 6rem) 20rem;
  }
}
.flow__contents:not(.active) {
  display: none;
}
.flow__headline {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color);
  position: relative;
  text-align: center;
  padding-bottom: 2.8rem;
}
.flow__headline::after {
  content: "";
  width: 5rem;
  height: 0.8rem;
  background-color: var(--color);
  position: absolute;
  bottom: 0;
  left: calc(50% - 2.5rem);
}
@media (720px <= width) {
  .flow__headline {
    font-size: 4.6rem;
    padding-bottom: 3.8rem;
  }
  .flow__headline::after {
    width: 6rem;
  }
}
.flow__text {
  margin-top: 3rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 180%;
}
@media (720px <= width) {
  .flow__text {
    margin-top: 6rem;
    text-align: center;
    font-size: 2.2rem;
    line-height: 1.8182;
  }
}
.flow__steps {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}
@media (720px <= width) {
  .flow__steps {
    margin-top: 8rem;
    gap: 3rem;
  }
}
.flow .step {
  background-color: #fff;
  padding: 3rem 2rem 4rem;
}
@media (720px <= width) {
  .flow .step {
    padding: 4rem;
    display: grid;
    --size: 30rem;
  }
  .flow .step:not(:last-child) .title {
    position: relative;
  }
  .flow .step:not(:last-child) .title::after {
    content: "";
    width: 1px;
    height: var(--size);
    border-left: 4px dotted var(--color);
    position: absolute;
    left: 4.9rem;
    top: 12rem;
    z-index: 2;
  }
}
@media (1024px <= width) {
  .flow .step {
    padding: 4rem 6rem;
  }
}
.flow .title {
  display: grid;
  grid-template-columns: 6rem auto;
  align-items: center;
  gap: 1.5rem;
}
@media (720px <= width) {
  .flow .title {
    grid-template-columns: 10rem auto;
    gap: 4rem;
  }
}
.flow .title .num {
  display: grid;
  place-content: center;
  gap: 0.2rem;
  aspect-ratio: 1;
  background-color: var(--color);
  color: #fff;
  border-radius: 100em;
  text-align: center;
}
@media (720px <= width) {
  .flow .title .num {
    gap: 0.4rem;
  }
}
.flow .title .num span {
  font-weight: 700;
}
.flow .title .num span:nth-child(1) {
  font-size: 1rem;
  line-height: 1em;
}
@media (720px <= width) {
  .flow .title .num span:nth-child(1) {
    font-size: 1.6rem;
    line-height: 1;
  }
}
.flow .title .num span:nth-child(2) {
  font-size: 2.2rem;
  line-height: 1em;
}
@media (720px <= width) {
  .flow .title .num span:nth-child(2) {
    font-size: 3.6rem;
    line-height: 1;
  }
}
.flow .title .lbl {
  font-size: 2rem;
  font-weight: 700;
  line-height: 160%;
  color: var(--color);
}
@media (720px <= width) {
  .flow .title .lbl {
    font-size: 2.8rem;
  }
}
.flow .text {
  margin-top: 1.5rem;
  font-size: 1.6rem;
  line-height: 175%;
}
@media (720px <= width) {
  .flow .text {
    margin-top: 0;
    margin-left: 14rem;
    font-size: 2rem;
    line-height: 180%;
  }
}
.flow .box {
  margin-top: 5.2rem;
  border: 6px solid #f5f5f5;
  position: relative;
  padding: 3.6rem 1.4rem 2.4rem;
}
@media (720px <= width) {
  .flow .box {
    margin-left: 14rem;
    width: calc(100% - 14rem);
    border-width: 1rem;
    padding: 4.5rem 4rem 4rem;
  }
}
.flow .box__title {
  background-color: #fff;
  color: var(--clr-main);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 140%;
  text-align: center;
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 2rem;
  width: -moz-max-content;
  width: max-content;
}
@media (720px <= width) {
  .flow .box__title {
    font-size: 2.2rem;
    line-height: 1;
    padding: 0.9rem 2rem;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .flow .box__title br {
    display: none;
  }
}
.flow .box__title::before, .flow .box__title::after {
  content: "";
  width: 1rem;
  height: 100%;
  background: var(--clr-main);
  position: absolute;
  top: 0;
}
.flow .box__title::before {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 100% 2px, 2px 2px, 2px calc(100% - 2px), 100% calc(100% - 2px), 100% 100%, 0 100%);
}
.flow .box__title::after {
  right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 2px, 0 2px);
}
.flow .box .item {
  counter-increment: number;
  padding-left: 2rem;
  padding-bottom: 2rem;
  position: relative;
}
@media (720px <= width) {
  .flow .box .item {
    padding-left: 3rem;
    padding-bottom: 3rem;
  }
}
.flow .box .item::before {
  content: counter(number) ".";
  position: absolute;
  left: 0em;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 175%;
  color: var(--clr-main);
}
@media (720px <= width) {
  .flow .box .item::before {
    font-size: 2.2rem;
  }
}
.flow .box .item + .item {
  border-top: 1px solid var(--clr-line);
  padding-top: 2rem;
}
@media (720px <= width) {
  .flow .box .item + .item {
    padding-top: 3rem;
  }
}
.flow .box .item-label {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 175%;
}
@media (720px <= width) {
  .flow .box .item-label {
    font-size: 2.2rem;
  }
}
.flow .box .item-body {
  margin-top: 0.5rem;
  font-size: 1.6rem;
  line-height: 175%;
}
@media (720px <= width) {
  .flow .box .item-body {
    font-size: 2rem;
  }
}
.flow .box .item__coution {
  margin-top: 0.5rem;
  color: #999;
  font-size: 1.4rem;
  line-height: 160%;
}
@media (720px <= width) {
  .flow .box .item__coution {
    margin-top: 1rem;
    font-size: 1.8rem;
  }
}
.flow .box .item__coution + .item__coution {
  margin-top: 0;
}
.flow .box__coution {
  background-color: #fffce6;
  padding: 2rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-main);
}
@media (720px <= width) {
  .flow .box__coution {
    padding: 2rem 3rem;
    font-size: 2rem;
    line-height: 1.8;
  }
}
.flow .lists {
  margin-top: 3rem;
}
@media (720px <= width) {
  .flow .lists {
    margin-left: 14rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2.8rem 4rem;
  }
}
.flow .lists li {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 140%;
  position: relative;
  padding-left: 2.8rem;
}
@media (720px <= width) {
  .flow .lists li {
    font-size: 2rem;
    line-height: 1;
    padding-left: 3.7rem;
  }
}
.flow .lists li::before {
  content: "";
  width: 1.8rem;
  aspect-ratio: 1;
  display: block;
  background: url('data:image/svg+xml;charset=utf8, <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.6 13.2L14.65 6.15L13.25 4.75L7.6 10.4L4.75 7.55L3.35 8.95L7.6 13.2ZM2 18C1.45 18 0.979333 17.8043 0.588 17.413C0.196667 17.0217 0.000666667 16.5507 0 16V2C0 1.45 0.196 0.979333 0.588 0.588C0.98 0.196667 1.45067 0.000666667 2 0H16C16.55 0 17.021 0.196 17.413 0.588C17.805 0.98 18.0007 1.45067 18 2V16C18 16.55 17.8043 17.021 17.413 17.413C17.0217 17.805 16.5507 18.0007 16 18H2Z" fill="%23009BFF"/></svg>') center/cover no-repeat;
  position: absolute;
  left: 0;
  top: 0.2rem;
}
@media (720px <= width) {
  .flow .lists li::before {
    width: 2.2rem;
    top: 0;
  }
}
.flow .summary {
  margin-top: 3rem;
  background-color: #fffce6;
  padding: 2rem;
  font-size: 1.6rem;
  line-height: 175%;
}
@media (720px <= width) {
  .flow .summary {
    margin-left: 14rem;
    padding: 4rem 5rem;
  }
}
.flow .summary__title {
  font-weight: 700;
  color: var(--clr-main);
}
@media (720px <= width) {
  .flow .summary__title {
    font-size: 2.2rem;
    line-height: 1;
  }
}
.flow .summary__text {
  margin-top: 0.5rem;
}
@media (720px <= width) {
  .flow .summary__text {
    margin-top: 2rem;
    font-size: 2rem;
    line-height: 1.8;
  }
}
.flow .coution {
  margin-top: 2rem;
  background-color: #fffce6;
  padding: 3rem 2rem 4rem;
}
@media (720px <= width) {
  .flow .coution {
    margin-top: 9rem;
    padding: 4rem 8rem;
    display: grid;
    grid-template-columns: 19rem auto;
    align-items: center;
  }
}
.flow .coution__lbl {
  display: grid;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--clr-pink);
}
@media (720px <= width) {
  .flow .coution__lbl {
    justify-content: flex-start;
  }
}
.flow .coution__lbl i {
  justify-self: center;
}
.flow .coution__body {
  margin-top: 3rem;
}
@media (720px <= width) {
  .flow .coution__body {
    margin-top: 0;
  }
}
.flow .coution__body__text {
  font-size: 1.6rem;
  line-height: 175%;
}
@media (720px <= width) {
  .flow .coution__body__text {
    font-size: 2rem;
    line-height: 1.8;
  }
}
.flow .coution__body__note {
  margin-top: 0.9rem;
  font-size: 1.4rem;
  line-height: 160%;
  color: #999;
}
@media (720px <= width) {
  .flow .coution__body__note {
    font-size: 1.8rem;
  }
}
@media (720px <= width) {
  .flow .coution__body__list {
    margin-top: 2rem;
  }
}
.flow .coution__body__list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 175%;
}
@media (720px <= width) {
  .flow .coution__body__list li {
    padding-left: 3.5rem;
    font-size: 2rem;
    line-height: 1.8;
  }
}
.flow .coution__body__list li::before {
  content: "";
  width: 0.8rem;
  aspect-ratio: 1;
  background-color: var(--clr-pink);
  position: absolute;
  left: 0;
  top: 1rem;
  border-radius: 100rem;
}
@media (720px <= width) {
  .flow .coution__body__list li::before {
    width: 1.2rem;
    top: 1.3rem;
    left: 0.5rem;
  }
}
.flow .coution__body__list li small {
  font-weight: 400;
}
.flow p:has(.button) {
  margin-top: 3rem;
}
.flow .button {
  background-color: var(--clr-main);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 2.2rem 2rem;
  border-radius: 100rem;
  position: relative;
}
@media (720px <= width) {
  .flow .button {
    font-size: 2.4rem;
    padding: 4rem;
  }
}
@media (1024px <= width) {
  .flow .button {
    width: 45rem;
  }
}
.flow .button::after {
  content: "";
  width: 3rem;
  aspect-ratio: 1;
  display: block;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  background: url('data:image/svg+xml;charset=utf8, <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="15" cy="15" r="15" fill="white"/><path d="M15.0264 10.2314C15.4505 9.87803 16.081 9.93545 16.4346 10.3593L19.7686 14.3593C20.0776 14.7302 20.0776 15.2697 19.7686 15.6406L16.4346 19.6406C16.081 20.0644 15.4505 20.1219 15.0264 19.7685C14.6021 19.4149 14.5449 18.7836 14.8984 18.3593L16.8643 15.9999H9C8.44772 15.9999 8 15.5522 8 14.9999C8 14.4477 8.44772 13.9999 9 13.9999H16.8643L14.8984 11.6406C14.5449 11.2163 14.6021 10.5849 15.0264 10.2314Z" fill="%23009BFF"/></svg>') center/cover no-repeat;
}
@media (720px <= width) {
  .flow .button::after {
    right: 4rem;
    width: 5rem;
    background-image: url('data:image/svg+xml;charset=utf8, <svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="25" fill="white"/><path d="M26.6182 18.1398C27.0931 17.7046 27.8313 17.7371 28.2666 18.212L33.9697 24.4337C34.3786 24.8798 34.3786 25.5648 33.9697 26.0109L28.2666 32.2326C27.8313 32.7075 27.0931 32.7401 26.6182 32.3048C26.1432 31.8694 26.1115 31.1314 26.5469 30.6564L30.458 26.3888H15.999C15.3548 26.3888 14.8323 25.8669 14.832 25.2228C14.832 24.5785 15.3547 24.0558 15.999 24.0558H30.458L26.5469 19.7882C26.1115 19.3132 26.1432 18.5752 26.6182 18.1398Z" fill="%23009BFF"/></svg>');
  }
}
.flow .yoyaku {
  margin-top: 6rem;
}
@media (720px <= width) {
  .flow .yoyaku {
    margin-top: 12rem;
  }
}
.flow .yoyaku__text {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 140%;
  color: var(--color);
  text-align: center;
  position: relative;
  padding-left: 4.4rem;
  padding-right: 4.4rem;
  width: -moz-max-content;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
@media (720px <= width) {
  .flow .yoyaku__text {
    font-size: 3.6rem;
    line-height: 1.1111;
  }
  .flow .yoyaku__text br {
    display: none;
  }
}
.flow .yoyaku__text::before, .flow .yoyaku__text::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3.4rem;
  height: 100%;
  background: linear-gradient(to bottom var(--muki), transparent calc(50% - 0.15rem), var(--color) 50%, transparent calc(50% + 0.15rem));
}
@media (720px <= width) {
  .flow .yoyaku__text::before, .flow .yoyaku__text::after {
    width: 2rem;
  }
}
.flow .yoyaku__text::before {
  left: 0;
  --muki: left;
}
.flow .yoyaku__text::after {
  right: 0;
  --muki: right;
}
.flow .yoyaku__button {
  margin-top: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
.flow .yoyaku__button a {
  background-color: var(--clr-main);
}
@media (720px <= width) {
  .flow .yoyaku__button {
    margin-top: 5rem;
    margin-left: auto;
    margin-right: auto;
    width: 45rem;
    padding: 0;
  }
  .flow .yoyaku__button a {
    font-size: 2.4rem;
  }
}

.visit {
  padding: 10rem 2rem 12rem;
}
@media (720px <= width) {
  .visit {
    padding: 20rem max(50% - 65rem, 6rem);
    position: relative;
  }
}
@media (1024px <= width) {
  .visit__img {
    position: absolute;
    right: 0;
    top: 16rem;
    width: 50%;
    height: 60rem;
  }
  .visit__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.visit__textbox {
  margin-top: 4rem;
}
@media (1024px <= width) {
  .visit__textbox {
    margin-top: 0;
    width: 50%;
    padding-right: 11rem;
  }
}
.visit__textbox__title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 150%;
}
@media (720px <= width) {
  .visit__textbox__title {
    font-size: 4.6rem;
    line-height: 1.4783;
  }
}
.visit__textbox__text {
  margin-top: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 180%;
}
@media (720px <= width) {
  .visit__textbox__text {
    margin-top: 4rem;
    font-size: 2.2rem;
  }
}
.visit__coution {
  margin-top: 5.2rem;
  background-color: #e8f6ff;
  padding: 4.8rem 2rem 4rem;
  position: relative;
}
@media (720px <= width) {
  .visit__coution {
    margin-top: 9.5rem;
    padding: 6.5rem 6rem 5rem;
  }
}
.visit__coution__label {
  position: absolute;
  top: -1.2rem;
  left: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--clr-main);
  background-color: #fff;
  border: 2px solid var(--clr-main);
  padding: 0.9rem 1.2rem;
}
@media (720px <= width) {
  .visit__coution__label {
    top: -1.5rem;
    left: 6rem;
    font-size: 2.4rem;
    padding: 1.1rem 1.8rem;
  }
}
.visit__coution__label::after {
  content: "";
  width: 0.8rem;
  height: 1.2rem;
  background-color: #006db2;
  position: absolute;
  top: -0.2rem;
  right: -1rem;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
@media (720px <= width) {
  .visit__coution__label::after {
    width: 1rem;
    height: 1.5rem;
    right: -1.2rem;
  }
}
.visit__coution p {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 175%;
}
@media (720px <= width) {
  .visit__coution p {
    font-size: 2rem;
    line-height: 1.8;
  }
}