/* ログイン不要ページのCSS */
:root {
  /* 1unit = 5px ( = 0.3125rem ) */
  /* calc(var(--unit) * 1) = 5px */
  --unit: 0.3125rem;
  --service-color-base-first: #fff;
  --service-color-base-second: #999;
  --service-color-base-third: #444;
  --service-color-base-fourth: #333;
  --service-color-base-fifth: #ccc;
  --service-color-base-sixth: #666;
  --service-color-base-seventh: #f1f1f1;
  --service-color-base-eighth: #e3e3e3;
  --service-color-main-first: #001752;
  --service-color-main-second: #295cba;
  --service-color-main-third: #e7f0f7;
  --service-color-accent-first: #f67e28;
}

.wdb-service-text-link {
  color: var(--service-color-main-second);

  &:hover {
    text-decoration: underline;
  }

  &[target="_blank"]::after {
    content:'';
    display: inline-block;
    margin-left: .25rem;
    height: 12px;
    width: 12px;
    background-color: var(--service-color-main-second);
    -webkit-mask: url(../images/common/icon-other-window.svg) no-repeat center/cover;
    mask: url(../images/common/icon-other-window.svg) no-repeat center/cover;
  }

  &[href$='.pdf']::after {
    content: "";
    display: inline-block;
    height: 1rem;
    width: 1rem;
    background: url(../images/common/icon-pdf.png) no-repeat center center/1rem;
    margin-left: .25rem;
    -webkit-mask: none;
    mask: none;
  }

  &.wdb-service-text-link--icon-small {
    &[target="_blank"]::after {
      height: 11px;
      width: 11px;
    }
  }

  &.wdb-service-text-link--icon-color-change-first {
    &[target="_blank"]::after {
      background-color: var(--service-color-base-fourth);
    }
  }

  &.wdb-service-text-link--icon-color-change-second {
    &[target="_blank"]::after {
      background-color: var(--service-color-base-sixth);
    }
  }

  &.wdb-service-text-link--arrow {
    position: relative;
    padding-right: 1rem;

    &::after {
      content: "";
      position: absolute;
      top: calc(50% + 1px);
      right: .2rem;
      border: 2px solid #295cba;
      border-bottom: 0;
      border-left: 0;
      height: .5rem;
      width: .5rem;
      transform: translate(0, -50%) rotate(45deg);
      transform-origin: center center;
    }
  }
}

.wdb-service-intext-link {
  text-decoration: underline;

  &:hover {
    text-decoration: none;
  }
}

.wdb-service-disabled-link {
  color: var(--service-color-base-second);
  pointer-events: none;
}

.wdb-service-main-container {
  width: 100%;

  @media (max-width: 767.9px) {
    overflow-x: hidden;
    -ms-overflow-style: none; /* IE, Edge 対応 */
    scrollbar-width: none; /* Firefox 対応 */

    &::-webkit-scrollbar {
      display: none;  /* Chrome, Safari 対応 */
    }
  }

  @media (min-width: 768px) {
    display: flex;
    min-width: 1000px;
  }
}

.wdb-service-navigation-wrapper {
  position: relative;
  z-index: 400;

  @media (min-width: 768px) {
    display: flex;
    flex: 1 0 11.25rem;
    border-right: 1px solid #aaa;
  }
}

.wdb-service-navigation {
  @media (min-width: 768px) {
    position: sticky;
    top: 0;
    padding: 0;
    height: 100vh;
    width: 11.25rem;
  }
}

.wdb-service-header {
  display: flex;
  border-bottom: 1px solid var(--service-color-base-second);
  background-color: var(--service-color-base-first);

  &:has(.wdb-is-shown) {
    border-color: var(--service-color-base-third);

    & .wdb-service-header__buttons,
    & .wdb-service-header__menu-text {
      display: none;
    }

    & .wdb-service-header__item {
      &:last-child {
        padding-inline: calc(var(--unit) * 5);
      }
    }
  }

  @media (min-width: 768px) {
    border-bottom: none;
  }
}

