/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 05 2025 | 08:10:53 */
/*region 共通*/
html body {
  font-family: "Kosugi Maru", sans-serif;
}

body,
.es-separate-container {
  background-position: top 49px center !important;
  background-size: 400px auto !important;
}

.pt20 {
  padding-top: 20px;
}

.pb20 {
  padding-bottom: 20px;
}

.hide {
  display: none !important;
}

.entry-content {
  h2.wp-block-heading {
    &::before {
      content: "";
      display: block;
      margin: 0 auto 20px;
      width: 133px;
      aspect-ratio: calc(133 / 44);
      background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/1192/2024/05/h2_deco.png);
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
    }

    @media (max-width: 480px) {
      &::before {
        margin: 0 auto 15px;
        width: 100px;
      }
    }
  }

  h2.wp-block-heading + h3 {
    @media (min-width: 481px) {
      font-size: 24px;
    }
  }

  .wp-block-button .wp-block-button__link {
    font-weight: normal;
    padding: 26px 20px !important;
    font-size: 22px !important;
    width: 500px !important;
    max-width: 100%;
    text-align: center;
    box-shadow: none;
    border-radius: 4em;
    line-height: 1;

    @media (max-width: 480px) {
      padding: 15px 10px !important;
      font-size: 18px !important;
    }

    &::before {
      content: "";
      margin-right: 0.9em;
      vertical-align: middle;
      display: inline-block;
      height: 1.182em;
      width: 1.363em;
      background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/1192/2024/05/icon_house.png);
      background-size: contain;
      background-position: center;
      transform: translateY(-0.15em);
    }
  }
}

#content > .es-container {
  background-color: #fff;
  max-width: 1300px;
  padding-top: 40px;

  @media (min-width: 481px) {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

#company_table-1 table tr,
#company_table-2 table tr {
  th {
    width: 250px;
  }

  td {
    vertical-align: middle;
  }
}

@media (min-width: 481px) {
  body:not(.es-page-es-page_on_front) #content > .es-container {
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  body.single #content {
    margin-top: 0;
    margin-bottom: 0;
  }

  #company_table-1 table tr th,
  #company_table-2 table tr th,
  #company_table-1 table tr td,
  #company_table-2 table tr td {
    width: 100%;
    display: block;
  }
}

h3.title-underline {
  border-bottom: 2px solid #dc1f2e;
  padding-bottom: 0.4em;
  font-weight: bold;
  font-size: 1.2rem !important;
}

.entry-header {
  &:not(.has-bt_group) .entry-title {
    background-color: #dc1f2e;
    color: #fff !important;
    padding: 0.5em 0.8em;
    font-size: 2rem !important;
    font-weight: bold;
    border-radius: 10px;
  }

  &.history-list,
  &.favorite-list {
    display: block;
  }
}

.page-header {
  max-width: 1180px;
  margin: 40px auto 0;
  border: none;
  padding: 40px 20px 20px;

  + .es-container {
    padding-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .page-header,
  .es-single-post-order {
    padding: 20px 10px 0 !important;
    margin-top: 0 !important;
  }

  .entry-header:not(.has-bt_group) .entry-title {
    font-size: 1.4rem !important;
  }
}

@media (min-width: 481px) {
  .page-header {
    border-radius: 20px 20px 0 0 !important;

    + .es-container {
      border-radius: 0 0 20px 20px !important;
    }
  }
}

.add-border-image > figure {
  border: 1px solid #c4c5c5;
}

h3 + .feature-advertisement-block {
  padding-top: 20px;
}

#masthead .site-logo-img .custom-logo {
  width: 230px;
}

.wp-block-table table {
  th {
    background-color: #dc1f2e;
    color: #fff;
  }

  td {
    font-size: 14px;
  }
}

.top-map figure {
  max-width: 750px;
}

.border-radius,
.border-radius > figure,
.es-image,
.es_new_block .es-list .wp-block-column,
.es-page-nisiguchi .wp-block-image,
#inquiry_form .tm_data .wp-block-image,
.es-block-column .has-background,
body .border_box_main {
  border-radius: 10px;
  overflow: hidden;
}

.wp-block-image.image-hover {
  overflow: visible;

  a {
    padding-right: 20px;
    padding-bottom: 20px;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease-in-out;
    border-radius: 20px;

    @media (max-width: 480px) {
      border-radius: 10px;
      padding-right: 10px;
      padding-bottom: 10px;
    }

    &:hover {
      transform: scale(1.05);
    }

    img {
      border-radius: inherit;
      border: 1px solid #fff;
      position: relative;
      z-index: 2;
      transform: none !important;
    }

    &::after {
      content: "";
      background-color: #ffe7e7;
      border-radius: inherit;
      display: block;
      left: 20px;
      top: 20px;
      bottom: 0;
      right: 0;
      position: absolute;
      z-index: 1;

      @media (max-width: 480px) {
        left: 10px;
        top: 10px;
      }
    }
  }
}

.wp-block-image:not(.image-hover) {
  img {
    transition: inherit;
  }
}

