.mz-header-menu__btn--trial,
.mz-header-menu__btn--cta {
  width: auto;
}

.mz-header-menu__btn--trial {
  padding: 0.75rem 1rem;
}

.mz-header-menu__btn--cta {
  padding: 0.75rem 0.5rem 0.75rem 1rem;
}
[data-page-type=lp] .mz-product-header__logo {
  min-width: auto;
  min-height: auto;
}
[data-page-type=lp] .mz-product-header__tag {
  background: #fff;
  border: 0.8px solid rgba(1, 0, 54, 0.2);
  color: #111111;
}
[data-page-type=lp] .mz-product-header__info {
  gap: 0.1rem;
}
[data-page-type=lp] .mz-product-header__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #111111;
  margin: 0;
}
[data-page-type=lp] .mz-product-header__link {
  font-size: 1rem;
}
[data-page-type=lp] .mz-product-header__link--cta {
  display: none;
}
[data-page-type=lp] .mz-product-header__desc {
  font-weight: 400;
  font-size: 0.6875rem;
  color: #111111;
}

.mz-footer-menu__product-card-cta {
  background: linear-gradient(to right, #0068cb, #00b3ec);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 104, 203, 0.25);
}
.mz-footer-menu__product-card-cta:hover {
  background: linear-gradient(to right, #005bb5, #0094c4);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 179, 236, 0.4);
}

.mz-faq {
  position: relative;
  background: rgba(255, 122, 13, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6.25rem 0;
  overflow: hidden;
}
.mz-faq__decoration {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.mz-faq__decoration--bubble {
  top: 0;
  right: -8rem;
  width: 16rem;
  aspect-ratio: 370/279;
  height: auto;
}
.mz-faq__decoration--lightbulb {
  bottom: 1rem;
  left: -8rem;
  width: 12rem;
  aspect-ratio: 287.07/344.676;
  height: auto;
  transform: rotate(-12.64deg);
  transform-origin: center;
}
.mz-faq__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 58.75rem;
}
.mz-faq__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(1, 0, 54, 0.8);
  text-align: center;
  margin: 0 0 2rem;
}
.mz-faq__cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.mz-faq__card {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  box-shadow: 0.125rem 0.125rem 1rem rgba(0, 0, 221, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mz-faq__card--active .mz-faq__answer {
  opacity: 1;
  margin-top: 1.5rem;
}
.mz-faq__card--active .mz-faq__toggle {
  transform: rotate(180deg);
}
.mz-faq__badge {
  width: 2.5rem;
  min-width: 2.5rem;
  height: 2.5rem;
  min-height: 2.5rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  flex-shrink: 0;
  flex-grow: 0;
  align-self: flex-start;
}
.mz-faq__badge--q {
  background-color: rgba(1, 0, 54, 0.4);
}
.mz-faq__badge--a {
  background-color: #FF7C00;
}
.mz-faq__question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}
.mz-faq__question-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.mz-faq__question-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #010036;
  margin: 0;
  flex: 1;
}
.mz-faq__toggle {
  position: relative;
  width: 2rem;
  height: 1rem;
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mz-faq__toggle::before, .mz-faq__toggle::after {
  content: "";
  position: absolute;
  top: 65%;
  width: 0.75rem;
  height: 1px;
  background-color: rgba(1, 0, 54, 0.4);
  border-radius: 1px;
}
.mz-faq__toggle::before {
  right: 50%;
  transform-origin: 100% 50%;
  transform: rotate(40deg);
}
.mz-faq__toggle::after {
  left: 50%;
  transform-origin: 0% 50%;
  transform: rotate(-40deg);
}
.mz-faq__answer {
  display: block;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}
.mz-faq__answer-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.mz-faq__answer-text {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #010036;
  margin: 0;
}
.mz-faq__answer-text p {
  margin: 0;
}
.mz-faq__answer-text strong {
  font-weight: 700;
}
.mz-faq__disclaimer {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #0b0276;
  text-align: center;
  max-width: 58.75rem;
  margin: 0;
}

.mz-team {
  padding-top: 64px;
  padding-bottom: 96px;
}
.mz-team__head {
  text-align: center;
  margin-bottom: 48px;
}
.mz-team__title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0068cb;
  margin: 0;
}
.mz-team__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.mz-team__item {
  margin: 0;
}
.mz-team__card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mz-team__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 104, 203, 0.25);
}
.mz-team__photo {
  display: block;
  aspect-ratio: 1/1;
  background: #f2f5f8;
}
.mz-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mz-team__body {
  display: block;
  padding: 16px 18px 20px;
}
.mz-team__position {
  display: block;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 6px;
}
.mz-team__name {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}
.mz-team__name-en {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mz-team__empty {
  text-align: center;
  color: #6b7280;
}

.mz-profile {
  padding-top: 64px;
  padding-bottom: 96px;
}
.mz-profile__article {
  max-width: 900px;
  margin: 0 auto;
}
.mz-profile__header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.mz-profile__photo {
  flex: 0 0 280px;
  width: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f5f8;
}
.mz-profile__photo img {
  width: 100%;
  height: auto;
  display: block;
}
.mz-profile__intro {
  flex: 1 1 auto;
  padding-top: 8px;
}
.mz-profile__position {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 8px;
}
.mz-profile__name {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.mz-profile__name-en {
  font-size: 0.95rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 4px 0 0;
}
.mz-profile__nickname {
  font-size: 0.95rem;
  color: #0068cb;
  margin: 12px 0 0;
}
.mz-profile__content {
  margin-top: 48px;
  line-height: 1.9;
}
.mz-profile__content-title {
  font-size: 1.25rem;
  font-weight: 700;
  padding-bottom: 12px;
  margin: 0 0 20px;
  border-bottom: 2px solid #0068cb;
}
.mz-profile__content p {
  margin: 0 0 1.2em;
}
.mz-profile__back {
  margin-top: 56px;
  text-align: center;
}
.mz-profile__back a {
  display: inline-block;
  color: #0068cb;
  text-decoration: none;
  font-weight: 600;
}
.mz-profile__back a:hover {
  text-decoration: underline;
}

.recruit-legacy .inner {
  width: calc(100% - 50px);
  max-width: 1100px;
  margin: auto;
}
.recruit-legacy .mdl-flex {
  display: flex;
  align-items: center;
}
.recruit-legacy .mdl-flex.flex-top {
  align-items: flex-start;
}
.recruit-legacy .main-ttl {
  margin: 125px 0 80px;
  text-align: center;
}
.recruit-legacy .main-ttl-symbol {
  margin-bottom: 12px;
}
.recruit-legacy .main-ttl-symbol img {
  width: 80px;
}
.recruit-legacy .ttl-large {
  font-weight: bold;
  font-size: 64px;
  line-height: 76px;
}
.recruit-legacy .ttl-large img {
  height: 66px;
  display: block;
  margin: auto;
}
.recruit-legacy .ttl-table {
  margin-bottom: 25px;
}
.recruit-legacy .ttl-middle {
  font-weight: bold;
  font-size: 52px;
  line-height: 64px;
}
.recruit-legacy .ttl-middle img {
  height: 58px;
  display: block;
}
.recruit-legacy .ttl-txt {
  font-weight: bold;
  font-family: "Noto Sans JP";
  font-size: 16px;
  line-height: 26px;
}
.recruit-legacy .ttl-min-jp {
  font-weight: bold;
  font-family: "Noto Sans JP";
  font-size: 24px;
  line-height: 36px;
}
.recruit-legacy .small-txt-gray {
  font-size: 12px;
  line-height: 18px;
  color: #676767;
}
.recruit-legacy .mdl-3col-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 42px;
}
.recruit-legacy .member-list {
  display: inline-block;
  width: calc((99.9% - 120px) / 3);
  margin: 54px 0 0 40px;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.recruit-legacy .mdl-3col-img {
  margin-bottom: 12px;
}
.recruit-legacy .mdl-3col-img img {
  object-fit: cover;
  object-position: top center;
}
.recruit-legacy .mdl-team-nameimg {
  display: inline-block;
  writing-mode: vertical-rl;
  font-family: "Gotham", "Noto Sans JP", "Yu Gothic Medium", YuGothic, sans-serif;
  font-weight: bold;
  font-size: 14px;
  padding-right: 8px;
  line-height: 16px;
}
.recruit-legacy img.mdl-team-faceimg {
  width: calc(100% - 24px);
  height: auto;
}
.recruit-legacy .mdl-nametag {
  margin-left: 24px;
}
.recruit-legacy .article {
  margin: 64px 0;
  flex-wrap: wrap;
}
.recruit-legacy .article-prev,
.recruit-legacy .article-next {
  display: flex;
  align-items: center;
}
.recruit-legacy .article-prev {
  width: calc(50% + 1px);
  border-right: 1px solid #707070;
  text-align: right;
}
.recruit-legacy .article-next {
  width: calc(50% - 2px);
  text-align: left;
}
.recruit-legacy .footer-link .article-prev a,
.recruit-legacy .footer-link .article-next a {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  display: block;
  text-align: left;
  font-size: 20px;
  line-height: 1.6;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
.recruit-legacy .footer-link .article-prev a::after,
.recruit-legacy .footer-link .article-next a::after {
  content: "";
  position: absolute;
  background: url("https://corp-site.mazrica.com/assets/images/common/txt_link.png") no-repeat center left;
  background-size: 81px 34px;
  width: 81px;
  height: 34px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.recruit-legacy .footer-link .article-prev a {
  padding: 25px 90px 25px 0;
  margin-right: 40px;
}
.recruit-legacy .footer-link .article-next a {
  padding: 25px 90px 25px 60px;
}
.recruit-legacy .conversion-area {
  background: #eef5fb;
  padding: 80px 0;
}
.recruit-legacy .conversion-btn-wrap {
  max-width: 1027px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}
.recruit-legacy .conversion-btn-txt {
  text-align: center;
  margin-bottom: 28px;
}
.recruit-legacy .btn {
  font-size: 20px;
  width: 280px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  position: relative;
  text-decoration: none;
}
.recruit-legacy .btn.black {
  background-color: #333;
  color: #fff;
}
.recruit-legacy .btn.orange {
  background-color: #ff5c00;
  color: #fff;
}
.recruit-legacy .btn-long {
  font-size: 20px;
  width: 430px;
  height: 80px;
  line-height: 80px;
  max-width: 100%;
}
.recruit-legacy .tme-member-item-inner.member {
  cursor: pointer;
}
.recruit-legacy .tme-member-item-inner.member:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.recruit-legacy .tme-modal-wrapper.modal {
  display: grid;
  place-items: center center;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.recruit-legacy .tme-modal-wrapper.modal.active {
  opacity: 1;
  visibility: visible;
}
.recruit-legacy .tme-modal-content {
  position: relative;
  display: block;
  width: 1000px;
  max-width: calc(100% - 50px);
  box-sizing: border-box;
  z-index: 12;
}
.recruit-legacy .modal-sp-scroll {
  max-height: calc(100vh - 50px);
  overflow-y: auto;
}
.recruit-legacy .modal-sp-scroll::-webkit-scrollbar {
  display: none;
}
.recruit-legacy .modal-team-box {
  background: #fff;
  padding: 40px 40px 0;
  box-sizing: border-box;
}
.recruit-legacy .modal-team-img {
  width: 500px;
  margin: 0 0 -40px 0;
  position: relative;
}
.recruit-legacy .modal-team-img img {
  display: block;
  width: 100%;
}
.recruit-legacy .modal-team-people {
  width: calc(100% - 500px);
  padding-left: 40px;
  box-sizing: border-box;
}
.recruit-legacy .modal-team-post {
  font-size: 14px;
  color: #6e6e6e;
  margin-bottom: 12px;
  line-height: 1.5;
}
.recruit-legacy .modal-team-name {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}
.recruit-legacy .modal-team-nameeg {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}
.recruit-legacy .modal-team-bottom-box {
  background: #6e6e6e;
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  padding: 90px 40px 72px;
}
.recruit-legacy .modal-team-bottom-box p + p {
  margin-top: 24px;
}
.recruit-legacy .modal-close.button-link {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 13;
}
.recruit-legacy .modal-close.button-link::before, .recruit-legacy .modal-close.button-link::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 5px;
  right: -5px;
  background: #333333;
}
.recruit-legacy .modal-close.button-link::before {
  top: 4px;
  transform: translateY(7px) rotate(-315deg);
}
.recruit-legacy .modal-close.button-link::after {
  top: 18px;
  transform: translateY(-7px) rotate(315deg);
}

@media only screen and (max-width: 1380px) {
  .mz-faq__title {
    font-size: 2.25rem;
  }
}

@media only screen and (max-width: 1279px) {
  .mz-faq {
    padding: 5rem 0;
  }
  .mz-faq__decoration--bubble {
    right: -6rem;
    width: 13rem;
  }
  .mz-faq__decoration--lightbulb {
    left: -6rem;
    width: 10rem;
  }
  .mz-faq__inner {
    max-width: 100%;
    padding: 0 3rem;
    box-sizing: border-box;
    gap: 2rem;
  }
  .mz-faq__title {
    font-size: 2rem;
  }
  .mz-faq__card {
    padding: 1.5rem;
  }
  .mz-faq__disclaimer {
    width: 100%;
  }
  .mz-team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 1023px) {
  .mz-faq {
    padding: 4rem 0;
  }
  .mz-faq__decoration--bubble {
    right: -3rem;
    width: 10rem;
  }
  .mz-faq__decoration--lightbulb {
    left: -3rem;
    width: 8rem;
  }
  .mz-faq__inner {
    padding: 0 2rem;
  }
  .mz-faq__title {
    font-size: 1.75rem;
  }
  .mz-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

@media only screen and (max-width: 768px) {
  .recruit-legacy .main-ttl-symbol {
    margin-bottom: 0;
  }
  .recruit-legacy .main-ttl-symbol img {
    width: 50px;
  }
  .recruit-legacy .ttl-large {
    font-size: 48px;
    line-height: 66px;
  }
  .recruit-legacy .ttl-large img {
    height: 40px;
  }
  .recruit-legacy .ttl-middle {
    font-size: 36px;
  }
  .recruit-legacy .ttl-middle img {
    height: 50px;
  }
  .recruit-legacy .ttl-txt {
    font-size: 14px;
  }
  .recruit-legacy .small-txt-gray {
    font-size: 10px;
    line-height: 22px;
  }
  .recruit-legacy .mdl-3col-list {
    margin-top: 24px;
  }
  .recruit-legacy .member-list {
    width: 100%;
    margin: 36px 0 0 0;
  }
  .recruit-legacy .mdl-3col-img img {
    width: 100%;
  }
  .recruit-legacy .article-prev {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #707070;
  }
  .recruit-legacy .article-next {
    width: 100%;
  }
  .recruit-legacy .footer-link .article-prev a,
  .recruit-legacy .footer-link .article-next a {
    font-size: 16px;
    padding: 25px 60px 25px 0;
    margin-right: 0;
  }
  .recruit-legacy .footer-link .article-prev a::after,
  .recruit-legacy .footer-link .article-next a::after {
    background-size: 54px 22px;
    width: 54px;
    height: 22px;
  }
  .recruit-legacy .footer-link .article-prev a {
    padding: 25px 60px 25px 0;
    margin-right: 0;
  }
  .recruit-legacy .footer-link .article-next a {
    padding: 25px 60px 25px 0;
  }
  .recruit-legacy .conversion-area {
    padding: 40px 25px;
  }
  .recruit-legacy .conversion-btn-wrap {
    display: block;
  }
  .recruit-legacy .conversion-btn-txt {
    margin-bottom: 8px;
  }
  .recruit-legacy .conversion-col2 {
    margin-top: 20px;
  }
  .recruit-legacy .tme-modal-content {
    width: calc(100% - 40px);
  }
  .recruit-legacy .modal-team-box {
    display: block;
    padding: 20px 20px 40px;
  }
  .recruit-legacy .modal-team-img {
    width: 100%;
    margin: 0;
  }
  .recruit-legacy .modal-team-people {
    width: 100%;
    padding-left: 0;
    margin-top: 22px;
  }
  .recruit-legacy .modal-team-bottom-box {
    padding: 20px 20px 40px;
  }
  .recruit-legacy .modal-close.button-link {
    top: 10px;
    right: 10px;
  }
}

@media only screen and (max-width: 767px) {
  [data-page-type=lp] .mz-product-header {
    display: flex;
  }
  [data-page-type=lp] .mz-product-header__logo img {
    height: 2.25rem;
  }
  [data-page-type=lp] .mz-product-header__link--cta {
    display: flex;
  }
  .mz-faq {
    padding: 3rem 0;
  }
  .mz-faq__decoration {
    display: none;
  }
  .mz-faq__inner {
    padding: 0 1rem;
    gap: 2rem;
  }
  .mz-faq__title {
    font-size: 1.5rem;
  }
  .mz-faq__card {
    padding: 1.25rem;
    border-radius: 0.75rem;
  }
  .mz-faq__card--active .mz-faq__answer {
    margin-top: 1rem;
  }
  .mz-faq__badge {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    min-height: 2rem;
    font-size: 1.25rem;
  }
  .mz-faq__question-text {
    font-size: 0.9375rem;
  }
  .mz-faq__answer-text {
    font-size: 0.9375rem;
  }
  .mz-team__title {
    font-size: 1.75rem;
  }
  .mz-profile__header {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
  }
  .mz-profile__photo {
    flex-basis: auto;
    width: 100%;
    max-width: 320px;
  }
  .mz-profile__name {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 480px) {
  .mz-team__grid {
    grid-template-columns: 1fr;
  }
}