.wdb-service-header__item {
  display: flex;
  align-items: center;
  margin-inline: auto;
  padding: calc(var(--unit) * 2);
  width: 100%;
  font-size: 9px;
  line-height: 1.4;

  &:first-child {
    padding-right: calc((var(--unit) * 3) / 2);

    @media (min-width: 768px) {
      display: block;
      padding: 24px 0 0;
    }
  }

  &:last-child {
    justify-content: center;
    width: fit-content;
    padding-left: calc((var(--unit) * 3) / 2);

    @media (min-width: 768px) {
      display: none;
    }
  }
}

.wdb-service-header-logo {
  margin-right: auto;

  @media (min-width: 768px) {
    display: block;
    width: 100%;
    min-width: auto;
    text-align: center;
  }
}

.wdb-service-header-logo__image {
  display: block;
  height: auto;
  padding-block: calc(var(--unit) * .75);

  @media (min-width: 768px) {
    padding-block: 0;
    margin: auto;
    width: 84px;
  }
}

.wdb-service-header__buttons {
  display: flex;
  align-items: center;

  @media (min-width: 768px) {
    display: none;
  }
}

.wdb-service-header__button {
  margin-left: calc(var(--unit) * 3);
  min-width: 36px;
  color: var(--service-color-base-fourth);
  font-weight: bold;
  text-align: center;

  &.wdb-is-shown {
    min-width: inherit;
    background-color: var(--service-color-base-first);

    & .wdb-service-header__menu-icon {
      display: none;
      position: relative;

      &.wdb-service-header__menu-icon--close {
        display: block;
        height: 100%;
        height: 21px;
        width: 21px;

        &::after,
        &::before {
          content: "";
          position: absolute;
          left: 50%;
          top: 50%;
          width: 28px;
          height: 2px;
          background-color: var(--service-color-base-third);
          transform-origin: center;
        }

        &::after {
          transform: translate(-50%, -50%) rotate(45deg);
        }

        &::before {
          transform: translate(-50%, -50%) rotate(-45deg);
        }
      }
    }
  }

  &:first-child {
    margin-left: 0;
  }
}

.wdb-service-header__menu-icon {
  display: inline-block;
  margin-bottom: .25rem;

  &.wdb-service-header__menu-icon--close {
    display: none;
    margin-bottom: 0;
    width: 16px;
  }
}

.wdb-service-footer {
  padding: 1rem .5rem 1.25rem;
  border: 1px solid var(--service-color-base-fifth);
}

.wdb-service-footer__contact {
  margin-inline: auto;
  margin-bottom: 1rem;
  width: 50%;

  @media (min-width: 768px) {
    display: none;
  }
}

.wdb-service-footer-links {
  display: flex;
  column-gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-top: 1rem;

  @media (min-width: 768px) {
    justify-content: center;
  }
}

.wdb-service-footer-links__item {
  font-size: .75rem;
  line-height: 1;

  & > * {
    display: block;
    margin-block: .25rem;
    color: var(--service-color-base-sixth);

    &:hover {
      text-decoration: underline;
    }
  }

  &:not(:last-child) {
    & > * {
      border-right: 1px solid var(--service-color-base-sixth);
      padding-right: .5rem;
    }
  }
}

.wdb-service-footer__copyright {
  font-size: .75rem;
  text-align: center;
}

.wdb-service-sp-fixed-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--service-color-base-fifth);
  padding: .5rem 1.5rem;
  background-color: var(--service-color-base-first);
  z-index: 98;

  @media (min-width: 768px) {
    display: none;
  }

  &.wdb-service-sp-fixed-footer--with-chat-button {
    display: flex;
    align-items: flex-end;
    gap: .5rem;

    & .wdb-service-sp-fixed-footer__register-button {
      flex: 1 1 auto;
    }

    & .wdb-service-sp-fixed-footer__chat-button {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: .25rem;
      padding-block: .375rem;
    }

    & .wdb-service-sp-fixed-footer__chat-button-text {
      display: inline-block;
      padding-block: .25rem;
      color: var(--service-color-main-second);
      font-size: 10px;
      line-height: 1.2;
    }

    @media (min-width: 768px) {
      display: none;
    }
  }
}