@media (min-width: 480px) {
  .site-content a:hover img {
    transform: scale(1.05);
  }
}

.es-header-breadcrumb {
  background-color: #fff !important;
}

.breadcrumb-list::before {
  content: "";
  background-size: contain;
  background-position: center;
  background-image: url(https://nagoya.bacchiri.co.jp/wp-content/uploads/sites/890/2023/02/icon_house.png);
  width: 1.6em;
  height: 1.6em;
  display: inline-block;
  margin-right: 1em;
  transform: translateY(-0.15em);
  vertical-align: middle;
}

.feature-new-adv-custom-block[data-basepostid="4406"] {
  padding: 0 !important;
}

.es-separate-container:not(.wp-admin) #primary:has(.feature-new-adv-custom-block[data-basepostid="4406"]:last-child),
.es-separate-container:not(.wp-admin) #primary:has(.block-for-student-content:last-child) {
  padding-bottom: 0 !important;
}

.dataTextTable {
  display: grid;
  grid-template-columns: auto 1fr;

  dt,
  dd {
    font-weight: inherit;
    font-size: inherit;
    margin: 0;
  }

  dd {
    padding-left: 1em;
    text-indent: -1em;
  }

  dd::before {
    content: "：";
  }
}

/*endregion 共通*/

/*region ヘッダー*/
.header_text {
  font-size: 14px;
  line-height: 1.5;

  @media (max-width: 480px) {
    font-size: 12px;
  }

  strong {
    font-weight: bold;
    display: block;
    font-size: 1em;
  }

  span {
    display: block;
    font-size: 0.8em;
  }
}

.site-header.fixed .header-other-content {
  flex-shrink: 0;

  @media (max-width: 480px) {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .site-header .header-other-content {
    display: block !important;
    order: 50;
    margin: 10px 0 0;
  }
}

@media screen and (min-width: 481px) {
  .main-navigation {
    display: inline-flex;
    justify-content: center;
    padding: 0;

    ul {
      width: 100%;
      padding: 0;
      max-width: 1300px;
    }
  }

  .main-header-bar-navigation > nav {
    max-height: 56px;
    line-height: 56px;
  }

  .site-header:not(.fixed) .main-header-menu > .menu-item > a {
    font-weight: normal;
    width: 100%;
    text-align: center;
    display: block;
    padding: 0 2.2em;
  }

  .site-header:not(.fixed) #primary-menu > li {
    border-left: 1px solid #fb4d5d;

    &:last-child {
      border-right: 1px solid #fb4d5d;
    }
  }
}

/*endregion ヘッダー*/

/*region トップ*/
[id^="top-search-block"] {
  @media (min-width: 481px) {
    margin: 0 -40px !important;
    width: calc(100% + 80px) !important;
  }
}

.top-kodawari-list {
  .es-list-items {
    display: grid;
    gap: 40px 39px;
    grid-template-columns: repeat(3, 1fr);

    @media (max-width: 480px) {
      gap: 20px 15px;
      grid-template-columns: repeat(2, 1fr);
    }

    .es-list-item {
      position: relative;
      border: 3px solid #eeeeee;
      overflow: hidden;
      border-radius: 10px;
      margin: 0 !important;
      width: auto !important;
    }

    .es-list-figure {
      &::before {
        padding-top: calc(320 / 380 * 100%) !important;
      }
    }

    .es-list-content {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 62px;
      padding: 0 10px;
      font-size: 18px;
      line-height: 62px;
      text-align: center;
      color: #000;
      background: rgba(255, 255, 255, 0.8);

      @media (max-width: 480px) {
        font-size: 14px;
        line-height: 36px;
        height: 36px;
      }

      h3 {
        font-size: inherit;
        display: inline;
        text-decoration: none !important;
      }
    }
  }
}

@media (max-width: 480px) {
  .top-kodawari-list .es-list-items .es-list-item {
    margin-bottom: 20px;
  }

  body.es-page-es-page_on_front .es-list.post .es-list-items li:nth-child(n + 4) {
    display: none;
  }
}

.es-list.info .es-list-item .list_content {
  display: flex;
}

.es-list.info .es-list-item span.date {
  width: 120px;
  flex-shrink: 0;
}

