@charset "utf-8";
/* font-family: "Noto Sans JP", sans-serif; */

/* ・画面幅が最低320pxまでレスポンシブの設定をする
（ブレイクポイントは1024px 768px 480px） */

/* グラデーション {
  青=background-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab);
  橙=background-image: linear-gradient(90deg, #ffc94f, #ec8640);
  赤=background-image: linear-gradient(90deg, #ffaecc, #ff809f);
} */

/* 色の変数　　例）color: var(--white); */
:root {
  --black: #000000;
  --white: #ffffff;
  --black02: #4d4d4d;
  --beige: #f8ebd5;
  --beige02: #faf7ef;
  --green: #00bcab;
}

:root {
  --header-height: 100px;
}
html {
  scroll-behavior: smooth; /* CSSだけで滑らかに移動できる */
}

body {
  font-family: "Noto Sans JP";
  font-weight: 700;
}

main {
  margin-top: var(--header-height);
}
@media (max-width: 768px) {
  main {
    margin-top: 0;
  }
}

/*******************************************************
ヘッダー
*******************************************************/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 5;
  background-color: var(--white);
  padding-left: 1.8%;
  padding-right: 1.9%;
  transition: position 0.3s; /* モーダル切り替え用 */
}

.header-inner {
  display: flex;
  height: 100%;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 1.6667vw; */
  gap: 15px;
  flex-shrink: 0; /* 左側を縮ませない */
}

.logo-duskin {
  max-width: clamp(120px, 9.583vw, 138px);
  width: 100%;
  display: block;
}

.logo-ssc {
  max-width: clamp(150px, 12.64vw, 182px);
  width: 100%;
  display: block;
}
.recruit {
  max-width: clamp(130px, 11.67vw, 168px);
  width: 100%;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  flex: 1; /* 残りスペースを確保 */
  min-width: 0; /* flexbox の省略時改行を防止 */
}

.jamp {
  display: flex;
  font-size: 15px;
  color: var(--black);
  gap: 35px;

  flex-shrink: 1; /* 必要に応じて縮む */
  min-width: 0; /* flexbox内での縮みを許容 */
  white-space: nowrap; /* 折り返さない */
  overflow: hidden; /* はみ出た場合は隠す */
}

.jamp-list {
  display: inline-block;
  line-height: 50px;
}

@media (max-width: 1300px) {
  .header-left {
    gap: 0px;
  }

  .header-right {
    gap: 20px;
  }
}

@media (max-width: 1245px) {
  .jamp {
    font-size: 14px;
    gap: 23px;
  }
}

@media (max-width: 1124px) {
  .header-right {
    gap: 18px;
  }
  .jamp {
    font-size: 13px;
    gap: 20px;
  }
}

@media (max-width: 1060px) {
  .jamp {
    gap: 18px;
  }
}

@media (max-width: 1024px) {
  .header-left {
    gap: 14px;
  }

  .header-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    position: static;
    height: 70px;
  }

  .logo-duskin,
  .logo-ssc,
  .recruit {
    width: 100%;
  }

  /* .logo-ssc {
    width: 160px;
  }
  .recruit {
    width: 140px;
  } */
}

@media (max-width: 580px) {
  .header-left {
    gap: 10px;
  }
}

@media (max-width: 550px) {
  .header-left {
    gap: 0px;
    justify-content: flex-start;
  }

  .logo-duskin {
    width: 90%;
  }

  .logo-ssc {
    width: 100%;
    margin-left: -12px;
  }

  .recruit {
    width: 28%;
    margin-left: -6px;
  }
}

@media (max-width: 480px) {
  .logo-duskin {
    width: 85%;
  }

  .logo-ssc {
    width: 95%;
    margin-left: -10px;
  }

  .recruit {
    width: 30%;
    margin-left: -4px;
  }
}

@media (max-width: 456px) {
  .logo-duskin {
    width: 80%;
  }

  .logo-ssc {
    width: 90%;
    margin-left: -18px;
  }

  .recruit {
    width: 27%;
    margin-left: -14px;
  }
}

@media (max-width: 420px) {
  .logo-duskin {
    width: 75%;
  }

  .logo-ssc {
    width: 90%;
    margin-left: -25px;
  }

  .recruit {
    width: 24%;
    margin-left: -29px;
  }
}
@media (max-width: 375px) {
  .logo-duskin {
    width: 65%;
  }

  .logo-ssc {
    width: 90%;
    margin-left: -38px;
  }

  .recruit {
    width: 22%;
    margin-left: -40px;
  }
}

@media (max-width: 340px) {
  .logo-duskin {
    width: 60%;
  }

  .logo-ssc {
    width: 90%;
    margin-left: -46px;
  }

  .recruit {
    width: 20%;
    margin-left: -50px;
  }
}

/* ↓↓↓↓↓↓↓↓↓↓ハンバーガー↓↓↓↓↓↓↓↓↓↓ */
.hamburger {
  position: relative;
  z-index: 10;
  cursor: pointer; /* マウスカーソルをポインタにする */
  transition: all 0.4s;
  height: 55px;
  width: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 2%;
  top: 20px;
  display: none;
  background-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab);
}

/* 線のスタイル */
.hamburger span {
  position: absolute;
  left: 50%;
  display: block;
  width: 40px;
  height: 1px;
  border-radius: 10px;
  background-color: var(--white);
  transition: all 0.4s;
}

/* 各線の位置 */
.hamburger span:nth-of-type(1) {
  top: 25%;
  transform: translateX(-50%);
}
.hamburger span:nth-of-type(2) {
  top: 50%;
  transform: translateX(-50%);
}
.hamburger span:nth-of-type(3) {
  top: 75%;
  transform: translateX(-50%);
}

/* ハンバーガーがアクティブ時 */
.hamburger.active span:nth-of-type(1) {
  top: 50%; /* 中央 */
  transform: translateX(-50%) rotate(-45deg);
}

.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
  top: 50%; /* 中央 */
  transform: translateX(-50%) rotate(45deg);
}

.hamburger:hover {
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .hamburger {
    display: block;
    position: fixed;
  }
}

@media (max-width: 768px) {
  .hamburger {
    height: 45px;
    width: 45px;
    top: 13px;
  }

  .hamburger span {
    width: 32px;
  }
}

@media (max-width: 480px) {
  .hamburger {
    height: 40px;
    width: 40px;
    top: 15px;
  }

  .hamburger span {
    width: 30px;
  }
}

/* ↓↓↓↓↓↓↓↓↓↓ハンバーガー内メニュー↓↓↓↓↓↓↓↓↓↓ */

