@charset "utf-8";

ul {
  padding: 0;
}

li {
  list-style: none;
}


.section_title_container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 768px) {
  .section_title_container {
    gap: 0px;
  }
}

.section_title_jp {
  color: var(--color-black);
  font-weight: 700;
  font-size: 20px;
  text-box-trim: trim-both;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .section_title_jp {
    font-size: 14px;
    margin-bottom: 10px;
  }
}

.section_title {
  color: var(--color-red);
  font-family: var(--font-din);
  font-weight: 700;
  font-size: clamp(40px, 5.405405405405405vw, 80px);
  text-box-trim: trim-both;
  line-height: 1.5;
  letter-spacing: 0.01em;

}

@media (max-width: 768px) {
  .section_title {
    font-size: 30px;
  }
}



/* =============== FV ================= */
.main_visual {
  background: var(--color-red);
  padding: 90px 0 0 0;
  position: relative;
}

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

.red_wave {
  position: absolute;
  margin-top: -7px;
}

.main_visual_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*padding-left: min(11.14864864864865vw, 165px);*/
  padding: 0 20px 0 20px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 768px) {
  .red_wave {
    margin-top: -1px;
  }

  .main_visual_content {
    flex-direction: column;
    padding-left: 20px;
    align-items: flex-start;
  }
}


.introduction {
  position: absolute;
  bottom: 5%;
  right: 52%;
  border-radius: 4px;
  color: #ffffff;
  background: var(--color-red);
  border: 2px solid #ffffff;
  padding: 7px 15px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
  z-index: 10;
  white-space: nowrap;
}

.introduction .large {
  font-size: 15px;
}

@media (max-width: 768px) {
  .introduction {
    bottom: 10px;
    right: 10px;
    border-radius: 2px;
    color: #ffffff;
    background: var(--color-red);
    border: 2px solid #ffffff;
    padding: 5px 10px;
    font-size: 10px;
  }

  .introduction .large {
    font-size: 12px;
  }
}

.main_visual_text {
  padding-bottom: 100px;
}

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

.main_title_en_top {
  color: var(--color-white);
  font-family: var(--font-din);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .main_title_en_top {
    font-size: 16px;
  }
}

.main_title {
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(20px, 2.9729729729729732vw, 44px);
  line-height: 1.65;
  letter-spacing: 0.15em;
  display: inline-block;
  margin: 32px 0 15px;
}

@media (max-width: 768px) {
  .main_title {
    font-size: clamp(24px, 6.153846153846154vw, 36px);
    margin: 20px 0 12px;
  }
}

.main_title_back {
  background: var(--color-black);
}

.main_title_en_bottom {
  color: var(--color-white);
  font-family: var(--font-din);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.2em;

}

@media (max-width: 768px) {
  .main_title_en_bottom {
    font-size: 12px;

  }
}


.main_visual_img_container {
  position: relative;
}