body.es-page-es-page_on_front {
  /*共通*/
  #content > .es-container {
    padding-top: 0 !important;
  }

  .flexslider.es_slider {
    max-width: 1180px !important;
  }

  /*スライダー*/
  [id^="slider-block_"] {
    width: calc(100% - 20px * 2);
    margin: 30px auto;
    padding-top: 0 !important;

    &::before {
      content: "";
      display: block;
    }

    &::before,
    .flexslider.es_slider li.es_slide:before {
      padding-top: 42.6%;
    }

    .flexslider.es_slider li.es_slide a {
      border: 6px solid #eeeeee;
      border-radius: 20px;
      overflow: hidden;

      @media (max-width: 480px) {
        border-width: 4px;
      }
    }

    .flexslider.es_slider {
      overflow: visible;

      .flex-nav-prev .flex-prev,
      .flex-nav-next .flex-next {
        background-color: #ffd4d5;
        border-radius: 100%;
        border: 6px solid #eeeeee;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 1 !important;
        width: 91px !important;
        height: 91px !important;

        @media (max-width: 480px) {
          border-width: 4px;
        }

        &::before {
          content: "" !important;
          width: 22px !important;
          height: 37px !important;
          background-color: #fff;
          transform: translateX(-20%) translateY(7%);
          clip-path: path("M0.82032 18.0307C-0.13008 17.2315 -0.130079 15.7685 0.820321 14.9693L17.7128 0.764237C19.0138 -0.329788 21 0.595112 21 2.29496L21 30.705C21 32.4049 19.0138 33.3298 17.7128 32.2358L0.82032 18.0307Z");
        }
      }
      .flex-nav-next .flex-next {
        transform: rotate(180deg);
        right: -40px !important;
      }
      .flex-nav-prev .flex-prev {
        left: -40px !important;
      }

      @media (max-width: 480px) {
        .flex-nav-next .flex-next,
        .flex-nav-prev .flex-prev {
          width: 35px !important;
          height: 35px !important;
          margin: -17px 0 0 !important;

          &::before {
            transform: scale(0.4) translateX(-20%) translateY(7%);
          }
        }

        .flex-nav-next .flex-next {
          transform: rotate(180deg);
          right: -15px !important;
        }
        .flex-nav-prev .flex-prev {
          left: -15px !important;
        }
      }

      .flex-direction-nav {
        display: block !important;
      }
    }
  }

  /*スライダー下ボタン*/
  [id^="top-search-block-block_"] {
    .content-wide-block {
      width: 1100px;
    }

    .has-3-columns {
      gap: 40px;

      @media (max-width: 480px) {
        gap: 10px;
      }

      &::before,
      &::after {
        content: none;
      }

      > * {
        width: auto;
        flex: 1;
      }
    }
  }
}

.top_search_block .search_btn_group .type_icon a {
  padding: 22px 10px;

  @media (max-width: 480px) {
    padding: 10px 10px;
  }

  span:before {
    @media (min-width: 481px) {
      margin-bottom: 20px;
    }

    @media (max-width: 480px) {
      font-size: 45px;
    }
  }
}
/*endregion トップ*/

/*region 店舗詳細ページ スタッフ一覧*/
.es-page-nisiguchi .es-list.staff,
.two-column .es-list {
  ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2%;
  }
  ul .es-list-item {
    margin: 0;
    padding: 20px 0;
  }
  ul .es-list-item h3 {
    font-size: 17px;
    color: #000000;
  }
  ul .es-list-item h3 a {
    color: inherit;
  }
  ul .es-list-item .wp-block-table {
    width: 100%;
    margin-top: 10px;
    padding: 0 !important;
  }
  ul .es-list-item .wp-block-table table {
    margin: 0;
  }
  ul .es-list-item .wp-block-table td:first-child {
    width: 110px;
  }
}

@media (min-width: 481px) {
  .es-page-nisiguchi .uagb-block-59274234.uagb-column__wrap {
    width: 50% !important;
  }

  .es-page-nisiguchi .uagb-block-8bda1fb8.uagb-column__wrap {
    width: 33.33% !important;
  }

  .es-page-nisiguchi .wp-block-button .wp-block-button__link {
    font-size: 18px !important;
    width: 70%!important;
    padding: 16px 10px !important;
  }
}

.two-column .es-list:not(:last-child) {
  margin-bottom: 30px;
}

@media (min-width: 481px) {
  .es-page-nisiguchi .es-list.staff ul .es-list-item,
  .two-column .es-list ul .es-list-item {
    width: 49%;
  }
}

@media (max-width: 480px) {
  .es-page-nisiguchi .es-list.staff {
    ul .es-list-item {
      display: block !important;
      .thumb {
        width: 70% !important;
        margin: 0 auto;
      }
      .thumb figure {
        width: 100%;
      }
      .es-list-content {
        width: 100% !important;
        margin-top: 15px;
      }
    }
  }
}

.insta-bnr_img img {
  border-radius: 20px;
}

@media (max-width: 480px) {
  .insta-bnr_img img {
    border-radius: 5px;
  }
}

@media (max-width: 480px) {
  .insta-bnr {
    height: 30px !important;
  }
}

/*endregion 店舗詳細ページ スタッフ一覧*/

/*region お知らせ・ブログ*/

.entry-header.blog {
  h1 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #dc1f2e;
    padding-bottom: 10px;
  }

  .entry-meta,
  .entry-meta * {
    color: #5f5f5f;
  }
}

