/*
Theme Name: MAGIONETオリジナルテーマ
Description: ブロックエディタ対応のMAGIONETオリジナルテーマ
Version: 1.0
*/

/* common */

html {
  font-size: clamp(0.33333333125rem, 0rem + 0.6944vw, 0.8333333125rem);
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 2;
  pointer-events: none;
}

body.menu-open::before {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

img {
  width: 100%;
  object-fit: contain;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: #fff !important;
  transition: all 0.3s ease;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.fbc {
  position: absolute;
  top: 12.4rem;
  left: 14rem;
  z-index: 34;
}

.fbc-page .fbc-wrap .fbc-items li:last-child {
  flex: 1;
}

.svg-inline--fa {
  height: 1.25rem !important;
}

.fa-angle-down {
  height: 2.48rem !important;
}

.text-decoration-black {
  text-decoration: underline;
}

@media screen and (max-width: 750px) {
  html {
    scroll-padding-top: 80px;
  }

  .fa-angle-down {
    height: 4.94rem !important;
  }
}

.fa-angle-down path {
  color: #df0522;
}

.fbc svg {
  height: 1.3rem !important;
}

@media screen and (max-width: 750px) {
  .fbc svg {
    height: 1.9rem !important;
  }
}

.fbc br {
  display: none;
}

.fbc-page .fbc-wrap .fbc-items li a {
  text-decoration: none !important;
}

.fbc-page .fbc-wrap .fbc-items li {
  font-size: 1.3rem !important;
  padding: 0 !important;
}

@media screen and (max-width: 750px) {
  .fbc-page .fbc-wrap .fbc-items li {
    font-size: 2.4rem !important;
  }
}

.fbc-page .fbc-wrap .fbc-items li:first-child {
  margin-right: 0 !important;
}

.fbc-page .fbc-wrap .fbc-items li.active span,
.fbc-page .fbc-wrap .fbc-items li .fbc-end-text {
  font-size: 1.3rem !important;
  font-weight: 700;
}

@media screen and (max-width: 750px) {
  .fbc-page .fbc-wrap .fbc-items li.active span,
  .fbc-page .fbc-wrap .fbc-items li .fbc-end-text {
    font-size: 2.4rem !important;
  }
}

.fbc-page .fbc-wrap .fbc-items {
  display: flex !important;
  gap: 1.95rem;
}

.flex {
  display: flex;
}

.space-between {
  justify-content: space-between;
  gap: 0;
}

.space-around {
  justify-content: space-around;
  gap: 0;
}

.center {
  justify-content: center;
}

.flex-end {
  justify-content: flex-end;
}

.gap0 {
  gap: 0;
}

.align-items-center {
  align-self: center;
}

.circle {
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
}

.fit-content {
  width: fit-content;
  margin: 0 auto;
}

.relative {
  position: relative;
}

.page-top-rectangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 48rem;
}

.cta-before-footer {
  position: relative;
  z-index: 12;
}

footer {
  position: relative;
  z-index: 12;
}

#to-top {
  position: absolute;
  z-index: 1;
  right: 2rem;
  top: -3.4rem;
  width: 6.8rem;
}

.heading-left-line {
  position: relative;
  padding-left: 2.2rem;
}

.heading-left-line::before {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 3px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #df0522;
}

@media screen and (max-width: 750px) {
  .heading-left-line::before {
    width: 2rem;
    height: 1px;
  }
}

.heading-under-line {
  position: relative;
  padding-bottom: 1.5rem;
}

.heading-under-line::before {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 3px;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #df0522;
}

@media screen and (max-width: 750px) {
  .heading-under-line::before {
    width: 2.8rem;
  }
}

.headerMenuContainer {
  gap: 0;
}

@media screen and (min-width: 751px) {
  .headerMenuContainer
    > div:not(:nth-of-type(7)):not(:nth-of-type(8)):not(:nth-of-type(9)) {
    width: 100%;
    height: auto;
    flex-basis: 9.157%;
    aspect-ratio: 1 / 1;
    white-space: nowrap;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .headerMenuContainer > div:nth-of-type(1) figure {
    max-width: 34px;
  }

  .headerMenuContainer
    > div:not(:nth-of-type(1)):not(:nth-of-type(7)):not(:nth-of-type(8)):not(
      :nth-of-type(9)
    )
    figure {
    max-width: 34px;
  }

  .headerMenuContainer > div figure {
    width: 100%;
  }
}

.header-menu-inner figure {
  margin: 0 auto;
}

.mega-menu-toggle {
  display: none !important;
}

#mega-menu-wrap-max_mega_menu_1 {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 50vw !important;
  max-width: 0 !important;
  transition: max-width 0.3s ease-in-out !important;
  padding-top: var(--header-top-height) !important;
  height: 100vh !important;
  background: #fff !important;
  z-index: 998 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* メガメニュー内 1番目の子要素：検索ボックス */
#mega-menu-wrap-max_mega_menu_1 .mega-menu-search-box-wrap {
  padding: 0 4rem 2rem;
  border-bottom: 1px solid #df0522;
}
#mega-menu-wrap-max_mega_menu_1
  .mega-menu-search-box-wrap
  .magionet-search-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}
#mega-menu-wrap-max_mega_menu_1
  .mega-menu-search-box-wrap
  .magionet-search-input {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.2rem;
  font-size: 1.6rem;
  border: 1px solid #ccc;
}
#mega-menu-wrap-max_mega_menu_1
  .mega-menu-search-box-wrap
  .magionet-search-submit {
  padding: 1rem 1.5rem;
  font-size: 1.6rem;
  white-space: nowrap;
}

@media screen and (max-width: 750px) {
  #mega-menu-wrap-max_mega_menu_1
    .mega-menu-search-box-wrap
    .magionet-search-input {
    padding: 10px;
    font-size: 3.2rem;
  }
  #mega-menu-wrap-max_mega_menu_1
    .mega-menu-search-box-wrap
    .magionet-search-submit {
    padding: 1rem 2.4rem;
    font-size: 2.8rem;
  }
  #mega-menu-wrap-max_mega_menu_1 .mega-menu-search-box-wrap {
    padding: 2.4rem 4.8rem;
  }
  #mega-menu-wrap-max_mega_menu_1 {
    top: -130vh !important;
    right: 0 !important;
    transition: top 0.4s ease-in-out !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
  }
}

#mega-menu-wrap-max_mega_menu_1.active {
  max-width: 50vw !important;
  transition: max-width 0.3s ease-in-out !important;
}

@media screen and (max-width: 750px) {
  #mega-menu-wrap-max_mega_menu_1.active {
    top: 0 !important;
    transition: top 0.4s ease-in-out !important;
    max-height: 100vh !important;
    max-width: 100vw !important;
    overflow-y: auto !important;
  }
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
  display: flex !important;
  flex-direction: column !important;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1.mega-no-js
  li.mega-menu-item:hover
  > ul.mega-sub-menu,
#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1.mega-no-js
  li.mega-menu-item:focus
  > ul.mega-sub-menu,
#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  li.mega-menu-item.mega-toggle-on
  > ul.mega-sub-menu {
  position: initial !important;
}