@media (max-width: 768px) {
  .main_visual_img_container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

.main_visual_img {
  width: min(50vw, 700px);
  position: relative;
  z-index: 0;
}

@media (max-width: 768px) {
  .main_visual_img {
    width: 85vw;
  }
}

img.a_f_01 {
  position: absolute;
  top: 12%;
  left: 23%;
  z-index: 10;
  width: min(15vw, 235px);

  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform 1.4s ease;
}

img.a_f_02 {
  position: absolute;
  top: 7%;
  left: 60%;
  z-index: 10;
  width: min(15vw, 235px);

  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform 1.4s ease;
}

img.a_f_03 {
  position: absolute;
  top: 26%;
  left: 20%;
  z-index: 10;
  width: min(15vw, 235px);

  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform 1.4s ease;
}

img.a_f_04 {
  position: absolute;
  top: 21%;
  left: 60%;
  z-index: 10;
  width: min(15vw, 235px);

  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform 1.4s ease;
}

img.a_f_05 {
  position: absolute;
  top: 41%;
  left: 12%;
  z-index: 10;
  width: min(15vw, 235px);

  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform 1.4s ease;
}

img.a_f_06 {
  position: absolute;
  top: 37%;
  left: 52.5%;
  z-index: 10;
  width: min(22vw, 345px);

  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform 1.4s ease;
}

@media (max-width: 768px) {
  img.a_f_01 {
    position: absolute;
    top: 12%;
    left: 20%;
    z-index: 10;
    width: min(30vw, 180px);
    transform: translateY(20px);
  }

  img.a_f_02 {
    position: absolute;
    top: 7%;
    left: 57%;
    z-index: 10;
    width: min(30vw, 180px);
    transform: translateY(20px);
  }

  img.a_f_03 {
    position: absolute;
    top: 26%;
    left: 17%;
    z-index: 10;
    width: min(30vw, 180px);
    transform: translateY(20px);
  }

  img.a_f_04 {
    position: absolute;
    top: 21%;
    left: 57%;
    z-index: 10;
    width: min(30vw, 180px);
    transform: translateY(20px);
  }

  img.a_f_05 {
    position: absolute;
    top: 41%;
    left: 9%;
    z-index: 10;
    width: min(30vw, 180px);
    transform: translateY(20px);
  }

  img.a_f_06 {
    position: absolute;
    top: 37%;
    left: 49.5%;
    z-index: 10;
    width: min(43vw, 240px);
    transform: translateY(20px);
  }
}

/* ★ FVアニメーション用CSS追加 */
/* ==================================== */
/* 表示状態: JSでこのクラスが付与されるとアニメーションが実行される */
.main_visual_img_container>img[class^="a_f_"].is-show {
  opacity: 1;
  transform: translateY(0);
  /* 元の位置に戻す（下から上がるように見える） */
}

/* =============== NEWS ================= */
.news {
  padding: 11.486486486486488vw 0 8.108108108108109vw;
  background: url(../img/top/news_background.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

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

.news_main {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 990px) {
  .news_main {
    flex-direction: column;

  }
}

.news_list {
  width: 57%;
  background-color: var(--color-white);
}

@media (max-width: 1130px) {
  .news_list {
    width: 64%;
  }
}

@media (max-width: 990px) {
  .news_list {
    width: 100%;
    margin-top: 40px;
  }
}

.news_item:last-child {
  border-bottom: 1px solid var(--color-black);
}

.news_link {
  display: block;
  padding: 16px 10px;
  position: relative;
  z-index: 1;
}

/* hover アニメーション */
.news_link::after {
  border-top: 1px solid var(--color-black);
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}


.news_link::before {
  background: var(--color-white);
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s ease, background-color .3s ease;
  z-index: -1;
}

.news_item:hover .news_link::before {
  transform-origin: left top;
  transform: scale(1, 1);
  background-color: #E6E6E6;
}




.news_wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

@media (max-width: 990px) {
  .news_wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: left;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .news_wrapper {
    gap: 20px;
  }
}

.date {
  color: var(--color-red);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}

.title {
  color: var(--color-black);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
}



/* ============== COMPANY ================== */
.company {
  padding: 120px 0 0;
}

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

.company_wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

.company_top {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
}

@media (max-width: 990px) {
  .company_top {
    flex-direction: column;
    margin-top: 40px;
  }
}

.company_main_title_jp {
  font-weight: 700;
  font-size: 20px;
  text-box-trim: trim-both;
  line-height: 1.5;
  letter-spacing: 0.01em;

}

.company_main_title {
  color: var(--color-red);
  font-family: var(--font-din);
  font-weight: 700;
  font-size: clamp(36px, 3.2432432432432434vw, 48px);
  text-box-trim: trim-both;
  line-height: 1.5;
  letter-spacing: 0.1em;

}

@media (max-width: 768px) {
  .company_main_title {
    font-size: 30px;
    margin: 10px 0;
  }

  .company_main_title_jp {
    font-size: 18px;
  }
}


.company_sub_title {
  font-weight: 700;
  font-size: clamp(28px, 3.783783783783784vw, 56px);
  text-box-trim: trim-both;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .company_sub_title {
    font-size: 18px;
  }
}

.company_top_text {
  font-weight: 400;
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.04em;
  text-align: justify;
  max-width: 482px;
  margin-top: 22px;
}

@media (max-width: 1230px) {
  .company_top_text {
    max-width: 60%;
  }
}

@media (max-width: 1020px) {
  .company_top_text {
    max-width: 550px;
  }
}

@media (max-width: 990px) {
  .company_top_text {
    max-width: 100%;
  }
}

@media (max-width: 530px) {
  .company_top_text {
    max-width: none;
  }
}

.company_feature_container {
  display: flex;
  align-items: flex-start;
  margin: 120px auto;
  justify-content: space-around;
}

@media (max-width: 768px) {
  .company_feature_container {
    margin: 40px 0;
    gap: 20px 20px;
  }
}

.company_feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33.3333%;
}

.company_feature_img {
  max-width: 120px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .company_feature_img img {
    max-height: 120px;
    width: auto;
    margin-bottom: 10px;
  }
}

.company_feature_title {
  color: var(--color-red);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
}

@media (max-width: 768px) {
  .company_feature_title {
    font-size: 22px;
  }
}

.company_feature_text {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 8px;
}




.company_policy_container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.company_policy_top {
  display: flex;
  gap: 36px;
}

@media (max-width: 768px) {
  .company_policy_top {
    flex-direction: column;
  }
}

.company_policy_content {
  background: var(--color-pink);
  border-radius: 20px;
  flex: 1;
  padding: clamp(20px, 3.2432432432432434vw, 48px) clamp(32px, 4.054054054054054vw, 60px) clamp(32px, 3.9189189189189193vw, 58px);
}

@media (max-width: 768px) {
  .company_policy_content {
    padding: 36px 20px;
  }
}

.company_policy_contentTitle {
  color: var(--color-red);
  font-family: var(--font-din);
  font-weight: 700;
  font-size: clamp(28px, 4.054054054054054vw, 60px);
  line-height: 1.5;
  letter-spacing: 0.01;
  text-align: center;
}

@media (max-width: 768px) {
  .company_policy_contentTitle {
    color: var(--color-red);
    font-size: 32px;
  }
}

.company_policy_contentTitle_jp {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-align: center;
}

.company_policy_mainText {
  color: var(--color-red);
  font-weight: 700;
  font-size: clamp(20px, 2.1621621621621623vw, 32px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .company_policy_mainText {
    font-size: 20px;
    margin-top: 16px;
  }
}

.company_policy_text {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
  max-width: 354px;
  margin: 24px auto 0;
}

@media (max-width: 768px) {
  .company_policy_text {
    margin: 16px auto 0;
  }
}

.company_policy_valueList {
  display: flex;
  margin-top: 28px;
}

@media (max-width: 920px) {
  .company_policy_valueList {
    flex-direction: column;
    gap: 20px;
  }
}

.company_policy_valueItem {
  border-right: 1px solid var(--color-black);
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (max-width: 920px) {
  .company_policy_valueItem {
    flex-direction: row;
    border-right: none;
    padding: 0;
    align-items: baseline;
    gap: 8px;
  }
}

.company_policy_valueItem:last-child {
  border-right: none;
}

.company_policy_valueText_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (max-width: 920px) {
  .company_policy_valueText_container {
    align-items: baseline;
    gap: 8px;
  }
}

.company_policy_valueNum {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-red);
  border-radius: 999px;
}

@media (max-width: 768px) {
  .company_policy_valueNum {
    width: 28px;
    height: 28px;
  }
}

.company_policy_valueNum_inner {
  color: var(--color-white);
  font-family: var(--font-din);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 768px) {
  .company_policy_valueNum_inner {
    font-size: 20px;
  }
}

.company_policy_valueTitle {
  color: var(--color-red);
  font-weight: 700;
  font-size: clamp(16px, 1.3513513513513513vw, 20px);
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  height: 55px;
  display: flex;
  align-items: center;
}

@media (max-width: 920px) {
  .company_policy_valueTitle {
    font-size: 16px;
    height: auto;
  }
}

.company_policy_valueText {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: justify;

}

@media (max-width: 920px) {
  .companyBr_sp_none {
    display: none;
  }
}

/* =============== OUR BUSINESS ================= */

.our_business {
  padding-top: 120px;
  width: 100%;
  overflow: hidden;
}

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

.our_business_container {
  /* padding: 0 180px 0 165px; */
  padding: 0 12.162162162162163vw 0 11.14864864864865vw;
  position: relative;
}

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

.our_business_main {
  max-width: 1135px;
  margin: 0 auto;
}

.our_business_contentContainer {
  display: flex;
  margin-top: 122px;
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .our_business_contentContainer {
    flex-direction: column;
    margin-top: 40px;
  }
}

.our_business_left {
  padding-right: 46px;
  width: 100%;
}

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

.our_business_concept {
  color: var(--color-red);
  font-weight: 700;
  font-size: clamp(16px, 1.891891891891892vw, 28px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: -40px;
}

@media (max-width: 768px) {
  .our_business_concept {
    /* font-size: 32px; */
    font-size: clamp(20px, 5.128205128205128vw, 32px);
    margin-top: 0;
    margin-bottom: 4rem;
  }
}

.our_business_img_container {
  margin-top: 32px;
  position: relative;
}

@media (max-width: 768px) {
  .our_business_img_container {
    margin: 20px 0 50px 0;
  }
}


/* ====== 基本レイアウト（共通） ====== */
.our_business_img {
  position: relative;
  width: min(13.5135vw, 200px);
  aspect-ratio: 250 / 350;
  /* 表示比率を固定して下ズレ防止 */
  perspective: 1000px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  cursor: pointer;
}

.our_business_img .flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s;
  will-change: transform;
}

/* 前面・背面を同一フレームに重ねる */
.our_business_img .flip__front,
.our_business_img .flip__back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  /* SVGの余白差を吸収 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 背面は180°回しておく。拡大や微調整はここで */
.our_business_img .flip__back {
  transform: rotateY(180deg) scale(1.3) translateY(11px);
  transform-origin: center bottom;
  /* 底基準で拡大しても下がズレない */
}

/* クリックで付与するクラスで反転 */
.our_business_img.is-flipped .flip {
  transform: rotateY(180deg);
}

/* 装飾（温度計アイコン等）はカードの下端基準で配置するとズレにくい */
.our_business_img::after {
  content: "";
  background: url(../img/top/business_img_ondo.svg) center center no-repeat;
  background-size: 113px 149px;
  width: 113px;
  height: 149px;
  position: absolute;
  left: 72%;
  transform: translateX(-50%);
  bottom: -110px;
  z-index: -1;
}

.our_business_img_container {
  margin-top: 32px;
  position: relative;
}

@media (max-width: 768px) {
  .our_business_img_container {
    margin: 20px 0 50px 0;
  }
}


/* ====== 基本レイアウト（共通） ====== */
.our_business_img {
  position: relative;
  width: min(13.5135vw, 200px);
  aspect-ratio: 250 / 350;
  /* 表示比率を固定して下ズレ防止 */
  perspective: 1000px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  cursor: pointer;
}

.our_business_img .flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s;
  will-change: transform;
}

/* 前面・背面を同一フレームに重ねる */
.our_business_img .flip__front,
.our_business_img .flip__back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  /* SVGの余白差を吸収 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 背面は180°回しておく。拡大や微調整はここで */
.our_business_img .flip__back {
  transform: rotateY(180deg) scale(1.3) translateY(11px);
  transform-origin: center bottom;
  /* 底基準で拡大しても下がズレない */
}

/* クリックで付与するクラスで反転 */
.our_business_img.is-flipped .flip {
  transform: rotateY(180deg);
}

/* 装飾（温度計アイコン等）はカードの下端基準で配置するとズレにくい */
.our_business_img::after {
  content: "";
  background: url(../img/top/business_img_ondo.svg) center center no-repeat;
  background-size: 113px 149px;
  width: 113px;
  height: 149px;
  position: absolute;
  left: 72%;
  transform: translateX(-50%);
  bottom: -110px;
  z-index: -1;
}


/* ====== 位置バリエーション（既存の配置を踏襲） ====== */
.our_business_img.img_01 {
  top: 0;
  margin-left: 15%;
}

.our_business_img.img_02 {
  top: 8%;
  margin-left: auto;
}

.our_business_img.img_03 {
  bottom: 80px;
}

.our_business_img.img_04 {
  top: 0;
  margin-left: 15%;
}

.our_business_img.img_05 {
  top: 8%;
  margin-left: auto;
}

.our_business_img.img_06 {
  bottom: 80px;
}

/* ====== レスポンシブ ====== */
@media (max-width: 920px) {
  .our_business_img .flip__back {
    transform: rotateY(180deg) scale(1.4) translateY(7px);
    transform-origin: center bottom;
  }
}

@media (max-width: 768px) {
  .our_business_img {
    width: 140px;
    aspect-ratio: 170 / 200;
    /* SPの見た目に合わせて比率変更 */
  }

  .our_business_img::after {
    bottom: -135px;
    left: 81%;
  }

  .our_business_img.img_01 {
    top: 0;
    margin-left: 5%;
  }

  .our_business_img.img_02 {
    top: 8%;
    margin-left: 50%;
  }

  .our_business_img.img_03 {
    transform: translateY(-30px);
    bottom: 0;
  }

  .our_business_img.img_04 {
    top: 0;
    margin-left: 5%;
  }

  .our_business_img.img_05 {
    top: 8%;
    margin-left: 50%;
  }

  .our_business_img.img_06 {
    transform: translateY(-30px);
    bottom: 0;
  }

  /* 背面の拡大は少し弱めると収まりやすい */
  .our_business_img .flip__back {
    transform: rotateY(180deg) scale(1.4) translateY(4px);
    transform-origin: center bottom;
  }
}

/* 親はそのままクリック/タップ対象 */
.our_business_img {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}

/* 子画像にタップが吸われないようにする */
.our_business_img .flip__front,
.our_business_img .flip__back {
  pointer-events: none;
}

/* ====== 位置バリエーション（既存の配置を踏襲） ====== */
.our_business_img.img_01 {
  top: 0;
  margin-left: 15%;
}

.our_business_img.img_02 {
  top: 8%;
  margin-left: auto;
}

.our_business_img.img_03 {
  bottom: 80px;
}

.our_business_img.img_04 {
  top: 0;
  margin-left: 15%;
}

.our_business_img.img_05 {
  top: 8%;
  margin-left: auto;
}

.our_business_img.img_06 {
  bottom: 80px;
}

/* ====== レスポンシブ ====== */
@media (max-width: 920px) {
  .our_business_img .flip__back {
    transform: rotateY(180deg) scale(1.4) translateY(7px);
    transform-origin: center bottom;
  }
}

@media (max-width: 768px) {
  .our_business_img {
    width: 140px;
    aspect-ratio: 170 / 200;
    /* SPの見た目に合わせて比率変更 */
  }

  .our_business_img::after {
    bottom: -135px;
    left: 81%;
  }

  .our_business_img.img_01 {
    top: 0;
    margin-left: 5%;
  }

  .our_business_img.img_02 {
    top: 8%;
    margin-left: 50%;
  }

  .our_business_img.img_03 {
    transform: translateY(-30px);
    bottom: 0;
  }

  .our_business_img.img_04 {
    top: 0;
    margin-left: 5%;
  }

  .our_business_img.img_05 {
    top: 8%;
    margin-left: 50%;
  }

  .our_business_img.img_06 {
    transform: translateY(-30px);
    bottom: 0;
  }

  /* 背面の拡大は少し弱めると収まりやすい */
  .our_business_img .flip__back {
    transform: rotateY(180deg) scale(1.4) translateY(4px);
    transform-origin: center bottom;
  }
}

/* 親はそのままクリック/タップ対象 */
.our_business_img {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}

/* 子画像にタップが吸われないようにする */
.our_business_img .flip__front,
.our_business_img .flip__back {
  pointer-events: none;
}



.our_business_right {
  border-left-style: dotted;
  /* スタイルを点線に設定 */
  border-left-width: 6px;
  /* 太さを4pxに設定 */
  border-left-color: var(--color-red);
  padding-left: 46px;
  width: 100%;
}

@media (max-width: 768px) {
  .our_business_right {
    border-left-style: none;
    /* スタイルを点線に設定 */
    border-left-width: 0;
    /* 太さを4pxに設定 */
    border-left-color: unset;
    padding-left: 0;
    border-top-style: dotted;
    /* スタイルを点線に設定 */
    border-top-width: 6px;
    /* 太さを4pxに設定 */
    border-top-color: var(--color-red);
    padding-top: 100px;
  }
}

.our_business_bottom_img {
  text-align: center;
}

.our_business_bottom_img img {
  vertical-align: bottom;
}

.pink_wave {
  position: absolute;
}


/* 既存：SPのタップ用 */
.our_business_img.is-flipped .flip {
  transform: rotateY(180deg);
}

/* 追加：PC（マウス環境）だけ hover でも反転させる */
@media (hover: hover) and (pointer: fine) {
  .our_business_img:hover .flip {
    transform: rotateY(180deg);
  }
}



/* ==================================== */
/* ★ ビジネスエリアのアニメーション用CSS追加 */
/* ==================================== */

/* ==================================== */
/* ★ 修正後のビジネスエリアのアニメーションCSS */
/* ==================================== */

/* 1. 全体共通の初期状態 */
.our_business_img {
  opacity: 0;
  /* アニメーションの初期位置を PC/SP の通常位置と分けておく */
  /* ここは単に「表示される前の位置」と定義します */
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 2. PCの表示状態: is-showが付いたら元の位置に戻る */
/* PCの通常位置は transform が未設定 (translateY(0) 扱い) */
.our_business_img.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ====== レスポンシブ (768px以下) の修正 ====== */
@media (max-width: 768px) {
  /* ... 既存のレスポンシブ設定は維持 ... */

  /* 既存の位置調整を「初期アニメーション」のために一時的に解除/上書き */
  .our_business_img.img_03,
  .our_business_img.img_06 {
    /* SP時の既存の位置調整を解除 */
    transform: none !important;
  }

  /* 1. 全ての要素の初期アニメーション位置を統一 */
  .our_business_img:not(.is-show) {
    opacity: 0;
    /* SP時に共通の、画面外からの初期位置 */
    transform: translateY(40px) !important;
  }

  /* 2. is-showが付いたとき（最終的な表示位置） */
  .our_business_img.is-show {
    opacity: 1;
    /* 全ての要素を、アニメーション完了後、それぞれの本来の位置に戻す */
    transform: none !important;
  }

  /* 3. is-hideが付いたとき（画面外への退場位置） */
  .our_business_img.is-hide {
    opacity: 0;
    /* SP時に共通の、画面外への退場位置 */
    transform: translateY(80px) !important;
  }

  /* !! 重要 !!
     img_03, img_06 の最終的な位置を改めて指定。
     もしSPで「transform: translateY(-30px)」の位置に表示させたいなら再指定が必要です。
     そうでなければ、既存の .our_business_img.img_03 { bottom: 0; } などで位置が決定されます。

     もしSPのレイアウトで img_03/06 が上にズレて表示されるのが本来であれば、
     以下の CSS を追加して、 is-show 時の最終位置を明示します。
  */
  .our_business_img.img_03.is-show,
  .our_business_img.img_06.is-show {
    /* アニメーション完了後、本来のSPの配置位置（-30px）に戻る */
    transform: translateY(-30px) !important;
    opacity: 1;
  }

}

/* 3. 画面外に出た状態 */
.our_business_img.is-hide {
  opacity: 0;
  transform: translateY(50px);
  /* 全ての位置からのオフセットとして機能 */
  transition: opacity 0.4s ease, transform 0.4s ease;
}


/* ============== DATA ================== */
.data {
  padding: 120px 0 147px;
  background: url(../img/top/data_background.svg);
  background-size: cover;
  background-repeat: no-repeat;
  /* margin-top: -20px; */
  /* margin-top: -1.3513513513513513vw; */
}

@media (max-width: 768px) {
  .data {
    padding: 80px 0 100px;
    /* margin-top: -34px; */
  }
}

.data_main {
  max-width: 1069px;
  margin: 0 auto;
}

.data_img_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 69px;
  grid-row-gap: 60px;
  max-width: 1069px;
  margin-top: 80px;
  /* margin: 0 auto; */
}

@media (max-width: 768px) {
  .data_img_container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-column-gap: 0;
    grid-row-gap: 20px;
    margin: 40px auto 0;
  }
}

.data_img {
  max-width: 500px;
}

@media (max-width: 768px) {
  .data_img {
    max-width: none;
  }
}

/* ============== INTERVIEW ================== */
.interview {
  padding: 120px 0;
  overflow: hidden;
}

.swiper_container {
  margin-top: 80px;
}

.swiper {
  overflow: visible !important;
}

/* ページネーション */
.swiper-pagination {
  position: static !important;
  margin-top: 60px;
}

/* ページネーションの余白 */
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 8px;
}