@media (min-width: 481px) {
  body.page-post-single .entry-meta,
  body.page-post-single .entry-content {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
}

/*endregion お知らせ・ブログ*/

/*region 店舗紹介*/
body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4,
body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 {
  display: flex;
  gap: 20px;

  > .uagb-column__wrap > .uagb-column__inner-wrap {
    padding: 0;
    font-size: 14px;

    figure img {
      width: 100%;
      max-width: none;
      height: auto;
    }

    h3 {
      font-size: 14px;
      display: block;
      border: 0;
      padding: 0;
      color: #000;

      a {
        color: inherit;
      }

      &:first-child {
        margin-top: 15px;
        margin-bottom: 10px;
        font-size: 15px;

        strong {
          font-size: 24px;
        }
      }

      strong {
        font-size: 22px;
      }
    }

    &:not(:empty) {
      border: 1px solid #e0e0e0;
      border-radius: 10px;
      overflow: hidden;
    }

    > *:not(figure) {
      margin: 0 15px 5px;
    }

    > *:last-child {
      margin-bottom: 15px;
    }

    > p:not(:last-of-type) {
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 5px;
    }

    > .wp-block-buttons {
      margin-top: 20px !important;
      display: block;
    }

    .wp-block-button {
      width: 100% !important;
    }

    .wp-block-button__link {
      width: 100% !important;
      padding-left: 0;
      padding-right: 0;
    }

    p > a {
      color: inherit;
    }
  }
}

body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 > .uagb-column__wrap > .uagb-column__inner-wrap .uagb-column__inner-wrap {
  padding: 0;

  .wp-block-buttons {
    margin-top: 0;
  }
}

@media (min-width: 481px) {
  body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4 > .uagb-column__wrap > .uagb-column__inner-wrap h3 {
    min-height: 66px;
  }

  body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 > .uagb-column__wrap > .uagb-column__inner-wrap h3 {
    min-height: 41px;
  }

  body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4 > .uagb-column__wrap > .uagb-column__inner-wrap h3:first-child,
  body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 > .uagb-column__wrap > .uagb-column__inner-wrap h3:first-child {
    min-height: 55px;
  }

  body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4 > .uagb-column__wrap,
  body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 > .uagb-column__wrap {
    flex: 1;
  }

  body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4 > .uagb-column__wrap > .uagb-column__inner-wrap > figure,
  body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 > .uagb-column__wrap > .uagb-column__inner-wrap > figure {
    overflow: hidden;
  }

  body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4 > .uagb-column__wrap > .uagb-column__inner-wrap > figure img,
  body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 > .uagb-column__wrap > .uagb-column__inner-wrap > figure img {
    transition: transform 0.3s ease;
  }
}

@media (max-width: 480px) {
  body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4,
  body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 {
    flex-wrap: wrap;
  }

  body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4 > .uagb-column__wrap,
  body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 > .uagb-column__wrap {
    width: 100%;
    margin: 0 10px;
  }

  body.es-page-company .uagb-columns__wrap .uagb-columns__columns-4 > .uagb-column__wrap br + br,
  body.es-page-es-page_on_front .uagb-columns__wrap.top-company > .uagb-columns__columns-2 > .uagb-column__wrap br + br {
    display: none;
  }

  body.es-page-company .has-small-font-size br {
    display: inline-block !important;
  }

  body.es-page-company .has-small-font-size a {
    text-decoration: underline !important;
  }
}

/*endregion 店舗紹介*/

/*region 店舗紹介 TOP 1店舗のみのときの例外処理*/
@media (min-width: 481px) {
  body.es-page-es-page_on_front .uagb-columns__wrap.top-company.top-company-1col > .uagb-columns__columns-2 {
    width: 100%;
    max-width: 50%;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;

    > .uagb-column__wrap {
      width: 100%;

      &:has(.uagb-column__inner-wrap:empty) {
        display: none;
      }
    }
  }
}
/*endregion 店舗紹介 TOP 例外処理*/

/*region お問合せ*/

body.es-page-contact .form_wrap > h2 {
  display: none;
}

@media (min-width: 481px) {
  #content.site-content {
    min-height: calc(100vh - 273px);
  }
}

@media (max-width: 480px) {
  #content.site-content {
    background-color: #fff;
    min-height: calc(100vh - 225px);
  }
}

/*endregion お問合せ*/

/*region オンラインでお部屋探し*/

body.es-page-online .page-header {
  display: none;
}

body.es-page-online .page-header + .es-container {
  padding-top: 40px !important;
  margin-top: 40px !important;
  border-radius: 20px !important;
}

.image-pt {
  padding-top: 40px;
}

.online-point {
  list-style: none;
  display: flex;
  padding: 40px 0;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  margin: 50px 0 60px;
}

.online-point li {
  flex: 1;
  padding: 0 40px;
}

.online-point li:not(:first-child) {
  border-left: 1px solid #e8e8e8;
}

.online-point li figure {
  width: 60px;
  margin: 0 auto;
}

.online-point li p {
  font-size: 18px;
  line-height: 1.5;
  margin-top: 14px;
  margin-bottom: 0;
  text-align: center;
}

.online-step {
  max-width: 860px;
  list-style: none;
  border: 4px solid #ffecdb;
  border-radius: 20px;
  margin: 0 auto;
}

.online-step li {
  padding: 40px 110px;
  position: relative;
  display: flex;
  gap: 40px;
}

.online-step li::before {
  content: "";
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.online-step li:nth-child(1)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step01.png);
}

