/* ベースリセット */
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* 画像を100%幅で表示 */
img {
  display: block;
  width: 100%;
  height: auto;
}

/* sectionの余白を消す（画像LP向け） */
section {
  margin: 0;
  padding: 0;
}

/* レスポンシブ対応：PC/SPクラスの表示制御 */
/* PC表示（デフォルト） */
.pc {
  display: block;
}

.sp {
  display: none;
}

/* SP表示（768px以下） */
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  body {
    max-width: 100%;
  }
}

/* header */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lp-header img {
  width: 300px;
  height: auto;
}

.lp-header__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #2f0908;
  margin: 0;
  text-align: center;
  flex: 1;
}

.fv {
  position: relative;
  margin-top: 90px;
}

@media screen and (max-width: 768px) {
  .fv {
    margin-top: 90px;
  }
}

.fv_cta {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .fv_cta {
    padding: 0 !important;
    margin-top: -1px;
  }

  .fv_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .fv_cta_box {
    width: 100% !important;
    position: relative;
    z-index: 1;
  }
}

/* slideセクション */
.slide {
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
  margin-bottom: 100px;
}

.slide_row_top {
  margin-bottom: 20px;
}

.slide_row {
  width: 100%;
  overflow: hidden;
}

.slide_track {
  display: flex;
  gap: 20px;
  width: fit-content;
  align-items: center;
}

.slide_track_left {
  animation: slideLeft 50s linear infinite;
}

.slide_track_right {
  animation: slideRight 50s linear infinite;
}

.slide_item {
  flex-shrink: 0;
  width: 300px;
  height: 230px;
  border-radius: 30px;
  overflow: hidden;
}

.slide_item {
  flex-shrink: 0;
  width: 420px;
  height: 285px;
  border-radius: 30px;
  overflow: hidden;
}

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

.fv_cta_sp {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .slide {
    margin-bottom: 20px;
  }
  .slide_row_top {
    margin-bottom: 10px;
  }
  .slide_item {
    width: 280px;
    height: 210px;
  }

  .slide_item img {
    width: 280px !important;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ctaセクション */
.cta_section {
  width: 100%;
  padding: 30px 0;
}

.cta_section_box {
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta_txt_pc {
  width: 60%;
  height: auto;
}

.cta_txt_sp {
  width: 50%;
  height: auto;
}

.cta_btn_pc,
.cta_btn_sp {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.cta_section_box a {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
  cursor: pointer;
  position: relative;
}

.cta {
  width: 100%;
  padding: 30px 0;
}
.cta_box {
  width: 70%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .cta_section_box {
    width: 90%;
  }

  .cta_box {
    width: 90%;
  }
}

/* campaignセクション */
.campaign {
  display: flex;
  flex-direction: column;
}

.campaign_cta_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.campaign_cta_box {
  gap: 20px;
}

.campaign_cta_box a {
  display: flex;
  flex-direction: column;
  width: 40%;
  transition: transform 0.3s ease;
  cursor: pointer;
  position: relative;
}

.campaign_cta_txt_pc {
  width: 60%;
  height: auto;
}

.campaing_cta_btn_box {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .campaing_cta_btn_box {
    flex-direction: column;
    align-items: center;
  }
  .campaign_cta_txt_pc {
    width: 100%;
  }
  .campaign_cta_box a {
    width: 90%;
  }
}

/* recommendationセクション */
.recommendation_interview_box {
  position: relative;
  margin-top: -2px;
}

.recommendation_interview_box a {
  transition: transform 0.3s ease;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  z-index: 2;
}

.recommendation_cta_btn {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.campaign_cta_btn {
  transition: transform 0.3s ease;
}

/* CTAボタンのホバーアニメーション */
.cta_section_box a:hover .cta_btn_pc,
.cta_section_box a:hover .cta_btn_sp {
  transform: scale(1.05);
}

.cta_section_box a:active .cta_btn_pc,
.cta_section_box a:active .cta_btn_sp {
  transform: scale(0.98);
}

.recommendation_interview_box a:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.recommendation_interview_box a:active {
  transform: translate(-50%, -50%) scale(0.98);
}

.campaing_cta_btn_box a:hover .campaign_cta_btn {
  transform: scale(1.05);
}

.campaing_cta_btn_box a:active .campaign_cta_btn {
  transform: scale(0.98);
}

/* 固定CTAボタン */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.fixed-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fixed-cta__inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

.fixed-cta__inner a {
  display: block;
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.fixed-cta img {
  width: 100%;
  height: auto;
}

.fixed-cta__inner a:hover img {
  transform: scale(1.05);
}

.fixed-cta__inner a:active img {
  transform: scale(0.98);
}

@media screen and (max-width: 768px) {
  .fixed-cta {
    padding: 15px 10px;
  }

  .fixed-cta__inner {
    gap: 10px;
  }

  .fixed-cta__inner a {
    max-width: 48%;
  }
}

/* ハンバーガーメニューボタン */
.lp-hamburger-btn {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.lp-hamburger-line {
  width: 30px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

.lp-hamburger-btn.is-active .lp-hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.lp-hamburger-btn.is-active .lp-hamburger-line:nth-child(2) {
  opacity: 0;
}

.lp-hamburger-btn.is-active .lp-hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
  .lp-header {
    background-color: transparent;
    box-shadow: none;
    height: auto;
    padding: 15px 0;
    justify-content: space-between;
  }

  .lp-header img {
    width: 180px;
  }

  .lp-header__title {
    font-size: 20px;
    text-align: left;
    margin-left: 20px;
    flex: 1;
  }

  .lp-hamburger-btn {
    position: relative;
    top: auto;
    right: 20px;
    transform: none;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
  }

  .lp-hamburger-line {
    width: 25px;
    height: 2px;
  }

  .lp-hamburger-btn.is-active .lp-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .lp-hamburger-btn.is-active .lp-hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* ナビゲーションメニュー */
.lp-navigation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10001;
}

.lp-navigation-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.lp-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background-color: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 10002;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.lp-navigation.is-active {
  transform: translateX(0);
}

.lp-navigation__inner {
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
}

.lp-navigation__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.lp-navigation__item {
  margin-bottom: 20px;
}

.lp-navigation__link {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: Noto Sans;
}

.lp-navigation__link:hover {
  background-color: #f5f5f5;
  color: #000;
}

.lp-navigation__cta {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.lp-navigation__cta a {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.lp-navigation__cta img {
  width: 100%;
  height: auto;
}

.lp-navigation__cta a:hover img {
  transform: scale(1.05);
}

.lp-navigation__cta a:active img {
  transform: scale(0.98);
}

@media screen and (min-width: 1920px) {
  .lp-navigation__link {
    font-size: 26px;
  }
}

@media screen and (min-width: 1800px) {
  .lp-navigation__link {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .lp-navigation {
    width: 75%;
  }

  .lp-navigation__inner {
    padding: 70px 20px 20px;
  }

  .lp-navigation__item {
    margin-bottom: 15px;
  }

  .lp-navigation__link {
    padding: 12px 15px;
    font-size: 16px;
  }

  .lp-navigation__cta {
    padding-top: 20px;
  }
}