.wdb-service-sp-fixed-footer__text {
  font-size: .8125rem;
  font-weight: bold;
  margin-bottom: 0;
  text-align: center;
}



.wdb-service-menu-wrapper {
  @media (min-width: 768px) {
    margin-top: 1.5rem;
    padding: 0 .5rem;
  }
}

.wdb-service-menu {
  position: relative;
  top: 0;

  &.wdb-is-shown {
    overflow: visible;

    & .wdb-service-menu__sp {
      display: block;
    }
  }
}

.wdb-service-menu__pc {
  display: none;

  @media (min-width: 768px) {
    display: block;
  }
}

.wdb-service-menu-pc-main {
  @media (min-width: 768px) {
    position: relative;
    padding: 0.25rem 0.5rem 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;

    &:not(.wdb-service-menu-pc-main--arrow) {
      &:hover {
        text-decoration: underline;
      }
    }

    & > * {
      display: block;
    }

    &.wdb-service-menu-pc-main--arrow {
      &::after {
        content: "";
        position: absolute;
        top: calc(50% - 1px);
        right: 0.2rem;
        border: 1px solid var(--service-color-main-first);
        border-left: 0;
        border-top: 0;
        height: 0.4rem;
        width: 0.4rem;
        transform: translate(0, -50%) rotate(-135deg);
      }

      &.collapsed {
        &::after {
          top: calc(50% - 3px);
          transform: translate(0, -50%) rotate(45deg);
        }
      }
    }
  }
}

.wdb-service-menu-pc-main__heading {
  color: var(--service-color-base-fourth);
  font-weight: bold;
}

.wdb-service-menu-pc-main__badge {
  margin-left: .25rem;
}

.wdb-service-badge {
  display: inline-block;
  border-radius: 100vmax;
  text-align: center;
  line-height: 1.2;

  &.wdb-service-badge--first {
    padding: 2px 5px;
    background-color: #ff4141;
    color: #fff;
    font-size: 10px;
  }
}

.wdb-service-menu-pc-main-submenu {
  @media (min-width: 768px) {
    margin-inline: -.5rem;
    background-color: #eff4f7;
    font-size: 12px;

    & > * {
      &:hover {
        text-decoration: underline;
      }
    }

    &.collapsing { position: relative; height: 0; overflow: hidden; transition: height 0.35s ease; }

    &.collapse:not(.show) {
      display: none;
    }
  }
}

.wdb-service-menu-pc-main-submenu__item {
  @media (min-width: 768px) {
    padding-right: .5rem;
    padding-bottom: .25rem;
    padding-left: 1.5rem;

    & > * {
      display: block;
      color: #295cba !important;
    }

    &:first-child {
      padding-top: 1rem;
    }

    &:last-child {
      padding-bottom: 1rem;
    }
  }
}

.wdb-service-menu-pc__buttons {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  margin: .5rem .5rem 1rem;
  padding-block: 1rem;
}

.wdb-service-menu-pc__contact {
  margin: 0 .5rem 1rem;
}

.wdb-service-menu-pc-links {
  margin-inline: .5rem;

  & > * + * {
    margin-top: .25rem;
  }
}

.wdb-service-menu-pc-links__item {
  display: block;
  color: var(--service-color-base-fourth);
  font-size: .75rem;
}

.wdb-service-menu-pc__bottom {
  margin-top: .5rem;
  padding-inline: .5rem;
}

.wdb-service-menu__sp {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: fit-content;
  min-height: 100vh;
  width: 100%;
  background-color: var(--service-color-base-first);
  z-index: 800;
}

.wdb-service-menu-sp-list {
  margin-bottom: calc(var(--unit) * 4);
}