.online-step li:nth-child(2)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step02.png);
}

.online-step li:nth-child(3)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step03.png);
}

.online-step li:nth-child(4)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step04.png);
}

.online-step li:nth-child(5)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step05.png);
}

.online-step li:nth-child(6)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step06.png);
}

.online-step li:nth-child(7)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step07.png);
}

.online-step li:nth-child(8)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step08.png);
}

.online-step li:nth-child(9)::before {
  background-image: url(/wp-content/uploads/sites/890/2023/02/icon_step09.png);
}

.online-step li:not(:last-child)::after {
  content: "";
  width: 70px;
  height: 40px;
  border-width: 40px 35px 0;
  border-style: solid;
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateY(100%) translateX(-50%);
  z-index: 2;
}

.online-step li:nth-child(2n + 1) {
  background-color: #ffecdb;
}

.online-step li:nth-child(2n + 1)::after {
  border-color: #ffecdb transparent transparent;
}

.online-step li:nth-child(2n + 2) {
  background-color: #ffffff;
}

.online-step li:nth-child(2n + 2)::after {
  border-color: #ffffff transparent transparent;
}

.online-step li h3 {
  font-size: 26px;
  line-height: 1;
  color: #dc1f2e;
  margin-bottom: 12px;
}

.online-step li p {
  font-size: 14px;
  line-height: 1.428;
  margin: 0;
}

.online-btn {
  margin-top: 60px;
  background-image: url(/wp-content/uploads/sites/890/2023/02/online_btn_bg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 78px 40px 40px;
}

.online-btn h3 {
  font-size: 26px;
  line-height: 1;
  color: #dc1f2e;
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto 40px;
}

.online-btn h3::after {
  content: "";
  background: #ffe7e7;
  height: 15px;
  border-radius: 3px;
  position: absolute;
  z-index: -1;
  width: calc(100% + 30px);
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
}

.online-btn a {
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  word-break: break-word;
  box-sizing: border-box;
  transition: all 0.2s;
  font-weight: bold;
  background: #ff7a00;
  color: #fff;
  border-radius: 5px;
  box-shadow: 1px 1px 2px 0 rgb(0 0 0 / 25%);
  font-size: 1.4rem;
  max-width: 460px;
  padding: 22px 0;
  width: 100%;
  line-height: 1;
  margin: 0 auto;
  display: block;
}

@media (max-width: 480px) {
  body.es-page-online .page-header + .es-container {
    padding-top: 20px !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
  }

  .image-pt {
    padding-top: 20px;
  }

  .online-point {
    padding: 20px 10px;
    flex-direction: column;
    margin: 20px 10px 40px;
    border-radius: 10px;
  }

  .online-point li {
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
  }

  .online-point li:not(:first-child) {
    border-top: 1px solid #e8e8e8;
    border-left: 0;
    margin-top: 20px;
    padding-top: 20px;
  }

  .online-point li figure {
    margin: 0;
    width: 45px;
  }

  .online-point li p {
    text-align: left;
    font-size: 16px;
    width: 225px;
    margin: 0;
  }

  .online-step {
    padding: 0 !important;
    margin-left: 10px;
    margin-right: 10px;
    overflow: hidden;
    border-radius: 10px;
  }

  .online-step li {
    padding: 30px 10px;
    gap: 15px;
  }

  .online-step li::before {
    width: 50px;
    height: 50px;
  }

  .online-step li:not(:last-child)::after {
    width: 50px;
    height: 20px;
    border-width: 20px 25px 0;
  }

  .online-step li h3 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .online-btn {
    width: calc(100% - 20px);
    max-width: 355px;
    margin: 40px auto 0;
    padding: 20px;
    background-image: none;
    background-color: #fff6ee;
    border-radius: 10px;
    position: relative;
  }

  .online-btn::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 29.25%;
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url(/wp-content/uploads/sites/890/2023/02/online_btn_frame.png);
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .online-btn h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .online-btn h3::after {
    height: 11px;
    border-radius: 2px;
    bottom: -4px;
  }

  .online-btn a {
    font-size: 1.2rem;
    padding: 17px 0;
  }
}

/*endregion オンラインでお部屋探し*/

/* region 大学・専門学校に入学される方々へ */
@media (min-width: 481px) {
  body.es-page-for-student #content .page-header {
    display: none;
  }

  body.es-page-for-student #content > .es-container {
    border-radius: 20px !important;
    padding-top: 40px !important;
    margin-top: 40px !important;
  }
}

@media screen and (max-width: 480px) {
  body.es-page-for-student .entry-header {
    display: none;
  }
}