/* ページネーションのサイズと色 */
.swiper-pagination-bullet {
  height: 16px;
  width: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-red);
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-red);
  height: 16px;
  width: 16px;
}

/* 画像サイズ調整 */
.swiper-slide img {
  height: auto;
  width: 100%;
  margin-bottom: 15px;
}

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

.interview_name {
  font-weight: 500;
  font-size: clamp(14px, 1.0810810810810811vw, 16px);
  line-height: 1.5;
}

.interview_text {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 12px;
}

@media (max-width: 768px) {

  .interview_name {
    font-size: 14px;
  }

  .interview_text {
    font-size: 16px;
    margin-top: 12px;
  }
}

.interview_year {
  font-weight: 500;
  font-size: clamp(14px, 1.0135135135135136vw, 15px);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .interview_year {
    font-size: 12px;
  }
}

.open-modal:hover {
  cursor: pointer;
}

/* ============== MESSAGE ================== */
.message {
  background: var(--color-red);
}

.message_container {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 120px 0 165px;
}

@media (max-width: 900px) {
  .message_container {
    padding: 60px 0 0;
  }
}

.message_wrapper {
  padding: 0;
}

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

.message_main {
  display: flex;
  justify-content: space-between;
  /* max-width: 984px; */
  margin: 0 auto;
}