/* 開いているとき（-） */
#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  li.mega-menu-item-has-children.mega-toggle-on
  > a.mega-menu-link
  > span.mega-indicator:after {
  content: "\f460" !important; /* マイナスアイコン */
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item {
  border-bottom: 1px solid #df0522 !important;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-flyout
  ul.mega-sub-menu
  li.mega-menu-item
  a.mega-menu-link {
  color: #221714 !important;
  padding: 1.6rem 4rem !important;
  font-size: 3rem !important;
  line-height: 1 !important;
  height: auto !important;
  display: flex !important;
  justify-content: space-between !important;
}

@media screen and (max-width: 750px) {
  #mega-menu-wrap-max_mega_menu_1
    #mega-menu-max_mega_menu_1
    > li.mega-menu-item
    > a.mega-menu-link,
  #mega-menu-wrap-max_mega_menu_1
    #mega-menu-max_mega_menu_1
    > li.mega-menu-flyout
    ul.mega-sub-menu
    li.mega-menu-item
    a.mega-menu-link {
    padding: 2.4rem 4.8rem !important;
    font-size: 4rem !important;
  }
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-item
  > a.mega-menu-link {
  font-weight: 500 !important;
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  > li.mega-menu-flyout
  ul.mega-sub-menu
  li.mega-menu-item
  a.mega-menu-link {
  font-size: 2.5rem !important;
}

@media screen and (max-width: 750px) {
  #mega-menu-wrap-max_mega_menu_1
    #mega-menu-max_mega_menu_1
    > li.mega-menu-flyout
    ul.mega-sub-menu
    li.mega-menu-item
    a.mega-menu-link {
    font-size: 3.2rem !important;
    margin-left: 4rem !important;
  }
}

#mega-menu-wrap-max_mega_menu_1
  #mega-menu-max_mega_menu_1
  li.mega-menu-item-has-children
  > a.mega-menu-link
  > span.mega-indicator:after {
  color: #df0522 !important;
}

.header-top > div > div:last-of-type > div > div:last-of-type {
  cursor: pointer;
}

.all-btn,
.help-btn,
.blog-btn {
  cursor: pointer;
  color: var(--wp--preset--color--third) !important;
}

.all-btn.active,
.help-btn.active,
.blog-btn.active {
  cursor: default;
  color: var(--wp--preset--color--first) !important;
}

/* 自作検索フォーム・検索結果 */
.magionet-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  max-width: 100%;
}
.magionet-search-input {
  flex: 1;
  min-width: 12em;
  padding: 0.6em 1em;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.magionet-search-input:focus {
  outline: none;
  border-color: #df0522;
  box-shadow: 0 0 0 2px rgba(223, 5, 34, 0.15);
}
.magionet-search-submit {
  padding: 0.6em 1.5em;
  border: 1px solid #df0522;
  background: #df0522;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}
.magionet-search-submit:hover {
  opacity: 0.92;
  background-color: #c0041e;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 検索結果ページ全体 */
.magionet-search-results-wrap {
  margin: 12rem auto 18rem;
  max-width: 80.6%;
}

.magionet-search-message {
  margin: 0 0 1.5em;
  padding: 1em 1.25em;
  background: #f8f8f8;
  border-left: 4px solid #df0522;
  border-radius: 0 4px 4px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
.magionet-search-count {
  display: inline-block;
  margin-bottom: 1.5em;
  padding: 0.35em 0.85em;
  background: rgba(223, 5, 34, 0.08);
  color: #df0522;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
}
.magionet-search-results-list {
  list-style: none;
  padding: 0;
  margin: 0 0 5rem;
}
.magionet-search-result-item {
  margin-bottom: 0;
  border-bottom: 1px solid #f6bec8;
  transition: background-color 0.15s ease;
}
.magionet-search-result-item:first-child {
  padding-top: 0;
}
.magionet-search-result-item:hover {
  background: linear-gradient(
    90deg,
    rgba(223, 5, 34, 0.03) 0%,
    transparent 100%
  );
}
.magionet-search-result-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.25em 0;
}
.magionet-search-result-title {
  display: block;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 0.4em;
  color: #1a1a1a;
  transition: color 0.2s ease;
}
.magionet-search-result-link:hover .magionet-search-result-title {
  color: #df0522;
}
.magionet-search-result-excerpt {
  margin: 0;
  padding-left: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}

/* 検索結果ページネーション */
.magionet-search-pagination {
  text-align: center;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-content: center;
}
.magionet-search-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.magionet-search-pagination .page-numbers {
  width: 48px;
  height: auto;
  aspect-ratio: 1 / 1;
  background-color: #2217144d;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fdfdfd;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.magionet-search-pagination .page-numbers.current {
  background-color: #df0522;
  color: #fff;
  cursor: default;
}
.magionet-search-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  cursor: default;
  width: initial;
  color: initial;
}
.magionet-search-pagination .page-numbers.dots:hover {
  border: none;
  background: transparent;
  color: #333;
}
.magionet-search-pagination .page-numbers.prev,
.magionet-search-pagination .page-numbers.next {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: initial;
  height: initial;
  aspect-ratio: initial;
  background-color: initial;
  color: initial;
  padding: 0;
}
@media screen and (max-width: 750px) {
  .magionet-search-results-wrap {
    margin: 8rem auto 12rem;
    width: 91.1567%;
    max-width: initial;
  }
  .magionet-search-result-link {
    padding: 4rem 0;
  }
  .magionet-search-result-title {
    font-size: 16px;
  }
  .magionet-search-pagination .page-numbers {
    width: 4.8rem;
    height: auto;
    aspect-ratio: 1 / 1;
    background-color: #2217144d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fdfdfd;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
  }
}

.lcp_catlist {
  list-style: none;
  padding-left: 0;
}

.lcp_catlist li {
  padding: 2.4rem 4.8rem 1.2rem;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-weight: 400;
  display: flex;
  gap: 4rem;
  position: relative;
  border-bottom: 1px solid #f6bec8;
}

.lcp_catlist li::after {
  content: "";
  position: absolute;
  background: url("assets/images/right-arrow.png") center center no-repeat;
  top: 50%;
  right: 4.8rem;
  transform: translateY(-50%);
  width: 2.6rem;
  height: auto;
  aspect-ratio: 29 / 10;
}

.lcp_catlist li a {
  font-size: 1.6rem;
  text-decoration: none;
  color: #221714;
  font-weight: 700;
}

.school-decoration-text {
  position: absolute;
  top: 2rem;
  left: 0;
  z-index: 0;
  width: 42.7rem;
}

.page-id-23186 > div > div > div > div > div {
  position: absolute !important;
  bottom: 0;
}

.cta-before-footer-box3 {
  position: relative;
  z-index: 1;
}

.cta-before-footer-box3::before {
  content: "";
  position: absolute;
  background-color: #df0522;
  top: -2rem;
  left: 10rem;
  width: 10rem;
  height: 10rem;
  z-index: -1;
}

.cta-before-footer-box3::after {
  content: "";
  position: absolute;
  background-color: #df0522;
  top: 24.2rem;
  right: 12rem;
  width: 10rem;
  height: 10rem;
  z-index: -1;
}

footer > div:last-of-type {
  display: none;
}

@media screen and (max-width: 750px) {
  html {
    font-size: clamp(0.3125rem, 0rem + 1.3333vw, 0.625rem);
  }

  .pc {
    display: none !important;
  }

  .sp {
    display: block;
  }

  header {
    width: 100%;
  }

  .header-top {
    padding-top: 2rem !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    transition: background-color 0.4s ease-in-out;
  }

  .header-top > div {
    width: 94.667% !important;
    max-width: initial !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 auto !important;
  }

  .header-top > div > div:first-of-type {
    flex-basis: 66.198% !important;
  }

  .header-top > div > div:last-of-type {
    flex-basis: 17.465% !important;
  }

  .header-top > div > div:last-of-type > div > div:not(:last-of-type) {
    display: none;
  }

  .header-top > div > div:last-of-type > div > div:last-of-type {
    flex-basis: 100% !important;
  }

  .header-top
    > div
    > div:last-of-type
    > div
    > div:last-of-type
    > div
    > p:first-of-type {
    font-size: 3.6rem !important;
    line-height: 0.6;
    letter-spacing: -0.5em;
    text-indent: -0.5em;
  }

  .header-top
    > div
    > div:last-of-type
    > div
    > div:last-of-type
    > div
    > p:last-of-type {
    font-size: 2.8rem !important;
    line-height: 1;
  }

  footer > div:last-of-type {
    display: flex;
  }

  .page-id-9 > div > div:last-of-type {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    margin-bottom: 0;
  }

  .page-id-9 > div > div:last-of-type > div:first-of-type {
    flex-basis: 15rem !important;
  }

  .page-id-9 > div > div:last-of-type > div:first-of-type figure {
    margin-bottom: 0;
  }

  .page-id-9 > div > div:last-of-type > div:last-of-type p {
    font-size: 1.4rem !important;
    margin-bottom: 0;
  }

  .frontPageBtnContainer {
    width: 100% !important;
    max-width: initial !important;
  }

  .frontPageBtnContainer > div {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .frontPageBtnContainer > div > div > div:last-of-type {
    flex-basis: fit-content !important;
  }

  .frontPageBtnContainer > div p {
    font-size: 3.4rem !important;
  }

  .page-top-rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 34rem;
  }

  .fbc {
    top: 17.1rem;
    left: 2.8rem;
    z-index: 1;
  }

  #to-top {
    width: 10rem;
    height: 10rem;
    top: -5rem;
    right: 0.8rem;
  }

  .breadcrumb-page {
    margin-top: 23.7rem !important;
  }

  .breadcrumb-page > h2 {
    width: 90.334% !important;
    max-width: initial !important;
    font-size: 6rem !important;
  }

  .cta-before-footer-box1 {
    padding-top: 10rem !important;
  }

  .cta-before-footer-box1 > p:first-of-type {
    font-size: 3.6rem !important;
    white-space: nowrap;
    margin-bottom: 2.8rem !important;
  }

  .cta-before-footer-box1 > figure {
    width: 89.334% !important;
    max-width: initial;
  }

  .cta-before-footer-box2 {
    margin: 6.8rem auto !important;
  }

  .cta-before-footer-box2 > p {
    font-size: 3rem !important;
    white-space: nowrap;
    margin-bottom: 2.8rem !important;
  }

  .cta-before-footer-box2 > div {
    width: 89.334% !important;
    max-width: initial;
    flex-direction: column !important;
    row-gap: 2rem;
  }

  .cta-before-footer-box2 > div a {
    font-size: 4rem !important;
  }

  .cta-before-footer-box3 > div {
    width: 89.334% !important;
    max-width: initial;
    padding: 4rem !important;
  }

  .cta-before-footer-box3 > div > div:first-of-type {
    flex-direction: column !important;
  }

  .cta-before-footer-box3 > div > div:first-of-type > div:first-of-type {
    position: relative;
    padding-bottom: 6.8rem !important;
    margin-bottom: 6.8rem !important;
    border-right: none !important;
  }

  .cta-before-footer-box3 > div > div:first-of-type > div:first-of-type::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24.8rem;
    height: 1px;
    background-color: #221714;
  }

  .cta-before-footer-box3 > div > div > div:first-of-type > p:first-of-type {
    font-size: 3rem !important;
    margin-bottom: 2rem !important;
  }

  .cta-before-footer-box3 > div > div > div:first-of-type > p:nth-of-type(2) {
    font-size: 6rem !important;
    line-height: 1;
  }

  .cta-before-footer-box3 > div > div > div:first-of-type > p:nth-of-type(3) {
    font-size: 2.8rem !important;
    margin-top: 2rem !important;
  }

  .cta-before-footer-box3 > div > div > div:last-of-type > p:first-of-type {
    font-size: 3rem !important;
    margin-bottom: 2rem !important;
  }

  .cta-before-footer-box3 > div > div > div:last-of-type > div {
    max-width: initial !important;
    width: 100% !important;
  }

  .cta-before-footer-box3 > div > div > div:last-of-type a {
    font-size: 4rem !important;
  }

  .cta-before-footer-box3 > div > div:last-of-type {
    padding-right: 0 !important;
    gap: 3.2rem !important;
  }

  .cta-before-footer-box3 > div > div:last-of-type > div {
    flex-basis: 7% !important;
  }

  .cta-before-footer-box3::before {
    top: -1.227rem;
    left: 1.2rem;
  }

  .cta-before-footer-box3::after {
    top: 58.873rem;
    right: 2rem;
  }

  .footer-column {
    flex-direction: column !important;
    row-gap: 2rem;
    padding: 2.8rem 2rem !important;
    margin-bottom: 0 !important;
  }

  .footer-column > div:first-of-type {
    width: 34rem;
  }

  .footer-column > div:last-of-type > p {
    text-align: left !important;
    font-size: 1.9rem !important;
  }
}

/* TOPページ */
.frontPageBtnContainerWrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100vw;
}
.frontPageBtnContainerWrapper .magionet-search-form-wrap {
  display: none;
}
@media screen and (max-width: 750px) {
  .frontPageBtnContainerWrapper .magionet-search-form-wrap {
    display: block;
    margin: 10px;
  }
}
.frontPageBtnContainer {
  gap: 0;
  width: 100vw;
}

@media screen and (min-width: 751px) {
  .home .entry-content {
    aspect-ratio: 16 / 9;
  }
}

.home .entry-content > div,
.home .entry-content > div > div {
  width: 100%;
  height: 100%;
}

/* admissionページ */

.admission-fv {
  position: relative;
}

.admission-fv .line {
  position: absolute;
  right: 0;
  bottom: -4rem;
  width: 67.1rem;
}

.scroll-indicator {
  position: absolute;
  font-size: 13px;
  writing-mode: vertical-rl;
  left: 4.3rem;
  bottom: 7rem;
  display: flex;
  flex-direction: column-reverse;
}

.scroll-indicator .circle {
  width: 6px;
  height: 6px;
  background-color: #1e120e;
  border-radius: 50%;
  margin-bottom: 8px;
}

.scroll-indicator .text {
  writing-mode: vertical-rl;
  font-size: 1.4rem;
}

.scroll-indicator::before {
  content: "";
  display: inline-block;
  position: absolute;
  background-color: #000;
  left: 0.3rem;
  bottom: -9.5rem;
  width: 1px;
  height: 13rem;
  animation: scroll 1.5s infinite;
  z-index: 1;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.splide {
  width: 93.06%;
  margin: 0 auto 8.8rem;
  position: relative;
}

.splide__slide {
  display: grid;
  place-content: center;
}

.splide__box img {
  object-fit: contain;
}

.splide__arrow {
  position: absolute;
}

.sample-slider .splide__arrow {
  background: none;
  width: 50px;
}

.splide__arrow--prev {
  left: 0 !important;
}

.splide__arrow--next {
  right: 0 !important;
}

.splide__arrow {
  height: auto !important;
  width: 2rem !important;
  top: 50% !important;
  position: absolute !important;
  background: none !important;
}

.splide__controls-wrapper {
  top: calc(100% + 1.4rem) !important;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1em;
}

.splide__pagination {
  position: initial !important;
  display: block !important;
}

.splide__pagination__page {
  background: #f6bec8 !important;
  border-radius: initial !important;
  height: 2px !important;
  opacity: 1 !important;
  width: 24px !important;
}

.splide__pagination__page.is-active {
  background: #df0522 !important;
  transform: scale(1) !important;
  z-index: 1;
}

.admission-school-decoration-text {
  width: 42.7rem;
  height: auto;
  position: absolute;
  left: 0;
  top: 2rem;
}

.admission-banner-decoration {
  position: absolute;
  right: 0;
  top: 0;
  width: 108rem;
  z-index: -1;
}

.admission-benefit-decoration-text {
  position: absolute;
  top: 6rem;
  right: 0;
  z-index: 1;
  width: 50rem;
}

.admission-enrollment-decoration-text {
  position: absolute;
  top: 8.8rem;
  right: 0;
  width: 76.5rem;
  z-index: 0;
}

.admission-access-decoration-text {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 48.27rem;
  z-index: 0;
}

.admission-information-decoration-text {
  position: absolute;
  top: 4.8rem;
  right: 0;
  width: 78.528rem;
  z-index: 0;
}

.admission-sns-decoration-text {
  position: absolute;
  top: 8.8rem;
  left: 0;
  width: 31.16rem;
  z-index: 0;
}

.admission-sp-cta-wrapper {
  display: none !important;
}

.admission-sp-cta {
  display: none !important;
}

@media screen and (max-width: 750px) {
  .admission-banner-decoration-container {
    padding-top: 3.8rem !important;
    padding-bottom: 0 !important;
  }

  .admission-sns-decoration-text {
    position: absolute;
    top: 8.8rem;
    left: 0;
    width: 55.8rem;
    z-index: 0;
  }

  .scroll-indicator {
    left: 2.3rem;
  }

  .admission-fv .line {
    width: 46.4rem;
    bottom: -3rem;
  }

  .splide {
    width: 100%;
    margin: 0 auto 10.8rem;
  }

  .banner-slider {
    width: 90%;
    margin: 0 auto 5rem;
  }

  .splide__arrow svg {
    fill: #df0522 !important;
  }

  .splide__arrow--prev {
    left: 0 !important;
  }

  .splide__arrow--next {
    right: 0 !important;
  }

  .splide__arrow {
    height: auto !important;
    width: 2rem !important;
    top: 50% !important;
    position: absolute !important;
  }

  .splide__controls-wrapper {
    top: calc(100% + 1.4rem) !important;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 0 1em;
  }

  .splide__pagination {
    position: initial !important;
  }

  .admission-benefit-container {
    padding-top: 12rem !important;
  }

  .admission-benefit-decoration-text {
    position: absolute;
    top: 0;
    width: 41.7rem;
    margin-bottom: 0;
  }

  .admission-benefit-container .admission-benefit-heading {
    margin: 0 auto 6.8rem !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 4rem !important;
  }

  .admission-benefit-container .admission-benefit-column1 {
    flex-direction: column !important;
    margin: 0 auto 6.8rem !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 4.8rem !important;
  }

  .admission-benefit-container .admission-benefit-column1 > div:first-of-type {
    margin-bottom: 6.8rem !important;
    flex-basis: 100% !important;
  }

  .admission-benefit-container .admission-benefit-column1 p:first-of-type {
    font-size: 7.6rem !important;
    line-height: 1.3;
  }

  .admission-benefit-container .admission-benefit-column1 p:nth-of-type(2) {
    font-size: 2.8rem !important;
    margin-top: 0 !important;
  }

  .admission-benefit-container .admission-benefit-column1 p:nth-of-type(3) {
    font-size: 2.8rem !important;
    margin-top: 0 !important;
    margin-bottom: 8rem !important;
  }

  .admission-benefit-container .admission-benefit-column1 p:nth-of-type(4),
  .admission-benefit-container .admission-benefit-column1 p:nth-of-type(5),
  .admission-benefit-container .admission-benefit-column1 p:nth-of-type(6),
  .admission-benefit-container .admission-benefit-column1 p:nth-of-type(7) {
    font-size: 3.2rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.2rem !important;
    margin-top: 0 !important;
  }

  .admission-benefit-container .admission-benefit-column1 p:nth-of-type(7) {
    margin-bottom: 0 !important;
  }

  .admission-benefit-container .admission-benefit-column2 {
    flex-direction: column !important;
    margin: 0 auto 12rem !important;
    padding-bottom: 0 !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    row-gap: 3.5rem !important;
  }

  .admission-benefit-container .admission-benefit-column2 > div {
    padding: 1.2rem 2.8rem 2.8rem !important;
  }

  .admission-benefit-container .admission-benefit-column2 > div > figure {
    width: 16.865% !important;
    margin-bottom: 3.2rem !important;
  }

  .admission-benefit-container
    .admission-benefit-column2
    > div
    > p:first-of-type {
    font-size: 4rem !important;
    margin-bottom: 2.8rem !important;
  }

  .admission-benefit-container
    .admission-benefit-column2
    > div
    > p:last-of-type {
    font-size: 3rem !important;
  }

  .admission-school-decoration-text {
    width: 39.4rem;
    left: 0;
  }

  .admission-school-column {
    flex-direction: column !important;
    margin: 0 auto !important;
    padding-bottom: 0 !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .admission-school-column > div > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .admission-school-column > div > div > div > div {
    padding: 2.4rem 2rem !important;
    margin-bottom: 1.6rem !important;
  }

  .admission-school-column > div > div > div > div > div:first-of-type {
    padding-right: 2.8rem !important;
    flex-basis: 12.773% !important;
  }

  .admission-school-column > div > div > div > div > div:nth-of-type(2) {
    flex-basis: 82.2% !important;
  }

  .admission-school-column > div > div > div > div > div:nth-of-type(2) > p {
    font-size: 3rem !important;
  }

  .admission-school-column
    > div
    > div
    > div
    > div
    > div:nth-of-type(2)
    > p:nth-of-type(2) {
    font-size: 2.4rem !important;
  }

  .admission-school-column > div > div > div > div > div:nth-of-type(3) {
    flex-basis: 6.5% !important;
  }

  .admission-banner-decoration {
    position: absolute;
    right: 0;
    top: 0;
    width: 108rem;
    z-index: -1;
  }

  .admission-enrollment-decoration-text {
    top: 12rem;
    width: 60.4rem;
    z-index: 0;
  }

  .admission-enrollment-heading {
    margin: 0 auto 9.6rem !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 4rem !important;
  }

  .admission-enrollment-column {
    flex-direction: column !important;
    margin: 0 auto !important;
    padding-bottom: 0 !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 6.8rem !important;
    row-gap: 4rem !important;
  }

  .admission-enrollment-column > div {
    padding: 4.8rem 3.2rem !important;
  }

  .admission-enrollment-column > div > h3 {
    font-size: 3.6rem !important;
    margin-bottom: 3.2rem !important;
  }

  .admission-enrollment-column > div > figure {
    margin-bottom: 3.2rem !important;
  }

  .admission-enrollment-column > div > p {
    font-size: 3rem !important;
    line-height: 1.6;
    list-style: 0.06em;
    margin-bottom: 4.8rem !important;
  }

  .admission-enrollment-column > div > div > div {
    padding: 3.2rem 0.8rem !important;
  }

  .admission-enrollment-column > div > div > div > div:first-of-type {
    flex-basis: 77.66% !important;
  }

  .admission-enrollment-column > div > div > div > div:first-of-type > p {
    font-size: 3.2rem !important;
  }

  .admission-enrollment-column > div > div > div > div:last-of-type {
    flex-basis: 6.93% !important;
  }

  .admission-enrollment-faq,
  .admission-enrollment-recruit {
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .admission-enrollment-faq > div,
  .admission-enrollment-recruit > div {
    flex-direction: column !important;
    padding: 4.8rem 4rem !important;
  }

  .admission-enrollment-faq > div > div > h3,
  .admission-enrollment-recruit > div > div > h3 {
    font-size: 4rem !important;
    width: fit-content;
    margin: 0 auto !important;
    padding: 0 !important;
    padding-bottom: 4.8rem !important;
    margin-bottom: 4.8rem !important;
    position: relative;
    border-right: none !important;
  }

  .admission-enrollment-faq > div > div > h3::after,
  .admission-enrollment-recruit > div > div > h3::after {
    width: 10rem;
    height: 2px;
    background-color: #f6bec8;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    content: "";
  }

  .admission-enrollment-faq > div > div > p,
  .admission-enrollment-recruit > div > div > p {
    font-size: 3rem !important;
    line-height: 1.6;
    letter-spacing: 0.06em;
    margin-bottom: 4.8rem !important;
  }

  .admission-enrollment-faq > div > div:nth-of-type(3),
  .admission-enrollment-recruit > div > div:nth-of-type(3) {
    width: 6.94%;
    margin: 0 0 0 auto !important;
  }

  .admission-access-decoration-text {
    width: 38.2rem;
  }

  .admission-access-container {
    padding: 9.8rem 0 10rem !important;
  }

  .admission-access-column {
    flex-direction: column !important;
    margin: 0 auto !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    row-gap: 6.8rem !important;
  }

  .admission-access-column > div:first-of-type > h2 {
    font-size: 4rem !important;
  }

  .admission-access-inner-column1
    > div.wp-block-columns.is-not-stacked-on-mobile,
  .admission-access-inner-column2.wp-block-columns.is-not-stacked-on-mobile {
    flex-wrap: wrap !important;
    padding: 2.8rem 2rem !important;
    margin-bottom: 1.6rem !important;
    align-items: flex-start !important;
  }

  .admission-access-inner-column1 > div > div:first-of-type,
  .admission-access-inner-column2 > div:first-of-type {
    flex-basis: 24.336% !important;
    align-self: flex-start !important;
  }

  .admission-access-inner-column1 > div > div:nth-of-type(2),
  .admission-access-inner-column2 > div:nth-of-type(2) {
    flex-basis: 73.983% !important;
  }

  .admission-access-inner-column1 > div > div:nth-of-type(2) > p:first-of-type,
  .admission-access-inner-column2 > div:nth-of-type(2) > p:first-of-type {
    font-size: 3.6rem !important;
    margin-bottom: 2rem !important;
  }

  .admission-access-inner-column1 > div > div:nth-of-type(2) > p:nth-of-type(2),
  .admission-access-inner-column2 > div:nth-of-type(2) > p:nth-of-type(2) {
    font-size: 3rem !important;
    line-height: 1.6;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .admission-access-inner-column1 > div > div:last-of-type {
    margin: 0 0 0 auto;
    width: 100%;
    flex-basis: 6.5% !important;
  }

  .admission-information-decoration-text {
    position: absolute;
    top: 2rem;
    right: 3.97rem;
    width: 67rem;
    z-index: 0;
  }

  .admission-information-container {
    padding-bottom: 22.6rem !important;
  }

  .admission-information-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 9.6rem !important;
  }

  .admission-information-column {
    margin: 0 auto !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-basis: 100% !important;
    margin-bottom: 4.8rem !important;
    justify-content: space-around !important;
  }

  .admission-information-column > div {
    flex-basis: 100% !important;
  }

  .admission-information-column > div > div > div {
    flex-basis: 100% !important;
  }

  .admission-information-column > div > div > div p {
    text-align: center;
    margin: 0 !important;
    font-size: 3rem !important;
  }

  .admission-information-column > div:last-of-type {
    position: absolute;
    bottom: 10rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
    width: 34.15% !important;
  }

  .admission-information-column > div:last-of-type > p {
    margin-top: 0;
  }

  .admission-information-column > div:last-of-type > p {
    font-size: 3rem !important;
    text-align: center;
  }

  .all-news,
  .help-news,
  .blog-news {
    max-width: initial !important;
  }

  .lcp_catlist {
    margin: 0 auto !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .lcp_catlist > li {
    padding: 4rem 2.4rem 2rem;
    flex-wrap: wrap;
    row-gap: 2rem;
    font-size: 2.6rem;
    color: #221714;
  }

  .lcp_catlist > li > a {
    flex-basis: 90%;
    font-size: 3rem;
  }

  .lcp_catlist > li::after {
    width: 4rem;
  }

  .news-more.sp {
    width: 25.1rem;
    font-size: 3rem !important;
    letter-spacing: 0.04em !important;
    text-align: center;
  }

  .news-more.sp a {
    text-decoration: none !important;
  }

  .admission-sns-decoration-text {
    top: 4rem;
    width: 27.7rem;
  }

  .admission-sns-container {
    margin: 0 auto !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .admission-sns-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 9.6rem !important;
  }

  .admission-sns-column.wp-block-columns.is-not-stacked-on-mobile {
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: initial !important;
    row-gap: 3.3rem;
  }

  .admission-sns-column > div {
    flex-basis: 47.763% !important;
  }

  .admission-sns-column > div > figure {
    margin-bottom: 0;
  }

  .admission-sns-container-btn {
    width: 34.15% !important;
    max-width: initial !important;
  }

  .admission-sns-container-btn > div > a {
    font-size: 3rem !important;
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .admission-sp-cta-wrapper {
    display: block !important;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
  }

  .admission-sp-cta-wrapper .magionet-search-form-wrap {
    margin: 10px !important;
  }

  .admission-sp-cta {
    display: flex !important;
    width: 100%;
  }
}

/* オンラインコースページ */
.online-course-table table,
.online-course-table table td {
  border: none;
}

.online-course-table tr td {
  padding: 4rem 0;
  border-bottom: 1px solid #23181533;
}

.online-course-table tr:nth-of-type(1) td {
  font-size: 1.9rem;
  padding: 1.2rem 0;
  color: #fff;
  border: none;
}

.online-course-table
  tr
  td:nth-of-type(1):not(
    .online-course-table tr:first-of-type td:nth-of-type(1)
  ) {
  background-color: #f9f8f8;
}

.online-course-table tr td:nth-of-type(2) {
  background-color: #df05220d;
}

.online-course-table tr:nth-of-type(1) td:nth-of-type(2) {
  background-color: #df0522;
}

.online-course-table tr:nth-of-type(1) td:nth-of-type(3) {
  background-color: #0567df;
}

.online-course-difference-decoration-text {
  position: absolute;
  top: 8.8rem;
  right: 0;
  width: 72.773rem;
  z-index: -1;
}

@media screen and (max-width: 750px) {
  .online-course-container > h2 {
    font-size: 4rem !important;
    max-width: initial !important;
  }

  .online-course-difference-decoration-text {
    top: 14.8rem;
    width: 67.7rem;
    max-width: initial !important;
  }

  .online-course-table {
    margin: 0 auto !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 6.8rem !important;
  }

  .online-course-table tr:not(.online-course-table tr:nth-of-type(1)) {
    position: relative;
  }

  .online-course-table tr:nth-of-type(1) td:first-of-type,
  .online-course-table
    tr
    td:nth-of-type(1):not(
      .online-course-table tr:first-of-type td:nth-of-type(1)
    ) {
    display: none !important;
  }

  .online-course-table tr:nth-of-type(1) td:nth-of-type(2),
  .online-course-table tr:nth-of-type(1) td:nth-of-type(3) {
    font-size: 3.4rem !important;
  }

  .online-course-table tr td:not(.online-course-table tr:nth-of-type(1) td) {
    padding: 12rem 0 4rem !important;
    font-size: 3.6rem !important;
  }

  .online-course-table
    tr
    td:not(.online-course-table tr:nth-of-type(1) td):last-of-type::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    background-color: #f9f8f8;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    color: #221714;
  }

  .online-course-table
    tr:nth-of-type(2)
    td:not(.online-course-table tr:nth-of-type(1) td):last-of-type::before {
    content: "教習所にくる回数";
  }

  .online-course-table
    tr:nth-of-type(3)
    td:not(.online-course-table tr:nth-of-type(1) td):last-of-type::before {
    content: "受講する時間帯";
  }

  .online-course-table
    tr:nth-of-type(4)
    td:not(.online-course-table tr:nth-of-type(1) td):last-of-type::before {
    content: "受講時間";
  }

  .online-course-table
    tr
    td:not(.online-course-table tr:nth-of-type(1) td)
    > img {
    width: 4rem !important;
    margin-bottom: 2rem;
  }

  .online-course-container > p {
    width: 89.334% !important;
    max-width: initial !important;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 2.8rem !important;
    font-size: 2.6rem !important;
  }

  .online-course-container > div {
    width: 89.334% !important;
    max-width: initial !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .online-course-container > div > p {
    padding: 4rem !important;
    font-size: 3rem !important;
  }
}

/* 無料体験学習ページ */
.page-id-444 .wp-block-post-title {
  position: relative;
}

.page-id-444 .wp-block-post-title::before {
  content: "これから入校をお考えの方へ";
  font-size: 2.4rem;
  font-weight: 700;
  color: #221714;
  position: absolute;
  top: -30%;
  left: 0;
}

.lesson-trial-decoration-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100vw;
}

@media screen and (max-width: 750px) {
  .page-id-444 .wp-block-post-title::before {
    display: none;
  }

  .lesson-trial-container {
    padding-top: 20.8rem !important;
  }

  .lesson-trial-container > div {
    width: 89.334% !important;
    max-width: initial !important;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 6.8rem !important;
  }

  .lesson-trial-container > div:last-of-type {
    margin-bottom: 0 !important;
  }

  .lesson-trial-container > div:first-of-type > p {
    font-size: 3.5rem !important;
    margin-bottom: 2.8rem !important;
    position: relative;
    padding-left: 6rem;
  }

  .lesson-trial-container > div:first-of-type > p > img {
    width: 4.8rem !important;
    height: 4.8rem !important;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .lesson-trial-container > div:nth-of-type(2) > p {
    font-size: 3rem !important;
  }

  .lesson-trial-container > div:nth-of-type(3) {
    margin-bottom: 8.8rem !important;
  }

  .lesson-trial-container > div:nth-of-type(3) > div {
    max-width: initial !important;
    width: 63.135%;
  }

  .lesson-trial-container > div:nth-of-type(3) > div > div > a {
    font-size: 3.5rem !important;
    padding: 2.4rem 4.8rem !important;
  }

  .lesson-trial-container > div:nth-of-type(4) > div:first-of-type {
    padding: 4.8rem 4rem 6rem !important;
    flex-direction: column !important;
    row-gap: 2.8rem !important;
    margin-bottom: 1.6rem !important;
  }

  .lesson-trial-container
    > div:nth-of-type(4)
    > div:first-of-type
    > div:last-of-type
    > p:first-of-type {
    text-align: center;
    font-size: 4.8rem !important;
    margin-bottom: 0.8rem !important;
  }

  .lesson-trial-container
    > div:nth-of-type(4)
    > div:first-of-type
    > div:last-of-type
    > p:nth-of-type(2) {
    font-size: 3rem !important;
    margin-bottom: 4rem !important;
  }

  .lesson-trial-container
    > div:nth-of-type(4)
    > div:first-of-type
    > div:last-of-type
    > div
    > div {
    width: 100%;
  }

  .lesson-trial-container
    > div:nth-of-type(4)
    > div:first-of-type
    > div:last-of-type
    > div
    > div
    > a {
    font-size: 3rem !important;
    padding: 4rem 0 !important;
  }

  .lesson-trial-container > div:nth-of-type(4) > div:last-of-type {
    flex-direction: column !important;
  }

  .lesson-trial-container > div:nth-of-type(4) > div:last-of-type > div {
    padding: 4.8rem 4rem 6rem !important;
  }

  .lesson-trial-container > div:nth-of-type(4) > div:last-of-type > div > p {
    font-size: 3rem !important;
    margin-bottom: 2rem !important;
    padding-left: 4rem !important;
  }

  .lesson-trial-container
    > div:nth-of-type(4)
    > div:last-of-type
    > div
    > p:first-of-type {
    text-align: center;
    font-size: 4.6rem !important;
    margin-bottom: 2.8rem !important;
    padding-left: 0 !important;
  }

  .lesson-trial-container
    > div:nth-of-type(4)
    > div:last-of-type
    > div
    > p:last-of-type {
    margin-bottom: 0 !important;
  }
}

/* 教習アプリページ */
.app-decoration-img {
  position: absolute;
  top: 8.8rem;
  right: 0;
  width: 28.97rem;
}

@media screen and (max-width: 750px) {
  .page-jump-container {
    padding-top: 12rem !important;
    padding-bottom: 12rem !important;
  }

  .app-decoration-img {
    position: absolute;
    top: 13rem;
    width: 23.8rem;
  }

  .app-container > h2 {
    font-size: 4rem !important;
  }

  .app-container > div {
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 10rem !important;
  }

  .app-container > div:nth-of-type(3) {
    margin-bottom: 6.8rem !important;
  }

  .app-container > div:first-of-type > div {
    flex-direction: column-reverse !important;
    max-width: initial !important;
  }

  .app-container > div:first-of-type > div > div:first-of-type > div {
    width: 100%;
    margin-bottom: 0 !important;
  }

  .app-container > div:first-of-type > div > div:first-of-type > div > p {
    font-size: 3.5rem !important;
    padding-left: 5.4rem;
    position: relative;
  }

  .app-container > div:first-of-type > div > div:first-of-type > div > p > img {
    position: absolute;
    width: 3.6rem !important;
    height: 3.6rem !important;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .app-container > div:first-of-type > div > div:last-of-type {
    width: 36.486% !important;
    margin: 0 auto 4rem !important;
  }

  .app-container > div:last-of-type {
    margin-bottom: 0 !important;
  }

  .app-container > div:nth-of-type(4) > div {
    padding: 8rem 4rem !important;
    flex-direction: column !important;
  }

  .app-container > div:nth-of-type(4) > div > div:first-of-type > div {
    flex-direction: column !important;
    margin-bottom: 4.8rem !important;
  }

  .app-container
    > div:nth-of-type(4)
    > div
    > div:first-of-type
    > div
    > div:first-of-type {
    width: 16.95%;
    margin-bottom: 2.8rem !important;
  }

  .app-container
    > div:nth-of-type(4)
    > div
    > div:first-of-type
    > div
    > div:last-of-type
    > p:first-of-type {
    font-size: 3rem !important;
    margin-bottom: 0.8rem !important;
    text-align: center;
  }

  .app-container
    > div:nth-of-type(4)
    > div
    > div:first-of-type
    > div
    > div:last-of-type
    > p:last-of-type {
    font-size: 4.8rem !important;
    margin-bottom: 0 !important;
    text-align: center;
  }

  .app-container > div:nth-of-type(4) > div > div:last-of-type > div > div {
    flex-basis: 49.15% !important;
  }

  .app-container > div:nth-of-type(4) > div > div:last-of-type > div > div a {
    width: 100%;
  }
}

/* 無料託児所ページ */

.page-id-574 .wp-block-post-title {
  position: relative;
  opacity: 0;
}

.page-id-574 .free-childcare-creche::before {
  content: "安心の託児所完備！";
  font-size: 2.4rem;
  font-weight: 700;
  color: #221714;
  letter-spacing: 0.12em;
  position: absolute;
  top: -8.5rem;
  left: 14rem;
  z-index: 2;
}

.page-id-574 .free-childcare-creche::after {
  content: "たまちゃんキッズルーム";
  font-size: 4.8rem;
  font-weight: 700;
  color: #df0522;
  position: absolute;
  top: -6rem;
  left: 14rem;
  z-index: 2;
}

.free-childcare-creche-decoration-text {
  position: absolute;
  top: 27.9rem;
  left: 0;
  width: 45.662rem;
}

.free-childcare-voice-decoration-text {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 33.357rem;
}

.free-childcare-gallery-decoration-text {
  position: absolute;
  top: 8.8rem;
  right: 0;
  width: 49.063rem;
}

@media screen and (max-width: 750px) {
  .page-id-574 .free-childcare-creche::before {
    font-size: 3rem;
    left: 3.7rem;
  }

  .page-id-574 .free-childcare-creche::after {
    font-size: 6rem;
    left: 3rem;
  }

  .free-childcare-creche {
    padding-top: 20.8rem !important;
  }

  .free-childcare-creche-decoration-text {
    top: 10rem;
    width: 41.32rem;
  }

  .free-childcare-creche > h2 {
    font-size: 4rem !important;
    max-width: initial !important;
  }

  .free-childcare-creche > div {
    width: 89.334% !important;
    max-width: initial !important;
    margin: 0 auto !important;
  }

  .free-childcare-creche > div > div {
    flex-direction: column !important;
    row-gap: 4.8rem;
    margin-bottom: 6.8rem !important;
  }

  .free-childcare-creche > div > div > div:last-of-type > p {
    font-size: 3rem !important;
    margin-bottom: 2.8rem !important;
  }

  .free-childcare-creche > div > div > div:last-of-type > p:last-of-type {
    margin-bottom: 0 !important;
  }

  .free-childcare-creche > div > div:last-of-type {
    margin-bottom: 0 !important;
    max-width: initial !important;
    width: 73.881% !important;
  }

  .free-childcare-creche > div > div:last-of-type > div > a {
    font-size: 3.5rem !important;
    padding: 2.4rem 0 !important;
  }

  .wp-container-core-group-is-layout-27859c0a > .alignwide {
    width: 89.334% !important;
    max-width: initial !important;
    margin: 0 auto !important;
    flex-direction: column !important;
  }

  .wp-container-core-group-is-layout-27859c0a > .alignwide h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .free-childcare-voice {
    flex-direction: column;
  }

  .free-childcare-voice > div:first-of-type {
    width: 30%;
    margin: 0 auto 2rem;
  }

  .free-childcare-voice > div:last-of-type p {
    font-size: 3rem !important;
  }

  .wp-container-core-group-is-layout-27859c0a > div:last-of-type {
    width: 67.347% !important;
    max-width: initial !important;
    margin: 0 auto !important;
    padding-bottom: 0 !important;
  }

  .wp-container-core-group-is-layout-27859c0a > div:last-of-type a {
    font-size: 3.5rem !important;
    padding: 2.4rem 0 !important;
  }
}

/* 卒業生の声ページ */
.voice-voice-decoration-text {
  position: absolute;
  top: 8.8rem;
  right: 0;
  width: 33.357;
}

.review-slider {
  width: 81.25%;
  margin: 0 auto 5.8rem;
}

.review-slider .splide__pagination,
.review-slider .splide__pagination--ltr {
  display: none;
}

.review-slider .splide__arrows {
  display: none;
}

.review-slider .splide__slide {
  display: block;
  background-color: #fdfdfd;
  box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
  padding: 1.2rem 2rem;
  font-size: 1.6rem;
  border-radius: 12px;
  width: 33.334% !important;
  margin-bottom: 1rem;
}

.review-link {
  width: 100%;
  text-decoration: none;
  color: #221714;
}

.review-list {
  width: 80.555556%;
  margin: 0 auto;
}

.review-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 4rem 4.8rem;
  box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
  margin-bottom: 2.8rem;
}

.review-item:last-of-type {
  margin-bottom: 0;
}

.review-image {
  flex-basis: 12.03%;
}

.review-content {
  flex-basis: 85.336%;
}

.review-text p {
  color: #221714;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.07em;
  margin-bottom: 1.2rem;
}

@media screen and (max-width: 750px) {
  .voice-voice-decoration-text {
    position: absolute;
    top: 12.8rem;
    right: 0;
    width: 38.3rem;
  }

  .voice-container > h2 {
    font-size: 4rem !important;
  }

  .review-slider {
    width: 89.334%;
    margin: 0 auto 6.8rem;
  }

  .review-slider .splide__slide {
    font-size: 1.6rem;
    width: 82.338% !important;
    margin-bottom: 2rem;
  }

  .review-list {
    width: 89.334%;
  }

  .review-item {
    flex-direction: column;
    padding: 4rem 2.8rem;
    margin-bottom: 1.6rem;
  }

  .review-text p {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2.8rem;
  }

  .voice-container > div:last-of-type > div {
    max-width: initial !important;
    width: 56.4% !important;
  }

  .voice-container > div:last-of-type > div > div > a {
    font-size: 3.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* 会社紹介ページ */
.company-decoration {
  position: absolute;
  top: 4.8rem;
  right: 0;
  width: 48rem;
}

.related-company-item {
  position: relative;
}

.related-company-item::after {
  content: "";
  background: url("assets/images/right-arrow.png") center center no-repeat;
  background-size: contain;
  position: absolute;
  bottom: 2.8rem;
  right: 2.8rem;
  width: 2rem;
  height: 0.5rem;
}

@media screen and (max-width: 750px) {
  .company-decoration {
    position: absolute;
    top: 47.8rem;
    right: 0;
    width: 34.1rem;
  }

  .company-container > h2 {
    font-size: 6.5rem !important;
  }

  .company-container > p {
    font-size: 3.6rem !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .company-about-container {
    padding-top: 8rem !important;
  }

  .company-about-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 4.8rem !important;
  }

  .company-about-container > div {
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 2.8rem !important;
    padding-bottom: 2.8rem !important;
    padding-left: 4rem !important;
    flex-direction: column !important;
    row-gap: 2.8rem;
  }

  .company-about-container > div > div > p {
    margin-top: 0 !important;
    font-size: 3rem !important;
  }

  .company-related-business-container > h2 {
    margin-bottom: 4.8rem !important;
    font-size: 4rem !important;
  }

  .company-related-business-container > p {
    font-size: 3rem !important;
  }

  .company-related-business-container > div {
    flex-direction: column !important;
    row-gap: 2rem;
    margin-bottom: 0 !important;
  }

  .company-related-business-container > div > div {
    padding: 4rem 2rem !important;
  }

  .company-related-business-container > div > div > div {
    flex-direction: column !important;
    row-gap: 2rem;
  }

  .company-related-business-container > div > div > div p:first-of-type {
    font-size: 3rem !important;
  }

  .company-related-business-container > div > div > div p:last-of-type {
    font-size: 2.8rem !important;
  }

  .company-related-company-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 4.8rem !important;
  }

  .company-related-company-container > p {
    font-size: 3rem !important;
  }

  .company-related-company-container > div {
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 6.8rem !important;
    flex-direction: column !important;
    row-gap: 2.8rem;
  }

  .company-related-company-container > div:last-of-type {
    margin-bottom: 0 !important;
  }

  .company-related-company-container > div > div {
    padding: 2.8rem 4rem 5rem !important;
  }

  .company-related-company-container > div > div > div:first-of-type {
    padding-top: 0.8rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 2rem !important;
  }

  .company-related-company-container
    > div
    > div
    > div:first-of-type
    > p:first-of-type {
    font-size: 2.8rem !important;
  }

  .company-related-company-container
    > div
    > div
    > div:first-of-type
    > p:last-of-type {
    font-size: 3rem !important;
  }

  .company-related-company-container > div > div > div:last-of-type > p {
    font-size: 2.8rem !important;
    margin-bottom: 1.6rem !important;
  }

  .company-related-company-container
    > div
    > div
    > div:last-of-type
    > p:last-of-type {
    margin-bottom: 0 !important;
  }

  .related-company-item::after {
    width: 4rem !important;
    height: 1rem !important;
    right: 4rem !important;
  }
}

/* 入校資格と入校手続きについてページ */
@media screen and (max-width: 750px) {
  .admission-requirements-container > h2,
  .admission-requirements-time-container > h2,
  .admission-requirements-license-container > h2,
  .admission-requirements-require-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 4.8rem !important;
  }

  .admission-requirements-container > p {
    width: 89.334% !important;
    margin: 0 auto !important;
    text-align: left !important;
    font-size: 3rem !important;
  }

  .admission-requirements-container > p:nth-of-type(2) {
    font-size: 3.4rem !important;
  }

  .admission-requirements-time-container {
    padding: 8rem 0 12rem !important;
  }

  .admission-requirements-time-container > p {
    font-size: 3rem !important;
    width: 89.334% !important;
    max-width: initial !important;
  }

  .admission-requirements-time-container > div {
    width: 89.334% !important;
    max-width: initial !important;
    flex-direction: column !important;
    row-gap: 2rem;
  }

  .admission-requirements-time-container > div > div {
    padding: 4rem 0 !important;
  }

  .admission-requirements-time-container > div > div > p:first-of-type {
    font-size: 3.4rem !important;
    margin-bottom: 2.8rem !important;
  }

  .admission-requirements-time-container > div > div > p:last-of-type {
    font-size: 4rem !important;
  }

  .admission-requirements-license-container {
    padding: 8rem 0 !important;
  }

  .admission-requirements-license-container > div,
  .admission-requirements-require-container > div {
    width: 89.334% !important;
    max-width: initial !important;
  }

  .admission-requirements-license-container > div > div,
  .admission-requirements-require-container > div > div {
    flex-direction: column !important;
    margin-bottom: 6.8rem !important;
  }

  .admission-requirements-license-container > div > div:last-of-type,
  .admission-requirements-require-container > div > div:last-of-type {
    margin-bottom: 0 !important;
  }

  .admission-requirements-license-container > div > div > div:first-of-type,
  .admission-requirements-require-container > div > div > div:first-of-type {
    border: none !important;
    border-bottom: 1px solid #f6bec8 !important;
    justify-content: center !important;
    padding-left: 0 !important;
  }

  .admission-requirements-license-container > div > div > div:first-of-type > p,
  .admission-requirements-require-container
    > div
    > div
    > div:first-of-type
    > p {
    font-size: 3rem !important;
    padding: 2.8rem !important;
  }

  .admission-requirements-license-container > div > div > div:nth-of-type(2),
  .admission-requirements-require-container > div > div > div:nth-of-type(2) {
    border-top: none !important;
  }

  .admission-requirements-license-container
    > div
    > div
    > div:nth-of-type(2)
    > div,
  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div {
    padding-top: 2rem !important;
    padding-bottom: 0.8rem !important;
  }

  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div:last-of-type {
    padding-bottom: 2.4rem !important;
  }

  .admission-requirements-license-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div {
    flex-direction: column !important;
    row-gap: 0.8rem !important;
  }

  .admission-requirements-license-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div
    > div,
  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div {
    padding: 0 2rem !important;
  }

  .admission-requirements-license-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div
    > div
    > p,
  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div
    > div
    > p,
  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div
    > div
    > ol {
    font-size: 3rem !important;
  }

  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div
    > div
    > ol {
    padding-left: 4rem !important;
  }

  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div
    > div
    > div {
    width: 71.47% !important;
    max-width: initial !important;
    margin: 0 auto !important;
  }

  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div
    > div
    > div
    > div {
    width: 100%;
  }

  .admission-requirements-require-container
    > div
    > div
    > div:nth-of-type(2)
    > div
    > div
    > div
    > div
    > div
    > a {
    padding: 2.9rem 0 !important;
    font-size: 3rem !important;
  }

  .admission-requirements-require-container {
    padding: 8.8rem 0 12rem !important;
  }
}

/* 流れページ */
.flow-item::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  background-color: #df0522;
  border-radius: 50%;
  position: absolute;
  top: -1.9rem;
  left: 50%;
  transform: translateX(-50%);
}

.flow-item2 {
  z-index: 2;
}

.flow-item2::before {
  content: "";
  height: 100%;
  width: 3px;
  background-color: #df0522;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.admission-hours-inner > p:first-of-type {
  position: relative;
}

.admission-hours-inner > p:first-of-type::before {
  content: "";
  height: 1px;
  width: 15%;
  background-color: #df0522;
  position: absolute;
  left: 0;
  bottom: -1px;
}

@media screen and (max-width: 750px) {
  .admission-flow-container1 > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .admission-flow-container1 > div:nth-of-type(1) {
    position: absolute;
    width: 68rem;
    max-width: initial;
    height: 3px;
    left: -30rem;
    top: 61rem;
    transform: rotate(-90deg);
  }

  .flow-item::before {
    content: "";
    width: 1.1rem;
    height: 1.1rem;
    background-color: #df0522;
    border-radius: 50%;
    position: absolute;
    top: 0.7rem;
    left: 0.2%;
    transform: translateX(-50%);
  }

  .admission-flow-container1 > div:nth-of-type(2) {
    flex-direction: column !important;
    width: 89.334% !important;
    max-width: initial !important;
    row-gap: 2rem !important;
  }

  .admission-flow-container1 > div:nth-of-type(2) > div {
    display: flex;
    justify-content: flex-end;
    gap: 4rem;
  }

  .admission-flow-container1 > div:nth-of-type(2) > div > div:first-of-type {
    width: 10.3% !important;
  }

  .admission-flow-container1
    > div:nth-of-type(2)
    > div
    > div:first-of-type
    > p:first-of-type {
    font-size: 2.5rem !important;
    line-height: 1;
  }

  .admission-flow-container1
    > div:nth-of-type(2)
    > div
    > div:first-of-type
    > p:nth-of-type(2) {
    font-size: 4.8rem !important;
    line-height: 1;
  }

  .admission-flow-container1 > div:nth-of-type(2) > div > div:nth-of-type(2) {
    padding: 2.8rem 2rem !important;
    width: 80.747% !important;
  }

  .admission-flow-container1
    > div:nth-of-type(2)
    > div
    > div:nth-of-type(2)
    > p:first-of-type {
    font-size: 4rem !important;
  }

  .admission-flow-container1
    > div:nth-of-type(2)
    > div
    > div:nth-of-type(2)
    > p:nth-of-type(2) {
    font-size: 3rem !important;
  }

  .admission-flow-container1 > div:nth-of-type(3) {
    max-width: initial !important;
    width: 56.4% !important;
  }

  .admission-flow-container1 > div:nth-of-type(3) > div {
    width: 100%;
  }

  .admission-flow-container1 > div:nth-of-type(3) > div > a {
    padding: 2.4rem 0 !important;
    font-size: 3rem !important;
  }

  .admission-flow-container2 > h2 {
    font-size: 4rem !important;
    margin-bottom: 4.8rem !important;
  }

  .admission-flow-container2 > div {
    flex-direction: column !important;
    width: 89.334% !important;
    max-width: initial !important;
    row-gap: 4.8rem !important;
  }

  .admission-flow-container2 > div > div > div {
    padding: 2.8rem 4rem !important;
  }

  .admission-flow-container2 > div > div > div > p:nth-of-type(even) {
    font-size: 3.4rem !important;
    margin-bottom: 0.4rem !important;
  }

  .admission-flow-container2 > div > div > div > p:nth-of-type(odd) {
    font-size: 3rem !important;
    margin-bottom: 2.8rem !important;
  }

  .admission-flow-container2 > div > div > div > p:first-of-type {
    font-size: 4rem !important;
    margin-bottom: 4rem !important;
  }

  .admission-flow-container2
    > div
    > div
    > div
    > p:nth-of-type(even):not(:first-of-type) {
    font-size: 3rem !important;
  }

  .admission-flow-container2 > div:last-of-type {
    max-width: initial !important;
    width: 56.4% !important;
  }

  .admission-flow-container2 > div:last-of-type > div {
    width: 100%;
  }

  .admission-flow-container2 > div:last-of-type > div > a {
    padding: 2.4rem 0 !important;
    font-size: 3rem !important;
  }

  .admission-hours-title {
    font-size: 4rem !important;
    margin-bottom: 4.8rem !important;
  }

  .admission-hours-text {
    width: 89.334% !important;
    max-width: initial !important;
    margin-bottom: 4.5rem !important;
    font-size: 3rem !important;
  }

  .admission-hours-inner {
    width: 89.334% !important;
    max-width: initial !important;
  }

  .admission-hours-inner > p:first-of-type {
    font-size: 4rem !important;
  }

  .admission-hours-inner > p:last-of-type {
    font-size: 3.6rem !important;
  }
}

/* お支払い方法ページ */
@media screen and (max-width: 750px) {
  .payment-container > p {
    font-size: 3rem !important;
    width: 89.334% !important;
    max-width: initial !important;
  }

  .payment-container > div.wp-block-columns.is-not-stacked-on-mobile {
    width: 89.334% !important;
    max-width: initial !important;
    flex-wrap: wrap !important;
    justify-content: flex-start;
    gap: 2.8rem 4rem !important;
  }

  .payment-container > div > div {
    flex-basis: 46.015% !important;
    padding: 2rem 0 !important;
  }

  .payment-container > div > div > p {
    font-size: 3rem !important;
  }

  .payment-container > div > div > p > img {
    width: 2rem !important;
    height: 4rem !important;
    vertical-align: bottom;
    margin-left: 4rem !important;
  }

  .cash-container {
    padding-top: 8rem !important;
    padding-bottom: 10rem !important;
  }

  .cash-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .cash-container > div:first-of-type {
    flex-direction: column !important;
    row-gap: 2rem;
    margin-bottom: 6.8rem !important;
  }

  .cash-container > div:first-of-type > div {
    padding: 4.8rem 2rem !important;
  }

  .cash-container > div:first-of-type > div > p:first-of-type {
    font-size: 3.6rem !important;
    margin-bottom: 2.8rem !important;
  }

  .cash-container > div:first-of-type > div > p:last-of-type {
    font-size: 2.6rem !important;
    margin-bottom: 0 !important;
  }

  .cash-container > div:nth-of-type(2) {
    padding: 6rem 2rem !important;
    width: 89.334% !important;
    max-width: initial !important;
  }

  .cash-container > div:nth-of-type(2) > div {
    flex-direction: column !important;
  }

  .cash-container > div:nth-of-type(2) > div > div:not(:last-of-type) {
    margin-bottom: 6rem !important;
  }

  .cash-container > div:nth-of-type(2) > div > div > div:first-of-type {
    padding: 2rem 0 !important;
  }

  .cash-container > div:nth-of-type(2) > div > div > div:first-of-type > p {
    font-size: 3.4rem !important;
    text-align: center !important;
  }

  .cash-container > div:nth-of-type(2) > div > div > div:not(:first-of-type) {
    padding: 2.8rem 2rem !important;
  }

  .cash-container
    > div:nth-of-type(2)
    > div
    > div
    > div:not(:first-of-type)
    > p:first-of-type {
    margin-bottom: 2rem !important;
    font-size: 3rem !important;
  }

  .cash-container
    > div:nth-of-type(2)
    > div
    > div
    > div:not(:first-of-type)
    > p:last-of-type {
    font-size: 5.4rem !important;
    text-align: right;
  }

  .cash-container > div:nth-of-type(2) > ul {
    font-size: 2.8rem !important;
  }

  .transfer-container {
    padding: 10rem 0 !important;
  }

  .transfer-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .transfer-container > div {
    flex-direction: column !important;
    row-gap: 4.8rem !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-bottom: 0 !important;
  }

  .transfer-container > div > div:first-of-type > p {
    font-size: 3rem !important;
    margin-bottom: 2.8rem !important;
  }

  .transfer-container > div > div:first-of-type > div {
    padding: 4rem !important;
  }

  .transfer-container > div > div:first-of-type > div > p {
    font-size: 3rem !important;
  }

  .transfer-container > div > div:first-of-type > div > p > span {
    margin-left: 16rem;
  }

  .transfer-container > div > div:last-of-type > p {
    font-size: 2.8rem !important;
    margin-bottom: 0 !important;
  }

  .loan-container {
    padding: 10rem 0 !important;
  }

  .loan-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .loan-container > p {
    font-size: 3rem !important;
    margin-bottom: 4rem !important;
  }

  .loan-container > div > figure {
    max-width: initial !important;
    width: 78.668% !important;
    margin-bottom: 0 !important;
  }

  .credit-card-container {
    padding: 10rem 0 !important;
  }

  .credit-card-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .credit-card-container > div {
    margin-bottom: 6.8rem !important;
  }

  .credit-card-container > div > figure {
    max-width: initial !important;
    width: 89.334% !important;
    margin-bottom: 0 !important;
  }

  .credit-card-container > p:first-of-type {
    text-align: left !important;
    width: 89.334% !important;
    margin: 0 auto !important;
    font-size: 3rem !important;
    margin-bottom: 2.4rem !important;
  }

  .credit-card-container > p:last-of-type {
    text-align: left !important;
    width: 89.334% !important;
    margin: 0 auto !important;
    font-size: 2.8rem !important;
    margin-bottom: 0 !important;
  }

  .electronic-money-container {
    padding: 10rem 0 !important;
  }

  .electronic-money-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .electronic-money-container > div {
    margin-bottom: 3.2rem !important;
  }

  .electronic-money-container > div > figure {
    max-width: initial !important;
    width: 31.611% !important;
    margin-bottom: 0 !important;
  }

  .electronic-money-container > p {
    font-size: 3rem !important;
  }
}

/* 提携校・提携法人一覧ページ */

.page-id-23190 .partners-select-container {
  width: 80.556%;
  max-width: initial;
}

.page-id-23190 .partners-select {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 2.8rem;
}

.page-id-23190 .partners-select select {
  width: 17.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-bottom: 1px solid #2217141a;
  appearance: none;
  padding: 1.6rem 2.8rem;
  cursor: pointer;
  color: #221714;
}

.page-id-23190 .partners-select select:focus-visible {
  outline: none;
}

.page-id-23190 .partners-select .page-jump-container {
  position: relative;
}

.page-id-23190 .partners-select .page-jump-container::after {
  content: "";
  background: url("assets/images/under-arrow.png") center center no-repeat;
  background-size: contain;
  width: 0.594rem;
  height: 1.081rem;
  position: absolute;
  top: 50%;
  right: 2.1rem;
  transform: translateY(-50%) rotate(0);
  z-index: 2;
  transition: all 250ms cubic-bezier(0.4, 0.25, 0.3, 1);
  opacity: 0.6;
}

.smb-accordion__item__title {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #df0522;
  background-color: #fff !important;
  color: #DF0522;
}

@media screen and (max-width: 750px) {
  .partner-collage-container {
    padding: 12rem 0 8.8rem !important;
    margin-bottom: 6.8rem !important;
  }

  .page-id-23190 .partners-select-container {
    width: 89.334%;
    margin-bottom: 6.8rem;
  }

  .page-id-23190 .partners-select {
    justify-content: center;
    gap: 4rem;
  }

  .page-id-23190 .partners-select .page-jump-container {
    padding: 0 !important;
  }

  .page-id-23190 .partners-select select {
    width: 31.5rem;
    font-size: 3rem;
    padding: 2rem 2rem;
    text-align: center;
  }

  .page-id-23190 .partners-select .page-jump-container::after {
    width: 2rem;
    height: 4rem;
    right: 2rem;
  }

  .partner-collage-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .partner-collage-container > p {
    font-size: 3rem !important;
    margin-bottom: 6.8rem !important;
  }

  .partner-collage-container > div:not(:first-of-type) {
    width: 89.334% !important;
    margin: 0 auto !important;
    max-width: initial !important;
  }

  .partner-collage-container > div > div:not(:last-of-type) {
    margin-bottom: 6rem !important;
  }

  .smb-accordion__item__title {
    font-size: 4rem;
    margin-bottom: 4rem !important;
  }

  .partner-collage-container .smb-accordion__item__body > div:first-of-type {
    display: none;
  }

  .partner-collage-container .smb-accordion__item__body > div {
    flex-direction: column;
    border-bottom: 1px solid #2217141a !important;
  }

  .partner-collage-container
    .smb-accordion__item__body
    > div
    > div:first-of-type {
    padding: 0.8rem 2rem !important;
  }

  .partner-collage-container
    .smb-accordion__item__body
    > div
    > div:first-of-type
    > p {
    font-size: 3rem !important;
    font-weight: 700 !important;
  }

  .partner-collage-container
    .smb-accordion__item__body
    > div
    > div:nth-of-type(2),
  .partner-collage-container
    .smb-accordion__item__body
    > div
    > div:nth-of-type(3) {
    padding: 1.15rem 2rem !important;
    position: relative;
  }

  .partner-collage-container
    .smb-accordion__item__body
    > div
    > div:nth-of-type(2)
    > p {
    font-size: 3rem !important;
    padding-left: 14rem !important;
    position: relative;
  }

  .partner-collage-container
    .smb-accordion__item__body
    > div
    > div:nth-of-type(2)
    > p::before {
    content: "申込場所：";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.6rem !important;
  }

  .partner-collage-container
    .smb-accordion__item__body
    > div
    > div:nth-of-type(3)
    > p {
    font-size: 3rem !important;
  }

  .partner-company-container {
    padding-bottom: 0 !important;
  }

  .partner-company-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .partner-company-container > p {
    font-size: 3rem !important;
    margin-bottom: 4.8rem !important;
    width: 89.334% !important;
    max-width: initial !important;
  }

  .partner-company-container > div {
    width: 89.334% !important;
    max-width: initial !important;
  }

  .partner-company-container > div > p:first-of-type {
    font-size: 3rem !important;
    margin-bottom: 4rem !important;
  }

  .partner-company-container > div > div {
    flex-direction: column !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
  }

  .partner-company-container > div > div > div {
    padding: 1.2rem 2rem !important;
    border-bottom: 1px solid #2217141a !important;
  }

  .partner-company-container > div > div > div > p {
    font-size: 3rem !important;
  }
}

/* FAQページ */

.question-accordion {
  box-shadow: 0px 0px 12px 0px #2217141a;
  border-radius: 12px;
  margin-bottom:1.2rem;
}

.question-accordion .smb-accordion__item {
  width: 95.173%;
  margin: 0 auto;
}

.question-accordion .smb-accordion__item__title {
  color:#221714;
	padding-left: 7.6rem;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  position: relative;
  border-bottom: none;
}

.question-accordion .smb-accordion__item__title::before {
  content: "Q";
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #df0522;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.question-accordion .smb-accordion__item__body {
  position: relative;
  padding:0;
}

.question-accordion .smb-accordion__item__body::before {
  content: "A";
  position: absolute;
  top: 1.2rem;
  left: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #df0522;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #f9f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.page-id-23191 .faq-select-container {
  width: 80.556%;
  max-width: initial;
}

.page-id-23191 .faq-select {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 2.8rem;
}

.page-id-23191 .faq-select select {
  width: 17.8rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-bottom: 1px solid #2217141a;
  appearance: none;
  padding: 1.6rem 2.8rem;
  cursor: pointer;
  color: #221714;
}

.page-id-23191 .faq-select select:focus-visible {
  outline: none;
}

.page-id-23191 .faq-select .page-jump-container {
  position: relative;
}

.page-id-23191 .faq-select .page-jump-container::after {
  content: "";
  background: url("assets/images/under-arrow.png") center center no-repeat;
  background-size: contain;
  width: 0.594rem;
  height: 1.081rem;
  position: absolute;
  top: 50%;
  right: 2.1rem;
  transform: translateY(-50%) rotate(0);
  z-index: 2;
  transition: all 250ms cubic-bezier(0.4, 0.25, 0.3, 1);
  opacity: 0.6;
}

@media screen and (max-width: 750px) {
  .faq-container {
    padding-top: 12rem !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .faq-container > p {
    font-size: 3rem !important;
    margin-bottom: 6.8rem !important;
    width: 89.334% !important;
    max-width: initial !important;
  }

  .question-accordion .smb-accordion__item {
    width: 94.03% !important;
  }

  .question-accordion .smb-accordion__item__title {
    padding-left: 10.4rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    font-size: 3.4rem !important;
    margin-bottom: 0 !important;
  }

  .question-accordion .smb-accordion__item__title::before {
    font-size: 3.4rem;
    width: 6rem;
    height: 6rem;
  }

  .question-accordion .smb-accordion__item__body > p {
    padding-left: 10.4rem !important;
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
    font-size: 3rem !important;
    margin-bottom: 0 !important;
  }

  .question-accordion .smb-accordion__item__body::before {
    font-size: 3.4rem;
    width: 6rem;
    height: 6rem;
  }

  .page-id-23191 .faq-select-container {
    width: 89.334% !important;
    max-width: initial !important;
  }

  .page-id-23191 .faq-select {
    justify-content: center;
    gap: 4rem;
  }

  .page-id-23191 .faq-select .page-jump-container {
    padding: 0 !important;
  }

  .page-id-23191 .faq-select select {
    width: 31.5rem;
    font-size: 3rem;
    padding: 2rem 2rem;
    text-align: center;
  }

  .page-id-23191 .faq-select .page-jump-container::after {
    width: 2rem;
    height: 4rem;
    right: 2rem;
  }

  .faq-container > div:nth-of-type(2) {
    width: 89.334% !important;
    max-width: initial !important;
  }
}

/* 普通車ページ */
/* 普通二輪者ページ */
/* 大型二輪ページ */
@media screen and (max-width: 750px) {
  .ordinary-car-container,
  .ordinary-bike-container,
  .large-motorcycle-container,
  .second-class-license-container {
    margin: 8rem 0 0 !important;
  }

  .ordinary-car-container > div:first-of-type,
  .ordinary-bike-container > div:first-of-type,
  .large-motorcycle-container > div:first-of-type,
  .second-class-license-container > div:first-of-type {
    width: 89.334% !important;
    max-width: initial !important;
    flex-direction: column !important;
    row-gap: 2.8rem;
    margin-bottom: 10rem !important;
  }

  .ordinary-car-container > div:first-of-type > div,
  .ordinary-bike-container > div:first-of-type > div,
  .large-motorcycle-container > div:first-of-type > div,
  .second-class-license-container > div:first-of-type > div {
    padding: 4rem 2rem !important;
    max-width: initial !important;
  }

  .ordinary-car-container > div:first-of-type > div > h3,
  .ordinary-bike-container > div:first-of-type > div > h3,
  .large-motorcycle-container > div:first-of-type > div > h3,
  .second-class-license-container > div:first-of-type > div > h3 {
    font-size: 4rem !important;
    margin-bottom: 2.8rem !important;
  }

  .ordinary-car-container > div:first-of-type > div > figure,
  .ordinary-bike-container > div:first-of-type > div > figure,
  .large-motorcycle-container > div:first-of-type > div > figure,
  .second-class-license-container > div:first-of-type > div > figure {
    margin-bottom: 2.8rem !important;
  }

  .ordinary-car-container > div:first-of-type > div > p,
  .ordinary-bike-container > div:first-of-type > div > p,
  .large-motorcycle-container > div:first-of-type > div > p,
  .second-class-license-container > div:first-of-type > div > p {
    font-size: 3rem !important;
  }

  .ordinary-car-container > div:last-of-type,
  .ordinary-bike-container > div:last-of-type,
  .large-motorcycle-container > div:last-of-type {
    margin: 0 !important;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }

  .ordinary-car-container > div:last-of-type > h2,
  .ordinary-bike-container > div:last-of-type > h2,
  .large-motorcycle-container > div:last-of-type > h2,
  .second-class-license-container > div:last-of-type > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .ordinary-car-container > div:last-of-type > h4,
  .ordinary-bike-container > div:last-of-type > h4,
  .large-motorcycle-container > div:last-of-type > h4,
  .second-class-license-container > div:last-of-type > h4 {
    font-size: 3rem !important;
    margin-bottom: 6.8rem !important;
  }

  .ordinary-car-container > div > div,
  .ordinary-bike-container > div > div,
  .large-motorcycle-container > div > div,
  .second-class-license-container > div > div {
    width: 100% !important;
    max-width: initial !important;
    padding: 6rem 2rem !important;
    margin-bottom: 6.8rem !important;
  }

  .ordinary-car-container > div > div:last-of-type,
  .ordinary-bike-container > div > div:last-of-type,
  .large-motorcycle-container > div > div:last-of-type,
  .second-class-license-container > div > div:last-of-type {
    margin-bottom: 0 !important;
  }

  .ordinary-car-container > div > div:last-of-type > h3,
  .ordinary-bike-container > div > div:last-of-type > h3,
  .large-motorcycle-container > div > div:last-of-type > h3 {
    padding: 2rem !important;
    font-size: 3.4rem !important;
  }

  .ordinary-bike-container > div > div:last-of-type > h3.sp-tac,
  .large-motorcycle-container > div > div:last-of-type > h3.sp-tac {
    text-align: center !important;
  }

  .ordinary-car-container > div > div > div,
  .ordinary-bike-container > div > div > div,
  .large-motorcycle-container > div > div > div,
  .second-class-license-container > div > div > div {
    flex-direction: column;
    row-gap: 6rem !important;
  }

  .installment-payment-container h3 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    text-align: center !important;
    font-size: 3.4rem !important;
    margin-bottom: 2.8rem !important;
  }

  .ordinary-car-container > div > div > p,
  .ordinary-bike-container > div > div > p,
  .large-motorcycle-container > div > div > p,
  .second-class-license-container > div > div > p {
    font-size: 2.4rem !important;
  }

  .large-motorcycle-container > div > div > p {
    font-size: 3rem !important;
  }

  .ordinary-car-container > div > div > div > div > h3,
  .ordinary-bike-container > div > div > div > div > h3,
  .large-motorcycle-container > div > div > h3,
  .second-class-license-container > div > div > div > div > h3 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    text-align: center !important;
    font-size: 3.4rem !important;
    margin-bottom: 2.8rem !important;
  }

  .ordinary-car-container > div > div > div > div > p,
  .ordinary-bike-container > div > div > div > div > p,
  .large-motorcycle-container > div > div > div > div > p,
  .second-class-license-container > div > div > div > div > p {
    margin-left: 2rem !important;
    margin-bottom: 0 !important;
    font-size: 3rem !important;
  }

  .ordinary-car-container > div > div:nth-of-type(2) > div > div > p,
  .ordinary-bike-container > div > div:nth-of-type(2) > div > div > p,
  .large-motorcycle-container > div > div:nth-of-type(2) > div > div > p,
  .second-class-license-container > div > div:nth-of-type(2) > div > div > p {
    font-size: 2.8rem !important;
    margin-left: 0 !important;
  }

  .ordinary-car-container > div > div > div > div > div,
  .ordinary-bike-container > div > div > div > div > div,
  .large-motorcycle-container > div > div > div > div > div,
  .second-class-license-container > div > div > div > div > div {
    flex-direction: column !important;
    row-gap: 1.2rem !important;
  }

  .ordinary-car-container > div > div > div > div > div > div:first-of-type > p,
  .ordinary-bike-container
    > div
    > div
    > div
    > div
    > div
    > div:first-of-type
    > p,
  .large-motorcycle-container
    > div
    > div
    > div
    > div
    > div
    > div:first-of-type
    > p,
  .second-class-license-container
    > div
    > div
    > div
    > div
    > div
    > div:first-of-type
    > p {
    font-size: 2.6rem !important;
    text-align: left !important;
    line-height: 1;
  }

  .ordinary-car-container > div > div > div > div > div > div:last-of-type > p,
  .ordinary-bike-container > div > div > div > div > div > div:last-of-type > p,
  .large-motorcycle-container
    > div
    > div
    > div
    > div
    > div
    > div:last-of-type
    > p,
  .second-class-license-container
    > div
    > div
    > div
    > div
    > div
    > div:last-of-type
    > p {
    font-size: 6rem !important;
    text-align: right !important;
    line-height: 1;
  }

  .ordinary-car-container > div > div > ul,
  .ordinary-bike-container > div > div > ul,
  .large-motorcycle-container > div > div > ul {
    font-size: 3rem !important;
  }

  .ordinary-car-option-container > div,
  .ordinary-bike-option-container > div,
  .large-motorcycle-option-container > div {
    padding: 8rem 0 !important;
  }

  .ordinary-car-option-container > div > h2,
  .ordinary-bike-option-container > div > h2,
  .large-motorcycle-option-container > div > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .ordinary-car-option-container > div > div,
  .ordinary-bike-option-container > div > div,
  .large-motorcycle-option-container > div > div {
    padding: 2rem !important;
    padding-bottom: 0 !important;
    width: 89.334% !important;
    max-width: initial !important;
  }

  .ordinary-car-option-container > div > div > h3,
  .ordinary-bike-option-container > div > div > h3,
  .large-motorcycle-option-container > div > div > h3 {
    padding: 2rem 0 !important;
    font-size: 3.4rem !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
  }

  .ordinary-car-option-container > div > div > div,
  .ordinary-bike-option-container > div > div > div,
  .large-motorcycle-option-container > div > div > div {
    flex-direction: column !important;
    row-gap: 2.8rem !important;
    margin-bottom: 4.8rem !important;
  }

  .ordinary-car-option-container > div > div > div:last-of-type,
  .ordinary-bike-option-container > div > div > div:last-of-type,
  .large-motorcycle-option-container > div > div > div:last-of-type {
    margin-bottom: 8.8rem !important;
  }

  .ordinary-car-option-container > div > div > div > div:first-of-type > p,
  .ordinary-bike-option-container > div > div > div > div:first-of-type > p,
  .large-motorcycle-option-container > div > div > div > div:first-of-type > p {
    font-size: 2.8rem !important;
  }

  .ordinary-car-option-container > div > div > div > div:last-of-type > div,
  .ordinary-bike-option-container > div > div > div > div:last-of-type > div,
  .large-motorcycle-option-container
    > div
    > div
    > div
    > div:last-of-type
    > div {
    flex-direction: column !important;
    gap: 0 !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    padding-left: 0 !important;
  }

  .ordinary-car-option-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div:first-of-type
    > p,
  .ordinary-bike-option-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div:first-of-type
    > p,
  .large-motorcycle-option-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div:first-of-type
    > p {
    text-align: left;
    font-size: 2.6rem !important;
    line-height: 1;
  }

  .ordinary-car-option-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div:last-of-type
    > p,
  .ordinary-bike-option-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div:last-of-type
    > p,
  .large-motorcycle-option-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div:last-of-type
    > p {
    text-align: right;
    font-size: 6rem !important;
    line-height: 1;
  }

  .ordinary-car-option-container > div > div:last-of-type,
  .ordinary-bike-option-container > div > div:last-of-type,
  .large-motorcycle-option-container > div > div:last-of-type {
    padding: 0 !important;
    width: 89.334% !important;
    max-width: initial !important;
  }

  .ordinary-car-option-container > div > div:last-of-type > div,
  .ordinary-bike-option-container > div > div:last-of-type > div,
  .large-motorcycle-option-container > div > div:last-of-type > div {
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  .ordinary-car-option-container
    > div
    > div:last-of-type
    > div
    > div.wp-block-button,
  .large-motorcycle-option-container
    > div
    > div:last-of-type
    > div
    > div.wp-block-button {
    width: 100%;
  }

  .ordinary-car-option-container > div > div:last-of-type > div a,
  .ordinary-bike-option-container > div > div:last-of-type > div a,
  .large-motorcycle-option-container > div > div:last-of-type > div a {
    padding: 2.4rem !important;
    font-size: 3rem !important;
    margin-top: 5rem !important;
  }

  .second-class-license-container > div > div > div > div > ul {
    font-size: 3rem !important;
    margin-top: 0 !important;
  }

  .second-class-license-container > div > div > p:last-of-type {
    margin-top: 8rem !important;
    font-size: 2.8rem !important;
  }

  .second-class-license-container > div:last-of-type > div:first-of-type {
    margin-bottom: 0 !important;
  }

  .second-class-license-container > div:last-of-type > div:last-of-type {
    padding: 0 !important;
    margin-top: 6.8rem !important;
    width: 89.334% !important;
  }

  .second-class-license-container > div:last-of-type > div:last-of-type > div {
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  .second-class-license-container
    > div:last-of-type
    > div:last-of-type
    > div:first-of-type
    a {
    margin-bottom: 3rem;
  }

  .second-class-license-container
    > div:last-of-type
    > div:last-of-type
    > div
    > a {
    padding: 2.4rem !important;
    font-size: 3rem !important;
  }

  .ordinary-car-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > p,
  .ordinary-bike-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > p,
  .large-motorcycle-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > p {
    margin-left: 2rem !important;
    margin-bottom: 0 !important;
    font-size: 3rem !important;
  }

  .ordinary-car-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > p,
  .ordinary-bike-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > p,
  .large-motorcycle-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > p {
    margin-left: 2rem !important;
    margin-bottom: 0 !important;
    font-size: 3rem !important;
    text-align: left !important;
  }

  .ordinary-car-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div,
  .ordinary-bike-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div,
  .large-motorcycle-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div {
    justify-content: flex-end;
  }

  .ordinary-car-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div
    > div,
  .ordinary-bike-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div
    > div,
  .large-motorcycle-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div
    > div {
    flex-basis: 100% !important;
  }

  .ordinary-car-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div
    > div
    > p,
  .ordinary-bike-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div
    > div
    > p,
  .large-motorcycle-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:first-of-type
    > div
    > div
    > p {
    font-size: 6rem !important;
    text-align: right !important;
    line-height: 1;
  }

  .ordinary-car-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div,
  .ordinary-bike-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div,
  .large-motorcycle-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div {
    justify-content: flex-end;
  }

  .ordinary-car-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div,
  .ordinary-bike-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div,
  .large-motorcycle-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div {
    flex-basis: 100% !important;
  }

  .ordinary-car-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div
    > p,
  .ordinary-bike-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div
    > p,
  .large-motorcycle-container
    > div
    > .installment-payment-container
    > div
    > div
    > div
    > div:last-of-type
    > div
    > div
    > p {
    font-size: 6rem !important;
    text-align: right !important;
    line-height: 1;
  }
}

/* アクセスページ */
.access-accordion .smb-accordion__item__title {
  position: relative;
  border-bottom: none;
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 1.9rem;
  background-color:#fff;
  color:#221714;
}

.access-accordion .smb-accordion__item__body {
  border-top: 1px solid #df0522;
}

.access-course-accordion .smb-accordion__item__title {
  position: relative;
  padding-left: 6.9rem;
}

.access-course-accordion-container:nth-of-type(2)
  .smb-accordion__item__title::before {
  content: "2号車";
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #df052214;
  color: #df0522;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: absolute;
  top: 10%;
  left: 0;
  border-radius: 4px;
}

.access-course-accordion-container:nth-of-type(3)
  .smb-accordion__item__title::before {
  content: "3号車";
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #df052214;
  color: #df0522;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: absolute;
  top: 10%;
  left: 0;
  border-radius: 4px;
}

.access-course-accordion-container:nth-of-type(4)
  .smb-accordion__item__title::before {
  content: "5号車";
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #df052214;
  color: #df0522;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: absolute;
  top: 10%;
  left: 0;
  border-radius: 4px;
}

.access-course-accordion-container:nth-of-type(5)
  .smb-accordion__item__title::before {
  content: "6号車";
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #df052214;
  color: #df0522;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: absolute;
  top: 10%;
  left: 0;
  border-radius: 4px;
}

.access-course-accordion-container:nth-of-type(6)
  .smb-accordion__item__title::before {
  content: "7号車";
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #df052214;
  color: #df0522;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: absolute;
  top: 10%;
  left: 0;
  border-radius: 4px;
}

.access-course-accordion-container:nth-of-type(7)
  .smb-accordion__item__title::before {
  content: "8号車";
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #df052214;
  color: #df0522;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: absolute;
  top: 10%;
  left: 0;
  border-radius: 4px;
}

@media screen and (max-width: 750px) {
  .access-container {
    padding: 8rem 0 12rem !important;
  }

  .access-container > p {
    font-size: 3.5rem !important;
    margin-bottom: 4.8rem !important;
    max-width: initial !important;
  }

  .access-container > figure {
    max-width: initial !important;
    width: 100% !important;
  }

  .access-container > p:last-of-type {
    display: none;
  }

  .access-bus-container {
    padding: 8.8rem 0 12rem !important;
  }

  .access-bus-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 4.8rem !important;
  }

  .access-bus-container > p {
    max-width: initial !important;
    font-size: 3rem !important;
    margin-bottom: 4.8rem !important;
  }

  .access-bus-container > div {
    max-width: initial !important;
    width: 89.334% !important;
    margin: 0 auto 4.8rem !important;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }

  .access-accordion .smb-accordion__item__title {
    font-size: 3.6rem;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .access-accordion .smb-accordion__item__body {
    padding-top: 2.4rem !important;
    margin-top: 2rem !important;
  }

  .access-accordion .smb-accordion__item__body iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1 !important;
  }

  .access-bus-container > div:first-of-type > div > div > div > div {
    flex-direction: column !important;
    row-gap: 4rem !important;
  }

  .access-bus-container
    > div:first-of-type
    > div
    > div
    > div
    > div
    p:first-of-type {
    font-size: 3rem !important;
  }

  .access-bus-container
    > div:first-of-type
    > div
    > div
    > div
    > div
    p:last-of-type {
    font-size: 3.4rem !important;
  }

  .access-course-accordion .smb-accordion__item__title {
    position: relative;
    padding-left: 13.2rem;
  }

  .access-course-accordion-container .smb-accordion__item__title::before {
    padding: 0.8rem 1.6rem !important;
    font-size: 3rem !important;
    top: 50% !important;
    transform: translate(0, -50%);
  }

  .smb-accordion__item__body > div:first-of-type {
    overflow-x: scroll;
  }

  .access-course-accordion-container:not(:nth-of-type(1))
    .smb-accordion__item__body
    > div:nth-of-type(1)
    > div {
    width: 285% !important;
    margin-bottom: 1.2rem !important;
  }

  .access-course-accordion-container:not(:nth-of-type(1))
    .smb-accordion__item__body
    > div:nth-of-type(1)
    p,
  .access-course-accordion-container:not(:nth-of-type(1))
    .smb-accordion__item__body
    > div:nth-of-type(1)
    p {
    font-size: 2.6rem !important;
  }

  .access-course-accordion-container:not(:nth-of-type(1))
    .smb-accordion__item__body
    > div:nth-of-type(1)
    > div
    > div:last-of-type
    > div:first-of-type
    > div {
    display: block !important;
  }

  .scroll-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 35rem;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
  }

  .scroll-area-wrapper::-webkit-scrollbar {
    height: 1rem;
  }

  .scroll-area-wrapper::-webkit-scrollbar-track {
    background-color: #f6bec8;
    border-radius: 10px;
  }

  .scroll-area-wrapper::-webkit-scrollbar-thumb {
    background-color: #df0522;
    border-radius: 10px;
  }

  .smb-accordion__item__body > div:nth-of-type(2) {
    margin-top: 6.8rem !important;
  }

  .smb-accordion__item__body > div:nth-of-type(3),
  .smb-accordion__item__body > div:nth-of-type(4) {
    margin-top: 4rem !important;
    margin-bottom: 0 !important;
  }

  .smb-accordion__item__body > div:nth-of-type(4) {
    margin-bottom: 0rem !important;
  }

  .partner-collage-container .smb-accordion__item__body > div.pc {
    margin: 0 !important;
    padding: 0 !important;
  }

  .smb-accordion__item__body > div:nth-of-type(2) h2,
  .smb-accordion__item__body > div:nth-of-type(3) h2,
  .smb-accordion__item__body > div:nth-of-type(4) h2,
  .smb-accordion__item__body > div:nth-of-type(5) h2 {
    font-size: 3.6rem !important;
    margin-bottom: 2.8rem !important;
    padding-left: 4rem !important;
  }

  .smb-accordion__item__body > div:nth-of-type(5) h2 {
    margin-bottom: 2rem !important;
  }

  .smb-accordion__item__body > div:nth-of-type(3) h2::before {
    top: 22% !important;
  }

  .smb-accordion__item__body > div:nth-of-type(3) h2 span {
    display: block;
    margin-left: -2.2rem !important;
    font-size: 0.7111em !important;
  }

  .smb-accordion__item__body > div:nth-of-type(2) ul,
  .smb-accordion__item__body > div:nth-of-type(3) ul,
  .smb-accordion__item__body > div:nth-of-type(4) ul {
    font-size: 2.6rem !important;
  }

  .smb-accordion__item__body > div:nth-of-type(5) iframe {
    aspect-ratio: 590 / 425 !important;
  }

  .smb-accordion__item__body > div:nth-of-type(5) > div {
    display: block;
    margin-top: 2rem !important;
  }

  .smb-accordion__item__body
    > div:nth-of-type(5)
    > div
    > div:last-of-type
    p:last-of-type {
    padding-top: 2.8rem !important;
    padding-bottom: 2.8rem !important;
    font-size: 3.4rem !important;
  }

  .access-system-container {
    padding-top: 8rem !important;
  }

  .access-system-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .access-system-container > div {
    padding: 6rem 4rem !important;
    width: 89.334% !important;
    max-width: initial !important;
  }

  .access-system-container > div > div {
    flex-direction: column !important;
  }

  .access-system-container > div > div > div {
    display: flex;
    justify-content: flex-start;
    border-right: none !important;
    flex-basis: 100% !important;
    flex-grow: initial !important;
    padding-left: 6.8rem !important;
    padding-right: 6.8rem !important;
    gap: 4rem;
    align-items: center;
  }

  .access-system-container > div > div > div:nth-of-type(1) {
    padding-bottom: 2.8rem !important;
  }

  .access-system-container > div > div > div:nth-of-type(2) {
    border-top: 1px solid #f6bec8;
    border-bottom: 1px solid #f6bec8;
    padding: 2.8rem 6.8rem !important;
  }

  .access-system-container > div > div > div:nth-of-type(3) {
    padding-top: 2.8rem !important;
    padding-bottom: 0 !important;
  }

  .access-system-container > div > div > div figure {
    max-width: initial !important;
    width: 100% !important;
    flex-basis: 9.36% !important;
    margin: 0 !important;
  }

  .access-system-container > div > div > div p {
    max-width: initial !important;
    width: 100% !important;
    flex-basis: 81.82% !important;
    margin: 0 !important;
    font-size: 3.4rem !important;
  }

  .access-system-container > div > p {
    width: 100% !important;
    max-width: initial !important;
    padding: 2.8rem 0 !important;
    font-size: 3rem !important;
    border-radius: 6rem !important;
  }

  .access-system-container > div > p a {
    text-decoration: none !important;
  }

  .access-address-container {
    padding-top: 8rem !important;
  }

  .access-address-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .access-address-container > p:first-of-type {
    margin-bottom: 2rem !important;
    font-size: 3.4rem !important;
  }

  .access-address-container > p:nth-of-type(2) {
    font-size: 3rem !important;
    margin-bottom: 2rem !important;
  }

  .access-address-container > p:nth-of-type(3) {
    font-size: 3rem !important;
    margin-bottom: 4.8rem !important;
  }

  .access-address-container > div {
    width: 89.334% !important;
    max-width: initial !important;
  }

  .access-address-container > div > iframe {
    aspect-ratio: 67 / 36 !important;
  }
}

/* ペーパードライバー講習ページ */
.page-id-1419 .wp-block-post-title {
  position: relative;
  opacity: 0;
}

.page-id-1419 .paper-driver-fv::before {
  content: "【普通車・二輪車】";
  font-size: 2.4rem;
  font-weight: 700;
  color: #221714;
  letter-spacing: 0.12em;
  position: absolute;
  top: -8.5rem;
  left: 14rem;
  z-index: 2;
}

.page-id-1419 .paper-driver-fv::after {
  content: "ペーパードライバー講習";
  font-size: 4.8rem;
  font-weight: 700;
  color: #df0522;
  position: absolute;
  top: -6rem;
  left: 14rem;
  z-index: 2;
}

@media screen and (max-width: 750px) {
  .paper-driver {
    padding-bottom: 8rem !important;
  }

  .page-id-1419 .wp-block-post-title {
    font-size: 4rem !important;
  }

  .page-id-1419 .paper-driver-fv::before {
    left: 4rem;
    top: -11.5rem;
    font-size: 3.4rem;
  }

  .page-id-1419 .paper-driver-fv::after {
    left: 4rem;
    font-size: 6rem;
  }

  .paper-driver-fv > h2 {
    font-size: 3.8rem !important;
    margin-bottom: 6.8rem !important;
  }

  .paper-driver-fv > h2 > span {
    font-size: 3rem !important;
  }

  .paper-driver-fv > div:first-of-type {
    width: 89.334% !important;
    max-width: initial !important;
    margin-bottom: 6.8rem !important;
    padding: 4rem !important;
  }

  .paper-driver-fv > div:first-of-type > p {
    font-size: 3rem !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
  }

  .paper-driver-fv > div:first-of-type > p > img {
    width: 4.8rem !important;
    height: 4.8rem !important;
  }

  .paper-driver-fv > div:nth-of-type(2) > p {
    width: 89.334% !important;
    max-width: initial !important;
    margin-top: 0 !important;
    font-size: 3rem !important;
  }

  .paper-driver-plan {
    padding-top: 8rem !important;
  }

  .paper-driver-plan > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .paper-driver-plan > p {
    width: 89.334% !important;
    max-width: initial !important;
    margin-bottom: 6.8rem !important;
    font-size: 3rem !important;
  }

  .paper-driver-plan > div {
    width: 89.334% !important;
    max-width: initial !important;
    flex-direction: column !important;
    row-gap: 1.6rem;
  }

  .paper-driver-plan > div > div {
    padding: 4.8rem 4rem !important;
  }

  .paper-driver-plan > div > div > h3 {
    font-size: 3.6rem !important;
  }

  .paper-driver-plan > div > div > figure {
    max-width: 12rem !important;
  }

  .paper-driver-plan > div > div > p:first-of-type {
    font-size: 3rem !important;
  }

  .paper-driver-plan > div > div > p:nth-of-type(2) {
    font-size: 2.6rem !important;
  }

  .paper-driver-price {
    padding-top: 8rem !important;
  }

  .paper-driver-price > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .paper-driver-price > div {
    width: 89.334% !important;
    max-width: initial !important;
    padding: 0 4rem 0 !important;
  }

  .paper-driver-price > div > div {
    flex-direction: column !important;
    row-gap: 6rem;
  }

  .paper-driver-price > div > div > div > h3 {
    padding: 2rem 0 !important;
    text-align: center;
    font-size: 3.4rem !important;
    margin-bottom: 2.4rem !important;
  }

  .paper-driver-price > div > div > div > p {
    font-size: 3rem !important;
    line-height: 1 !important;
    padding-left: 2rem !important;
    margin-bottom: 2.8rem !important;
  }

  .paper-driver-price > div > div > div > div {
    flex-direction: column;
    row-gap: 1.2rem !important;
  }

  .paper-driver-price > div > div > div > div > div:first-of-type > p {
    text-align: left !important;
    font-size: 2.6rem !important;
    padding-left: 2rem !important;
  }

  .paper-driver-price > div > div > div > div > div:last-of-type > p {
    font-size: 6rem !important;
    line-height: 0.6 !important;
  }

  .paper-driver-price > div > p {
    font-size: 2.8rem !important;
    text-align: left !important;
  }

  .paper-driver-belongings {
    padding-top: 8rem !important;
  }

  .paper-driver-belongings > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .paper-driver-belongings
    > div:first-of-type.wp-block-columns.is-not-stacked-on-mobile {
    width: 91.157% !important;
    max-width: initial !important;
    flex-wrap: wrap !important;
    row-gap: 2rem;
  }

  .paper-driver-belongings > div > div {
    flex-basis: 48.508% !important;
    padding: 4.45rem 0 !important;
  }

  .paper-driver-belongings > div > div > h3 {
    font-size: 3.4rem !important;
    margin-bottom: 2rem !important;
  }

  .paper-driver-belongings > div > div:first-of-type figure {
    max-width: 30.73% !important;
  }

  .paper-driver-belongings > div > div:nth-of-type(2) figure {
    max-width: 19.947% !important;
  }

  .paper-driver-belongings > div > div:nth-of-type(3) figure {
    max-width: 20.925% !important;
  }

  .paper-driver-belongings > div > div:nth-of-type(4) figure {
    max-width: 44.625% !important;
  }

  .paper-driver-belongings > div > div:nth-of-type(4) > h3 {
    line-height: 1.3 !important;
  }

  .paper-driver-belongings > div:last-of-type {
    width: 57.557% !important;
    max-width: initial !important;
  }

  .paper-driver-belongings > div:last-of-type > div {
    width: 100%;
    flex-basis: 100% !important;
    padding: 0 !important;
  }

  .paper-driver-belongings > div:last-of-type > div > a {
    padding: 2.4rem !important;
    font-size: 3.5rem !important;
  }
}

@media screen and (max-width: 750px) {
  .senior-course {
    padding: 8rem 0 !important;
  }

  .senior-course > div:first-of-type {
    width: 89.334% !important;
    max-width: initial !important;
    padding: 2rem 2rem 4.8rem !important;
  }

  .senior-course > div > div > h3 {
    width: 100%;
    max-width: initial !important;
    font-size: 3.8rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 2.4rem !important;
  }

  .senior-course > div > div > p {
    font-size: 3rem !important;
    max-width: initial !important;
    margin: 2.4rem 2rem 2.8rem !important;
  }

  .senior-course > div > div > div {
    flex-direction: column !important;
    max-width: initial !important;
    padding: 0 2rem 2.4rem !important;
    row-gap: 1.2rem;
  }

  .senior-course > div > div > div > div:first-of-type > p {
    font-size: 2.6rem !important;
  }

  .senior-course > div > div > div > div:last-of-type > p {
    font-size: 6rem !important;
    line-height: 0.6 !important;
  }

  .senior-course > div > div:last-of-type {
    margin-bottom: 0 !important;
  }

  .senior-course > div:last-of-type {
    max-width: initial !important;
  }

  .senior-course > div:last-of-type > div {
    width: 94% !important;
  }

  .senior-course > div:last-of-type > div > a {
    padding: 2.4rem !important;
    font-size: 3.5rem !important;
  }

  .other-course {
    padding: 8rem 0 !important;
  }

  .other-course > p {
    font-size: 2.6rem !important;
  }

  .other-course > .wp-block-buttons a {
    font-size: 3rem !important;
  }

  .other-course > div:not(:first-of-type) {
    width: 89.334% !important;
    max-width: initial !important;
  }

  .other-course > div:not(:first-of-type) > h3 {
    width: 100%;
    max-width: initial !important;
    font-size: 3.8rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 2.4rem !important;
  }

  .other-course > div:not(:first-of-type) > p {
    font-size: 2.6rem !important;
    max-width: initial !important;
    margin: 2.4rem 2rem 2.8rem !important;
  }
}

/* お知らせページ */

.expert-container p {
  margin: 0;
}

.wp-block-query-pagination {
  gap: 2rem;
}

.wp-block-query-pagination-numbers {
  display: flex;
  gap: 2rem;
}

.page-numbers {
  width: 4.8rem;
  height: auto;
  aspect-ratio: 1 / 1;
  background-color: #2217144d;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fdfdfd;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.page-numbers.current {
  background-color: #df0522;
}

.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
  color: #221714;
  text-decoration: none;
}

@media screen and (max-width: 750px) {
  .news-container {
    margin-top: 21rem !important;
  }

  .news-container > h2 {
    width: 91.1567% !important;
    max-width: initial !important;
    margin-bottom: 8rem !important;
  }

  .news-container > div {
    width: 91.1567% !important;
    max-width: initial !important;
  }

  .news-container > div li.post {
    padding-top: 2.4rem !important;
  }

  .news-container > div li.post > div {
    padding: 0 !important;
    padding-bottom: 5.6rem !important;
    flex-direction: column;
  }

  .news-container > div li.post > div > div:last-of-type > div {
    flex-direction: column !important;
  }

  .news-container > div li.post > div > div:last-of-type > div h3 {
    font-size: 3rem !important;
  }

  .news-container > div li.post > div > div:last-of-type > div time {
    font-size: 2.6rem !important;
  }

  .news-container > div li.post > div > div:last-of-type > div p {
    font-size: 2.8rem !important;
  }

  .news-container > div li.post > div > div:last-of-type > div figure {
    width: 4rem;
    margin: 0 0 0 auto !important;
  }

  .news-container > div:first-of-type {
    justify-content: center !important;
  }

  .news-container > div:first-of-type > div {
    flex-basis: 100% !important;
  }

  .news-container > div:first-of-type > div > div {
    justify-content: center !important;
    gap: 4.8rem;
  }

  .news-container > div:first-of-type > div > div > div {
    flex-basis: fit-content !important;
  }

  .news-container > div:first-of-type > div > div p {
    font-size: 3rem !important;
    margin: 0 !important;
  }

  .news-container > div:last-of-type li > div {
    padding-top: 2.4rem !important;
    padding-bottom: 4.8rem !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .news-container > div:last-of-type li > div > div:first-of-type {
    flex-basis: 17.912% !important;
  }

  .news-container > div:last-of-type li > div > div:last-of-type {
    flex-basis: 79.105% !important;
  }

  .news-container > div:last-of-type li > div > div:last-of-type > div {
    flex-direction: column;
    row-gap: 1.2rem;
  }

  .news-container
    > div:last-of-type
    li
    > div
    > div:last-of-type
    > div:first-of-type
    h3 {
    font-size: 3rem !important;
  }

  .news-container
    > div:last-of-type
    li
    > div
    > div:last-of-type
    > div:first-of-type
    time {
    font-size: 2.6rem !important;
  }

  .news-container
    > div:last-of-type
    li
    > div
    > div:last-of-type
    > div:last-of-type
    .expert-container {
    font-size: 2.8rem !important;
  }

  .news-container
    > div:last-of-type
    li
    > div
    > div:last-of-type
    > div:last-of-type
    > div:last-of-type {
    width: 7.55% !important;
    align-self: end;
  }

  .wp-block-query-pagination {
    gap: 2rem;
  }

  .wp-block-query-pagination-numbers {
    display: flex;
    gap: 2rem;
  }

  .page-numbers {
    width: 4.8rem;
    height: auto;
    aspect-ratio: 1 / 1;
    background-color: #2217144d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fdfdfd;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
  }

  .page-numbers.current {
    background-color: #df0522;
  }

  .wp-block-query-pagination-next,
  .wp-block-query-pagination-previous {
    color: #221714;
    text-decoration: none;
  }
}

/* ポスト内ページ */
.related-posts {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-post {
  width: 22.402%;
  box-shadow: 0px 0px 20px 0px #23181533;
  position: relative;
}

.related-post p {
  margin: 0;
}

.related-post-thumbnail {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: 26 / 16;
  margin: 0;
}

.related-post-thumbnail > img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.related-post-content {
  padding: 2rem 1.2rem;
}

.related-post-title,
.related-post-excerpt,
.related-post-date {
  margin: 0;
}

.related-post .related-post-date {
  color: #221714;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.related-post .related-post-title {
  color: #221714;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.related-post .related-post-excerpt {
  color: #221714;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0em;
  line-height: 1.6;
  margin-bottom: 2.3rem;
  position: relative;
}

.related-post::after {
  content: "";
  background: url("http://localhost:10023/wp-content/uploads/2025/03/right-arrow.png")
    center center no-repeat;
  background-size: contain;
  position: absolute;
  bottom: 2rem;
  right: 1.2rem;
  width: 2.6rem;
  height: 0.7rem;
}

@media screen and (max-width: 750px) {
  .post-container {
    margin-top: 21rem !important;
  }

  .post-container > h2 {
    width: 91.1567% !important;
    max-width: initial !important;
    margin-bottom: 8rem !important;
  }

  .post-container > div {
    width: 91.1567% !important;
    max-width: initial !important;
  }

  .post-container > div > h2 {
    font-size: 4rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 2rem !important;
  }

  .post-container > div > div:first-of-type {
    margin-bottom: 6.8rem !important;
  }

  .post-container > div > div:first-of-type > time {
    font-size: 2.6rem !important;
  }

  .post-container > div > figure {
    aspect-ratio: 3 / 2 !important;
    margin-bottom: 6.8rem !important;
  }

  .related-post-container {
    padding-top: 8rem !important;
  }

  .related-post-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .related-post-container > div {
    width: 91.1567% !important;
    max-width: initial !important;
    margin: 0 auto !important;
  }

  .related-posts {
    gap: 2rem;
    row-gap: 2.8rem;
    flex-wrap: wrap;
  }

  .related-post {
    width: 48.508%;
  }

  .related-post-thumbnail {
    aspect-ratio: 325 / 190;
  }

  .related-post-thumbnail > img {
    height: 100%;
  }

  .related-post .related-post-date {
    font-size: 2.4rem;
  }

  .related-post .related-post-title {
    font-size: 3rem;
  }

  .related-post .related-post-excerpt {
    font-size: 2.6rem;
    line-height: 1.6;
    margin-bottom: 2.6rem;
    position: relative;
  }

  .related-post::after {
    content: "";
    background: url("http://localhost:10023/wp-content/uploads/2025/03/right-arrow.png")
      center center no-repeat;
    background-size: contain;
    position: absolute;
    right: 1rem;
    width: 4rem;
    height: 0.7rem;
  }
}

/* 資料請求フォームページ */

#wpcf7-f23445-p23211-o1 p {
  margin: 0;
}

#wpcf7-f23445-p23211-o1 input,
#wpcf7-f23445-p23211-o1 textarea,
#wpcf7-f23445-p23211-o1 select {
  width: 100%;
  border: 1px solid #23181533;
  padding: 1.2rem 2rem;
  font-size: 1.6rem;
  letter-spacing: 0.07em;
  color: #221714;
  margin-top: 1.2rem;
  border-radius: 1rem;
}

#wpcf7-f23445-p23211-o1 .wpcf7-submit {
  width: 28.384%;
  margin: 4.8rem auto 0;
  display: block;
  background-color: #df0522;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: 5rem;
  color: #fdfdfd;
  font-size: 1.6rem;
  font-weight: 700;
}

#wpcf7-f23445-p23211-o1 select {
  border-radius: 2rem;
}

.high-school-container,
.technical-school-container,
.college-container {
  width: 67.06%;
}

.name-container,
.furigana-container,
.post-code-container,
.address-container,
.tel-container,
.email-container,
.mail-container,
.profile-container,
.other-school-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3.2rem;
}

.post-code-container,
.address-container,
.tel-container,
.email-container,
.other-school-container,
.privacy-check-container {
  display: block;
  width: 100%;
}

.privacy-check-container {
  text-align: center;
}

.birthday-container,
.enrollment-date-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3.2rem;
  flex-wrap: wrap;
}

