@charset "utf-8";

/* 色の変数　　例）color: var(--white); */
:root {
  --black: #000000;
  --white: #ffffff;
  --blue01: #1b4abf;
  --blue02: #e5f5ff;
  --blue03: #e6f7fa;
  --yellow01: #ffd73a;
  --yellow02: #fff9ec;
  --gray: #f3f3f3;
}

:root {
  --ZenKaku: "Zen Kaku Gothic New";
  --NotoSansJP: "Noto Sans JP";
}

:root {
  --header-height100: 100px;
  --header-height70: 70px;
}

html {
  scroll-behavior: smooth;
}

/* ↓↓↓↓ヘッダー分MVを下げる↓↓↓↓ */
main {
  margin-top: var(--header-height100);
}

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

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height100);
  z-index: 5;
  background-color: var(--white);
  padding-left: 1%;
  padding-right: 1%;
  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;
  flex-shrink: 0; /* 左側を縮ませない */
}

.logo {
  max-width: clamp(170px, 15vw, 185px);
  width: 100%;
  display: block;
}

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

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

  .logo {
    max-width: clamp(110px, 23vw, 160px);
  }

  .header-btn {
    display: none;
  }
}

/*******************************************************
ハンバーガー
*******************************************************/
.hamburger {
  /* display: none; */
  position: relative;
  z-index: 10;
  cursor: pointer;
  transition: all 0.4s;
  height: 55px;
  width: 55px;
  align-items: center;
}

/* 線のスタイル */
.hamburger span {
  position: absolute;
  left: 50%;
  display: block;
  width: 35px;
  height: 2px;
  border-radius: 10px;
  background-color: var(--blue01);
  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(135deg);
}

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

.hamburger.active span:nth-of-type(3) {
  top: 50%;
  transform: translateX(-50%) rotate(-135deg);
}

.hamburger:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .hamburger {
    position: fixed;
    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 {
  display: none;
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

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

.navi {
  position: fixed;
  z-index: 2;
  top: 0;
  right: -100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  overflow-x: hidden;
  overflow-y: auto;
  visibility: hidden;
  transition: all 0.6s;
}

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

.menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 25px;
  padding: 80px 0 60px;
}

.menu-list {
  color: var(--black);
  text-decoration: none;
  line-height: 1.6;
  min-height: 60px;
}

.menu-text {
  font-family: var(--ZenKaku);
  font-size: clamp(25px, 4vw, 25px);
  font-weight: bold;
}

.menu-text-jp {
  font-family: var(--ZenKaku);
  font-size: clamp(16px, 2.5vw, 14px);
  font-weight: 600;
}

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

@media (max-width: 768px) {
  .menu {
    padding: 55px 0;
  }
}

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

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

.btn-blue {
  color: var(--white);
  background-color: var(--blue01);
}
.btn-yellow {
  color: var(--black);
  background-color: var(--yellow01);
}

.btn:hover {
  opacity: 0.7;
}

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

.header-button {
  font-size: 15px;
  font-family: var(--ZenKaku);
  font-weight: bold;
}

/* メニューボタン */
.menu-btn-box {
  max-width: 200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 auto;
}

.menu-btn {
  height: 50px;
}

.menu-button {
  font-size: 15px;
  font-family: var(--ZenKaku);
  font-weight: bold;
}

/* タブパネル中身ボタン */
.panel-btn {
  max-width: 400px;
  width: 100%;
  height: 80px;
  margin: 0 auto;
}

.panel-button {
  font-size: 20px;
  font-family: var(--ZenKaku);
  font-weight: bold;
}

.back-btn {
  max-width: 185px;
  width: 100%;
  height: 50px;
  margin: 0 20px 0 auto;
}

.back-button {
  font-size: 16px;
  font-family: var(--ZenKaku);
  font-weight: bold;
  border-radius: 0 0 10px 10px;
}

.br-768 {
  display: none;
}

@media (max-width: 768px) {
  .br-768 {
    display: block;
  }
  .panel-btn {
    max-width: 300px;
    height: 66px;
  }

  .panel-button {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .back-btn {
    max-width: 150px;
    height: 45px;
  }

  .back-button {
    font-size: 15px;
  }
}

/*******************************************************
共通
*******************************************************/
.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 {
  padding-bottom: 5px;
}

.ttl-jp {
  display: flex;
  gap: 12px;
  font-size: 21px;
  color: var(--black);
  font-family: var(--NotoSansJP);
  font-weight: bold;
  text-align: center;
}

.ttl-jp::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-color: var(--yellow01);
}

@media (max-width: 768px) {
  .ttl-jp {
    font-size: clamp(15px, 2.5vw, 21px);
  }

  .ttl-jp::before {
    width: clamp(15px, 2.5vw, 21px);
    height: clamp(15px, 2.5vw, 21px);
  }
}

/*******************************************************
MV
*******************************************************/
.mv {
  position: relative;
  width: 100%;
  aspect-ratio: 1400 / 855;
  background-image: linear-gradient(
    0deg,
    rgb(255, 249, 236),
    rgb(255, 255, 255) 60%
  );
}

.mv-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

.mv-slide.active {
  opacity: 1;
  z-index: 1;
}

.mv-slide img {
  width: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .mv {
    aspect-ratio: 980 / 1250;
  }

  .mv-ttl-inner {
    gap: 20px;
  }

  .ttl-top {
    font-size: clamp(40px, 7vw, 50px);
    line-height: 80px;
  }

  .ttl-top p {
    padding: 0 20px;
  }

  .ttl-bottom {
    font-size: clamp(20px, 2.5vw, 20px);
    line-height: 45px;
    padding: 0 20px;
  }
}
/*******************************************************
1.セクション
*******************************************************/
.section1 {
  position: relative;
  background-color: var(--yellow02);
  border-radius: 17px;
  padding: 127px 0;
  z-index: 0;
}

/* アイテム */
.section1::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 22.544%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 312 / 251; /* アスペクト比を維持(横・縦) */
  background: url("../img/03-about/item.png") no-repeat center/contain;
  vertical-align: middle;
  right: 10%;
  top: 6%;
  z-index: -1;
}

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