.section_title.white {
  color: var(--color-white);
}

.message_main_text {
  color: var(--color-white);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.75;
  margin: 36px 0 40px;
}

@media (max-width: 768px) {
  .message_main_text {
    font-size: 20px;
    margin: 20px 0 12px;
  }
}

.message_text {
  color: var(--color-white);
  font-weight: 500;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .message_text {
    margin-bottom: 30px;
    line-height: 1.8;
  }
}

@media (max-width: 768px) {
  .message_text {
    font-size: 13px;
  }
}

.message_img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(70vw, 780px);
}

.message_img img {
  vertical-align: bottom;
}

@media (max-width: 1140px) {
  .message_img {
    width: 60vw;
  }
}

@media (max-width: 900px) {
  .message_img {
    position: relative;
    /* width: clamp(120px, 30.76923076923077vw, 400px); */
    width: max(61.53846153846154vw, 240px);
    display: block;
    margin: 0 auto;
  }
}


/* 追い乗せする差し替え後レイヤー */
.message_img .swap-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像の収まりは cover/contain で調整 */
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

/* ← これを追加：元画像も同じ秒数でフェードアウト */
.message_img img:not(.swap-layer) {
  transition: opacity .6s ease;
}

.message_img.is-swapped .swap-layer {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .message_img .swap-layer {
    transition: none;
  }
}

