@charset "utf-8";

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
Article header
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.article__header {
  margin-top: 16px;
  height: 400px;
  margin-right: auto;
  margin-left: auto;
  background-image: url(../image/main-visualSP.jpg);
  background-repeat: no-repeat;
  background-position: 76px 76px;
  background-size: cover;
}
.mainVisual-box {
  background: linear-gradient(
    90deg,
    var(--primary-navy) 85%,
    var(--background-main_color) 15%
  );
  padding: 16px 0;
  min-height: 400px;
  overflow: hidden;
}
.logo__pc {
  display: none;
}
@media screen and (min-width: 500px) {
  .article__header {
    background-image: url(../image/main-visualPC.jpg);
    background-size: contain;
    background-position: calc(50% + 76px) 76px;
  }
}
@media screen and (min-width: 1080px) {
  .article__header {
    margin-top: 60px;
    height: 500px;
    background-image: url(../image/main-visualPC.jpg);
    background-position: right center;
    background-size: contain;
    background-position: calc(100% + 20px);
  }
  .logo__sp {
    display: none;
  }
  .logo__pc {
    display: block;
    width: 800px;
    height: auto;
  }
}
@media screen and (min-width: 1300px) {
  .article__header {
    margin-top: 60px;
    height: 600px;
    background-image: url(../image/main-visualPC.jpg);
    background-position: right center;
    background-size: contain;
    background-position: calc(100% + 20px);
  }
  .logo__sp {
    display: none;
  }
  .logo__pc {
    display: block;
    width: 1200px;
    height: auto;
  }
}
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
p-index_training
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.p-index_training {
  padding: 70px 40px 28px 40px;
  margin: 0 auto;
}
.Training-banner-Img-Area {
  position: relative;
  display: inline-block;
}
.Training-banner-Img-Area::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 250px;
  right: -30px;
  background: url(../image/training-banner-typo.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
.p-index_training_title {
  color: var(--primary-navy);
  font-family: "noto sans jp";
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 19px;
}
.p-index_about__body {
  margin-top: 9px;
  font-size: 1.5rem;
  line-height: 1.4;
}
@media screen and (min-width: 768px) {
  .training-banner-fadein {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .Training-banner-Img-Area {
    flex: 0 0 auto;
  }

  /* テキスト側を広くとる */
  .Training-banner-txt-area {
    flex: 1; /* 残りのスペースを使う */
    text-align: center;
  }

  /* タイトルや本文のサイズ調整（少し大きく） */
  .p-index_training_title {
    margin-top: 0;
    font-size: 2rem;
  }
  .p-index_about__body {
    font-size: 1.6rem;
    line-height: 1.6;
  }
}
@media screen and (min-width: 769px) {
  .p-index_about__body {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--primary-darkgray);
  }
  .Training-banner-Img-Area::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 323px;
    right: -85px;
    top: -10px;
  }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
p-index_service
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.p-index_service {
  background-image: url(../image/serviceVisual.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 35px var(--contentPadding);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.service-white {
  color: var(--background-sub_color);
}
.plan_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 27px auto;
  max-width: 1200px;
}
.plan_box {
  background-color: var(--background-sub_color);
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 8px;
}
.planName {
  background-color: var(--primary-navy);
  color: var(--background-sub_color);
  font-family: "Source Serif 4";
  font-size: 1.6rem;
  display: flex;
  height: 36px;
  padding: 10px 0 5px 0;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 8px 8px 0 0;
}
.planName span {
  font-size: 1.4rem;
  font-weight: 600;
}
.txtBody {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
}
.thumb {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.txtinr {
  display: flex;
  flex-direction: column;
}
.planTxt-l {
  margin-top: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-navy);
}
.txtinr_detail {
  margin-top: 8px;
  color: #4e6b96;
  font-size: 1.5rem;
  font-weight: 500;
}
.txtinr_price {
  margin-top: 5px;
  color: #4e6b96;
  font-size: 1.4rem;
}
a.btn-cta_service {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  min-height: 44px; /* タップ面積 */
  background-color: var(--primary-light_navy);
  color: var(--background-sub_color); /* 見えづらければ #fff に */
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
}
a.btn-cta_service::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
a.btn-cta_service:focus-visible {
  outline: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

/* ２列表示 */
@media (min-width: 426px) and (max-width: 768px) {
  .plan_box {
    width: calc(50% - 10px);
  }
}
/* ２列表示、中身横並び */
@media (min-width: 769px) {
  .plan_box {
    width: calc(50% - 10px);
  }
  .twoColBox {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .thumb {
    flex: 0 0 40%;
  }
  .txtinr {
    flex: 1 1 60%;
  }
}

/* 画像は常に親幅いっぱいで可変 */
.thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.btn-cta_serviceTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 15px 43px 15px 30px;
  width: 260px;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  background-color: #bf9324;
  color: var(--background-sub_color);
  border-radius: 6px;
}
.btn-cta_serviceTop::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  background-color: var(--background-sub_color);
  border-top: 2px solid var(--background-sub_color);
  border-right: 2px solid var(--background-sub_color);
  border-radius: 20px;
}
.btn-cta_serviceTop::after {
  content: "";
  transform: rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 2px solid #bf9324;
  border-right: 2px solid #bf9324;
}
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
Profile
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.index_profile {
  display: block;
  margin: 27px auto 0;
  max-width: 500px;
  padding: 15px var(--contentPadding);
}
.p-index__S-limit-title {
  font-family: "Source Serif 4";
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-navy);
}
.p-index_profile__img {
  width: 83.2%;
  height: auto;
}
.p-index_profile__img img {
  box-shadow: 15px 15px 0 var(--primary-light_navy);
}
.p-index_profile__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}
.role {
  font-size: 2.8rem;
  font-family: "Source Serif 4";
  color: var(--primary-navy);
  font-weight: 600;
}
.name {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-navy);
}
.profile_name {
  font-size: 1.4rem;
  color: var(--primary-darkgray);
  font-family: "Source Serif 4", serif;
}
.p-index_profile__body {
  margin-top: 40px;
  padding: 2%;
}
.profile_info-title {
  margin-top: 14px;
  color: #c80101;
  font-size: 1.8rem;
  font-weight: 600;
}
.profile_info-list {
  color: var(--primary-light_navy);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
}
.btn-cta_Profile {
  display: flex;
  align-items: center;
  position: relative;
  padding: 22px 0 22px 23px;
  color: #c80101;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
.btn-cta_proB {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.btn-cta_Profile span {
  position: relative;
  padding: 10px;
  background-color: var(--background-main_color);
  z-index: 1;
}
.btn-cta_Profile::before {
  content: "";
  transform: rotate(45deg);
  margin-right: 10px;
  width: 8px;
  height: 8px;
  border-top: 3px solid var(--primary-red);
  border-right: 3px solid var(--primary-red);
}
.btn-cta_Profile::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 2px solid #c80101;
  border-radius: 50%;
}
@media screen and (min-width: 769px) {
  .index_profile {
    max-width: none;
    width: 100%;
    margin: 27px auto 0;
    padding: 15px var(--contentPadding);
  }
  .p-index_profile__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
  }

  .p-index_profile__img {
    flex: 0 0 45%;
    width: 400px;
    height: auto;
  }
  .p-index_profile__img img {
    display: block;
    width: 100%;
    height: auto;
  }

  .p-index_profile__body {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
    padding: 0 2%;
  }
}
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
   Voice セクション
   ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.index_customersVoice {
  margin: 56px auto 0;
  padding: 0 var(--contentPadding) 32px;
  max-width: 1200px;
}