.wdb-service-menu-sp-list__item {
  display: block;
  position: relative;
  border-bottom: 1px solid var(--service-color-base-third);
  padding: calc(var(--unit) * 3) calc(var(--unit) * 8) calc(var(--unit) * 3) calc(var(--unit) * 5);
  color: var(--service-color-base-third);
  font-size: 16px;
  font-weight: bold;

  &::after {
      content: '';
      position: absolute;
      top: 50%;
      right: calc(var(--unit) * 5);
      width: 8px;
      height: 8px;
      transform: translate(0, -50%) rotate(45deg);
      border: 2px solid var(--service-color-main-first);
      border-left: 0;
      border-bottom: 0;
    }
}

.wdb-service-menu-sp__bottom {
  padding-inline: calc(var(--unit) * 5);
}

.wdb-service-menu-sp__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: calc(var(--unit) * 3);
  margin-bottom: calc(var(--unit) * 4);
}

.wdb-service-menu-sp-links {
  display: flex;
  flex-wrap: wrap;
}

.wdb-service-menu-sp-links__item {
  margin: 0.25rem 0.5rem 0.75rem 0;
  padding-right: 0.5rem;
  line-height: 1.2;

  &:not(:last-child) {
    border-right: 1px solid var(--service-color-base-third);
  }
}

.wdb-service-anchor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border: 1px solid var(--service-color-base-third);
  border-radius: .25rem;
  background-color: var(--service-color-base-first);

  &.wdb-service-anchor--style-change-first {
    display: flex;

    & .wdb-service-anchor__item {
        border: none;
        padding-block: 1rem;
        width: 100%;

        &:not(:last-child) {
          border-right: 1px solid var(--service-color-base-third);
        }
    }
  }

  &.wdb-service-anchor--pc-style-change-first {
    @media (min-width: 768px) {
      display: flex;

      & .wdb-service-anchor__item {
        border: none;
        padding-block: 2rem;
        width: 100%;

        &:not(:last-child) {
          border-right: 1px solid var(--service-color-base-third);
        }
      }
    }
  }
}

.wdb-service-anchor__item {
  padding: .282rem 1rem;
  color: var(--service-color-base-fourth);
  text-align: center;

  &:nth-child(odd) {
    border-right: 1px solid var(--service-color-base-third);
  }

  &:not(:nth-child(-n+2)) {
    border-top: 1px solid var(--service-color-base-third);
  }

  &.wdb-service-anchor__item--small {
    font-size: 12px;
  }
}


.wdb-service-button {
  display: block;
  border-radius: 100vmax;
  padding: .282rem .75rem;
  font-size: .9375rem;
  line-height: 1.8;
  text-align: center;
  box-shadow: 0 .1rem .4rem rgba(0, 0, 0, .1);

  &.wdb-service-button--first {
    border: 1px solid transparent;
    background-color: var(--service-color-accent-first);
    color: var(--service-color-base-first);
  }

  &.wdb-service-button--second {
    border: 1px solid var(--service-color-main-second);
    background-color: var(--service-color-base-first);
    color: var(--service-color-main-second);
  }

  &.wdb-service-button--third {
    border: 1px solid var(--service-color-main-third);
    background-color: var(--service-color-main-third);
    color: var(--service-color-main-second);
  }

  &.wdb-service-button--fourth {
    border: 1px solid transparent;
    background-color: var(--service-color-main-second);
    color: var(--service-color-base-first);
  }

  &.wdb-service-button--size-change-first {
    padding: .5rem;
    font-size: .82031rem;
  }

  &.wdb-service-button--size-change-second {
    padding: .219rem .5rem;
    font-size: .82031rem;
  }

  &.wdb-service-button--size-change-third {
    padding-block: .5rem;
  }
}