/* 上に重ねる新画像（swap-layer） */
.message_img>img.swap-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* cover/contain はお好みで */
  opacity: 0;
  z-index: 1;
  /* ← 前面に出すのが重要 */
}

/* 切り替え時：上をフェードイン、下をフェードアウト */
.message_img.is-swapped>img.swap-layer {
  opacity: 1;
}

.message_img.is-swapped>img:not(.swap-layer) {
  opacity: 0;
}


/* ============== ABOUT ================== */
.about {
  padding: 120px 0;
}

.about_main {
  display: flex;
  justify-content: space-between;
  max-width: 984px;
  margin: 0 auto;
  gap: 80px;
}

@media (max-width: 990px) {
  .about {
    padding: 60px 0 80px 0;
  }

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

/* table01 */

.table_01 {
  max-width: 482px;
  border-collapse: collapse;
}

#table01 tr {
  border-bottom: 1px solid var(--color-black);
}

#table01 tr:last-child {
  border-bottom: none;
}

#table01 th,
#table01 td {
  padding: 16px 0;
  border: none;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;
}

.table_no_link {
  color: var(--color-black);
  text-decoration: none;
  pointer-events: none;
}

@media (max-width: 990px) {
  .table_01 {
    max-width: none;
  }

  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    padding: 16px 0 0 0;
  }

  #table01 td {
    padding: 0 0 16px 0;
  }
}