.eng01 {
  width: 273px;
  width: 27.858%;
}

.section-txt {
  font-size: 17px;
  color: var(--black);
  font-family: var(--NotoSansJP);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.01em;
  text-align: justify;
  padding-top: 33px;
}

@media (max-width: 1000px) {
  .section1::before {
    top: 3%;
  }
}

@media (max-width: 768px) {
  .section1 {
    padding: 100px 0;
  }

  .eng01 {
    max-width: 188px;
    width: 100%;
  }

  .section-txt {
    font-size: clamp(13px, 2.5vw, 17px);
    text-align: start;
    letter-spacing: 0;
  }

  .push01 {
    display: inline-block;
  }

  .section1::before {
    width: 27%;
  }
}

@media (max-width: 736px) {
  .push02 {
    display: inline-block;
  }
}

@media (max-width: 560px) {
  .push03 {
    display: inline-block;
  }
}

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

  .eng01 {
    width: 188px;
  }

  .section1::before {
    width: 32%;
    right: 5%;
  }
}

/* ↓↓↓↓↓↓↓↓↓↓タブ切り替え↓↓↓↓↓↓↓↓↓↓ */

.tab-wrapper {
  padding-top: 57px;
}

/******** タブボタン *******/
.tab-menu {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
  width: 100%;
}

.tab-item {
  flex: 1; /* 幅を均等にする */
}