.index_customersVoice .p-index__title {
  text-align: center;
  margin-bottom: 24px;
}

/* カード一覧：SP は横スクロール、PC は3列レイアウト */
.interview-cards {
  display: flex;
  gap: 16px;
  margin: 0 auto;
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.interview-visual {
  scroll-snap-align: center;
  flex: 0 0 80%;
  max-width: 320px;
}

/* ====== カード内画像（サムネ） ====== */
.interview_img {
  position: relative;
  display: block;
  width: 100%;
  height: 276px;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.interview_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ====== 名前パネル ====== */
.interview_name {
  position: absolute;
  right: 0;
  bottom: 0;
  width: max-content;
  max-width: 80%;
  box-sizing: border-box;

  background-image: url(../image/Voice_bg.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;

  padding: 12px 20px;
  border-radius: 4px 0 0 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.interview_name span {
  display: block;
  margin-top: 4px;
  font-size: 1.4rem;
  font-weight: 600;
  opacity: 0.95;
  white-space: nowrap;
}

/* PCレイアウト */
@media (min-width: 768px) {
  .interview-cards {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 24px;
  }

  .interview-visual {
    flex: 0 0 calc(33.333% - 24px);
    max-width: none;
  }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
   モーダル共通
   ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* 初期状態は非表示 */
.modal {
  display: none;
}

/* #interview_xx が :target になったら表示 */
.modal:target {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  overflow-y: auto; /* 画面全体として縦スクロール可能 */
}

/* 背景クリックで閉じる領域 */
.modal-bg {
  position: fixed;
  inset: 0;
}

/* ×ボタン */
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2.4rem;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

/* ====== モーダルの中身（SP基準：縦並び） ====== */
.voice-modal {
  box-sizing: border-box;
  position: relative;
  width: min(90vw, 850px);
  margin: 40px auto;
  background: #fff;
  border-radius: 10px;
  padding: 20px 20px 24px;
  font-size: 1.4rem;

  /* ここでSP時のはみ出しを防ぐ */
  max-height: 90vh; /* 画面の高さを超えない */
  overflow-y: auto; /* 超えた分はモーダル内スクロール */
}

/* 画像エリア */
.voice-modal__left img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストエリア */
.voice-modal__right {
  margin-top: 16px;
}

/* 見出し（h4） */
.voice-qa {
  font-size: 1.6rem;
  font-weight: 700;
  color: #01234f;
  margin: 0 0 0.8em;
  line-height: 1.6;

  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 本文（p） */
.voice-modal__right p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #333;
  margin: 0;

  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* PCでは左右2カラムにする */
@media (min-width: 768px) {
  .voice-modal {
    display: flex;
    gap: 24px;
    padding: 30px;
  }

  .voice-modal__left {
    flex: 0 0 46%;
  }

  .voice-modal__right {
    flex: 1 1 54%;
    margin-top: 0;
  }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
p-index_access
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.p-index_access {
  padding: 70px 40px 28px 40px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.Access-Img-fadein {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 10px;
  width: 100%;
  max-width: 740px;
}
.Access-Img-Area {
  position: relative;
  display: inline-block;
}
.Access-Img-Area img {
  width: 345px;
  height: auto;
  object-fit: cover;
  display: block;
}
.Access-Img-Area::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 40px;
  left: -5px;
  top: -40px;
  background: url(../image/AccessTypo.svg);
  background-repeat: no-repeat;
  background-size: contain;
}
.access_txt {
  color: var(--primary-navy);
  font-family: "noto sans jp";
  font-size: 1.5rem;
  font-weight: 600;
}
.access_caution {
  margin-top: 9px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--primary-light_navy);
}
@media screen and (min-width: 768px) {
  .Access-Img-Area img {
    width: 740px;
    height: 344px;
  }

  .Access-Img-Area::after {
    width: 275px;
    height: 73px;
    left: -20px;
    top: -50px;
  }
  .Access-Img-fadein {
    gap: 32px;
  }
  .access_txt {
    font-size: 2rem;
  }
  .access_caution {
    font-size: 1.5rem;
  }
}