#table01 th {
  width: 25%;
}


/* ============= REQUIREMENT =================== */
.requirement {
  background: var(--color-red);
  padding: 120px 0;
}

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

.requirement_main {
  max-width: 984px;
  margin: 0 auto;
}

.requirement_tab_container {
  margin-top: 46px;
  max-width: 984px;
}

@media (max-width: 1230px) {
  .requirement_tab_container {}
}

@media (max-width: 768px) {
  .requirement_tab_container {}
}




/* ラジオは非表示（アクセシビリティ配慮ならvisually-hiddenでもOK） */
.requirement_tab>input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ===== PC：レイアウトは今まで通りでOK（例） ===== */
.requirement_tab {
  display: block;
  /* 既存の外側スタイルそのままでもOK */
}

.requirement_tab_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  /* 任意：PCでタブ状に並べる */
}

.requirement_tab_nav>label {
  position: relative;
  width: 210px;
  height: 46px;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 0 0 22px;
  cursor: pointer;
  color: var(--color-black);
}

@media (max-width: 768px) {
  .requirement_tab_nav>label {
    width: auto;
    height: auto;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 0 0 22px;
  }
}

.requirement_tab_nav>label>svg {
  position: absolute;
  top: -3px;
  left: 0;
  z-index: 0;
  max-width: 210px;
}

