body {
  font-family: "Noto Sans JP", sans-serif;
}

/* Header全体のスタイル */
.header-wrapper {
  background-color: #ffffff;
  color: #000000;
  padding: 36px 48px;
  box-sizing: border-box;
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 左側のロゴとタイトル */
.header-left {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 41px;
  margin-right: 30px;
}

.header-title {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.8px;
}

/* 右側のハンバーガーメニュー */
.header-menu {
  display: none;
}

.header-menuTrigger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-menuIconLine {
  width: 43px;
  height: 1px;
  background-color: #000000;
  margin-bottom: 5px;
  display: inline-block;
}

.header-menuIconLine:nth-child(3) {
  width: 21px;
  margin-left: auto;
}

.header-menuText {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 10px;
  color: #000000;
}

/* メニューオーバーレイ */
.header-menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #222222;
  color: #ffffff;
  display: none;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s, display 0.3s allow-discrete;
  overflow-y: auto;
}
@starting-style {
  .header-menuOverlay {
    opacity: 0;
  }
}
.header-menuOverlay:not(.active) {
  opacity: 0;
}
.header-menuOverlay.active {
  display: flex;
}

.header-menuContent {
  position: relative;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.header-menuClose {
  position: absolute;
  width: 55px;
  height: 55px;
  top: 16px;
  right: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-menuIconLineClose {
  position: absolute;
  width: 20px;
  height: 1px;
  background-color: #000000;
  top: calc(50% - 7px);
  left: calc(50% - 10px);
  transform-origin: center;
}

.header-menuIconLineClose:first-child {
  transform: rotate(45deg);
}

.header-menuIconLineClose:nth-child(2) {
  transform: rotate(-45deg);
}

.header-closeText {
  margin-top: 35px;
  font-size: 12px;
  color: #000000;
}

/* ハンバーガーメニュー ページ内ジャンプ */
.header-menuList-inPageJump {
  padding-right: 10px;
  padding-left: 20px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.header-menuList-inPageJump-item {
  font-size: 18px;
  font-weight: 700;
  color: #888888;
  line-height: 1;
  padding: 23px 0 23px;
}

/* ハンバーガーメニュー ページ外ジャンプ */
.header-menuList-outPageJump {
  padding: 0 20px;
  margin-top: 27px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.header-menuList-outPageJump-item {
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 25px;
}

.header-menuList-outPageJump-item::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  margin-top: 8px;
  border-right: 1px solid #fff;
  border-top: 1px solid #fff;
  transform: rotate(45deg);
}

.header-menuList-outPageJump-item:last-child {
  margin-bottom: 0;
}

/* ハンバーガーメニュー SNSジャンプ */
.header-menuList-snsJump {
  padding: 0 20px 50px;
  margin-top: 72px;
  display: flex;
  text-align: left;
}

/* HeaderのSP用スタイル */
@media (max-width: 768px) {
  .header-wrapper {
    padding: 20px 16px;
  }

  .header-logo {
    width: 44px;
    height: 27px;
    margin-right: 10px;
  }

  .header-title {
    font-size: 16px;
  }

  .header-menu {
    display: block;
  }

  .header-menuContent {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
}

/* ForTop全体のスタイル */
.forTop-wrapper {
  background-color: #f5f5f5;
  color: #000000;
  padding: 0 0 90px;
}
.forTop-container {
  text-align: right;
  max-width: 1000px;
  margin: 0 auto;
}

.forTop-button {
  font-size: 12px;
  font-weight: 700;
  color: #222222;
  padding-bottom: 5px;
  border-bottom: 5px solid #696969;
  cursor: pointer;
}

.forTop-button img {
  margin-right: 5px;
  vertical-align: middle;
}

/* PC表示のスタイル（1000pxまで） */
@media (max-width: 1000px) {
  .forTop-wrapper {
    padding: 0 15px 90px;
  }
}

/* ForTopのSP用スタイル */
@media (max-width: 768px) {
  .forTop-wrapper {
    padding: 0 15px 45px;
  }
}

/* Footer全体のスタイル */
.footer-wrapper {
  background-color: #000000;
  color: #ffffff;
  padding: 110px 0 118px;
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  box-sizing: border-box;
}

/* 左側のカラムブロック */
.footer-navRecruit {
  display: flex;
  width: 520px;
  text-align: left;
  justify-content: space-between;
}

/* 右側のカラムブロック */
.footer-navInfo {
  text-align: right;
  justify-content: space-between;
}

.footer-navInfo div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100% - 84px);
}

/* 各ナビゲーションのカラム */
.footer-navColumn {
  flex: 1;
  min-width: 150px;
}

.footer-navColumn h3 {
  margin-top: 0;
  margin-bottom: 50px;
  font-size: 16px;
  font-weight: 700;
}

/* レスポンシブ表示時の改行 */
.footer-navColumn h3 br {
  display: none;
}

.footer-navColumn ul {
  margin: 0;
  padding: 0;
}

.footer-navColumn a {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  color: #7d7d7d;
  font-size: 16px;
  font-weight: 400;
  transition: 0.6s;
}
.footer-navColumn.footer-navInfo {
  display: flex;
  flex-direction: column;
}

.footer-navInfo .footer-additionalInfo {
  display: flex;
  flex-grow: 2;
  flex-direction: column;
  justify-content: space-between;
}

.footer-navColumn a img {
  margin-left: 10px;
  vertical-align: middle;
}

a.footer-snsLink img {
  transition: 0.6s;
  margin-left: 0;
}

/* hover時のスタイル */
.footer-navColumn a:hover {
  color: #ffffff;
}
.footer-snsLink:hover img {
  opacity: 0.6;
}

a.footer-corporateLink {
  color: #ffffff;
  font-weight: 700;
}
.footer-copyright {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}
/* FooterのSP用スタイル */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 左側のカラムブロック */
  .footer-navRecruit {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-navRecruit .footer-navColumn:first-child {
    padding-top: 0;
    border-top: none;
  }

  /* 右側のカラムブロック */
  .footer-navInfo {
    width: 100%;
    text-align: left;
    flex-direction: column;
  }

  .footer-navInfo.footer-navColumn .footer-additionalInfo {
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
    align-items: center;
    margin-top: 80px;
  }

  .footer-navInfo .footer-additionalInfo a {
    width: auto;
  }

  .footer-navInfo.footer-navColumn {
    align-items: flex-end;
  }

  .footer-navInfo.footer-navColumn ul {
    width: 55%;
  }

  /* 各ナビゲーションのカラム */
  .footer-navColumn {
    width: 100%;
    min-width: auto;
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    border-top: 1px solid #aaaaaa;
  }

  .footer-navColumn h3 {
    width: 45%;
    margin-bottom: 0;
  }

  /* レスポンシブ表示時の改行 */
  .footer-navColumn h3 br {
    display: block;
  }

  .footer-navColumn ul {
    width: 55%;
  }

  .footer-navColumn a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* MainVisual全体のスタイル */
.mainVisual-wrapper {
  display: flex;
  align-items: center;
  background-color: #222222;
  width: 100%;
  max-height: 664px;
  height: calc(100vw * 0.52);
}

.mainVisual-wrapper h1 {
  display: flex;
  align-items: center;
  width: 100%;
  height: 425px;
  max-width: 1280px;
  color: #ffffff;
  background-image: url("../images/bg_mainVisual.webp");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 1030px auto;
  text-align: left;
  margin: 0 auto;
}

@media (max-width: 1280px) {
  .mainVisual-wrapper h1 {
    background-size: calc(100vw * 0.8) auto;
  }
  .mainVisual-wrapper h1 img {
    width: calc(100vw * 0.62);
    height: auto;
  }
}
@media (max-width: 768px) {
  .mainVisual-wrapper {
    min-height: 202px;
    height: calc(100vw * 0.54);
  }
}

/* Message全体のスタイル */
.message-wrapper {
  background-color: #ffffff;
  color: #000000;
  padding: 90px 15px;
  text-align: left;
}

.message-container {
  max-width: 1000px;
  margin: 0 auto;
}

.message-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2.8px;
}

.message-heading-image {
  border-bottom: 5px solid #696969;
  width: auto;
  height: auto;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.message-text {
  font-size: 18px;
  line-height: 1.7;
  text-wrap: wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  letter-spacing: 3px;
}

/* Messageのタブレット・小型PC向けスタイル */
@media (max-width: 1000px) {
  .message-wrapper {
    padding: 45px 15px;
  }
  .message-title {
    font-size: 15px;
  }
  .message-heading-image {
    width: 133px;
  }
}
/* MessageのSP用スタイル */
@media (max-width: 768px) {
  .message-text {
    font-size: 14px;
  }
}

/* JobListings全体のスタイル */
.jobListings-wrapper {
  background-color: #f5f5f5;
  color: #000000;
  padding: 90px 15px;
  text-align: left;
}

.jobListings-container {
  max-width: 1000px;
  margin: 0 auto;
}

.jobListings-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2.8px;
}

.jobListings-heading-image {
  border-bottom: 5px solid #696969;
  width: auto;
  height: auto;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.jobListings-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.jobListings-item {
  width: calc(50% - 20px);
  aspect-ratio: 2 / 1;
  background-image: url("../images/bg_jobListings.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2c3e50;
  overflow: hidden;
}

.jobListings-item-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  /* タッチデバイスでのタップ時のハイライトを無効化 */
  -webkit-tap-highlight-color: transparent;
}

/* リンクの疑似要素 (::before): オーバーレイの役割 */
.jobListings-item-link::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
  transition: background-color 0.3s ease;
}

.jobListings-item-link:hover::before {
  background-color: rgba(0, 0, 0, 0.9);
}

.jobListings-item-link::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border: 2px solid #ffffff;
  z-index: 2;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease-in-out;
}

.jobListings-item-link:hover::after {
  transform: scale(1);
  opacity: 1;
}

.jobListings-item-text {
  z-index: 3;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 3px;
}

/* JobListingsのタブレット・小型PC向けスタイル */
@media (max-width: 1000px) {
  .jobListings-heading-image {
    width: 186px;
  }

  .jobListings-item-text {
    font-size: 18px;
  }

  .jobListings-title {
    font-size: 15px;
  }
}

/* JobListingsのSP用スタイル */
@media (max-width: 767px) {
  .jobListings-wrapper {
    padding: 45px 15px 87px;
  }

  .jobListings-content {
    flex-direction: column;
    gap: 30px;
  }

  .jobListings-item {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 172px;
  }
}

/* Flow全体のスタイル */
.flow-wrapper {
  background-color: #ffffff;
  color: #000000;
  padding: 90px 15px;
  text-align: left;
}

.flow-container {
  max-width: 1000px;
  margin: 0 auto;
}

.flow-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2.8px;
}