.gender-container,
.license-container,
.source-container {
  margin-bottom: 3.2rem;
}

.name-container > p,
.furigana-container > p,
.profile-container > p {
  width: 48.824%;
}

.profile-container > p {
  width: 29.414%;
}

.birthday-container > p,
.enrollment-date-container > p {
  width: 100%;
}

.birthday-inner,
.enrollment-date-inner {
  width: 30.59%;
}

#wpcf7-f23445-p23211-o1 .birthday-inner > p,
#wpcf7-f23445-p23211-o1 .enrollment-date-inner > p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
}

.birthday-inner > p > span:first-of-type,
.enrollment-date-inner > p > span:first-of-type {
  width: 89.43%;
}

.birthday-inner > p > span:last-of-type,
.enrollment-date-inner > p > span:last-of-type {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  color: #221714;
}

#wpcf7-f23445-p23211-o1 .birthday-inner > p > span input,
#wpcf7-f23445-p23211-o1 .enrollment-date-inner > p > span input {
  margin-top: 0;
}

.gender,
.license,
.source,
.privacy-check {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 2.8rem;
  flex-wrap: wrap;
}

.privacy-check {
  justify-content: center;
}

.gender > span,
.license > span,
.source > span,
.privacy-check > span {
  display: flex;
  margin: 0;
  margin-top: 1.2rem;
  gap: 0.8rem;
  width: 9.53%;
}