.tab-button {
  width: 100%; /* 親のタブ幅に合わせる */
  height: 60px;
  color: var(--black);
  background-color: var(--white);
  font-size: clamp(15px, 2.5vw, 20px);
  font-family: var(--ZenKaku);
  font-weight: bold;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.tab-button:hover {
  border-color: var(--yellow01);
}

.tab-button.active {
  background: var(--yellow01);
  color: var(--black);
  border-color: transparent;
}

@media (max-width: 500px) {
  .tab-menu {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-item {
    flex: 0 0 calc(50% - 5px);
  }

  .tab-button {
    width: 100%;
  }
}

/******** 中身 *******/
.tab-box {
  background-color: var(--white);
  border-radius: 20px;
  min-height: 120px;
  padding: 46px 40px 70px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

/* フェードイン */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-top {
  display: flex;
  gap: 35px;
}

.top-pic img {
  border-radius: 20px;
}

.top-txtbox {
  max-width: 431px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.top-head {
  font-size: 40px;
  font-size: clamp(30px, 4.5vw, 40px);
  color: var(--black);
  font-family: var(--ZenKaku);
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 25px;
}
.panel-txt {
  font-size: 17px;
  color: var(--black);
  font-family: var(--ZenKaku);
  font-weight: 500;
  line-height: 1.7;
}

.panel-txt .tight {
  letter-spacing: -1.3px;
}

.panel-list {
  font-size: 21px;
  font-weight: 700;
}

.panel-list .txt17 {
  font-size: 17px;
}

.panel-center {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
  padding-top: 46px;
}

/* 基本は2列分の幅 */
.panel-center .center-box {
  flex: 1 1 45%;
  max-width: 50%;
}

/* ★ 3個目だけ中央寄せ（3個の時限定で発火） */
.panel-center .center-box:nth-child(3):last-child {
  margin-left: auto;
  margin-right: auto;
}

.center-box {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.center-head {
  font-size: 30px;
  color: var(--blue01);
  font-family: var(--ZenKaku);
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
}

.panel-bottom {
  display: flex;
  gap: 35px;
  padding: 46px 0;
  align-items: stretch;
}

.bottom-box {
  background-color: var(--gray);
  border-radius: 20px;
  max-width: 430px;
  width: 100%;
  padding: 38px 27px 30px;
  display: flex;
  flex-direction: column;
}

.bottom-head {
  font-size: 24px;
  color: var(--black);
  font-family: var(--ZenKaku);
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  padding-bottom: 25px;
}

.br-849 {
  display: none;
}

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

@media (max-width: 810px) {
  .center-head {
    font-size: 28px;
  }
}

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

  .tab-box {
    padding: max(6%, 25px) max(5%, 10px) 50px;
  }

  .panel-top {
    display: block;
  }

  .top-pic {
    width: 80%;
    margin: 0 auto;
  }

  .top-txtbox {
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

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

  .panel-list {
    font-size: clamp(19px, 4.6vw, 21px);
  }

  .panel-center,
  .panel-bottom {
    gap: 25px;
  }

  .panel-bottom {
    flex-direction: column;
    align-items: center;
  }

  .center-head {
    font-size: clamp(24px, 2.5vw, 30px);
  }

  .bottom-head {
    font-size: clamp(20px, 4.5vw, 24px);
  }

  .bottom-box {
    padding: max(5%, 25px) max(3%, 10px) 30px;
  }
}

@media (max-width: 633px) {
  .panel-center {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .panel-center .center-box {
    width: 100%;
    max-width: 100%;
  }
}

/* ↓↓↓↓↓↓↓↓↓↓YOUTUBE↓↓↓↓↓↓↓↓↓↓ */
.yt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  max-width: 712px;
  width: 100%;
  margin: 0 auto;
  padding-top: 78px;
}

.yt-txt {
  font-size: 20px;
  color: var(--black);
  background-color: var(--yellow01);
  font-family: var(--ZenKaku);
  font-weight: bold;
  text-align: center;
  border-radius: 50px;
  line-height: 60px;
  max-width: 288px;
  width: 100%;
}

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .yt-txt {
    font-size: 17px;
  }
}
/*******************************************************
2.セクション
*******************************************************/
.section2 {
  position: relative;
  background-color: var(--white);
  padding: 130px 0 132px;
  z-index: 0;
}

.eng02 {
  width: 551px;
  width: 56.225%;
}

/* アイテム */
.section2::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 16.475%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 228 / 212; /* アスペクト比を維持(横・縦) */
  background: url("../img/04-support/item.png") no-repeat center/contain;
  vertical-align: middle;
  right: 15%;
  top: 3%;
  z-index: -1;
}

@media (max-width: 768px) {
  .section2 {
    padding: 100px 0 222px;
  }
  .eng02 {
    max-width: 381px;
    width: 100%;
  }

  .section2::before {
    width: 22%;
    right: 10%;
  }
}

@media (max-width: 480px) {
  .section2 {
    padding: 100px 0 190px;
  }

  .section2::before {
    width: 27%;
    top: 0;
  }
}

.support-outer {
  display: flex;
  flex-direction: column;
  gap: 117px;
  padding-top: 106px;
}

.sup-box {
  position: relative;
  display: flex;
}

.sup-txtbox {
  display: flex;
  flex-direction: column;
  gap: 35px;
  background-color: var(--blue03);
  max-width: 548px;
  width: 100%;
  border-radius: 20px;
}

/*奇数*/
.support-outer .sup-box:nth-child(odd) .sup-txtbox {
  padding: 60px 32px 55px 77px;
  margin-left: auto;
}

/*偶数*/
.support-outer .sup-box:nth-child(even) .sup-txtbox {
  padding: 60px 77px 55px 32px;
}

.sup-head {
  display: flex;
  align-items: baseline;
  gap: 25px;
}

.number {
  font-size: 50px;
  color: var(--blue01);
  font-family: var(--ZenKaku);
  font-weight: bold;
  letter-spacing: 0.05em;
}

.headtxt {
  font-size: 32px;
  color: var(--blue01);
  font-family: var(--ZenKaku);
  font-weight: bold;
  letter-spacing: 0.1em;
}

.sup-txt {
  max-width: 432px;
  width: 100%;
  font-size: 17px;
  color: var(--black);
  font-family: var(--ZenKaku);
  font-weight: 500;
  line-height: 1.7;
}

.sup-pic img {
  position: absolute;
  border-radius: 20px;
  max-width: 471px;
  width: 100%;
}

.support-outer .sup-box:nth-child(odd) .sup-pic img {
  top: -14.31%;
  left: 0;
}

.support-outer .sup-box:nth-child(even) .sup-pic img {
  right: 0;
  top: -14.31%;
}

@media (max-width: 1000px) {
  .sup-txtbox {
    max-width: 500px;
  }
  .sup-pic img {
    width: 45%;
  }
}

@media (max-width: 885px) {
  .sup-txtbox {
    max-width: 480px;
  }
  .sup-pic img {
    width: 40%;
  }
}

@media (max-width: 768px) {
  .support-outer {
    gap: 220px;
    padding-top: 60px;
  }
  .sup-box {
    flex-direction: column;
    gap: 20px;
  }

  .sup-head {
    gap: 10px;
  }

  .number {
    font-size: clamp(35px, 5.5vw, 50px);
  }
  .headtxt {
    font-size: clamp(26px, 5.5vw, 30px);
  }

  .sup-pic img {
    max-width: 320px;
    width: 100%;
  }

  .sup-txtbox {
    max-width: 548px;
    gap: 20px;
    padding: 30px 20px;
  }

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

  .support-outer .sup-box:nth-child(even) .sup-pic img,
  .support-outer .sup-box:nth-child(odd) .sup-pic img {
    top: 88%;
  }

  .support-outer .sup-box:nth-child(odd) .sup-txtbox,
  .support-outer .sup-box:nth-child(even) .sup-txtbox {
    padding: 20px 37px 30px;
  }
}

@media (max-width: 480px) {
  .support-outer {
    gap: 160px;
  }
  .sup-pic img {
    width: 60%;
  }

  .support-outer .sup-box:nth-child(even) .sup-pic img,
  .support-outer .sup-box:nth-child(odd) .sup-pic img {
    top: 90%;
  }
  .support-outer .sup-box:nth-child(odd) .sup-txtbox,
  .support-outer .sup-box:nth-child(even) .sup-txtbox {
    padding: 20px 20px 30px;
  }
}

@media (max-width: 415px) {
  .sup-head {
    display: block;
  }

  .sup-pic img {
    width: 70%;
  }
}

@media (max-width: 375px) {
  .support-outer {
    gap: 130px;
  }
}

/*******************************************************
3.セクション
*******************************************************/
.section3 {
  position: relative;
  background-color: var(--blue02);
  border-radius: 17px;
  z-index: 0;
  padding: 130px 0 125px;
}

.eng03 {
  width: 385px;
  width: 39.287%;
}

/* アイテム */
.section3::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 17.979%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 228 / 212; /* アスペクト比を維持(横・縦) */
  background: url("../img/05-environment/item01.png") no-repeat center/contain;
  vertical-align: middle;
  right: 15%;
  top: 3%;
  z-index: -1;
}

@media (max-width: 768px) {
  .section3 {
    padding: 100px 0;
  }

  .eng03 {
    max-width: 266px;
    width: 100%;
  }

  .section3::before {
    width: 23%;
  }
}

@media (max-width: 480px) {
  .section3 {
    padding: 100px 0 80px 0;
  }

  .section3::before {
    width: 28%;
    right: 5%;
    top: 0;
  }
}

.data-outer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 2vw;
  padding-top: 55px;
}

.data-box {
  display: grid;
  grid-template-rows: auto auto 1fr;
  background-color: var(--white);
  max-width: 306px;
  width: 100%;
  border-radius: 20px;
  padding: 28px 10px;
}

.data-head {
  font-size: 26px;
  color: var(--yellow01);
  font-family: var(--ZenKaku);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 20px;
}

.data-head.career-head {
  padding-bottom: 0;
}

.data-head .txt19 {
  font-size: 19px;
}

.data-img {
  width: 90.91%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 10px 0 30px;
}

.data-txt,
.career-txt {
  font-size: 17px;
  color: var(--black);
  font-family: var(--ZenKaku);
  font-weight: 500;
  line-height: 1.8;
  text-align: justify;
  margin: 0 auto;
}

.data-txt {
  max-width: 252px;
}

.career-txt {
  max-width: 926px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.career-txt .txt13 {
  font-size: 13px;
}

.career-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: var(--white);
  border-radius: 20px;
  padding: 20px 10px 35px;
}

.data-box-size {
  grid-column: 1 / -1;
  width: 100%;
}

.career-box::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 12.96%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 127 / 168; /* アスペクト比を維持(横・縦) */
  background: url("../img/05-environment/item02.png") no-repeat center/contain;
  vertical-align: middle;
  right: 6%;
  top: 47%;
}