.flow-heading-image {
  border-bottom: 5px solid #696969;
  height: auto;
  max-height: 68px;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.flow-text {
  font-size: 16px;
  line-height: 1.5;
  text-wrap: wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  letter-spacing: 3px;
}

.flow-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0 0;
  align-items: flex-start; /* 上揃え */
}

.flow-item {
  /* 100% から3つの隙間(60px)を引いて4分割 */
  width: calc((100% - 60px) / 4);
  /* 1:1の正円を維持するテクニック */
  height: 0;
  padding-top: calc((100% - 60px) / 4);
  border: 1px solid #000000;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  background-color: #ffffff;
}

.flow-item-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
}

.flow-item-icon-wrapper {
  height: 50%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.flow-item-icon {
  max-width: 100%;
  max-height: 100%;
}

.flow-item-title {
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
  white-space: normal;
  letter-spacing: 1px;
}

/* Flowのタブレット・小型PC向けスタイル */
@media (max-width: 1000px) {
  .flow-heading-image {
    width: 63px;
  }

  .flow-title {
    font-size: 15px;
  }
}

/* FlowのSP用スタイル */
@media (max-width: 767px) {
  .flow-wrapper {
    padding: 45px 15px;
  }

  .flow-content {
    justify-content: center;
    gap: 30px;
  }
  .flow-item {
    /* スマホでは縦並び、幅を調整 */
    width: 100%;
    max-width: 224px;
    /* 正円の維持方法をスマホ用に変更 (固定サイズに戻す) */
    height: 224px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .flow-item-content-wrapper {
    position: static;
    width: auto;
    height: auto;
  }

  .flow-item-icon-wrapper {
    height: 90px;
    margin-bottom: 10px;
  }

  .flow-item-icon {
    max-width: 100%;
    max-height: 100%;
  }

  .flow-text {
    font-size: 14px;
    margin-bottom: 40px;
  }
}

/* EmployeeInterviews全体のスタイル */
.employeeInterviews-wrapper {
  background-color: #f5f5f5;
  padding: 90px 15px;
  text-align: left;
}

.employeeInterviews-container {
  max-width: 1000px;
  margin: 0 auto;
}

.employeeInterviews-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2.8px;
}

.employeeInterviews-heading-image {
  border-bottom: 5px solid #696969;
  height: auto;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.employeeInterviews-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.employeeInterviews-item {
  width: calc(50% - 20px);
  overflow: hidden;
}

.employeeInterviews-item-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* 画像コンテナ - アスペクト比を保持 */
.employeeInterviews-image-container {
  width: 100%;
  padding-top: 66.66%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.employeeInterviews-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
  transition: background-color 0.3s ease;
}

.employeeInterviews-item-link:hover
  .employeeInterviews-image-container::before {
  background-color: rgba(0, 0, 0, 0.3);
}

.employeeInterviews-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.employeeInterviews-image-container::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border: 2px solid #ffffff;
  z-index: 3;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease-in-out;
}

.employeeInterviews-item-link:hover .employeeInterviews-image-container::after {
  transform: scale(1);
  opacity: 1;
}

.employeeInterviews-item-link:hover .employeeInterviews-item-image {
  transform: scale(1.05);
}

.employeeInterviews-text-content {
  letter-spacing: 2px;
}

.employeeInterviews-item-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
}