.wdb-service-arrow-button {
  display: block;
  position: relative;
  border: 1px solid var(--service-color-base-third);
  border-radius: .25rem;
  padding: .282rem 2rem .282rem 1rem;
  background-color: var(--service-color-base-first);
  color: var(--service-color-base-fourth);

  &::after {
      content: '';
      position: absolute;
      top: 50%;
      right: 1rem;
      width: 8px;
      height: 8px;
      transform: translate(0, -50%) rotate(45deg);
      border: 2px solid var(--service-color-main-first);
      border-left: 0;
      border-bottom: 0;
    }

    @media (min-width: 768px) {
      width: 18.75rem;
    }

  &.wdb-service-arrow-button--size-change-first {
    padding-block: 1rem;

    @media (min-width: 768px) {
      width: 100%;
    }

    &:has(img) {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-weight: bold;
    }
  }

  &.wdb-service-arrow-button--size-change-second {
    padding-block: .75rem;

    @media (min-width: 768px) {
      width: 100%;
    }
  }
}

.wdb-service-sp-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.5); }

.wdb-service-sp-menu-overlay.wdb-is-shown { display: block; z-index: 99; }

.wdb-service-display-none {
  display: none;
}

.wdb-service-sp-display-none {
  display: none;

  @media (min-width: 768px) {
    display: block;
  }

  &.wdb-service-sp-display-none--inline-block {
    @media (min-width: 768px) {
    display: inline-block;
  }
  }
}

.wdb-service-tab-pc-display-none {
  display: block;

  @media (min-width: 576px) {
    display: none;
  }
}

.wdb-service-pc-display-none {
  display: block;

  @media (min-width: 768px) {
    display: none;
  }
}

.wdb-service-background {
  background-color: var(--service-color-base-seventh);

  &.wdb-service-background--important {
    background-color: var(--service-color-base-seventh) !important;
  }

  &.wdb-service-background--pc-padding-first {
    padding-block: 3rem;
  }

  &.wdb-service-background--color-first {
    background-color: var(--service-color-main-first);
  }
}

.wdb-service-image {
  height: auto;
  max-width: 100%;
}

.wdb-service-heading {
  font-weight: bold;
  margin-bottom: 1rem;

  &.wdb-service-heading--first {
    font-size: 20px;

    @media (min-width: 768px) {
      font-size: 24px;
    }
  }

  &.wdb-service-heading--second {
    font-size: 24px;

    @media (min-width: 768px) {
      font-size: 28px;
    }
  }

  &.wdb-service-heading--third {
    font-size: 18px;

    @media (min-width: 768px) {
      font-size: 20px;
    }
  }

  &.wdb-service-heading--fourth {
    font-size: 16px;

    @media (min-width: 768px) {
      font-size: 18px;
    }
  }

  &.wdb-service-heading--margin-change-first {
    margin-bottom: 0;
  }

  &.wdb-service-heading--margin-change-second {
    margin-bottom: .5rem;
  }

  &.wdb-service-heading--margin-change-third {
    margin-bottom: .25rem;
  }

  &.wdb-service-heading--sp-center {
    text-align: center;

    @media (min-width: 768px) {
      text-align: left;
    }
  }

  &.wdb-service-heading--center {
    text-align: center;
  }
}

.wdb-service-heading__top {
  color: var(--service-color-main-first);
  font-size: 15px;
}

.wdb-service-index-card__item {
  &:not(:last-of-type) {
    margin-bottom: 3rem;
  }

  & .wdb-service-heading {
    margin-bottom: 1rem;
  }

  @media (min-width: 768px) {
    display: flex;
    justify-content: space-between;
  }
}


.wdb-service-index-card__image,
.wdb-service-index-card__description {
  margin-bottom: 1.5rem;
}

.wdb-service-index-card__image {
  text-align: center;

  @media (min-width: 768px) {
    margin-bottom: 0;
    width: 350px;
  }
}

.wdb-service-index-card-text-wrapper {
  @media (min-width: 768px) {
    width: 480px;
  }
}

.wdb-service-index-card__button {
  @media (min-width: 768px) {
    width: 60%;
  }
}

.wdb-service-caution {
  font-size: 12px;
}

.wdb-service-accordion {
  border: 1px solid var(--service-color-base-third);
  border-radius: .25rem;
}