.license > span,
.source > span,
.privacy-check > span {
  width: fit-content;
}

#wpcf7-f23445-p23211-o1 .gender > span > input {
  margin: 0;
  width: 27.6%;
}

#wpcf7-f23445-p23211-o1 .license > span > input,
#wpcf7-f23445-p23211-o1 .source > span > input,
#wpcf7-f23445-p23211-o1 .privacy-check > span > input {
  margin: 0;
  width: 1.6rem;
}

.gender > span > span {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
}

.license > span > span,
.source > span > span,
.privacy-check > span > span {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
  width: 93%;
}

.mail > span {
  width: 100%;
  margin-left: 0;
}

.mail label {
  display: flex;
  margin: 0;
  margin-top: 1.2rem;
  gap: 0.8rem;
  width: 24%;
}

#wpcf7-f23445-p23211-o1 .mail label input {
  margin: 0;
  width: 27.6%;
}

.mail label span {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
}

.required {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  margin: 0;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #f6bec8;
  border-radius: 1rem;
  color: #fff;
  margin-right: 1.2rem;
}

.label {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
}

#wpcf7-f23445-p23211-o1 .license-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.07em;
  vertical-align: middle;
  margin-top: 1.6rem;
}

.privacy {
  border: 1px solid var(--pink, #f6bec8);
  width: 100%;
  height: auto;
  aspect-ratio: 68 / 13;
  overflow: scroll;
  padding-right: 2rem;
  padding-bottom: 1.2rem;
  padding-left: 2rem;
  border-radius: 0.6rem;
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
  background-color: #fdfdfd;
}

#wpcf7-f23445-p23211-o1 .post-code-container > p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#wpcf7-f23445-p23211-o1 .post-code-container > p > label {
  width: 100%;
}