.data-img04 {
  max-width: 979px;
  width: 100%;
  margin: 0 auto;
}

.br-1000 {
  display: none;
}

.br-434 {
  display: none;
}

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

  .data-txt,
  .career-txt {
    padding: 0 10px;
  }
}

@media (max-width: 840px) {
  .data-head {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .data-outer {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-items: center;
  }

  .data-box,
  .career-box {
    max-width: none;
    padding: 20px;
  }

  .data-img {
    width: 80%;
    padding-bottom: 20px;
  }

  .data-txt {
    max-width: none;
  }

  .data-txt,
  .career-txt {
    font-size: clamp(15px, 2.5vw, 17px);
  }
}

@media (max-width: 480px) {
  .data-outer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .data-box,
  .career-box {
    width: 90%;
  }

  .data-img {
    width: 70%;
  }

  .data-txt,
  .career-txt {
    padding: 0;
  }

  .career-box::after {
    width: 17%;
  }
}

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

@media (max-width: 375px) {
  .career-box::after {
    width: 21%;
    top: 40%;
  }
}

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

.section4 {
  padding-top: 130px;
}

.eng04 {
  width: 28.98%;
}

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

  .eng04 {
    max-width: 196px;
    width: 100%;
  }
}

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

/* カード配置 */
.card-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 30px;
  row-gap: 224px;
  padding: 60px 0 295px;
}

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

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