/* region 検索*/
.school-search {
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}
@media screen and (min-width: 481px) {
  .school-search {
    background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/search_bg-pc.png);
    padding-left: 40px;
    padding-right: 40px;
    margin-left: -40px;
    margin-right: -40px;
    padding-top: 20px;
  }
}
@media screen and (max-width: 480px) {
  .school-search {
    background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/search_bg-sp.png);
    padding: 0 12px;
  }
}
.school-search_form {
  max-width: 597px;
  width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
}
.school-search_form_title {
  background-color: #dc1f2e;
  color: #fff;
  border-radius: 10px 10px 0 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 481px) {
  .school-search_form_title {
    font-size: 24px;
    padding: 18px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_form_title {
    font-size: 18px;
    padding: 13px 20px;
  }
}
.school-search_form_title::before {
  content: "";
  width: 32px;
  height: 32px;
  margin-right: 24px;
  display: inline-block;
  vertical-align: middle;
  background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/icon_school.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.school-search_form form {
  border-radius: 0 0 10px 10px;
  background-color: #fff;
  border: 2px solid #dc1f2e;
  display: flex;
}
@media screen and (min-width: 481px) {
  .school-search_form form {
    padding: 28px 30px 29px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_form form {
    padding: 20px;
  }
}
.school-search_form form input,
.school-search_form form input:focus {
  flex: 1;
  line-height: 1;
  background-color: #fff6ee;
  border: 0;
  border-radius: 5px 0 0 5px;
}
@media screen and (min-width: 481px) {
  .school-search_form form input,
  .school-search_form form input:focus {
    padding: 18px 20px 19px;
    font-size: 16px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_form form input,
  .school-search_form form input:focus {
    padding: 12px 15px;
    font-size: 16px;
  }
}
.school-search_form form input::placeholder,
.school-search_form form input:focus::placeholder {
  color: #9a9a9a;
}
@media screen and (max-width: 480px) {
  .school-search_form form input::placeholder,
  .school-search_form form input:focus::placeholder {
    font-size: 11px;
    transform: translateY(-0.1em);
  }
}
.school-search_form form button {
  background-color: #ff7a00;
  color: #fff;
  border-radius: 0 5px 5px 0;
  font-size: 18px;
  vertical-align: middle;
  border: 0;
  appearance: none;
  line-height: 1.1;
  font-weight: bold;
  transition: opacity 0.5s;
}
@media screen and (min-width: 481px) {
  .school-search_form form button {
    padding: 17px 25px 15px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_form form button {
    padding: 10px 12px;
  }
}
.school-search_form form button::before {
  line-height: 1;
  content: "";
  font-size: 1.1em;
  width: 1em;
  height: 1.1em;
  transform: translateY(-0.05em);
  display: inline-block;
  vertical-align: middle;
  background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/icon_search.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (min-width: 481px) {
  .school-search_form form button::before {
    margin-right: 0.5em;
  }
}
@media screen and (min-width: 481px) {
  .school-search_form form button:hover {
    opacity: 0.5;
  }
}
.school-search_tabs {
  display: flex;
  justify-content: center;
  margin-bottom: -2px;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 481px) {
  .school-search_tabs {
    margin-top: 60px;
    gap: 20px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_tabs {
    margin-top: 35.3vw;
    gap: 10px;
  }
}
.school-search_tabs_item {
  background-color: #fff;
  border-top: 2px solid #dc1f2e;
  border-left: 2px solid #dc1f2e;
  border-right: 2px solid #dc1f2e;
  text-align: center;
  color: #dc1f2e;
  cursor: pointer;
  line-height: 1;
  border-radius: 10px 10px 0 0;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 481px) {
  .school-search_tabs_item {
    font-size: 24px;
    min-width: 400px;
    padding: calc(1em + 2px) 1em calc(1em - 2px);
  }
}
@media screen and (max-width: 480px) {
  .school-search_tabs_item {
    font-size: 18px;
    width: calc((100% - 50px) / 2);
    padding: calc(0.9em + 2px) 1em calc(1em - 2px);
  }
}
.school-search_tabs_item:not(.active) {
  background-color: #dc1f2e;
  color: #fff;
}
.school-search_tabs_item.active::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -2px;
  width: 100%;
  height: 10px;
  left: 0;
  right: 0;
  background-color: #fff;
}
.school-search_result {
  border: 2px solid #dc1f2e;
  background-color: #fff;
  border-radius: 10px;
}
@media screen and (min-width: 481px) {
  .school-search_result {
    padding: 40px 30px 30px;
    min-height: 270px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_result {
    padding: 18px 20px;
  }
}
.school-search_result:not(.active) {
  display: none;
}
.school-search_result_searchTab {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .school-search_result_searchTab {
    gap: 17px 22px;
  }
}
.school-search_result_searchTab_item {
  cursor: pointer;
  line-height: 1;
  text-align: center;
}
@media screen and (min-width: 481px) {
  .school-search_result_searchTab_item {
    font-size: 18px;
    padding: 0 40px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_result_searchTab_item {
    font-size: 14px;
  }
}
.school-search_result_searchTab_item.active {
  color: #dc1f2e;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 481px) {
  .school-search_result_searchTab_item.active {
    padding-bottom: 0.177em;
    font-size: 1.6em;
  }
}
@media screen and (max-width: 480px) {
  .school-search_result_searchTab_item.active {
    font-size: 1.3em;
    padding-bottom: 0.2em;
  }
}
.school-search_result_searchTab_item.active::after {
  content: "";
  display: block;
  background-color: #ffe7e7;
  border-radius: 3px;
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: -1;
}
@media screen and (min-width: 481px) {
  .school-search_result_searchTab_item.active::after {
    height: 0.577em;
    margin-top: -0.4em;
    width: calc(2em + 22px);
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 480px) {
  .school-search_result_searchTab_item.active::after {
    height: 0.5em;
    width: calc(2em + 18px);
    transform: translateX(-50%) translateX(-11px);
  }
}
.school-search_result_searchTab_item.disable {
  color: #d1d1d1;
  pointer-events: none;
}
.school-search_result_searchTab_item:not(:last-child) {
  position: relative;
}
@media screen and (max-width: 480px) {
  .school-search_result_searchTab_item:not(:last-child) {
    padding-right: 22px;
  }
}
.school-search_result_searchTab_item:not(:last-child)::before {
  content: "";
  height: 21px;
  width: 8px;
  position: absolute;
  right: 0;
  transform: translateX(50%) translateY(-50%) rotate(20deg);
  margin: auto;
  background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/border-dot.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  top: 40%;
}
.school-search_result_list {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (min-width: 481px) {
  .school-search_result_list {
    gap: 20px;
    margin-top: 40px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_result_list {
    margin-top: 24px;
    flex-direction: column;
    gap: 10px;
  }
}
.school-search_result_list:not(.active) {
  display: none;
}
.school-search_result_list_item {
  background-color: #fff6ee;
  line-height: 1.4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}
@media screen and (min-width: 481px) {
  .school-search_result_list_item {
    padding: 24px 20px;
    width: calc((100% - 20px) / 2);
    gap: 21px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_result_list_item {
    padding: 17px 20px;
    width: 100%;
    gap: 15px;
  }
}
.school-search_result_list_item::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/icon_school.png);
  background-size: 18px auto;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #dc1f2e;
  flex-shrink: 0;
}
.school-search_result_list_item b {
  display: block;
  font-weight: normal;
}
@media screen and (min-width: 481px) {
  .school-search_result_list_item b {
    font-size: 18px;
  }
}
@media screen and (max-width: 480px) {
  .school-search_result_list_item b {
    font-size: 16px;
  }
}
.school-search_result_list_item p {
  color: #333333;
  margin-bottom: 0;
}
@media screen and (min-width: 481px) {
  .school-search_result_list_item p {
    font-size: 14px;
    margin-top: 0.6em;
  }
}
@media screen and (max-width: 480px) {
  .school-search_result_list_item p {
    font-size: 12px;
    margin-top: 0.5em;
  }
}
.school-search_result_list_item:hover b,
.school-search_result_list_item:hover p {
  text-decoration: underline;
  text-decoration-color: #333333;
}

.result-notFound {
  line-height: 1;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 481px) {
  .result-notFound {
    margin: 40px auto 0;
    font-size: 26px;
    padding: 26px 0 42px;
  }
}
@media screen and (max-width: 480px) {
  .result-notFound {
    margin: 20px auto 0;
    font-size: 14px;
    padding: 25px 0 38px;
  }
}
.result-notFound::before {
  content: "";
  margin-right: 0.66em;
  font-size: 1.4615384615em;
  width: 1em;
  height: 1em;
  background-image: url(https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/icon_warning.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* endregion 検索*/

/* region FAQ */
.faqList {
  background-image: url("https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/student_bg-pc.png");
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  padding-top: 24px;
  margin-top: -24px;
  position: relative;
}

.faqList::before {
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  height: 269px;
  width: 100%;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
}

.faqList_container {
  padding: 40px;
  border-radius: 20px;
  border: 2px solid #dc1f2e;
  background: #fff;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faqList_container > ul {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.faqList_container > ul > li {
  list-style: inherit;
}

.faqList_q {
  display: flex;
  padding: 28px 50px 28px 20px;
  justify-content: flex-start;
  gap: 20px;
  border-radius: 10px;
  background: #fff6ee;
  font-size: 18px;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.faqList_q > b {
  width: 2.3em;
  height: 2.3em;
  font-size: 20px;
  background-color: #dc1f2e;
  color: #fff;
  line-height: 1;
  text-align: center;
  padding: calc((2.3em - 1em) / 2) 0;
  border-radius: 100%;
  display: inline-block;
  flex-shrink: 0;
  font-weight: lighter;
}

.faqList_q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #dc1f2e;
  clip-path: path("M 14.8571 9.16117 H 9.14286 V 14.8755 C 9.14286 15.1786 9.02245 15.4692 8.80812 15.6836 C 8.59379 15.8979 8.30311 16.0183 8 16.0183 C 7.6969 16.0183 7.40621 15.8979 7.19188 15.6836 C 6.97755 15.4692 6.85714 15.1786 6.85714 14.8755 V 9.16117 H 1.14286 C 0.839753 9.16117 0.549063 9.04076 0.334735 8.82643 C 0.120408 8.61211 0 8.32142 0 8.01831 C 0 7.71521 0.120408 7.42452 0.334735 7.21019 C 0.549063 6.99586 0.839753 6.87545 1.14286 6.87545 H 6.85714 V 1.16117 C 6.85714 0.858063 6.97755 0.567373 7.19188 0.353045 C 7.40621 0.138718 7.6969 0.0183105 8 0.0183105 C 8.30311 0.0183105 8.59379 0.138718 8.80812 0.353045 C 9.02245 0.567373 9.14286 0.858063 9.14286 1.16117 V 6.87545 H 14.8571 C 15.1602 6.87545 15.4509 6.99586 15.6653 7.21019 C 15.8796 7.42452 16 7.71521 16 8.01831 C 16 8.32142 15.8796 8.61211 15.6653 8.82643 C 15.4509 9.04076 15.1602 9.16117 14.8571 9.16117 Z");
  transition: transform 0.3s linear;
}

.faqList_q.open::after {
  transform: translateY(-50%) rotate(45deg);
}

.faqList_a {
  height: 0;
  padding: 0 24px;
  overflow: hidden;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
  transition-property: height;
}

.faqList_a p {
  font-size: 14px;
  margin: 0;
}

.faqList_a p a {
  text-decoration: underline;
}

.faqList_a ol {
  padding-top: 24px;
  padding-bottom: 24px;
  margin: 0 0 0 2.1em;
}

.faqList_a ol > li:not(:first-child) {
  margin-top: 10px;
}

.faqList_a ol > li p + p {
  margin-top: 10px;
}

@media (max-width: 480px) {
  .faqList {
    padding-top: 17px;
    margin-top: -17px;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 20px;
    padding-right: 20px;
    background-image: url("https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/student_bg-sp.png");
  }

  .faqList::before {
    display: none;
  }

  .faqList_container {
    padding: 20px;
    border-radius: 10px;
  }

  .faqList_container ul {
    gap: 10px;
  }

  .faqList_q {
    padding: 15px 50px 18px 20px;
    font-size: 16px;
    line-height: 1.4;
    gap: 13px;
  }

  .faqList_q::after {
    width: 12px;
    height: 12px;
    right: 20px;
    clip-path: path("M11.1429 7.36593H6.85714V11.6516C6.85714 11.879 6.76684 12.097 6.60609 12.2577C6.44535 12.4185 6.22733 12.5088 6 12.5088C5.77267 12.5088 5.55465 12.4185 5.39391 12.2577C5.23316 12.097 5.14286 11.879 5.14286 11.6516V7.36593H0.857143C0.629814 7.36593 0.411797 7.27563 0.251051 7.11488C0.090306 6.95414 0 6.73612 0 6.50879C0 6.28146 0.090306 6.06344 0.251051 5.9027C0.411797 5.74195 0.629814 5.65165 0.857143 5.65165H5.14286V1.36593C5.14286 1.1386 5.23316 0.920586 5.39391 0.75984C5.55465 0.599095 5.77267 0.508789 6 0.508789C6.22733 0.508789 6.44535 0.599095 6.60609 0.75984C6.76684 0.920586 6.85714 1.1386 6.85714 1.36593V5.65165H11.1429C11.3702 5.65165 11.5882 5.74195 11.7489 5.9027C11.9097 6.06344 12 6.28146 12 6.50879C12 6.73612 11.9097 6.95414 11.7489 7.11488C11.5882 7.27563 11.3702 7.36593 11.1429 7.36593Z");
  }

  .faqList_a {
    padding: 0 10px;
  }

  .faqList_a ol {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 480px) and (min-width: 400px) {
  .faqList::before {
    display: block;
    height: 50px;
  }
}

/* endregion FAQ */

/* region for parent */
.for-parent {
  padding-bottom: 35px;
  display: flex;
  gap: 31px;
  position: relative;
  z-index: 1;
}

.for-parent::before {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0 -40px;
  margin: auto;
  width: calc(100% + 40px * 2);
  height: 100%;
  background-image: url("https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/student_bg-02-pc.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-radius: 0 0 20px 20px !important;
}

.for-parent_item {
  flex: 1;
}

.for-parent_item figure {
  background-color: transparent !important;
}

.for-parent_item p {
  margin-top: 20px;
  padding-left: 12%;
  margin-bottom: 0;
}

@media (min-width: 481px) {
  .for-parent {
    padding-top: 20px;
  }

  .for-parent::before {
    inset: 20px -40px 0;
    height: calc(100% - 20px);
  }
}

@media (max-width: 480px) {
  .for-parent {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    margin: 0 -10px;
  }

  .for-parent::before {
    width: 100%;
    inset: 10px -20px 0;
    background-image: url("https://nagoya.bacchiri.co.jp/app/uploads/sites/890/2023/08/student_bg-02-sp.png");
    border-radius: 0 !important;
  }

  .for-parent_item figure {
    margin-bottom: -8%;
  }

  .for-parent_item p {
    margin-top: 10px;
    font-size: 14px;
  }
}

body.es-page-for-student #primary {
  padding-bottom: 0 !important;
}

/* endregion for parent */

/* endregion 大学・専門学校に入学される方々へ */