#wpcf7-f23445-p23211-o1 .post-code-container > p > span:first-of-type {
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.07em;
}

#wpcf7-f23445-p23211-o1 .post-code-container > p > span:last-of-type {
  width: 96.765%;
}

/* 仮申込みページ */
#wpcf7-f23443-p23212-o1 .name-container,
#wpcf7-f23443-p23212-o1 .furigana-container,
#wpcf7-f23443-p23212-o1 .name-container > p,
#wpcf7-f23443-p23212-o1 .furigana-container > p {
  width: 100%;
  display: block;
}

.customer-information-container,
.other-container,
.privacy-container {
  padding: 12rem 0 4rem;
  background-color: #f9f8f8;
}

.desired-license-container,
.other-container,
.questionary-container,
.privacy-container {
  padding: 4rem 0;
}

.customer-information-inner,
.desired-license-inner,
.other-inner,
.questionary-inner,
.privacy-inner {
  display: block;
  width: 47.223%;
  margin: 0 auto;
}

.pre-entry-heading {
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 4.8rem;
}

#wpcf7-f23443-p23212-o1 p {
  margin: 0;
}

#wpcf7-f23443-p23212-o1 input,
#wpcf7-f23443-p23212-o1 textarea,
#wpcf7-f23443-p23212-o1 select {
  width: 100%;
  border: 1px solid #23181533;
  padding: 1.2rem 2rem;
  font-size: 1.6rem;
  letter-spacing: 0.07em;
  color: #221714;
  margin-top: 1.2rem;
  border-radius: 1rem;
}