.employeeInterviews-item-detail {
  font-size: 14px;
}

/* EmployeeInterviewsのタブレット・小型PC向けスタイル */
@media (max-width: 1000px) {
  .employeeInterviews-heading-image {
    width: 328px;
  }
  .employeeInterviews-title {
    font-size: 15px;
  }
  .employeeInterviews-content {
    gap: 20px;
  }

  .employeeInterviews-item {
    width: calc(50% - 10px);
    overflow: hidden;
  }

  .employeeInterviews-item-title {
    font-size: 15px;
  }
  .employeeInterviews-item-detail {
    font-size: 12px;
  }
}

/* EmployeeInterviewsのSP用スタイル */
@media (max-width: 767px) {
  .employeeInterviews-wrapper {
    padding: 45px 15px 87px;
  }

  .employeeInterviews-content {
    flex-direction: column;
    gap: 40px;
  }

  .employeeInterviews-item {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}

/* FAQ全体のスタイル */
.faq-wrapper {
  background-color: #ffffff;
  color: #000000;
  padding: 90px 15px;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2.8px;
}

.faq-heading-image {
  display: block;
  border-bottom: 5px solid #696969;
  height: auto;
  max-height: 68px;
  padding-bottom: 10px;
  margin-bottom: 40px;
}

.faq-item {
  border: 1px solid #222222;
  border-radius: 5px;
  position: relative;
  padding: 30px 80px;
  margin-bottom: 32px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item-question {
  display: flex;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 2px solid rgba(220, 220, 220, 0.5);
}
.faq-item-answer {
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}

/* Q/Aテキスト */
.faq-item-question-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.faq-item-answer-text {
  font-size: 18px;
  font-weight: 400;
  overflow-wrap: break-word;
  letter-spacing: 3px;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
}

/* QAアイコン */
.faq-item-question-text::before {
  content: "";
  width: 27px;
  height: 34px;
  margin-right: 17px;
  flex-shrink: 0;
  background-image: url("../images/icon_faq_q.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.faq-item-answer-text::before {
  content: "";
  width: 26px;
  height: 27px;
  margin-right: 13px;
  flex-shrink: 0;
  background-image: url("../images/icon_faq_a.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-top: 2px;
}

/* FAQのタブレット・小型PC向けスタイル */
@media (max-width: 1000px) {
  .faq-heading-image {
    width: 63px;
    padding-bottom: 5px;
  }

  .faq-title {
    font-size: 15px;
    margin-bottom: 10px;
  }
}

/* FAQのSP用スタイル */
@media (max-width: 767px) {
  .faq-wrapper {
    padding: 50px 15px;
  }

  .faq-item {
    padding: 20px;
    margin-bottom: 40px;
  }

  .faq-label {
    top: 0;
    right: 20px;
  }

  .faq-item-question {
    padding-bottom: 20px;
  }
  .faq-item-answer {
    padding-top: 25px;
  }

  .faq-item-question-text {
    font-size: 15px;
  }

  .faq-item-answer-text {
    font-size: 15px;
  }

  .faq-item-question-text::before {
    content: "";
    width: 24px;
    height: 30px;
  }

  .faq-item-answer-text::before {
    content: "";
    width: 22px;
    height: 23px;
  }
}

/* Contact全体のスタイル */
.contact-wrapper {
  background-color: #f5f5f5;
  color: #000000;
  padding: 90px 15px 30px;
  text-align: left;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2.8px;
}

.contact-heading-image {
  border-bottom: 5px solid #696969;
  width: auto;
  height: auto;
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.contact-content-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.contact-text {
  font-size: 18px;
  line-height: 1.7;
  text-wrap: wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  letter-spacing: 3px;
  flex-grow: 1;
  max-width: 70%;
}

/* フォームボタン */
.contact-button-wrapper {
  flex-shrink: 0;
}

.contact-button {
  display: flex;
  align-items: center;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 20px 40px;
  border-radius: 50px;
  border: 2px solid #000;
  transition: background-color 0.3s, opacity 0.3s;
  white-space: nowrap;
}

.contact-button:hover {
  background-color: #fff;
  color: #000;
}

.contact-button-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  margin-left: 15px;
  transform: rotate(45deg);
}
.contact-button:hover .contact-button-arrow {
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

/* Contactのタブレット・小型PC向けスタイル */
@media (max-width: 1000px) {
  .contact-wrapper {
    padding: 45px 15px;
  }
  .contact-title {
    font-size: 15px;
  }
  .contact-heading-image {
    width: 127px;
  }

  .contact-content-inner {
    flex-direction: column;
    align-items: flex-start; /* 左寄せに戻す */
    gap: 30px;
  }
  .contact-text {
    max-width: 100%;
    font-size: 16px;
    letter-spacing: 2px;
  }
}
/* ContactのSP用スタイル */
@media (max-width: 768px) {
  .contact-text {
    font-size: 14px;
  }

  .contact-button-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  .contact-button {
    padding: 15px 40px;
    display: inline-flex;
    font-size: 16px;
  }
}