@media (max-width: 768px) {
  .requirement_tab_nav>label>svg {
    display: none;
  }
}

.requirement_tab_nav>label>svg>path {
  fill: var(--color-gray);
}

.requirement_tab_nav>label>.txt {
  position: relative;
  z-index: 10;
  line-height: 1;
  display: block;
}

.requirement_tab_body {
  margin-top: -3px;
  /* 任意：PC時にナビの下へ */
}

.requirement_tab_content {
  display: none;
  width: 100%;
  max-width: 984px;
  padding: clamp(36px, 5.2vw, 77px) clamp(40px, 5.95vw, 88px) clamp(32px, 4.05vw, 60px);
  border-radius: 0 0 20px 20px;
  background: var(--color-white);
}

/* チェック中のラベル装飾（PC/SP共通） */
#tab-newgrad:checked~.requirement_tab_nav label[for="tab-newgrad"],
#tab-mid:checked~.requirement_tab_nav label[for="tab-mid"],
#tab-intern:checked~.requirement_tab_nav label[for="tab-intern"],
#tab-part:checked~.requirement_tab_nav label[for="tab-part"] {
  color: var(--color-white);
}

#tab-newgrad:checked~.requirement_tab_nav label[for="tab-newgrad"]>svg>path,
#tab-mid:checked~.requirement_tab_nav label[for="tab-mid"]>svg>path,
#tab-intern:checked~.requirement_tab_nav label[for="tab-intern"]>svg>path,
#tab-part:checked~.requirement_tab_nav label[for="tab-part"]>svg>path {
  fill: var(--color-black);
}

/* チェック中のパネル表示 */
#tab-newgrad:checked~.requirement_tab_body #panel-newgrad,
#tab-mid:checked~.requirement_tab_body #panel-mid,
#tab-intern:checked~.requirement_tab_body #panel-intern,
#tab-part:checked~.requirement_tab_body #panel-part {
  display: block;
}