.wdb-service-accordion__heading {
  position: relative;
  padding: .282rem 2rem .282rem 1rem;
  background-color: var(--service-color-base-seventh);

  &:first-child {
    border-radius: .25rem .25rem 0 0;
  }

  &:not(:has(~ .wdb-service-accordion__heading)) {
    border-radius: 0 0 .25rem .25rem;
  }

  &:not(:first-child) {
    border-top: 1px solid var(--service-color-base-third);
  }

  &.collapsed {
    background-color: var(--service-color-base-first);
  }

  &:not(.collapsed) {
    font-weight: bold;
  }

  &::after {
        content: "";
        position: absolute;
        top: calc(50% - 1px);
        right: 1rem;
        border: 2px solid var(--service-color-main-first);
        border-left: 0;
        border-top: 0;
        height: .5rem;
        width: .5rem;
        transform: translate(0, -50%) rotate(-135deg);
      }

      &.collapsed {
        &::after {
          top: calc(50% - 3px);
          transform: translate(0, -50%) rotate(45deg);
        }
      }

  @media (min-width: 768px) {
    padding-block: 1rem;
  }
}

.wdb-service-accordion__faq-icon {
  display: flex;
  flex-direction: column;
  padding-top: .25rem;
}

.wdb-service-accordion__faq-content-wrapper {
  display: flex;
  gap: .5rem;
}

.wdb-service-accordion__item {
  background-color: var(--service-color-base-first);

  & > * {
    padding: 1rem;
  }

  &:last-child {
    border-radius: 0 0 .25rem .25rem;
  }

  &.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }

  &.collapse:not(.show) {
    display: none;
  }
}

.wdb-service-foot-nav-wrapper {
  padding: 2.5rem .5rem;
  background-color: var(--service-color-base-first);

  @media (min-width: 768px) {
    padding-inline: calc((100% - 976px + 1rem) / 2);
    background-color: var(--service-color-base-seventh);
  }
}

.wdb-service-foot-nav {
  border: 1px solid var(--service-color-base-third);
  border-radius: .25rem;

  @media (min-width: 768px) {
    border: none;
  }
}

.wdb-service-foot-nav__item {
  display: block;
  position: relative;
  padding: .282rem 2rem .282rem 1rem;
  width: 100%;
  background-color: var(--service-color-base-first);
  color: var(--service-color-base-fourth);

  &.wdb-service-foot-nav__item--heading {
    border-radius: .25rem .25rem 0 0;
    background-color: var(--service-color-base-seventh);
    color: #000;
    font-size: 18px;
    font-weight: bold;

    @media (min-width: 768px) {
      padding-block: 0;
      padding-left: 0;
      width: fit-content;
      color: var(--service-color-main-first);
    }
  }

  &::after {
      content: '';
      position: absolute;
      top: 50%;
      right: 1rem;
      width: .5rem;
      height: .5rem;
      transform: translate(0, -50%) rotate(45deg);
      border: 2px solid #001752;
      border-left: 0;
      border-bottom: 0;
    }
}

.wdb-service-foot-nav-main {
  display: flex;
  flex-wrap: wrap;

  & .wdb-service-foot-nav__item {
    border-top: 1px solid var(--service-color-base-third);

    &:last-child {
      border-radius: 0 0 .25rem .25rem;
    }

    @media (min-width: 768px) {
      border: 1px solid var(--service-color-base-third);
      border-radius: .25rem;
      margin-top: 1rem;
      width: calc((100% - 4rem) / 3);

      &:not(:nth-child(3n)) {
        margin-right: 2rem;
      }

      &:last-child {
        border-radius: .25rem;
      }
    }
  }
}

.wdb-service-list-disc {
  padding-left: 1.8rem;
  list-style-type: disc;
}

.wdb-service-article-wrapper {
  @media (min-width: 768px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    & .wdb-service-article {
      &:nth-child(odd) {
        border-right: none;
      }

      &:nth-last-child(2) {
        border-bottom: 1px solid var(--service-color-base-third);
      }
    }
  }
}