#wpcf7-f23443-p23212-o1 .wpcf7-submit {
  width: 28.384%;
  margin: 4.8rem auto 0;
  display: block;
  background-color: #df0522;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: 5rem;
  color: #fdfdfd;
  font-size: 1.6rem;
  font-weight: 700;
}

#wpcf7-f23443-p23212-o1 select {
  border-radius: 2rem;
}

#wpcf7-f23443-p23212-o1 .desired-license-inner > p:first-of-type {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.07em;
  text-align: center;
  margin-bottom: 4.8rem;
}

#wpcf7-f23443-p23212-o1 .desired-license-inner > p:last-of-type {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: 0.07em;
  color: #df0522;
}

.school-company-container,
.birthday-container,
.mail-container,
.profile-container,
.car-container,
.license-status-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3.2rem;
}

.car-container {
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
}

.school-company-container {
  align-items: center;
}

.name-container,
.furigana-container,
.gender-container,
.circle-container,
.tel-container,
.email-container,
.desired-enrollment-container,
.privacy-check-container,
.form-warning-container {
  display: block;
  width: 100%;
  margin-bottom: 3.2rem;
}

.announcement-container,
.trigger-container,
.compare-container {
  margin-bottom: 3.2rem;
}

.compare-container {
  margin: 0;
}

.privacy-check-container {
  margin-bottom: 8.8rem;
}

.form-warning-container {
  margin-bottom: 3.3rem;
}

.announcement,
.trigger,
.compare {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2.8rem;
  flex-wrap: wrap;
  row-gap: 1.6rem;
  margin-top: 2.4rem;
}

.email-container,
.desired-enrollment-container {
  margin-bottom: 0;
}

.name-container > p,
.furigana-container > p,
.birthday-container > p,
.enrollment-date-container > p,
.desired-enrollment-date-container > p {
  width: 100%;
}

.profile-inner {
  width: 29.412%;
}

.profile-inner:nth-of-type(2) {
  width: 67.059%;
}

.school-company-inner {
  width: 47.941%;
}

.school-company-inner:nth-of-type(2) {
  width: 41.177%;
  margin-top: 2.2rem;
}

.school-company-inner:nth-of-type(2) > p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

#wpcf7-f23443-p23212-o1 .school-company-inner:nth-of-type(2) select {
  margin: 0;
}

.birthday-inner {
  width: 30.59%;
}

.car-inner {
  width: 29.412%;
}

.license-status-inner:first-of-type {
  width: 29.412%;
}

.license-status-inner:last-of-type {
  width: 68.06%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.license-status-inner:last-of-type > p {
  width: 100%;
}

.license-status-inner:last-of-type > p span span {
  color: #df0522;
}

.license-date {
  width: 32.123%;
}

#wpcf7-f23443-p23212-o1 .birthday-inner > p,
#wpcf7-f23443-p23212-o1 .license-date > p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
}

.birthday-inner > p > span:first-of-type {
  width: 89.43%;
}

.license-date > p > span:first-of-type {
  width: 85.12%;
}

.birthday-inner > p > span:last-of-type,
.license-date > p > span:last-of-type {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  color: #221714;
}

#wpcf7-f23443-p23212-o1 .birthday-inner > p > span input,
#wpcf7-f23443-p23212-o1 .license-date > p > span input {
  margin-top: 0;
}

#wpcf7-f23443-p23212-o1 .announcement-other,
#wpcf7-f23443-p23212-o1 .trigger-other,
#wpcf7-f23443-p23212-o1 .compare-other {
  margin-top: 0;
}

.announcement > span,
.trigger > span,
.compare > span {
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.8rem;
}

#wpcf7-f23443-p23212-o1 .announcement > span input,
#wpcf7-f23443-p23212-o1 .trigger > span input,
#wpcf7-f23443-p23212-o1 .compare > span input {
  width: 1.6rem;
  height: 1.6rem;
  margin: 0;
}

#wpcf7-f23443-p23212-o1 .announcement > span span,
#wpcf7-f23443-p23212-o1 .trigger > span span,
#wpcf7-f23443-p23212-o1 .compare > span span {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.07em;
  color: #221714;
}

.gender,
.license,
.source,
.privacy-check,
.form-warning {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 2.8rem;
  flex-wrap: wrap;
}

.privacy-check,
.form-warning {
  justify-content: center;
}

.gender > span,
.license > span,
.source > span,
.privacy-check > span,
.form-warning > span {
  display: flex;
  margin: 0;
  margin-top: 1.2rem;
  gap: 0.8rem;
  width: 9.53%;
}

.form-warning > span {
  margin-top: 0;
}

.license > span,
.source > span,
.privacy-check > span {
  width: fit-content;
}

.form-warning > span {
  width: 71%;
  justify-content: space-between;
}

#wpcf7-f23443-p23212-o1 .gender > span > input {
  margin: 0;
  width: 1.6rem;
}

#wpcf7-f23443-p23212-o1 .license > span > input,
#wpcf7-f23443-p23212-o1 .privacy-check > span > input,
#wpcf7-f23443-p23212-o1 .form-warning > span > input {
  margin: 0;
  width: 1.6rem;
}

.gender > span > span {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
}

.license > span > span,
.source > span > span,
.privacy-check > span > span,
.form-warning > span > span {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
  width: 94%;
}

.required {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  margin: 0;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #f6bec8;
  border-radius: 1rem;
  color: #fff;
  margin-right: 1.2rem;
}

.label {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
}

.privacy {
  border: 1px solid var(--pink, #f6bec8);
  width: 100%;
  height: auto;
  aspect-ratio: 68 / 13;
  overflow: scroll;
  padding-right: 2rem;
  padding-bottom: 1.2rem;
  padding-left: 2rem;
  border-radius: 0.6rem;
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
  background-color: #fdfdfd;
}

.ordinary-type2 > span {
  margin: 0;
}

.ordinary-type2 > span > label {
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.8rem;
}

.ordinary-type2 > span > label > input {
  width: 1.6rem !important;
  height: 1.6rem !important;
  margin: 0 !important;
}

.ordinary-type2 > span > label > .wpcf7-list-item-label {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
}

@media screen and (max-width: 750px) {
  .request-information-container {
    margin: 8rem 0 !important;
  }

  .request-information-container > p {
    font-size: 3rem !important;
    max-width: initial !important;
    margin-bottom: 6.8rem !important;
  }

  .request-information-container > div:first-of-type {
    width: 91.157% !important;
    max-width: initial !important;
    row-gap: 2.8rem;
  }

  .request-information-container > div:first-of-type > div {
    padding: 4.8rem 9.3rem !important;
  }

  .request-information-container > div:first-of-type > div > p {
    font-size: 3rem !important;
    margin-bottom: 1.2rem !important;
  }

  .request-information-container
    > div:first-of-type
    > div
    > div
    > div:first-of-type {
    flex-basis: 24.794% !important;
  }

  .request-information-container
    > div:first-of-type
    > div
    > div
    > div:last-of-type {
    flex-basis: 73.55% !important;
  }

  .request-information-container
    > div:first-of-type
    > div
    > div
    > div:last-of-type
    > p {
    font-size: 4.6rem !important;
  }

  .request-information-container > div:last-of-type {
    width: 91.157% !important;
    max-width: initial !important;
  }

  .request-information-container > div:last-of-type li {
    font-size: 3rem !important;
  }

  .request-information-form-container {
    padding-top: 8rem !important;
    padding-bottom: 12rem !important;
  }

  .request-information-form-container > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .request-information-form-container > .wpcf7 {
    width: 91.157% !important;
    max-width: initial !important;
  }

  #wpcf7-f23445-p23211-o1 input,
  #wpcf7-f23445-p23211-o1 textarea,
  #wpcf7-f23445-p23211-o1 select {
    padding: 2rem 2.8rem !important;
    font-size: 3.2rem !important;
    margin-top: 1rem !important;
  }

  .request-information-form-container > .wpcf7 label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .request-information-form-container > .wpcf7 .required {
    font-size: 2.4rem;
  }

  .request-information-form-container > .wpcf7 .label {
    font-size: 3rem !important;
    margin-bottom: 3.2rem !important;
    flex-basis: 87%;
    margin-bottom: 0 !important;
    line-height: 1.2;
  }

  .request-information-form-container > .wpcf7 .name-container,
  .request-information-form-container > .wpcf7 .furigana-container {
    flex-direction: column !important;
    row-gap: 2rem;
    margin-bottom: 6.8rem !important;
  }

  #wpcf7-f23445-p23211-o1 .birthday-container,
  #wpcf7-f23445-p23211-o1 .enrollment-date-container,
  #wpcf7-f23445-p23211-o1 .post-code-container,
  #wpcf7-f23445-p23211-o1 .address-container,
  #wpcf7-f23445-p23211-o1 .tel-container,
  #wpcf7-f23445-p23211-o1 .email-container,
  #wpcf7-f23445-p23211-o1 .gender-container,
  #wpcf7-f23445-p23211-o1 .mail-container,
  #wpcf7-f23445-p23211-o1 .license-container,
  #wpcf7-f23445-p23211-o1 .source-container {
    margin-bottom: 6.8rem !important;
  }

  #wpcf7-f23445-p23211-o1 .profile-container {
    display: block;
  }

  .request-information-form-container > .wpcf7 .name-container > p,
  .request-information-form-container > .wpcf7 .furigana-container > p,
  #wpcf7-f23445-p23211-o1 .profile-container > p {
    width: 100% !important;
  }

  #wpcf7-f23445-p23211-o1 .high-school-container {
    width: 100% !important;
    margin-top: 2rem !important;
  }

  #wpcf7-f23445-p23211-o1 .post-code-container > p > span:first-of-type {
    font-size: 3.2rem !important;
  }

  #wpcf7-f23445-p23211-o1 .post-code-container > p > span:last-of-type {
    width: 94.765%;
  }

  #wpcf7-f23445-p23211-o1 .birthday-inner > p > span:last-of-type,
  #wpcf7-f23445-p23211-o1 .enrollment-date-inner > p > span:last-of-type {
    font-size: 3.2rem !important;
    margin-left: 1rem !important;
  }

  #wpcf7-f23445-p23211-o1 .gender > span {
    width: 11.9rem !important;
  }

  #wpcf7-f23445-p23211-o1 .gender > span > input {
    margin: 0;
    width: 26.9%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23445-p23211-o1 .gender > span > span {
    font-size: 3.2rem !important;
  }

  #wpcf7-f23445-p23211-o1 .mail-container label {
    display: block !important;
    width: 100%;
  }

  #wpcf7-f23445-p23211-o1 .mail label input {
    margin: 0;
    width: 4.777% !important;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23445-p23211-o1 .mail label span {
    font-size: 3.2rem !important;
    line-height: 1;
  }

  #wpcf7-f23445-p23211-o1 .license,
  #wpcf7-f23445-p23211-o1 .source {
    align-items: flex-start;
    flex-direction: column;
    column-gap: 2.8rem;
    flex-wrap: wrap;
  }

  #wpcf7-f23445-p23211-o1 .license > span,
  #wpcf7-f23445-p23211-o1 .source > span {
    width: 100%;
  }

  #wpcf7-f23445-p23211-o1 .license > span input,
  #wpcf7-f23445-p23211-o1 .source > span input {
    margin-top: 0 !important;
    width: 3.2rem !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .license > span > span,
  .source > span > span {
    font-size: 3.2rem !important;
  }

  .license-text {
    font-size: 2.8rem !important;
  }

  #wpcf7-f23445-p23211-o1 .privacy {
    margin-top: 6.8rem !important;
    margin-bottom: 6.8rem !important;
    aspect-ratio: 67 / 44;
  }

  #wpcf7-f23445-p23211-o1 .privacy > h1 {
    font-size: 3rem;
  }

  #wpcf7-f23445-p23211-o1 .privacy > h2,
  #wpcf7-f23445-p23211-o1 .privacy > h3,
  #wpcf7-f23445-p23211-o1 .privacy > p {
    font-size: 2.6rem;
  }

  #wpcf7-f23445-p23211-o1 .privacy > ul,
  #wpcf7-f23445-p23211-o1 .privacy > ol {
    padding-left: 4rem;
    font-size: 2rem;
  }

  #wpcf7-f23445-p23211-o1 .privacy-check-container {
    margin-bottom: 6.8rem !important;
  }

  #wpcf7-f23445-p23211-o1 .privacy-check-container label {
    justify-content: center !important;
  }

  #wpcf7-f23445-p23211-o1 .request-information-form-container,
  #wpcf7-f23445-p23211-o1 .privacy-check-container .label {
    flex-basis: fit-content !important;
  }

  #wpcf7-f23445-p23211-o1 .privacy-check > span {
    width: 100%;
    justify-content: center;
    margin-top: 0 !important;
  }

  #wpcf7-f23445-p23211-o1 .privacy-check > span > span {
    flex-basis: fit-content;
    font-size: 3.2rem;
  }

  #wpcf7-f23445-p23211-o1 .privacy-check input {
    width: 3.2rem !important;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23445-p23211-o1 .wpcf7-submit {
    width: 24.184% !important;
    margin-top: 0 !important;
    padding: 2.4rem 4.8rem !important;
  }
}