.card-pic {
  position: relative;
  width: 100%;
}

.card-pic img {
  border-radius: 20px;
}

.card-txt {
  position: absolute;
  top: 92.5%;
}

.head-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 18px;
}

.card-head {
  font-size: 26px;
  color: var(--white);
  background-color: var(--blue01);
  font-family: var(--ZenKaku);
  font-weight: 500;
  line-height: 40px;
  border-radius: 10px;
  width: fit-content;
  padding: 0 13px;
}

.work-type {
  font-size: 26px;
  color: var(--blue01);
  font-family: var(--NotoSansJP);
  font-weight: bold;
  padding-bottom: 15px;
}

.profile {
  font-size: 17px;
  color: var(--black);
  font-family: var(--NotoSansJP);
  font-weight: 600;
}

.open-modal {
  position: absolute;
  background-color: var(--yellow01);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  top: 127%;
  left: 86.5%;
}

/* 矢印 */
.arrow {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 21px;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  top: 50%;
  left: 180%;
  background-color: var(--blue01);
  transform-origin: calc(100% - 1px) 50%;
}

.arrow::before {
  transform: rotate(37.5deg);
}

.arrow::after {
  transform: rotate(-37.5deg);
}

@media (max-width: 1000px) {
  .card {
    max-width: 331px;
  }

  .card-head {
    font-size: 20px;
    padding: 0 8px;
  }

  .work-type {
    font-size: 24px;
  }

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

  .arrow::before,
  .arrow::after {
    width: 14px;
    left: 145%;
  }
}