.wdb-service-article {
  border-top: 1px solid var(--service-color-base-third);
  border-right: 1px solid var(--service-color-base-third);
  border-left: 1px solid var(--service-color-base-third);
  padding: 1rem;

  & > * + * {
    margin-top: 1rem;
  }

  &:not(:has(~ .wdb-service-article)) {
    border-bottom: 1px solid var(--service-color-base-third);
  }

  &.wdb-service-article--color-change-first {
    border: none;
    background-color: var(--service-color-base-seventh);
  }
}

.wdb-service-article__heading {
  &:has(.wdb-service-article__heading-image) {
    display: flex;
    gap: 1rem;
  }

  &.wdb-service-article__heading--center {
    text-align: center;

    @media (min-width: 768px) {
      text-align: left;
    }
  }
}

.wdb-service-article__image {
  margin-inline: auto;
  width: fit-content;
  max-width: 50%;
}

.wdb-service-text-link-margin-adjust {
  margin-top: .5rem;

  &:not(:last-child) {
    margin-bottom: .5rem;
  }
}

.wdb-service-line-index {
  display: flex;
  align-items: stretch;
  margin-bottom: 1rem;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;

  &::before {
    content: "";
    display: block;
    border-radius: .1875rem;
    width: .25rem;
    min-width: .25rem;
    margin-right: .375rem;
    background-color: var(--service-color-main-first);
  }

  @media (min-width: 768px) {
    font-size: 28px;
  }

  &.wdb-service-line-index--first {
    font-size: 18px;

    @media (min-width: 768px) {
      font-size: 20px;
    }
  }
}

.wdb-service-tag {
  border: 1px solid var(--service-color-main-first);
  border-radius: .25rem;
  padding: .1875rem .375rem;
  width: fit-content;
  color: var(--service-color-main-first);
  font-size: 12px;

  @media (min-width: 768px) {
    padding: .5rem .75rem;
    font-size: 15px;
    line-height: 1;
  }
}

.wdb-service-movie {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid var(--service-color-base-fourth);
  position: relative;
  margin-inline: auto;
  padding: 1.5rem 1rem 4rem;
  max-width: 30rem;

  &:not(:first-child) {
    margin-top: 1rem;
  }

  &:not(:last-child) {
    margin-bottom: 1rem;
  }

  &:hover {
    opacity: .7;
  }
}

.wdb-service-movie__title {
  color: var(--service-color-base-fourth);
  font-size: 20px;
  font-weight: bold;
}

.wdb-service-movie__time {
  position: absolute;
  right: .625rem;
  bottom: .625rem;
  border-radius: 100vmax;
  padding: .25rem .75rem;
  background-color: var(--service-color-main-first);
  color: var(--service-color-base-first);
  font-feature-settings: "palt";
  font-size: 12px;
  line-height: 1.2;
}




.wdb-service-border-color-change {
  border-color: var(--service-color-base-third);

  &.wdb-service-border-color-change--important {
    border-color: var(--service-color-base-third) !important;
  }
}

.wdb-service-border-color-change-second {
  border-color: var(--service-color-main-first);
}

.wdb-service-active-after-color-change-important {
  &.active {
    &::after {
      background-color: var(--service-color-main-first) !important;
    }
  }
}

.wdb-service-after-text-color-change-important {
  &::after {
    color: var(--service-color-main-first) !important;
  }
}

.wdb-service-active-after-color-change-important-second {
  &.active {
    &::after {
      background-color: var(--service-color-base-seventh) !important;
    }
  }
}

.wdb-service-before-border-color-change-important {
  &::before {
    border-color: var(--service-color-main-first) !important;
  }
}

.wdb-service-after-border-top-color-change-important {
  &::after {
    border-top-color: var(--service-color-base-seventh) !important;
  }
}

.wdb-service-arrow-color-change {
  &::after {
    border-color: var(--service-color-main-first);
  }
}

.wdb-service-arrow-color-change-important {
  &::after {
    border-color: var(--service-color-main-first) !important;
  }
}

.wdb-service-text-color-change {
  color: var(--service-color-base-third);

  &.wdb-service-text-color-change--first {
    color: var(--service-color-main-first);
  }
}