/* 仮申込ページ */

#wpcf7-f23445-p23211-o1 p {
  margin: 0;
}

#wpcf7-f23445-p23211-o1 input,
#wpcf7-f23445-p23211-o1 textarea,
#wpcf7-f23445-p23211-o1 select {
  width: 100%;
  border: 1px solid #23181533;
  padding: 1.2rem 2rem;
  font-size: 1.6rem;
  letter-spacing: 0.07em;
  color: #221714;
  margin-top: 1.2rem;
  border-radius: 1rem;
}

#wpcf7-f23445-p23211-o1 .wpcf7-submit {
  width: 28.384%;
  margin: 4.8rem auto 0;
  display: block;
  background-color: #df0522;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: 5rem;
  color: #fdfdfd;
  font-size: 1.6rem;
  font-weight: 700;
}

#wpcf7-f23445-p23211-o1 select {
  border-radius: 2rem;
}

.high-school-container,
.technical-school-container,
.college-container {
  width: 67.06%;
}

.name-container,
.furigana-container,
.post-code-container,
.address-container,
.tel-container,
.email-container,
.mail-container,
.profile-container,
.other-school-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3.2rem;
}

.post-code-container,
.address-container,
.tel-container,
.email-container,
.other-school-container,
.privacy-check-container {
  display: block;
  width: 100%;
}

.privacy-check-container {
  text-align: center;
}

.birthday-container,
.enrollment-date-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3.2rem;
  flex-wrap: wrap;
}

.gender-container,
.license-container,
.source-container {
  margin-bottom: 3.2rem;
}

.name-container > p,
.furigana-container > p,
.profile-container > p {
  width: 48.824%;
}

.profile-container > p {
  width: 29.414%;
}

.birthday-container > p,
.enrollment-date-container > p {
  width: 100%;
}

.birthday-inner,
.enrollment-date-inner {
  width: 30.59%;
}

#wpcf7-f23445-p23211-o1 .birthday-inner > p,
#wpcf7-f23445-p23211-o1 .enrollment-date-inner > p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
}

.birthday-inner > p > span:first-of-type,
.enrollment-date-inner > p > span:first-of-type {
  width: 89.43%;
}

.birthday-inner > p > span:last-of-type,
.enrollment-date-inner > p > span:last-of-type {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  color: #221714;
}

#wpcf7-f23445-p23211-o1 .birthday-inner > p > span input,
#wpcf7-f23445-p23211-o1 .enrollment-date-inner > p > span input {
  margin-top: 0;
}

.gender,
.license,
.source,
.privacy-check {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 2.8rem;
  flex-wrap: wrap;
}

.privacy-check {
  justify-content: center;
}

.gender > span,
.license > span,
.source > span,
.privacy-check > span {
  display: flex;
  margin: 0;
  margin-top: 1.2rem;
  gap: 0.8rem;
  width: 9.53%;
}

.license > span,
.source > span,
.privacy-check > span {
  width: fit-content;
}

#wpcf7-f23445-p23211-o1 .gender > span > input {
  margin: 0;
  width: 27.6%;
}

#wpcf7-f23445-p23211-o1 .license > span > input,
#wpcf7-f23445-p23211-o1 .source > span > input,
#wpcf7-f23445-p23211-o1 .privacy-check > span > input {
  margin: 0;
  width: 1.6rem;
}

.gender > span > span {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
}

.license > span > span,
.source > span > span,
.privacy-check > span > span {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
  width: 93%;
}

.mail > span {
  width: 100%;
  margin-left: 0;
}

.mail label {
  display: flex;
  margin: 0;
  margin-top: 1.2rem;
  gap: 0.8rem;
  width: 24%;
}

#wpcf7-f23445-p23211-o1 .mail label input {
  margin: 0;
  width: 27.6%;
}

.mail label span {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
}

.required {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  margin: 0;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #f6bec8;
  border-radius: 1rem;
  color: #fff;
  margin-right: 1.2rem;
}

.label {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
}

#wpcf7-f23445-p23211-o1 .license-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.07em;
  vertical-align: middle;
  margin-top: 1.6rem;
}

.privacy {
  border: 1px solid var(--pink, #f6bec8);
  width: 100%;
  height: auto;
  aspect-ratio: 68 / 13;
  overflow-y: scroll;
  padding-right: 2rem;
  padding-bottom: 1.2rem;
  padding-left: 2rem;
  border-radius: 0.6rem;
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
  background-color: #fdfdfd;
}

@media screen and (max-width: 750px) {
  #wpcf7-f23443-p23212-o1 input,
  #wpcf7-f23443-p23212-o1 textarea,
  #wpcf7-f23443-p23212-o1 select {
    padding: 2rem 2.8rem !important;
    font-size: 3.2rem !important;
    margin-top: 1rem !important;
  }

  #wpcf7-f23443-p23212-o1 label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  #wpcf7-f23443-p23212-o1 .required {
    font-size: 2.4rem;
  }

  #wpcf7-f23443-p23212-o1 .label {
    font-size: 3rem !important;
    margin-bottom: 3.2rem !important;
    flex-basis: 87%;
    margin-bottom: 0 !important;
    line-height: 1.2;
  }

  #wpcf7-f23443-p23212-o1 .name-container,
  #wpcf7-f23443-p23212-o1 .furigana-container {
    flex-direction: column !important;
    row-gap: 2rem;
    margin-bottom: 6.8rem !important;
  }

  .pre-entry-container {
    margin: 12rem 0 8.8rem !important;
  }

  .pre-entry-container > p {
    font-size: 3rem !important;
  }

  .customer-information-container {
    padding: 8rem 0 6rem;
  }

  .customer-information-inner,
  .desired-license-inner,
  .other-inner,
  .questionary-inner,
  .privacy-inner {
    width: 91.157%;
  }

  .customer-information-inner > h2,
  .desired-license-inner > h2,
  .other-inner > h2,
  .questionary-inner > h2,
  .privacy-inner > h2 {
    font-weight: 700;
    font-size: 4rem;
    margin-bottom: 4.8rem;
  }

  .desired-license-inner > p {
    font-size: 3rem !important;
  }

  #wpcf7-f23443-p23212-o1 input,
  #wpcf7-f23443-p23212-o1 textarea,
  #wpcf7-f23443-p23212-o1 select {
    padding: 2rem 2.8rem !important;
    font-size: 3.2rem !important;
    margin-top: 1rem !important;
  }

  .request-information-form-container > .wpcf7 label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .request-information-form-container > .wpcf7 .required {
    font-size: 2.4rem;
  }

  .request-information-form-container > .wpcf7 .label {
    font-size: 3rem !important;
    margin-bottom: 3.2rem !important;
    flex-basis: 88%;
    margin-bottom: 0 !important;
    line-height: 1.2;
  }

  #wpcf7-f23443-p23212-o1 .birthday-container,
  #wpcf7-f23443-p23212-o1 .enrollment-date-container,
  #wpcf7-f23443-p23212-o1 .post-code-container,
  #wpcf7-f23443-p23212-o1 .address-container,
  #wpcf7-f23443-p23212-o1 .tel-container,
  #wpcf7-f23443-p23212-o1 .email-container,
  #wpcf7-f23443-p23212-o1 .gender-container,
  #wpcf7-f23443-p23212-o1 .mail-container,
  #wpcf7-f23443-p23212-o1 .license-container,
  #wpcf7-f23443-p23212-o1 .source-container {
    margin-bottom: 6.8rem !important;
  }

  #wpcf7-f23443-p23212-o1 .profile-container {
    display: block;
  }

  .request-information-form-container > .wpcf7 .name-container > p,
  .request-information-form-container > .wpcf7 .furigana-container > p,
  #wpcf7-f23445-p23211-o1 .profile-container > p {
    width: 100% !important;
  }

  #wpcf7-f23443-p23212-o1 .high-school-container {
    width: 100% !important;
    margin-top: 2rem !important;
  }

  #wpcf7-f23443-p23212-o1 .post-code-container > p > span:first-of-type {
    font-size: 3.2rem !important;
  }

  #wpcf7-f23443-p23212-o1 .post-code-container > p > span:last-of-type {
    width: 94.765%;
  }

  #wpcf7-f23443-p23212-o1 .birthday-inner > p > span:last-of-type,
  #wpcf7-f23443-p23212-o1 .enrollment-date-inner > p > span:last-of-type {
    font-size: 3.2rem !important;
    margin-left: 1rem !important;
  }

  #wpcf7-f23443-p23212-o1 .gender > span {
    width: 11.9rem !important;
  }

  #wpcf7-f23443-p23212-o1 .gender > span > input {
    margin: 0;
    width: 26.9%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23443-p23212-o1 .gender > span > span {
    font-size: 3.2rem !important;
  }

  #wpcf7-f23443-p23212-o1 .mail-container label {
    display: block !important;
    width: 100%;
  }

  #wpcf7-f23443-p23212-o1 .mail label input {
    margin: 0;
    width: 4.777% !important;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23443-p23212-o1 .mail label span {
    font-size: 3.2rem !important;
    line-height: 1;
  }

  #wpcf7-f23443-p23212-o1 .license,
  #wpcf7-f23443-p23212-o1 .source,
  #wpcf7-f23443-p23212-o1 .car-container,
  #wpcf7-f23443-p23212-o1 .license-status-container {
    align-items: flex-start;
    flex-direction: column;
    column-gap: 2.8rem;
    flex-wrap: wrap;
  }

  #wpcf7-f23443-p23212-o1 .license > span,
  #wpcf7-f23443-p23212-o1 .source > span {
    width: 100%;
  }

  #wpcf7-f23443-p23212-o1 .license > span input,
  #wpcf7-f23443-p23212-o1 .source > span input {
    margin-top: 0 !important;
    width: 3.2rem !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .license > span > span,
  .source > span > span {
    font-size: 3.2rem !important;
  }

  .license-text {
    font-size: 2.8rem !important;
  }

  #wpcf7-f23443-p23212-o1 .privacy {
    margin-top: 6.8rem !important;
    margin-bottom: 6.8rem !important;
    aspect-ratio: 67 / 44;
  }

  #wpcf7-f23443-p23212-o1 .privacy > h1 {
    font-size: 3rem;
  }

  #wpcf7-f23443-p23212-o1 .privacy > h2,
  #wpcf7-f23443-p23212-o1 .privacy > h3,
  #wpcf7-f23443-p23212-o1 .privacy > p {
    font-size: 2.6rem;
  }

  #wpcf7-f23443-p23212-o1 .privacy > ul,
  #wpcf7-f23443-p23212-o1 .privacy > ol {
    padding-left: 4rem;
    font-size: 2rem;
  }

  #wpcf7-f23443-p23212-o1 .privacy-check-container,
  #wpcf7-f23443-p23212-o1 .form-warning-container {
    margin-bottom: 6.8rem !important;
  }

  #wpcf7-f23443-p23212-o1 .privacy-check-container label,
  #wpcf7-f23443-p23212-o1 .form-warning-container label {
    justify-content: center !important;
  }

  #wpcf7-f23443-p23212-o1 .request-information-form-container,
  #wpcf7-f23443-p23212-o1 .privacy-check-container .label,
  #wpcf7-f23443-p23212-o1 .form-warning-container .label {
    flex-basis: fit-content !important;
  }

  #wpcf7-f23443-p23212-o1 .privacy-check > span,
  #wpcf7-f23443-p23212-o1 .form-warning > span {
    width: 100%;
    justify-content: center;
    margin-top: 0 !important;
  }

  #wpcf7-f23443-p23212-o1 .privacy-check > span > span,
  #wpcf7-f23443-p23212-o1 .form-warning > span > span {
    flex-basis: fit-content;
    font-size: 3.2rem;
  }

  #wpcf7-f23443-p23212-o1 .privacy-check input,
  #wpcf7-f23443-p23212-o1 .form-warning input {
    width: 3.2rem !important;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23443-p23212-o1 .wpcf7-submit {
    width: 24.184% !important;
    margin-top: 0 !important;
    padding: 2.4rem 4.8rem !important;
  }

  #wpcf7-f23443-p23212-o1 .profile-inner {
    width: 100%;
    margin-bottom: 2rem;
  }

  #wpcf7-f23443-p23212-o1 .school-company-container {
    flex-direction: column;
  }

  #wpcf7-f23443-p23212-o1 .school-company-inner {
    width: 100%;
  }

  #wpcf7-f23443-p23212-o1 .school-company-inner > p {
    justify-content: space-between;
  }

  #wpcf7-f23443-p23212-o1 .school-company-inner > p > br {
    display: none;
  }

  #wpcf7-f23443-p23212-o1 .school-company-inner > p > label {
    flex-basis: fit-content;
    display: block;
  }

  #wpcf7-f23443-p23212-o1 .school-company-inner > p > span {
    flex-basis: 75%;
  }

  #wpcf7-f23443-p23212-o1 .school-company-inner > p select {
    margin-top: 0 !important;
    border-radius: 4rem;
  }

  #wpcf7-f23443-p23212-o1 .email-container {
    margin-bottom: 0 !important;
  }

  #wpcf7-f23443-p23212-o1 .car-inner,
  #wpcf7-f23443-p23212-o1 .license-status-inner {
    width: 100%;
    margin-bottom: 4rem;
  }

  #wpcf7-f23443-p23212-o1 .car-inner:last-of-type {
    margin-bottom: 0;
  }

  #wpcf7-f23443-p23212-o1 .license-status-inner select {
    border-radius: 4rem;
    margin-top: 0 !important;
  }

  #wpcf7-f23443-p23212-o1 .license-status-inner label {
    display: block;
  }

  #wpcf7-f23443-p23212-o1 .license-date span {
    font-size: 3.2rem !important;
    margin-left: 0.5rem;
  }

  #wpcf7-f23443-p23212-o1 .announcement-container label {
    display: block;
  }

  #wpcf7-f23443-p23212-o1 .announcement,
  #wpcf7-f23443-p23212-o1 .trigger,
  #wpcf7-f23443-p23212-o1 .compare {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
    row-gap: 2rem;
  }

  #wpcf7-f23443-p23212-o1 .announcement > span,
  #wpcf7-f23443-p23212-o1 .trigger > span,
  #wpcf7-f23443-p23212-o1 .compare > span {
    width: 100%;
  }

  #wpcf7-f23443-p23212-o1 .announcement > span > input,
  #wpcf7-f23443-p23212-o1 .trigger > span > input,
  #wpcf7-f23443-p23212-o1 .compare > span > input {
    margin-top: 0 !important;
    width: 3.2rem !important;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  #wpcf7-f23443-p23212-o1 .announcement > span > span,
  #wpcf7-f23443-p23212-o1 .trigger > span > span,
  #wpcf7-f23443-p23212-o1 .compare > span > span {
    font-size: 3.2rem !important;
  }

  .ordinary-type2 > span > label > input {
    margin-top: 0 !important;
    width: 3.2rem !important;
    height: 3.2rem !important;
  }

  .ordinary-type2 > span > label > .wpcf7-list-item-label {
    font-size: 3rem !important;
    margin-bottom: 0 !important;
    line-height: 1.2;
  }
}

/* お問い合わせページ */
#wpcf7-f23441-p23213-o1 .name-container,
#wpcf7-f23441-p23213-o1 .furigana-container,
#wpcf7-f23441-p23213-o1 .name-container > p,
#wpcf7-f23441-p23213-o1 .furigana-container > p {
  width: 100%;
  display: block;
}

#wpcf7-f23441-p23213-o1 .customer-information-container {
  padding: 0;
  background-color: initial;
}

#wpcf7-f23441-p23213-o1 .customer-information-inner {
  width: 100%;
}

#wpcf7-f23441-p23213-o1 input,
#wpcf7-f23441-p23213-o1 textarea,
#wpcf7-f23441-p23213-o1 select {
  width: 100%;
  border: 1px solid #23181533;
  padding: 1.2rem 2rem;
  font-size: 1.6rem;
  letter-spacing: 0.07em;
  color: #221714;
  margin-top: 1.2rem;
  border-radius: 1rem;
}

#wpcf7-f23441-p23213-o1 .wpcf7-submit {
  width: 28.384%;
  margin: 4.8rem auto 0;
  display: block;
  background-color: #df0522;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: 5rem;
  color: #fdfdfd;
  font-size: 1.6rem;
  font-weight: 700;
}

#wpcf7-f23441-p23213-o1 select {
  border-radius: 2rem;
}

#wpcf7-f23441-p23213-o1 .name-container,
#wpcf7-f23441-p23213-o1 .furigana-container,
#wpcf7-f23441-p23213-o1 .tel-container,
#wpcf7-f23441-p23213-o1 .email-container,
#wpcf7-f23441-p23213-o1 .post-code-container,
#wpcf7-f23441-p23213-o1 .address-container,
#wpcf7-f23441-p23213-o1 .job-container,
#wpcf7-f23441-p23213-o1 .message-container,
#wpcf7-f23441-p23213-o1 .source-container {
  display: block;
  width: 100%;
  margin-bottom: 3.2rem;
}

#wpcf7-f23441-p23213-o1 .source-container {
  margin-bottom: 0;
}

#wpcf7-f23441-p23213-o1 .post-code-container > p {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 1.2rem;
}

#wpcf7-f23441-p23213-o1 .source-container > p {
  margin: 0;
}

#wpcf7-f23441-p23213-o1 .post-code-container > p label {
  width: 100%;
}

#wpcf7-f23441-p23213-o1 .post-code-container > p > span:first-of-type {
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.07em;
}

#wpcf7-f23441-p23213-o1 .post-code-container > p > span:last-of-type {
  width: 96.765%;
}