@media (max-width: 783px) {
  .card-box {
    column-gap: 16px;
  }
}

@media (max-width: 768px) {
  .card {
    min-width: 0;
  }

  .card-box {
    row-gap: 200px;
    padding: 40px 0 240px;
  }
}

@media (max-width: 375px) {
  .card-box {
    row-gap: 175px;
    padding: 40px 0 220px;
  }

  .card-head {
    font-size: 17px;
    line-height: 35px;
    padding: 0 5px;
  }

  .work-type {
    font-size: 22px;
  }

  .profile {
    font-size: 15px;
  }

  .open-modal {
    width: 40px;
    height: 40px;
    top: 150%;
  }

  .arrow::before,
  .arrow::after {
    width: 13px;
    left: 115%;
  }
}

/* ===============================
  モーダル　内容
=============================== */
/* モーダル全体 */
.modal {
  display: none;
  pointer-events: none; /* 非表示中はクリック不可 */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 74, 191, 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(--blue01);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 12;
}

.close {
  color: var(--blue01);
  background-color: var(--yellow01);
  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-head-box-sp {
  display: none;
}

#modal2 .person-txt-box,
#modal3 .person-txt-box {
  top: 0;
}

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

.person-pic img {
  border-radius: 25px;
}

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

.person-head-box-sp {
  display: none;
}

.person-head {
  font-size: 36px;
  font-family: var(--ZenKaku);
  font-weight: 500;
  line-height: 50px;
  color: var(--white);
  background-color: var(--blue01);
  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;
}

.work-type.in-modal {
  font-size: 32px;
}

.profile.in-modal {
  font-size: 19px;
}

.person-name {
  font-size: 34px;
  font-family: var(--NotoSansJP);
  color: var(--black);
  font-weight: 600;
  padding-top: 70px;
}

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

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

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

.q-icon {
  font-size: 24px;
  font-family: var(--NotoSansJP);
  font-weight: bold;
  color: var(--blue01);
  background-color: var(--yellow01);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.q-icon span {
  transform: translate(3%, -9%);
}

.q-txt {
  font-size: 23px;
  font-family: var(--NotoSansJP);
  font-weight: bold;
  color: var(--blue01);
  flex: 1;
}

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

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

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

.modal-button {
  font-size: 15px;
  font-family: var(--ZenKaku);
  font-weight: 600;
}

.close-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* フェードアニメーション */
@keyframes fadeIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

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

  .person-pic {
    width: 50%;
  }

  .person-name {
    padding-top: 0;
  }
}

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

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

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

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

  .person-head-box-pc {
    display: none;
  }
  .person-head-box-sp {
    display: flex;
  }

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

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

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

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

  .work-type.in-modal {
    font-size: clamp(22px, 5vw, 32px);
  }

  .profile.in-modal {
    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;
  }
}

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

  .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;
  }

  .modal-btn {
    width: 50%;
    height: 50px;
  }

  .modal-button {
    font-size: 15px;
  }
}

@media (max-width: 423px) {
  .person-head-box-pc {
    display: flex;
  }
  .person-head-box-sp {
    display: none;
  }
}

@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;
  }
}

/*******************************************************
5.セクション
*******************************************************/
.section5 {
  position: relative;
  background-color: var(--yellow02);
  border-radius: 17px 17px 0 0;
  z-index: 0;
  padding: 130px 0 110px;
}

.eng05 {
  width: 291px;
  width: 29.695%;
}

/* アイテム */
.section5::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 28.015%; /* 親テキスト幅に対しての比率 */
  aspect-ratio: 388 / 246; /* アスペクト比を維持(横・縦) */
  background: url("../img/07-search/item.png") no-repeat center/contain;
  vertical-align: middle;
  right: 14%;
  top: 3%;
  z-index: -1;
}

@media (max-width: 768px) {
  .section5 {
    padding: 100px 0;
  }

  .eng05 {
    max-width: 201px;
    width: 100%;
  }

  .section5::before {
    width: 32%;
  }
}

@media (max-width: 480px) {
  .section5 {
    padding: 100px 0 80px 0;
  }

  .section5::before {
    width: 37%;
    top: 0;
    right: 6%;
  }
}

/* ------------------------------
   ボタンリスト（トグル）
------------------------------ */
.btn-box {
  display: flex;
  justify-content: center;
  gap: 10.5%;
  padding-top: 95px;
}