.burger-mask {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100%;

  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.burger-mask.js-active {
  display: block;
}

.navi {
  position: fixed;
  z-index: 2;
  top: 0;
  right: -400px;
  max-width: 400px;
  width: 100%;
  height: 100%;
  background-color: var(--black02);

  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;

  visibility: hidden;
  transition: all 0.6s;
}

.navi.active {
  visibility: visible;
  right: 0;
}

.menu {
  text-align: center;
  padding-top: 50px;
}

.menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  line-height: 1.5;
  padding-top: 35px;
  min-height: 60px;
  border-bottom: var(--green) solid 2px;
  width: min(100%, 250px);
  margin: 0 auto;
}

.menu-text {
  font-size: clamp(25px, 4vw, 30px);
}

.menu-text-jp {
  font-size: clamp(16px, 2.5vw, 18px);
  padding-bottom: 10px;
}

.menu-list:hover {
  opacity: 0.7;
}

.section1 {
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  .section1 {
    scroll-margin-top: 0px;
  }
}

@media (max-width: 340px) {
  .menu {
    padding-top: 20px;
  }

  .menu-list {
    padding-top: 20px;
  }
}

/*******************************************************
ボタン
*******************************************************/
/* ボタン共通 */
.btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* width: 100%; */
  height: 100%;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 17px;
  padding: 0 10px;
}

/* ホバー時に少し浮かせる */
.btn:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* 青ボタン */
.btn-blue {
  background-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab);
  color: var(--white);
}