/* ===== SP：左ラベル縦積み／右パネル ===== */
@media (max-width: 768px) {
  .requirement_tab {
    display: grid;
    grid-template-columns: 85px 1fr;
    /* 左：ラベル／右：内容 */
    column-gap: 12px;
    align-items: start;
  }

  .requirement_tab_nav {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .requirement_tab_nav>label {
    max-width: none;
    padding: 0 0 8px 0;
    font-size: 16px;
  }

  .requirement_tab_body {
    grid-column: 2;
    margin-top: 0;
  }

  .requirement_tab_content {
    padding: 16px;
    border-radius: 6px;
  }

  .requirement_tab_nav>label>svg {
    max-width: 100%;
    height: auto;
  }
}

/* ==== スマホ時に左のタブ群を sticky ==== */
@media (max-width: 768px) {

  .requirement_tab_nav {
    position: sticky;
    top: var(--sticky-offset, 70px);
    /* 固定ヘッダーがあるなら --sticky-offset を上書き */
    align-self: start;
    /* Grid内 sticky 安定化 */
    height: max-content;
    /* コンテンツ高さにフィット */
    max-height: calc(100dvh - var(--sticky-offset, 0px) - 12px);
    /* 画面内に収める */
    overflow: auto;
    /* ラベルが多い場合スクロール可 */
    z-index: 10;
    /* 右側の内容より前面に */
    padding-right: 4px;
    /* スクロールバー食い込み対策（任意） */
  }

  .requirement_tab_nav>label {
    display: block;
    /* 幅いっぱいクリックしやすく */
    max-width: none;
    /* 210px制限を解除 */
  }

  /* 右側は通常通り */
  .requirement_tab_body {
    grid-column: 2;
  }
}

/* table02 */
.table_02 {
  border-collapse: collapse;
}


#table02 th,
#table02 td {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;

}

#table02 th {
  position: relative;
  padding: 0;
  /* 高さを span 側で管理するため th の余白は外す */
}

#table02 th .th_border {
  border-bottom: 1px solid var(--color-black);
  padding: 20px 0;

  position: absolute;
  top: 0;
  left: 0;
  right: 40px;
  /* ← 以前の margin-right:40px に相当（右だけ空けたい場合） */
  bottom: 0;
  /* ← これで th の高さいっぱいに伸びる */
  display: flex;
  align-items: center;
  /* 縦中央 */
}

#table02 td {
  border-bottom: 1px solid var(--color-black);
  padding: 20px 0;
}

@media (max-width: 1230px) {

  #table02 th,
  #table02 td {
    font-size: 14px;
  }
}

#table02 td {
  width: 76%;
  max-width: 629px;
}

#table02 th {
  width: 18%;
}

/* sp */
@media only screen and (max-width: 990px) {
  #table02 td {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  #table02 th {
    width: 100%;
    padding: 0;
    /* 高さを span 側で管理するため th の余白は外す */
    display: block;
  }

  #table02 th .th_border {
    border-bottom: transparent;
    padding: 0 0 8px 0;
    position: static;
    top: 0;
    left: 0;
    right: 40px;
    bottom: 0;
    display: flex;
    align-items: center;
    font-weight: bold;
  }

  #table02 th,
  #table02 td {
    width: 100%;
    display: block;
  }

  #table02 th {
    border-bottom: none;
    padding: 16px 0 0 0;
  }

  #table02 td {
    padding: 0 0 16px 0;
  }

  #table02 tr:last-child>td {
    border-bottom: transparent;
  }
}



/* ============= FLOW =================== */
.flow {
  padding: 120px 0;
}

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

.flow_img_container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 80px;
}

@media (max-width: 768px) {
  .flow_img_container {
    gap: 20px;
    margin-top: 40px;
    max-width: 680px;
  }
}

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

.flow_redBox {
  max-width: 768px;
  margin: 60px auto 0;
}

.flow_redBox a {
  transition: .6s;
}

.flow_redBox a:hover {
  opacity: .75;
}



/* スライドの動き等速 */
.swiper_town .swiper-wrapper {
  transition-timing-function: linear;
}

/* 画像のサイズ調整 */
.swiper_town .swiper-slide {
  height: auto;
  width: 1480px !important;
}

.swiper_town .swiper-slide img {
  height: auto;
  width: 100% !important;
  margin-bottom: 0;
}

@media (max-width: 768px) {

  /* 画像のサイズ調整 */
  .swiper_town .swiper-slide {
    width: 1000px !important;
  }
}