.toggle-wrap {
  width: 100%;
  max-width: 400px;
}

.main-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 20px;
  color: var(--black);
  font-family: var(--ZenKaku);
  font-weight: bold;
  background: var(--yellow01);
  border-radius: 11px;
  height: 80px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.main-btn,
.panel .action-button {
  width: 100%;
  max-width: none;
}

/* 矢印コンテナ */
.tglarrow {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* ▼矢印本体 */
.tglarrow::before {
  content: "";
  position: absolute;
  color: var(--blue01);
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  left: 36%;
  transition: transform 0.3s ease;
}

/* ボタンが開いたとき（上向き矢印） */
.main-btn[aria-expanded="true"] .tglarrow::before {
  transform: rotate(-135deg);
}

/* パネル部分（スライド表示） */
.panel {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

.panel .action-btn {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

.panel.show {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
}

/* サブボタン */
.action-btn {
  display: block;
  border: none;
  background: none;
}

.panel .action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  text-decoration: none;
  font-size: 20px;
  color: var(--black);
  font-family: var(--ZenKaku);
  font-weight: bold;
  background: var(--white);
  transition: background 0.3s ease;
  border-radius: 0;
  border-top: none;
}

/* 2つ目以降のボタンだけ上に1pxの線を入れる（＝ボタン間の境界線）*/
.panel .action-btn + .action-btn .action-button {
  border-top: 1px solid #ddd;
}

/* 一番上のボタンの上角だけ丸くする */
.panel .action-btn:first-child .action-button {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* 一番下のボタンの下角だけ丸くする */
.panel .action-btn:last-child .action-button {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.action-button:hover {
  color: var(--blue01);
  background: var(--blue02);
}

@media (max-width: 768px) {
  .btn-box {
    padding-top: 60px;
  }

  .main-btn,
  .panel .action-button {
    font-size: clamp(17px, 2.5vw, 20px);
    height: 75px;
  }

  .tglarrow {
    width: 24px;
    height: 24px;
  }

  .tglarrow::before {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 620px) {
  .btn-box {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .toggle-wrap {
    width: 80%;
  }

  .main-btn,
  .panel .action-button {
    height: 60px;
  }
}

@media (max-width: 375px) {
  .main-btn,
  .panel .action-button {
    font-size: 16px;
  }

  .tglarrow {
    right: 13px;
    width: 22px;
    height: 22px;
  }

  .tglarrow::before {
    width: 7px;
    height: 7px;
  }
}

/* ------------------------------
  MAP
------------------------------ */
.map-box {
  padding-top: 78px;
}

.map-head {
  font-size: 20px;
  color: var(--black);
  background-color: var(--yellow01);
  font-family: var(--ZenKaku);
  font-weight: bold;
  width: 288px;
  line-height: 60px;
  text-align: center;
  border-radius: 50px;
  margin: 0 auto 15px;
}

@media (max-width: 768px) {
  .map-head {
    font-size: clamp(17px, 2.5vw, 20px);
    line-height: 55px;
  }
}

@media (max-width: 480px) {
  .map-head {
    width: 240px;
  }
}

@media (max-width: 375px) {
  .map-head {
    font-size: 16px;
    width: 210px;
  }
}
/*******************************************************
追従ボタン
*******************************************************/
.slidebtn-wrap {
  display: none;
}

.slide-btn:hover {
  opacity: 0.8;
}

.slidebtn-wrap .btn-blue.to-bottom {
  border-top: 0.5px solid var(--white) !important;
}

@media (max-width: 768px) {
  .slidebtn-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: row;
    gap: 0;
    z-index: 1;
  }

  .slide-btn {
    flex: 1;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 15px;
    font-family: var(--ZenKaku);
    font-weight: bold;
    line-height: 1.5;
    text-decoration: none;
  }
}

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

@media (max-width: 375px) {
  .slide-btn {
    font-size: 14px;
  }
}
/*******************************************************
フッター
*******************************************************/
footer {
  position: relative;
  background-color: var(--blue01);
  color: var(--white);
  font-size: 12px;
  font-family: var(--NotoSansJP);
  font-weight: 300;
  text-align: center;
  padding: 57px 0;
}

.fotter-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%;
}

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

@media (max-width: 480px) {
  .footer-nav {
    flex-wrap: wrap;
  }

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