#wpcf7-f23441-p23213-o1 .post-code-container > p input {
  margin: 0;
}

.license,
.source {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 2.8rem;
  flex-wrap: wrap;
}

.license > span,
.source > span {
  display: flex;
  margin: 0;
  margin-top: 1.2rem;
  gap: 0.8rem;
  width: 9.53%;
}

.license > span,
.source > span {
  width: fit-content;
}

#wpcf7-f23441-p23213-o1 .license > span > input,
#wpcf7-f23441-p23213-o1 .source > span > input {
  margin: 0;
  width: 1.6rem;
}

.license > span > span,
.source > span > span {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.07em;
  width: 93%;
}

.required {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  margin: 0;
  width: fit-content;
  padding: 0.4rem 0.8rem;
  background-color: #f6bec8;
  border-radius: 1rem;
  color: #fff;
  margin-right: 1.2rem;
}

.label {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
}

@media screen and (max-width: 750px) {
  .contact-container {
    margin: 12rem 8.8rem !important;
    max-width: initial !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .contact-container > p {
    font-size: 3rem !important;
    margin-bottom: 0 !important;
  }

  .contact-form {
    padding: 8rem 0 6rem !important;
  }

  #wpcf7-f23441-p23213-o1 {
    width: 89% !important;
    max-width: initial !important;
  }

  #wpcf7-f23441-p23213-o1 input,
  #wpcf7-f23441-p23213-o1 textarea,
  #wpcf7-f23441-p23213-o1 select {
    padding: 2rem 2.8rem !important;
    font-size: 3.2rem !important;
    margin-top: 1rem !important;
  }

  #wpcf7-f23441-p23213-o1 label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  #wpcf7-f23441-p23213-o1 .required {
    font-size: 2.4rem;
  }

  #wpcf7-f23441-p23213-o1 .label {
    font-size: 3rem !important;
    margin-bottom: 3.2rem !important;
    flex-basis: 87%;
    margin-bottom: 0 !important;
    line-height: 1.2;
  }

  #wpcf7-f23441-p23213-o1 .name-container,
  #wpcf7-f23441-p23213-o1 .furigana-container {
    flex-direction: column !important;
    row-gap: 2rem;
    margin-bottom: 6.8rem !important;
  }

  .pre-entry-container {
    margin: 12rem 0 8.8rem !important;
  }

  .pre-entry-container > p {
    font-size: 3rem !important;
  }

  .customer-information-container {
    padding: 8rem 0 6rem;
  }

  .customer-information-inner,
  .desired-license-inner,
  .other-inner,
  .questionary-inner,
  .privacy-inner {
    width: 91.157%;
  }

  .customer-information-inner > h2,
  .desired-license-inner > h2,
  .other-inner > h2,
  .questionary-inner > h2,
  .privacy-inner > h2 {
    font-weight: 700;
    font-size: 4rem;
    margin-bottom: 4.8rem;
  }

  .desired-license-inner > p {
    font-size: 3rem !important;
  }

  #wpcf7-f23441-p23213-o1 input,
  #wpcf7-f23441-p23213-o1 textarea,
  #wpcf7-f23441-p23213-o1 select {
    padding: 2rem 2.8rem !important;
    font-size: 3.2rem !important;
    margin-top: 1rem !important;
  }

  .request-information-form-container > .wpcf7 label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .request-information-form-container > .wpcf7 .required {
    font-size: 2.4rem;
  }

  .request-information-form-container > .wpcf7 .label {
    font-size: 3rem !important;
    margin-bottom: 3.2rem !important;
    flex-basis: 88%;
    margin-bottom: 0 !important;
    line-height: 1.2;
  }

  #wpcf7-f23441-p23213-o1 .birthday-container,
  #wpcf7-f23441-p23213-o1 .enrollment-date-container,
  #wpcf7-f23441-p23213-o1 .post-code-container,
  #wpcf7-f23441-p23213-o1 .address-container,
  #wpcf7-f23441-p23213-o1 .tel-container,
  #wpcf7-f23441-p23213-o1 .email-container,
  #wpcf7-f23441-p23213-o1 .gender-container,
  #wpcf7-f23441-p23213-o1 .mail-container,
  #wpcf7-f23441-p23213-o1 .license-container,
  #wpcf7-f23441-p23213-o1 .source-container {
    margin-bottom: 6.8rem !important;
  }

  #wpcf7-f23441-p23213-o1 .profile-container {
    display: block;
  }

  .request-information-form-container > .wpcf7 .name-container > p,
  .request-information-form-container > .wpcf7 .furigana-container > p,
  #wpcf7-f23445-p23211-o1 .profile-container > p {
    width: 100% !important;
  }

  #wpcf7-f23441-p23213-o1 .high-school-container {
    width: 100% !important;
    margin-top: 2rem !important;
  }

  #wpcf7-f23441-p23213-o1 .post-code-container > p > span:first-of-type {
    font-size: 3.2rem !important;
  }

  #wpcf7-f23441-p23213-o1 .post-code-container > p > span:last-of-type {
    width: 94.765%;
  }

  #wpcf7-f23441-p23213-o1 .birthday-inner > p > span:last-of-type,
  #wpcf7-f23441-p23213-o1 .enrollment-date-inner > p > span:last-of-type {
    font-size: 3.2rem !important;
    margin-left: 1rem !important;
  }

  #wpcf7-f23441-p23213-o1 .gender > span {
    width: 11.9rem !important;
  }

  #wpcf7-f23441-p23213-o1 .gender > span > input {
    margin: 0;
    width: 26.9%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23441-p23213-o1 .gender > span > span {
    font-size: 3.2rem !important;
  }

  #wpcf7-f23441-p23213-o1 .mail-container label {
    display: block !important;
    width: 100%;
  }

  #wpcf7-f23441-p23213-o1 .mail label input {
    margin: 0;
    width: 4.777% !important;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23441-p23213-o1 .mail label span {
    font-size: 3.2rem !important;
    line-height: 1;
  }

  #wpcf7-f23441-p23213-o1 .license,
  #wpcf7-f23441-p23213-o1 .source,
  #wpcf7-f23441-p23213-o1 .car-container,
  #wpcf7-f23441-p23213-o1 .license-status-container {
    align-items: flex-start;
    flex-direction: column;
    column-gap: 2.8rem;
    flex-wrap: wrap;
  }

  #wpcf7-f23441-p23213-o1 .license > span,
  #wpcf7-f23441-p23213-o1 .source > span {
    width: 100%;
  }

  #wpcf7-f23441-p23213-o1 .license > span input,
  #wpcf7-f23441-p23213-o1 .source > span input {
    margin-top: 0 !important;
    width: 3.2rem !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  .license > span > span,
  .source > span > span {
    font-size: 3.2rem !important;
  }

  .license-text {
    font-size: 2.8rem !important;
  }

  #wpcf7-f23441-p23213-o1 .privacy {
    margin-top: 6.8rem !important;
    margin-bottom: 6.8rem !important;
    aspect-ratio: 67 / 44;
  }

  #wpcf7-f23441-p23213-o1 .privacy > h1 {
    font-size: 3rem;
  }

  #wpcf7-f23441-p23213-o1 .privacy > h2,
  #wpcf7-f23441-p23213-o1 .privacy > h3,
  #wpcf7-f23441-p23213-o1 .privacy > p {
    font-size: 2.6rem;
  }

  #wpcf7-f23441-p23213-o1 .privacy > ul,
  #wpcf7-f23441-p23213-o1 .privacy > ol {
    padding-left: 4rem;
    font-size: 2rem;
  }

  #wpcf7-f23441-p23213-o1 .privacy-check-container,
  #wpcf7-f23441-p23213-o1 .form-warning-container {
    margin-bottom: 6.8rem !important;
  }

  #wpcf7-f23441-p23213-o1 .privacy-check-container label,
  #wpcf7-f23441-p23213-o1 .form-warning-container label {
    justify-content: center !important;
  }

  #wpcf7-f23441-p23213-o1 .request-information-form-container,
  #wpcf7-f23441-p23213-o1 .privacy-check-container .label,
  #wpcf7-f23441-p23213-o1 .form-warning-container .label {
    flex-basis: fit-content !important;
  }

  #wpcf7-f23441-p23213-o1 .privacy-check > span,
  #wpcf7-f23441-p23213-o1 .form-warning > span {
    width: 100%;
    justify-content: center;
    margin-top: 0 !important;
  }

  #wpcf7-f23441-p23213-o1 .privacy-check > span > span,
  #wpcf7-f23441-p23213-o1 .form-warning > span > span {
    flex-basis: fit-content;
    font-size: 3.2rem;
  }

  #wpcf7-f23441-p23213-o1 .privacy-check input,
  #wpcf7-f23441-p23213-o1 .form-warning input {
    width: 3.2rem !important;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 0 !important;
  }

  #wpcf7-f23441-p23213-o1 .wpcf7-submit {
    width: 24.184% !important;
    margin-top: 0 !important;
    padding: 2.4rem 4.8rem !important;
  }

  #wpcf7-f23441-p23213-o1 .profile-inner {
    width: 100%;
    margin-bottom: 2rem;
  }

  #wpcf7-f23441-p23213-o1 .school-company-container {
    flex-direction: column;
  }

  #wpcf7-f23441-p23213-o1 .school-company-inner {
    width: 100%;
  }

  #wpcf7-f23441-p23213-o1 .school-company-inner > p {
    justify-content: space-between;
  }

  #wpcf7-f23441-p23213-o1 .school-company-inner > p > br {
    display: none;
  }

  #wpcf7-f23441-p23213-o1 .school-company-inner > p > label {
    flex-basis: fit-content;
    display: block;
  }

  #wpcf7-f23441-p23213-o1 .school-company-inner > p > span {
    flex-basis: 75%;
  }

  #wpcf7-f23441-p23213-o1 .school-company-inner > p select {
    margin-top: 0 !important;
    border-radius: 4rem;
  }

  #wpcf7-f23441-p23213-o1 .car-inner,
  #wpcf7-f23441-p23213-o1 .license-status-inner {
    width: 100%;
    margin-bottom: 4rem;
  }

  #wpcf7-f23441-p23213-o1 .car-inner:last-of-type {
    margin-bottom: 0;
  }

  #wpcf7-f23441-p23213-o1 .license-status-inner select {
    border-radius: 4rem;
    margin-top: 0 !important;
  }

  #wpcf7-f23441-p23213-o1 .license-status-inner label {
    display: block;
  }

  #wpcf7-f23441-p23213-o1 .license-date span {
    font-size: 3.2rem !important;
    margin-left: 0.5rem;
  }

  #wpcf7-f23441-p23213-o1 .announcement-container label {
    display: block;
  }

  #wpcf7-f23441-p23213-o1 .announcement,
  #wpcf7-f23441-p23213-o1 .trigger,
  #wpcf7-f23441-p23213-o1 .compare {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
    row-gap: 2rem;
  }

  #wpcf7-f23441-p23213-o1 .announcement > span,
  #wpcf7-f23441-p23213-o1 .trigger > span,
  #wpcf7-f23441-p23213-o1 .compare > span {
    width: 100%;
  }

  #wpcf7-f23441-p23213-o1 .announcement > span > input,
  #wpcf7-f23441-p23213-o1 .trigger > span > input,
  #wpcf7-f23441-p23213-o1 .compare > span > input {
    margin-top: 0 !important;
    width: 3.2rem !important;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  #wpcf7-f23441-p23213-o1 .announcement > span > span,
  #wpcf7-f23441-p23213-o1 .trigger > span > span,
  #wpcf7-f23441-p23213-o1 .compare > span > span {
    font-size: 3.2rem !important;
  }
}

/* TOP_在校生向けページ */
.admission-student-decoration-text {
  position: absolute;
  top: 2rem;
  left: 0;
  z-index: 0;
  width: 53.5rem;
}

@media screen and (max-width: 750px) {
  .top-students-information {
    padding: 10rem 0 22.6rem !important;
  }

  .admission-information-decoration-text {
    top: 2rem !important;
    left: 4rem !important;
    width: 67rem !important;
  }

  .top-students-information > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
  }

  .top-students-information-column {
    margin: 0 auto !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-basis: 100% !important;
    margin-bottom: 4.8rem !important;
    justify-content: space-around !important;
  }

  .top-students-information-column > div {
    flex-basis: 100% !important;
  }

  .top-students-information-column > div > div > div {
    flex-basis: 100% !important;
  }

  .top-students-information-column > div > div > div p {
    text-align: center;
    margin: 0 !important;
    font-size: 3rem !important;
  }

  .top-students-information-column > div:last-of-type {
    position: absolute;
    bottom: 10rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
    width: 34.15% !important;
  }

  .top-students-information-column > div:last-of-type > p {
    margin-top: 0;
  }

  .top-students-information-column > div:last-of-type > p {
    font-size: 3rem !important;
    text-align: center;
  }

  .top-students-column {
    flex-direction: column !important;
    margin: 0 auto !important;
    padding-bottom: 0 !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .top-students-column > div > h2 {
    font-size: 4rem !important;
    margin-bottom: 6.8rem !important;
    padding-left: 4rem !important;
  }

  .top-students-column > div > div > div > div {
    padding: 2.4rem 2rem !important;
    margin-bottom: 1.6rem !important;
  }

  .top-students-column > div > div > div > div > div:first-of-type {
    padding-right: 2.8rem !important;
    flex-basis: 11.36% !important;
  }

  .top-students-column > div > div > div > div > div:nth-of-type(2) {
    flex-basis: 82.2% !important;
  }

  .top-students-column > div > div > div > div > div:nth-of-type(3) {
    flex-basis: 6.5% !important;
  }

  .admission-sns-decoration-text {
    top: 4rem;
    width: 27.7rem;
  }

  .top-students-sns {
    margin: 0 auto !important;
    width: 89.334% !important;
    max-width: initial !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .top-students-sns > h2 {
    font-size: 4rem !important;
    margin-bottom: 9.6rem !important;
  }

  .top-students-sns.wp-block-columns.is-not-stacked-on-mobile {
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: initial !important;
    row-gap: 3.3rem;
  }

  .top-students-sns
    > div:first-of-type.wp-block-columns.is-not-stacked-on-mobile {
    width: 100% !important;
    max-width: initial !important;
    flex-wrap: wrap !important;
    row-gap: 3.3rem;
  }

  .top-students-sns > div > div {
    flex-basis: 47.763% !important;
  }

  .top-students-sns > div > div > figure {
    margin-bottom: 0;
  }

  .top-students-sns-btn {
    width: 100% !important;
    max-width: initial !important;
  }

  .top-students-sns-btn > div {
    width: 34.15% !important;
    max-width: initial !important;
  }

  .top-students-sns-btn > div > a {
    font-size: 3rem !important;
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* 在校生向けオンラインコース */
.studens-online-course-decoration-text {
  position: absolute;
  top: 8.8rem;
  right: 0;
  z-index: 0;
  width: 28.97rem;
}

.students-online-course-login {
  position: relative;
}

.students-online-course-login::after {
  content: "";
  position: absolute;
  background: url("assets/images/right-arrow.png") center center no-repeat;
  background-size: contain;
  top: 50%;
  right: 4rem;
  transform: translateY(-50%);
  width: 1.7rem;
  height: auto;
  aspect-ratio: 29 / 10;
}

@media screen and (max-width: 750px) {
  .studens-online-course-decoration-text {
    display: none !important;
  }

  .students-online-course-container > div:first-of-type {
    max-width: initial !important;
    width: 76.6% !important;
  }

  .students-online-course-container > div:first-of-type a {
    font-size: 3rem !important;
  }

  .students-online-course-container > div:last-of-type {
    padding: 8rem 4.5rem !important;
    max-width: initial !important;
    width: 91.157% !important;
    flex-direction: column !important;
    row-gap: 4.8rem;
  }

  .students-online-course-container > div:last-of-type > div:first-of-type {
    width: 61.55%;
  }

  .students-online-course-container
    > div:last-of-type
    > div:last-of-type
    > div
    > div {
    flex-basis: 50% !important;
  }

  .students-online-course-container
    > div:last-of-type
    > div:last-of-type
    > div
    > div
    > figure:first-of-type {
    display: none;
  }

  .students-online-course-container
    > div:last-of-type
    > div:last-of-type
    > div
    > div
    > figure:last-of-type
    > a {
    width: 100%;
  }

  .students-online-course-login.has-small-font-size {
    padding: 2rem 0 !important;
    font-size: 3rem !important;
  }

  .students-online-course-login > img {
    width: 3rem !important;
    height: 3rem !important;
    margin-right: 2rem;
  }

  .students-online-course-login::after {
    width: 4rem;
    height: 1rem;
  }
}

@media screen and (max-width: 750px) {
  .page-id-1681 .admission-information-container {
    padding-bottom: 10rem !important;
  }
}

/* Single Page Content Styling */
.single .wp-block-post-content {
  line-height: 1.8;
  color: #333;
}

.single .wp-block-post-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.single .wp-block-post-content h1,
.single .wp-block-post-content h2,
.single .wp-block-post-content h3,
.single .wp-block-post-content h4,
.single .wp-block-post-content h5,
.single .wp-block-post-content h6 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

.single .wp-block-post-content h2 {
  font-size: 24px;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 10px;
}

.single .wp-block-post-content h3 {
  font-size: 20px;
}

.single .wp-block-post-content h4 {
  font-size: 18px;
}

.single .wp-block-post-content ul,
.single .wp-block-post-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.single .wp-block-post-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.single .wp-block-post-content blockquote {
  border-left: 4px solid #0073aa;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  background-color: #f9f9f9;
  padding: 20px;
}

.single .wp-block-post-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}

.single .wp-block-post-content a {
  color: #0073aa;
  text-decoration: underline;
}

.single .wp-block-post-content a:hover {
  color: #005a87;
}

.single .wp-block-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.single .wp-block-post-content th,
.single .wp-block-post-content td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.single .wp-block-post-content th {
  background-color: #f5f5f5;
  font-weight: 700;
}

.single .wp-block-post-content code {
  background-color: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 14px;
}

.single .wp-block-post-content pre {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 20px 0;
}

.single .wp-block-post-content pre code {
  background-color: transparent;
  padding: 0;
}

/* 投稿コンテナの調整 */
.post-container .wp-block-group {
  max-width: 680px;
  margin: 0 auto;
}

/* 投稿タイトルの調整 */
.single .wp-block-post-title {
  border-bottom: 2px solid #0073aa;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

/* 投稿日の調整 */
.single .wp-block-post-date {
  margin-bottom: 30px;
}

/* アイキャッチ画像の調整 */
.single .wp-block-post-featured-image {
  margin-bottom: 30px;
}

.single .wp-block-post-featured-image img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* クラシックエディタコンテンツ用スタイル */
.single .entry-content {
  line-height: 1.8;
  color: #333;
}

.single .entry-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single .entry-content h5,
.single .entry-content h6 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

.single .entry-content h2 {
  font-size: 24px;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 10px;
}

.single .entry-content h3 {
  font-size: 20px;
}

.single .entry-content h4 {
  font-size: 18px;
}

.single .entry-content ul,
.single .entry-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.single .entry-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.single .entry-content blockquote {
  border-left: 4px solid #0073aa;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  background-color: #f9f9f9;
  padding: 20px;
}

.single .entry-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}

.single .entry-content a {
  color: #0073aa;
  text-decoration: underline;
}

.single .entry-content a:hover {
  color: #005a87;
}

.single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.single .entry-content th,
.single .entry-content td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.single .entry-content th {
  background-color: #f5f5f5;
  font-weight: 700;
}

.single .entry-content code {
  background-color: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 14px;
}

.single .entry-content pre {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 20px 0;
}

.single .entry-content pre code {
  background-color: transparent;
  padding: 0;
}

/* クラシックエディタの画像配置をフロント側で適切に表示 */
.single .entry-content .alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

.single .entry-content .alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}

.single .entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.single .entry-content .alignnone {
  margin-bottom: 20px;
}

/* 横並び画像の表示を保持 */
.single .entry-content .wp-image-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.single .entry-content .wp-image-container img {
  flex: 1;
  min-width: 200px;
  max-width: calc(50% - 10px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .single .entry-content .wp-image-container {
    flex-direction: column;
  }

  .single .entry-content .wp-image-container img {
    max-width: 100%;
  }

  .single .entry-content .alignleft,
  .single .entry-content .alignright {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ドロップダウントリガーのスタイル */
#header-menu-dropdown {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ドロップダウンメニューのスタイル */
#header-menu-dropdown-inner {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  margin-top: 8px;
  padding: 8px 0;
  min-width: 200px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ドロップダウンメニュー内のリンクスタイル */
#header-menu-dropdown-inner p {
  margin: 0;
  padding: 0;
}

#header-menu-dropdown-inner a {
  display: block;
  padding: 1.2rem 2rem;
  color: #333333;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

#header-menu-dropdown-inner a:hover {
  background-color: #f8f9fa;
}

/* アニメーション効果 */
#header-menu-dropdown-inner {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#header-menu-dropdown-inner.show {
  opacity: 1;
  transform: translateY(0);
}