/* 橙ボタン */
.btn-orange {
  background-image: linear-gradient(90deg, #ffc94f, #ec8640);
  color: var(--white);
}

/* ヘッダーボタン */
.header-btn {
  max-width: 200px;
  width: 100%;
  height: 50px;
}

.header-button {
  font-size: 15px;
  font-weight: normal;
}

@media (max-width: 1200px) {
  .header-btn {
    width: 25%;
  }
}

@media (max-width: 1124px) {
  .header-btn {
    width: 23%;
  }
}

/*メニュー内ボタン */
.menu-btn {
  margin: 0 auto;
  max-width: 250px;
  width: 100%;
  height: 60px;
  margin-top: 50px;
}

/* 2.セクション */
/* コンテンツパネル内ボタン */
.panel-content-btn {
  max-width: 300px;
  width: 100%;
  height: 70px;
  margin: 0 auto;
  font-weight: normal;
}

/* セクション下部ボタン */
.btn-left,
.btn-right {
  width: 196px;
  /* width: 100%; */
  height: 70px;
  margin: 0 auto;
  font-weight: normal;
}

@media (max-width: 1024px) {
  .btn-left,
  .btn-right {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .btn-bottom {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .btn-left,
  .btn-right {
    width: 170px;
    height: 62px;
  }

  .btn-bottom {
    font-size: 14px;
  }
}

@media (max-width: 405px) {
  .btn-left,
  .btn-right {
    width: 155px;
  }
}

@media (max-width: 374px) {
  .btn-bottom {
    font-size: 13px;
  }
  .btn-left,
  .btn-right {
    width: 127px;
  }
}

/*******************************************************
矢印
*******************************************************/

/* 矢印01 */
.btn-arrow1::before,
.btn-arrow1::after {
  position: absolute;
  top: 50%;
  right: 5%;
  content: "";
}

/* 横棒 */
.btn-arrow1::before {
  background-color: var(--white);
  width: 12px; /* 横棒の長さ */
  height: 1.3px; /* 横棒の太さ */
  transform: translateY(-50%);
}

/* 矢印の先端（斜め部分） */
.btn-arrow1::after {
  width: 6px; /* 矢印の斜め部分の大きさ */
  height: 6px;
  margin-top: -3px; /* 縦位置を中央に補正 */
  transform: rotate(45deg);
  border-top: 1.3px solid var(--white);
  border-right: 1.3px solid var(--white);
  display: inline-block;
  vertical-align: middle;
}

/* 矢印02 */
.btn-arrow2::before,
.btn-arrow2::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 横棒 */
.btn-arrow2::before {
  width: 16.8px; /* 横棒の長さ */
  height: 1.3px; /* 太さ */
  background-color: var(--white);
}

/* 矢印の先端（斜め部分） */
.btn-arrow2::after {
  width: 10px; /* 矢印の斜め部分の大きさ */
  height: 10px;
  margin-top: -5px; /* 縦位置を中央に補正 */
  transform: rotate(45deg);
  border-top: 1.3px solid var(--white);
  border-right: 1.3px solid var(--white);
  display: inline-block;
  vertical-align: middle;
}

/* 矢印03 */
.btn-arrow3::before,
.btn-arrow3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 横棒 */
.btn-arrow3::before {
  width: 19.6px; /* 横棒の長さ */
  height: 1.3px; /* 太さ */
  background-color: var(--white);
}

/* 矢印の先端（斜め部分） */
.btn-arrow3::after {
  width: 12px; /* 矢印の斜め部分の大きさ */
  height: 12px;
  margin-top: -6px; /* 縦位置を中央に補正 */
  transform: rotate(45deg);
  border-top: 1.3px solid var(--white);
  border-right: 1.3px solid var(--white);
  display: inline-block;
  vertical-align: middle;
}

/* 矢印05 */
.btn-arrow5::before,
.btn-arrow5::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 横棒 */
.btn-arrow5::before {
  width: 16.8px; /* 横棒の長さ */
  height: 1.3px; /* 太さ */
  background-color: var(--white);
}

/* 矢印の先端（斜め部分） */
.btn-arrow5::after {
  width: 10px; /* 矢印の斜め部分の大きさ */
  height: 10px;
  margin-top: -5px; /* 縦位置を中央に補正 */
  transform: rotate(45deg);
  border-top: 1.3px solid var(--white);
  border-right: 1.3px solid var(--white);
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .btn-arrow5::before {
    width: 13px; /* 横棒の長さ */
  }

  .btn-arrow5::after {
    width: 8px; /* 矢印の斜め部分の大きさ */
    height: 8px;
    margin-top: -4px; /* 縦位置を中央に補正 */
  }
}

@media (max-width: 374px) {
  .btn-arrow5::before {
    width: 11px; /* 横棒の長さ */
  }

  .btn-arrow5::after {
    width: 8px; /* 矢印の斜め部分の大きさ */
    height: 8px;
    margin-top: -4px; /* 縦位置を中央に補正 */
  }
}
/*******************************************************
共通
*******************************************************/

.section-inner {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .section-inner {
    padding-right: max(5%, 20px);
    padding-left: max(5%, 20px);
  }
}

.section-ttl {
  text-align: center;
}

.ttl-eng {
  font-size: 50px;
  color: var(--black);
  letter-spacing: 0.2em;
  padding-bottom: 24px;
}

.ttl-jp {
  font-size: 26px;
  color: var(--black);
  letter-spacing: 0.2em;
  text-align: center;

  padding-bottom: 1em;
}
/* 下線（青） */
.blueline {
  border-bottom: 5px solid;
  border-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab) 1;
  width: min(100%, 90px); /* 幅は画面幅の100%か最大500pxまでに制限 */
  margin: 0 auto;
}

/* 下線（橙） */
.orangeline {
  border-bottom: 5px solid;
  border-image: linear-gradient(90deg, #ffc94f, #ec8640) 1;
  width: min(100%, 90px); /* 幅は画面幅の100%か最大500pxまでに制限 */
  margin: 0 auto;
}

/* 下線（赤） */
.redline {
  border-bottom: 5px solid;
  border-image: linear-gradient(90deg, #ffaecc, #ff809f) 1;
  width: min(100%, 90px); /* 幅は画面幅の100%か最大500pxまでに制限 */
  margin: 0 auto;
}

@media (max-width: 768px) {
  .ttl-eng {
    font-size: clamp(33px, 7vw, 40px);

    letter-spacing: 0.1em;
    padding-bottom: 12px;
  }

  .ttl-jp {
    font-size: 20px;
  }
}
/*******************************************************
1.セクション
*******************************************************/
.section1 {
  background-color: var(--white);
  /* background-image: url(../img/03-aboutus/back.jpg);
  background-repeat: no-repeat;
  background-size: 492px auto;
  /* background-size: min(50%, 200px); */
  /* background-size: 35%; */
  /* background-position-y: 35%;
  background-position-x: 100%; */
  padding-top: 108px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.section1::after {
  content: "";
  position: absolute;
  top: 35%;
  right: 0;
  width: 100%;
  max-width: 492px;
  aspect-ratio: 492 / 905; /*(横・縦) */
  background: url("../img/03-aboutus/back.jpg") no-repeat center;
  background-size: contain; /* 比率維持 */
  transform: translateY(-35%); /* top 35% を中央揃えに調整 */
  pointer-events: none; /* クリックを邪魔しない */
  z-index: -1;
}

.ttl-1 {
  position: relative;
  z-index: 0;
}

.ttl-1::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 24%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 231 / 234; /* アスペクト比を維持(横・縦) */
  /* width: 231px;
  height: 234px; */
  background: url("../img/03-aboutus/item.png") no-repeat center/contain;
  vertical-align: middle;
  transform: translate(-100%, -25%);
  left: 30%;
  top: -7%;
  z-index: -1;
}

@media (max-width: 860px) {
  .section1 {
    padding-top: 90px;
  }

  .ttl-1::before {
    width: 22%;
  }
}

@media (max-width: 768px) {
  .section1::after {
    top: 31%;
    width: 85%;
  }
}

@media (max-width: 480px) {
  .section1 {
    padding-top: 70px;
  }

  .ttl-1::before {
    width: 28%;
  }
}

@media (max-width: 375px) {
  .ttl-1::before {
    left: 24%;
  }
}

.section-txt {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 62px 0;
}

p.txt-19 {
  font-size: clamp(15px, 2.3vw, 19px);
  font-weight: 600;
  color: var(--black);
  text-align: center;
  line-height: 1.8;
}

p.txt-19:not(:last-of-type) {
  padding-bottom: 50px;
}

.br-768,
.br-490,
.br-398,
.br-768-398 {
  display: none;
}

.about-outer {
  display: flex;
  justify-content: center;
  gap: 46px;
}

.about-img {
  width: 100%;
}

.about-content {
  transform: translateY(-25px);
}

.about-heading {
  font-size: 20px;
  font-weight: normal;
  color: var(--white);
  text-align: center;
  line-height: 52px;
  max-width: 350px;
  width: 100%;
  background-color: var(--black02);
  border-radius: 25px;
  margin: 0 auto 29px;
}

.txt-box {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.8;
}

.about-bottom {
  padding-top: 125px;
}

@media (max-width: 860px) {
  .about-bottom {
    padding-top: 70px;
  }
}

@media (max-width: 768px) {
  .about-outer {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .about-img {
    max-width: 465px;
    width: 70%;
    margin: 0 auto;
  }

  .about-heading {
    width: 80%;
    margin-bottom: 15px;
  }

  .txt-box {
    margin: 0 auto;
    width: 70%;
  }

  .br-768,
  .br-768-398 {
    display: block;
  }
}

@media (max-width: 550px) {
  .about-img {
    width: 85%;
  }
}

@media (max-width: 490px) {
  .br-490 {
    display: block;
  }
}
@media (max-width: 480px) {
  .about-heading {
    font-size: 17px;
    line-height: 40px;
  }

  .txt-box {
    font-size: 15px;

    width: 100%;
  }

  p.txt-19:not(:last-of-type) {
    padding-bottom: 35px;
  }

  .about-bottom {
    padding-top: 35px;
  }
}

@media (max-width: 398px) {
  .br-398 {
    display: block;
  }

  .br-768-398 {
    display: none;
  }

  .about-heading {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .about-heading {
    font-size: 15px;
  }
}

/*******************************************************
2.セクション
*******************************************************/
.section2 {
  background-color: var(--white);
  padding-top: 142px;
}

.ttl-2 {
  position: relative;
  z-index: 0;
}

.ttl-2::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 18%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 178 / 198; /* アスペクト比を維持(横・縦) */
  /* width: 231px;
  height: 234px; */
  background: url("../img/04-aboutjobs/item.png") no-repeat center/contain;
  vertical-align: middle;
  transform: translate(150%, -90%);
  z-index: -1;
}

@media (max-width: 860px) {
  .section2 {
    padding-top: 90px;
  }

  .ttl-2::after {
    width: 17%;
    transform: translate(135%, -90%);
  }
}

@media (max-width: 480px) {
  .section2 {
    padding-top: 70px;
  }

  .ttl-2::after {
    width: 20%;
  }
}
/* ===============================
  タブボタン
=============================== */

.tabbutton-list {
  padding: 0 20px;
}

/* 黒帯 */
.tabbutton-head {
  font-size: 17px;
  color: var(--white);
  text-align: center;
  background-color: var(--black02);
  border-radius: 22px;
  width: 308px;
  line-height: 44px;
  margin: 46px auto 13px;
}

/* 位置 */
.tab-menu {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;
  margin-bottom: 20px;
  list-style: none;
}
.tab-menu01 {
  gap: 12px;
}
.tab-menu02 {
  gap: 40px;
}

.tab-item {
  flex: 0 0 auto; /* ←ここが重要！自動伸縮をやめる */
}

/* タブボタン（ベースデザイン） */
.tab-button {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  text-decoration: none;
  font-size: 17px;
  color: var(--white);
  font-weight: normal;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button span {
  display: block;
  font-size: 15px;
}

.tab-item .tab-button-1 {
  width: 260px;
  height: 72px;
  background-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab);
}

.tab-item .tab-button-2 {
  width: 300px;
  height: 70px;
  background-image: linear-gradient(90deg, #ffc94f, #ec8640);
}

/* hover時 */
.tab-button-1:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 176, 171, 0.3);
}

/* active時（選択中タブ） */
.tab-button-1.active {
  background-image: linear-gradient(90deg, #00b0ab 0%, #007bff 100%);
  box-shadow: 0 0 0 3px rgba(0, 176, 171, 0.3);
}

/* hover時 */
.tab-button-2:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(236, 134, 64, 0.3); /* オレンジ系の柔らかい影 */
}

/* active時（選択中タブ） */
.tab-button-2.active {
  background-image: linear-gradient(90deg, #ec8640 0%, #ff5e00 100%);
  box-shadow: 0 0 0 3px rgba(236, 134, 64, 0.3);
}

/* 矢印04 */
.btn-arrow4::before,
.btn-arrow4::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 横棒 */
.btn-arrow4::before {
  width: 16.8px; /* 横棒の長さ */
  height: 1.3px; /* 太さ */
  background-color: var(--white);
}

/* 矢印の先端（斜め部分） */
.btn-arrow4::after {
  width: 10px; /* 矢印の斜め部分の大きさ */
  height: 10px;
  margin-top: -5px; /* 縦位置を中央に補正 */
  transform: rotate(45deg);
  border-top: 1.3px solid var(--white);
  border-right: 1.3px solid var(--white);
  display: inline-block;
  vertical-align: middle;
}

.br-445,
.br-400,
.br-343 {
  display: none;
}

@media (max-width: 1130px) {
  .tab-menu01 {
    gap: 25px;
  }
  .tab-menu02 {
    gap: 25px;
  }
}

@media (max-width: 680px) {
  .tab-button {
    font-size: 15px;
    letter-spacing: 0.05em;
  }

  .tab-button span {
    font-size: 13px;
  }

  .tab-item .tab-button-1 {
    width: 250px;
    height: 70px;
  }

  .tab-item .tab-button-2 {
    width: 260px;
  }
}

@media (max-width: 600px) {
  .tab-menu01,
  .tab-menu02 {
    gap: 15px;
  }

  .tabbutton-head:nth-of-type(2) {
    margin-top: 30px;
  }

  .tab-item .tab-button-1 {
    width: 215px;
    height: 65px;
  }

  .tab-item .tab-button-2 {
    width: 220px;
    height: 65px;
  }

  .btn-arrow4::before {
    width: 13px; /* 横棒の長さ */
  }

  .btn-arrow4::after {
    width: 8px; /* 矢印の斜め部分の大きさ */
    height: 8px;
    margin-top: -4px;
  }
}

@media (max-width: 510px) {
  .tab-menu01,
  .tab-menu02 {
    gap: 10px;
  }

  .tab-button {
    font-size: 14px;
  }

  .tab-button span {
    font-size: 11px;
  }

  .tab-item .tab-button-1,
  .tab-item .tab-button-2 {
    width: 190px;
    height: 62px;
  }
}

@media (max-width: 480px) {
  .tabbutton-head {
    line-height: 40px;
  }
}

@media (max-width: 445px) {
  .br-445 {
    display: block;
  }
  .tab-menu01,
  .tab-menu02 {
    gap: 8px;
  }

  .tab-button {
    font-size: 13px;
  }

  .tab-item .tab-button-1,
  .tab-item .tab-button-2 {
    width: 168px;
  }
}

@media (max-width: 400px) {
  .br-400 {
    display: block;
  }

  .tabbutton-head {
    width: 280px;
  }

  .tab-button {
    font-size: 12px;
  }

  .tab-button span {
    font-size: 10px;
  }

  .tab-item .tab-button-1,
  .tab-item .tab-button-2 {
    width: 140px;
  }

  .btn-arrow4::before {
    width: 12px; /* 横棒の長さ */
  }
}

@media (max-width: 343px) {
  .br-343 {
    display: block;
  }

  .tab-item .tab-button-1,
  .tab-item .tab-button-2 {
    width: 128px;
  }
}

/* ===============================
  コンテンツパネル
=============================== */
/* コンテンツパネル群 */
.tab-panel-box {
  background-image: url(../img/04-aboutjobs/back.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  max-width: 980px;
  width: 100%;
  gap: 27px;
  margin: 0 auto;
  display: flex;
  padding: 45px 37px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.panel-pic-box {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 68.612%;
}

.panel-content-box {
  margin: 0 auto;
  max-width: 437px;
  width: 100%;
}

.panel-heading {
  font-size: 26px;
  color: var(--black);
  text-align: center;
  letter-spacing: 0.2em;
  line-height: 1.6;
  padding: 20px 0;
  margin-bottom: 24px;
}

.panel-txt {
  font-size: 17px;
  color: var(--black);
  text-align: justify;
  line-height: 1.8;
  padding-bottom: 59px;
  letter-spacing: 0.05em;

  /* white-space: normal;
word-break: break-word; */
}

.topic-box {
  position: relative;
  background-color: var(--white);
  width: 100%;
  padding: 45px 0;
  border-radius: 22px;
  margin-bottom: 85px;
}

.topic-box::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 65%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 96 / 29; /* アスペクト比を維持(横・縦) */

  background: url("../img/04-aboutjobs/tub_txt.png") no-repeat center/contain;
  vertical-align: middle;
  transform: translate(0, -100%);
}

.topic {
  font-size: 26px;
  color: var(--black);
  line-height: 1.6;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: center;
  padding: 0 15px;
}

.topic-long {
  font-size: 22px;
  padding: 0 30px;
}

.br-543,
.br-1000,
.br-1000-02,
.br-1000-03,
.br-1001 {
  display: none;
}

@media (max-width: 1001px) {
  .br-1001 {
    display: block;
  }
}

@media (max-width: 1000px) {
  .br-1000 {
    display: block;
  }

  .tab-panel-box {
    gap: 20px;
  }

  .panel-content-box {
    width: 50%;
  }

  .panel-pic-box {
    width: 50%;
  }

  .panel-heading {
    line-height: 1.5;
    /* margin-bottom: 24px; */
  }
  .topic-box {
    margin-bottom: 60px;
  }
}

@media (max-width: 860px) {
  .panel-txt {
    padding-bottom: 25px;
  }

  .topic-box {
    margin-bottom: 40px;
  }

  .topic {
    font-size: 19px;
  }
}

@media (max-width: 768px) {
  .br-1000,
  .br-1000-02,
  .br-1000-03,
  .br-1001 {
    display: none;
  }

  .panel-content-box {
    width: 100%;
  }

  .tab-panel-box {
    flex-direction: column;
    padding: 20px;
    gap: 30px;
  }

  .panel-pic-box {
    display: flex;
    flex-direction: row; /* 画像を横並びに */
    justify-content: center;
    margin: 0 auto;
    gap: 10px;
  }

  .panel-pic-box img {
    width: 100%;
    height: auto;
  }

  .panel-pic-half {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* 画像の間に少し余白 */
  }

  /* 左右のブロックを 50% 固定 */
  .panel-pic-half .beside-pic,
  .panel-pic-half .vertical-pic {
    width: 50%;
    display: flex;

    align-items: center;
  }

  /* 画像をブロック化して中央にフィット */
  .panel-pic-half img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .panel-heading {
    font-size: clamp(19px, 5vw, 26px);
  }

  .panel-txt {
    font-size: clamp(15px, 4vw, 17px);
    padding-bottom: 50px;
  }

  .topic {
    font-size: clamp(21px, 4.5vw, 23px);
  }

  .topic-long {
    font-size: clamp(18px, 4.5vw, 20px);
  }
}

@media (max-width: 543px) {
  .br-543 {
    display: block;
  }
}

@media (max-width: 521px) {
  .br-1000-03 {
    display: block;
  }
}

@media (max-width: 543px) {
  .br-1000-02 {
    display: block;
  }
}

@media (max-width: 451px) {
  .br-451-none {
    display: none;
  }
}

@media (max-width: 395px) {
  .br-1001 {
    display: block;
  }
}

@media (max-width: 345px) {
  .br-1000 {
    display: block;
  }
}

/* ===============================
  その他様々なお仕事
=============================== */

.otherjob-box {
  position: relative;
  display: inline-block;
  display: flex;
  justify-content: center;

  margin: 0 auto;
  max-width: 600px;
  width: 100%;
  background-color: var(--beige);
  border-radius: 20px;
  margin-top: 48px;
}

.otherjob-box ::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 14px 11.5px 0 11.5px;
  border-color: var(--beige) transparent transparent;
  translate: -50% 100%;
}

.sb-box {
  font-size: clamp(16px, 4vw, 26px);
  color: var(--black);
  text-align: center;
  line-height: 70px;
}

.btn-box {
  display: flex;
  justify-content: center;
  gap: 27px;
}

.left-heading,
.right-heading {
  font-size: 17px;
  font-weight: normal;
  color: var(--white);
  text-align: center;
  background-color: var(--black02);
  border-radius: 22px;
  line-height: 44px;
  margin-top: 46px;
  margin-bottom: 13px;
}

.left-heading {
  width: 402px;
}

.right-heading {
  width: 610px;
}

.btn-set {
  display: flex;
  gap: 9px;
}

@media (max-width: 1024px) {
  .btn-box {
    display: block;
  }

  .left-heading,
  .right-heading {
    max-width: 475px;
    width: 100%;
    margin: 46px auto 20px;
  }

  .btn-set {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .right-set {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 20px;
  }
  .btn-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
  }

  /* 3個目だけ1列で中央寄せ */
  .btn-right:nth-child(3) {
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sb-box {
    line-height: 60px;
  }

  .btn-set {
    gap: 15px;
  }

  .btn-set {
    gap: 15px;
  }

  .left-heading,
  .right-heading {
    width: 80%;
    line-height: 40px;
  }

  .right-heading {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .btn-set {
    gap: 10px;
  }
}

@media (max-width: 375px) {
  .btn-set {
    gap: 10px;
  }
}

/*******************************************************
3.セクション
*******************************************************/

.section3 {
  background-color: var(--white);
  /* background-image: url(../img/05-points/back.jpg);
  background-repeat: no-repeat;
  background-size: 433px auto;
  /* background-size: min(50%, 200px); */
  /* background-size: 35%; */
  /* background-position-y: 39%;
  background-position-x: 100%;  */
  padding-top: 196px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.section3::after {
  content: "";
  position: absolute;
  top: 36%;
  right: 0;
  width: 100%;
  max-width: 433px;
  aspect-ratio: 433 / 1341; /*(横・縦) */
  background: url("../img/05-points/back.jpg") no-repeat center;
  background-size: contain; /* 比率維持 */
  transform: translateY(-35%); /* top 35% を中央揃えに調整 */
  pointer-events: none; /* クリックを邪魔しない */
  z-index: -1;
}

.ttl-3 {
  position: relative;
  z-index: 0;
}

.ttl-3::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 14%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 134 / 261; /* アスペクト比を維持(横・縦) */
  /* width: 231px;
  height: 234px; */
  background: url("../img/05-points/item.png") no-repeat center/contain;
  vertical-align: middle;
  transform: translate(-200%, -30%);
  left: 38%;
  z-index: -1;
}

@media (max-width: 860px) {
  .section3 {
    padding-top: 120px;
  }

  .ttl-3::before {
    width: 12%;
    left: 46%;
    top: 20%;
  }
}

@media (max-width: 768px) {
  .section3::after {
    top: 31%;
    width: 80%;
  }
}

@media (max-width: 480px) {
  .section3 {
    padding-top: 85px;
  }

  .ttl-3::before {
    width: 16%;
  }
}

@media (max-width: 375px) {
  .ttl-3::before {
    width: 16%;
    left: 40%;
  }
}

/* 共通 */
.number {
  font-size: 60px;
  font-weight: 500;
  letter-spacing: 0.1em;
  background-clip: text;
  -webkit-background-clip: text; /* Safari対応 */
  color: transparent; /* 背景が見えるようにする */
  -webkit-text-fill-color: transparent; /* Safari対応 */
  width: fit-content;
}

.points-txtbox {
  max-width: 509px;
  width: 100%;
  flex: 1;
}

.points-head {
  font-size: 26px;
  color: var(--black);
  line-height: 1.5;
  letter-spacing: 0.08em;
  padding: 27px 0;
  width: fit-content;
}

.points-txt {
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.8;
  text-align: justify;
}

.points-list li {
  position: relative;
  padding-left: 10px;
}

.points-list li::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: var(--black);
  border-radius: 50%; /* 真円にする */
  transform: translateY(-50%);
  left: 0%;
  top: 50%;
}

.points-pic {
  max-width: 430px;
  width: 100%;
}

.br-600,
.br-547 {
  display: none;
}

/* 01 */
.points-box01 {
  display: flex;
  gap: 42px;
  padding-top: 140px;
}

.number01 {
  background-image: linear-gradient(90deg, #ffaecc, #ff809f);
}

.points-pic01 {
  transform: translateY(-60px);
}

/* 02 */
.points-box02 {
  display: flex;
  flex-direction: row-reverse;
  gap: 42px;
  padding-top: 176px;
}

.number02 {
  background-image: linear-gradient(90deg, #ffc94f, #ec8640);
}

.points-pic02 {
  transform: translateY(-60px);
}

/* 03 */
.points-box03 {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 42px;
  padding-top: 181px;
}

.number03 {
  background-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab);
}

.points-pic03 {
  transform: translateY(-60px);
}

.box03 {
  display: flex;
  margin: 0 auto;
}

.box03-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 21px;
  flex-grow: 1;
}

/* 1個目 */
.box03-inner:first-child {
  /* border-right: 1px solid var(--green); */
  transform: translateY(-125px);
}

/* 2個目 */
.box03-inner:nth-child(2) {
  /* border: none; */
  transform: translateY(-85px);
}

/* 3個目*/
.box03-inner:last-child {
  /* border-left: 1px solid var(--green); */
  transform: translateY(-20px);
}

/* 緑の線*/
.vertical-line01,
.vertical-line02 {
  position: absolute;
  top: 10px;
  bottom: -10px;
  right: 0;
  width: 2px;
  background-color: var(--green);
}

.vertical-line02 {
  top: 20px;
  bottom: -50px;
}

.box03-head {
  font-size: 21px;
  color: var(--black);
  line-height: 1.6;
  text-align: center;
}

.box03-icon {
  width: 80px;
  padding: 20px 0;
}

.box03-txt {
  font-size: 15px;
  color: var(--black);
  max-width: 265px;
  width: 100%;
  text-align: justify;
  line-height: 1.7;
  flex-grow: 1;
}

@media (max-width: 1000px) {
  .points-txtbox {
    width: 62%;
  }

  .points-list li::before {
    top: 26%;
  }

  .box03 {
    padding-top: 60px;
  }
}

@media (max-width: 860px) {
  .points-box01,
  .points-box02,
  .points-box03 {
    gap: 20px;
    padding-top: 140px;
  }

  .points-pic {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .points-box01,
  .points-box02,
  .points-box03 {
    padding-top: 35px;
    padding: 35px 15px 0 15px;
  }

  .points-head {
    font-size: 26px;
    font-size: clamp(20px, 5vw, 26px);
  }

  .points-txt {
    font-size: clamp(15px, 3vw, 17px);
  }

  .points-list li::before {
    top: 50%;
  }

  .points-box01,
  .points-box02,
  .points-box03 {
    flex-direction: column;
    gap: 30px;
  }

  .points-pic {
    width: 70%;
  }

  .points-pic01,
  .points-pic02 {
    transform: none;
  }

  .points-pic03 {
    order: 1;
  }

  .points-pic02 {
    margin-left: auto; /* ←右寄せのポイント */
    margin-right: 0; /* 念のため */
  }

  .points-txtbox {
    max-width: 980px;
    width: 100%;
  }

  /* 1個目 */
  .box03-inner:first-child {
    /* border-right: 1px solid var(--green); */
    transform: translateY(-90px);
  }

  /* 2個目 */
  .box03-inner:nth-child(2) {
    /* border: none; */
    transform: translateY(-60px);
  }

  /* 3個目*/
  .box03-inner:last-child {
    /* border-left: 1px solid var(--green); */
    transform: translateY(-30px);
  }

  .vertical-line02 {
    top: 10px;
    bottom: -10px;
  }
}

@media (max-width: 600px) {
  .points-box01,
  .points-box02,
  .points-box03 {
    padding-top: 50px;
  }

  .points-head {
    padding: 0 0 20px 0;
  }

  .br-600 {
    display: block;
  }

  .box03 {
    flex-direction: column;
    gap: 35px;
    align-items: center;
    padding-top: 0;
    /* max-width: 980px;
    width: 100%; */
  }

  .box03-inner {
    padding: 0 20px;
  }

  .box03-inner:first-child,
  .box03-inner:nth-child(2),
  .box03-inner:last-child {
    transform: none;
  }

  .box03-inner:first-child,
  .box03-inner:nth-child(2) {
    border-bottom: 2px solid var(--green);
    width: min(100%, 500px);
  }

  .box03-txt {
    max-width: 500px;
    width: 100%;
    text-align: justify;
    margin-bottom: 30px;
  }

  /* 緑の線*/
  .vertical-line01,
  .vertical-line02 {
    display: none;
  }

  .points-pic03 {
    transform: none;
  }
}

@media (max-width: 547px) {
  .br-547 {
    display: block;
  }
}

@media (max-width: 480px) {
  .number {
    font-size: 50px;
  }

  .points-pic {
    width: 90%;
  }
}

@media (max-width: 441px) {
  .points-list li::before {
    top: 26%;
  }
}

/*******************************************************
4.セクション
*******************************************************/

.section4 {
  background-color: var(--white);
  /* background-image: url(../img/06-staffsvoice/back.jpg);
  background-repeat: no-repeat;
  background-size: 492px auto; */
  /* background-size: min(50%, 200px); */
  /* background-size: 35%; */
  /* background-position-y: 24%; */
  padding-top: 180px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.section4::after {
  content: "";
  position: absolute;
  top: 29.5%;
  left: 0;
  width: 100%;
  max-width: 492px;
  aspect-ratio: 492 / 904; /*(横・縦) */
  background: url("../img/06-staffsvoice/back.jpg") no-repeat center;
  background-size: contain; /* 比率維持 */
  transform: translateY(-35%); /* top 35% を中央揃えに調整 */
  pointer-events: none; /* クリックを邪魔しない */
  z-index: -1;
}

.ttl-4 {
  position: relative;
  z-index: 0;
}

.ttl-4::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 25%;
  aspect-ratio: 134 / 261; /* アスペクト比を維持(横・縦) */
  /* width: 231px;
  height: 234px; */
  background: url("../img/06-staffsvoice/item.png") no-repeat center/contain;
  vertical-align: middle;
  transform: translate(115%, -66%);
  z-index: -1;
}

@media (max-width: 860px) {
  .section4 {
    padding-top: 85px;
  }

  .ttl-4::after {
    width: 24%;
    left: 48%;
    top: 104%;
  }
}

@media (max-width: 768px) {
  .section4::after {
    width: 88%;
  }
}
@media (max-width: 480px) {
  .ttl-4::after {
    width: 30%;
    left: 39%;
    top: 106%;
  }
}

@media (max-width: 333px) {
  .ttl-4::after {
    width: 37%;
    left: 27%;
    top: 75%;
  }
}

/* ===============================
  モーダル　カード
=============================== */

/* カード配置 */
.card-box {
  display: flex;
  flex-wrap: wrap;
  column-gap: 35px;
  row-gap: 50px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 46px;
}

.card {
  position: relative;
  max-width: 343px;
  width: 100%;
  transition: transform 0.3s ease;
}

.card:hover {
  opacity: 0.8;
  cursor: pointer;
}

.card:nth-child(1),
.card:nth-child(2) {
  transform: translateX(-10px);
}

.card:nth-child(3),
.card:nth-child(4) {
  /* transform: translate(165px, -40px); */
  transform: translateX(165px);
}

.card-pic {
  position: relative;
  max-width: 343px;
  width: 100%;
  margin: 0 auto 25px;
}

.card-head {
  font-size: 24px;
  color: var(--black);
  line-height: 1.6;
  letter-spacing: 0.1em;
  padding-bottom: 17px;
}

.card-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
}

.open-modal {
  position: absolute;

  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  top: 87%;
  left: 80%;
}

/* カラー別 */
.open-blue {
  background-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab);
}

.open-orange {
  background-image: linear-gradient(90deg, #ffc94f, #ec8640);
}

/* 矢印 */
.open-modal::before,
.open-modal::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 40%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 横棒 */
.open-modal::before {
  width: 16.8px; /* 横棒の長さ */
  height: 1.3px; /* 太さ */
  background-color: var(--white);
}

/* 矢印の先端 */
.open-modal::after {
  width: 10px; /* 矢印の斜め部分の大きさ */
  height: 10px;
  margin-top: -5px; /* 縦位置を中央に補正 */
  transform: rotate(45deg);
  border-top: 1.3px solid var(--white);
  border-right: 1.3px solid var(--white);
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 980px) {
  .card:nth-child(1),
  .card:nth-child(2) {
    transform: translateX(20px);
  }

  .card:nth-child(3),
  .card:nth-child(4) {
    transform: translateX(120px);
  }
}

@media (max-width: 930px) {
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3),
  .card:nth-child(4) {
    transform: none;
  }

  .card-box {
    justify-content: center;
  }
}

@media (max-width: 816px) {
  /* 各カード */
  .card-box > * {
    flex: 1 1 calc(50% - 17.5px); /* 50% - gapの半分 */
    min-width: 0; /* flex-shrink を有効に */
  }
}

@media (max-width: 768px) {
  .card-box {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .card-pic {
    width: 80%;
  }

  .open-modal {
    width: 50px;
    height: 50px;
  }

  /* 矢印 */
  /* 横棒 */
  .open-modal::before {
    width: 15px; /* 横棒の長さ */
    height: 1px; /* 太さ */
  }

  /* 矢印の先端 */
  .open-modal::after {
    width: 8px; /* 矢印の斜め部分の大きさ */
    height: 8px;
    margin-top: -4px; /* 縦位置を中央に補正 */
  }
}

@media (max-width: 375px) {
  .card-head {
    font-size: 20px;
  }

  .open-modal {
    left: 80%;
  }
}

@media (max-width: 340px) {
  .card-head {
    font-size: 18px;
  }

  .open-modal {
    left: 78%;
  }
}

/* ===============================
  モーダル　内容
=============================== */
/* モーダル全体 */
.modal {
  display: none;
  pointer-events: none; /* 非表示中はクリック不可 */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 188, 171, 0.8);
  justify-content: center;
  align-items: flex-start; /* 中央揃え→上寄せに変更 */
  overflow-y: auto; /* スクロール可能 */
  padding: 95px 0;
  z-index: 11;
}

.modal.active {
  display: block;
  pointer-events: auto; /* 表示中はクリック可能 */
}

body.modal-open {
  overflow: hidden; /* スクロール禁止 */
}

/* モーダル表示中にヘッダーを止める */
body.modal-open .header {
  position: static;
}

/* モーダル表示中はハンバーガー非表示 */
body.modal-open .hamburger {
  display: none !important;
}

/* モーダル表示中は追従ボタン非表示 */
body.modal-open .slidebtn-wrap {
  display: none !important;
}

/* モーダル内側 */
.modal-content {
  position: relative;
  background-color: var(--white);
  border-radius: 20px;
  padding: 74px 75px 72px 52px;
  max-width: 980px;
  width: 100%;
}

/* 閉じるボタン （×）*/
.modal .close {
  position: absolute;
  top: -1%;
  right: -2%;
  font-size: 30px;
  font-weight: 100;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 12;
}

.close {
  color: var(--white);
  background-image: linear-gradient(90deg, #ffc94f, #ec8640);
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.close span {
  transform: translate(0%, -5%);
}

.close:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.person-box {
  background-color: var(--white);
  width: 100%;
  z-index: 0;
  margin-bottom: 68px;
}

.person-box01,
.person-box02,
.person-box03,
.person-box04 {
  position: relative;
}

.person-txt-box {
  position: absolute;
  width: 100%;
  top: 15%;
  left: 0;
}

.person-pic {
  width: 61.55%;
  margin-left: auto;
}

.person-head-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.person-head {
  font-size: 36px;
  font-weight: 500;
  line-height: 50px;
  color: var(--white);
  background-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab);
  border-radius: 9px;
  width: fit-content;
  padding: 0 10px 0 14px;
}

.person-txt {
  margin-top: 34px;
}

.person-txt .person-list {
  font-size: 19px;
  color: var(--black);
  line-height: 1.4;
}

.person-list {
  display: flex;
  flex-direction: column;
}

.person-item {
  display: flex;
}

.a-list li {
  position: relative;
  padding-left: 10px;
}

.a-list li::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: var(--black);
  border-radius: 50%; /* 真円にする */
  transform: translateY(-50%);
  left: 0%;
  top: 50%;
}

.person-name {
  font-size: 34px;
  color: var(--black);
  line-height: 1.6;
}

.person-name span {
  font-size: 15px;
  color: var(--black);
}

.faq-list {
  padding-bottom: 47px;
}

.q-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 20px;
}

.q-icon {
  font-size: 24px;
  color: var(--white);
  background-image: linear-gradient(90deg, #78e7a4 0%, #00b0ab);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.q-icon span {
  transform: translate(-5%, -7%);
}

.q-txt {
  font-size: 23px;
  color: var(--black);
  flex: 1;
}

.a-box {
  background-color: var(--beige02);
  border-radius: 10px;
  max-width: 850px;
  width: 100%;
  padding: 23px 20px;
}

.a-txt {
  font-size: 17px;
  font-weight: bold;
  color: var(--black);
  line-height: 1.6;
}

.time-line {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.time-set {
  display: flex;
  gap: 28px;
}

.time {
  font-size: 17px;
  color: #4d4d4d;
  font-weight: bold;
  background-color: #e8e3ba;
  border-radius: 50px;
  line-height: 25px;
  width: 100px;
  height: 25px;
  display: inline-block;
  text-align: center;
  flex-shrink: 0;
}
.todo {
  font-size: 17px;
  color: #4d4d4d;
  font-weight: bold;
}

/* 閉じるボタン （閉じる）*/
.modal-btn {
  max-width: 260px;
  width: 100%;
  height: 60px;
  margin: 0 auto;
  font-weight: 500;
}

/* リンクボタン */
.close-button {
  position: relative;
  display: flex; /* 中央寄せのため */
  align-items: center;
  justify-content: center;
}

/* バツ印の共通部分 */
.close-button::before,
.close-button::after {
  content: "";
  position: absolute;
  width: 25px; /* バツの長さ */
  height: 2px; /* 線の太さ */
  background-color: var(--white); /* 線の色（または #fff） */
  right: 16px; /* テキストの右に配置 */
  top: 50%;
  transform-origin: center;
}

.close-button::before {
  transform: translateY(-50%) rotate(45deg);
}
.close-button::after {
  transform: translateY(-50%) rotate(-45deg);
}

.staff-bottom {
  padding-top: 130px;
}

.br-390,
.br-547 {
  display: none;
}

@media (max-width: 1000px) {
  .person-box {
    margin-bottom: 100px;
  }

  .person-box02,
  .person-box04 {
    margin-bottom: 170px;
  }

  .person-txt-box {
    top: 5%;
  }

  .person-pic {
    width: 50%;
  }
}

@media (max-width: 960px) {
  .person-pic.person-pic03 {
    position: relative;
    z-index: -1;
    transform: translateY(70px);
  }
}

@media (max-width: 860px) {
  .person-head {
    font-size: 30px;
  }

  .modal-content {
    padding-top: max(5%, 20px);
    padding-bottom: max(5%, 20px);

    padding-right: max(5%, 20px);
    padding-left: max(5%, 20px);
  }
}

@media (max-width: 768px) {
  .person-box {
    margin-bottom: 60px;
  }

  .person-txt-box {
    position: static;
    width: 100%;
    top: auto;
    left: auto;
  }

  .person-box {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }

  .person-pic {
    width: 70%;
    margin: 0 auto;
  }

  .person-pic.person-pic03 {
    z-index: auto;
    transform: none;
  }

  .person-head-box,
  .person-txt {
    width: 100%;
  }

  .person-head {
    font-size: clamp(16px, 5vw, 36px);
    padding: 0 5px;
  }

  .person-txt .person-list {
    font-size: clamp(14px, 2vw, 19px);
  }

  .person-name {
    font-size: clamp(20px, 5vw, 34px);
  }

  .q-txt {
    font-size: clamp(15px, 4vw, 21px);
  }

  .a-txt {
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.6;
  }

  .time-set {
    gap: 15px;
  }

  .time {
    font-size: clamp(14px, 3.5vw, 16px);
    width: 80px;
  }
  .todo {
    font-size: clamp(14px, 3.5vw, 16px);
  }

  .staff-bottom {
    padding-top: 80px;
  }
}

@media (max-width: 547px) {
  .br-547 {
    display: block;
  }
}

@media (max-width: 480px) {
  .person-head-box {
    gap: 5px;
  }

  .person-head {
    line-height: 40px;
  }

  .person-txt {
    margin-top: 20px;
  }

  .close {
    width: 45px;
    height: 45px;
  }

  .faq-list {
    padding-bottom: 30px;
  }
}

@media (max-width: 390px) {
  .br-390 {
    display: block;
  }
}

@media (max-width: 375px) {
  .person-head {
    line-height: 35px;
  }

  .q-icon {
    font-size: 20px;
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 340px) {
  .person-head {
    line-height: 30px;
  }
}

/*******************************************************
追従ボタン
*******************************************************/

.slidebtn-wrap {
  position: fixed;
  top: 78%; /* 画面の中央に縦位置 */
  right: 0; /* 右端に固定 */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 1;
}

.slide-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 17px;
  width: 175px;
  height: 80px;
  color: var(--black);
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  transition: transform 0.3s, opacity 0.3s;
  background-color: #f3f3f3;
}

.slide-btn::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0;
  width: 16px;
  height: 100%;
  background-color: #00b0ab;
}

.slide-orange::before {
  background-color: #ff7a00;
}

.slide-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.slide-btn.slide-blue:hover {
  background-color: #00b0ab;
}

.slide-btn.slide-orange:hover {
  background-color: #ff7a00;
}

@media (max-width: 768px) {
  .slidebtn-wrap {
    display: none;
    flex-direction: row;
    bottom: -0.1%; /* 下に固定 */
    left: 0;
    top: auto;
    width: 100%;
    transform: none;
    gap: 0;
  }

  .slide-btn {
    flex: 1 1 50%;
    min-width: 0;
    height: 70px;
  }

  .slide-blue {
    background-color: #e1e1e1;
  }

  /* .slide-btn::before {
    display: none;
  } */
  .slide-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    width: 100%;
    height: 15px;
    background-color: #00b0ab;
  }
  .slide-orange::before {
    background-color: #ff7a00;
  }
}

@media (max-width: 480px) {
  .slide-btn {
    font-size: 15px;
    height: 60px;
  }
}

@media (max-width: 375px) {
  .slide-btn {
    font-size: 14px;
  }
}

/*******************************************************
フッター
*******************************************************/
footer {
  background-color: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 300;

  text-align: center;
  padding: 57px 0;
}

.inner {
  padding: 0 10px;
}

.footer-nav {
  padding-bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer-nav > a:not(:first-child)::before {
  content: "｜";
  position: relative;
  right: 3%;
}

.footer-nav a:hover {
  opacity: 0.8;
}

@media (max-width: 820px) {
  .footer-nav {
    flex-wrap: wrap;
  }
  .footer-nav > a:last-child::before {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  footer {
    padding-top: 35px;
    padding-bottom: 110px;
  }
}

@media (max-width: 623px) {
  .footer-nav > a:nth-last-child(2)::before {
    opacity: 0;
  }

  .footer-nav > a:last-child::before {
    opacity: 1;
  }
}

@media (max-width: 481px) {
  .footer-nav > a:nth-last-child(3)::before {
    opacity: 0;
  }

  .footer-nav > a:nth-last-child(2)::before {
    opacity: 1;
  }

  .footer-nav > a:last-child::before {
    opacity: 0;
  }
}

@media (max-width: 407px) {
  .footer-nav > a:nth-last-child(2)::before {
    opacity: 0;
  }

  .footer-nav > a:last-child::before {
    opacity: 1;
  }
}

@media (max-width: 362px) {
  .footer-nav > a:last-child::before {
    opacity: 0;
  }
}
