/* ======================================
   styles.css
   ページ固有のスタイル
   ====================================== */

/* モバイルファースト: 基本スタイルはモバイル向け */

/* ----------------------------------------------------
   inner_box setting:
------------------------------------------------------- */
body {
  min-width: 380px;
  font-feature-settings: "palt";
}

.inner_box {
  max-width: 1024px;
}

/* ----------------------------------------------------
   Basic typography:
------------------------------------------------------- */
h1 {
  font-size: 24px;
}

/* ----------------------------------------------------
   header setting:
------------------------------------------------------- */
header {
  /* モバイル向けの基本スタイル */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--white-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

header .logo {
  display: flex;
  align-items: center;
  z-index: 101;
}

header .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

header .logo img {
  max-height: 35px;
  width: auto;
}

/* ===== ハンバーガー → × アニメーション ===== */

.header_menu-btn {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
  display: block !important;
  z-index: 101;
}

.header_menu-btn span,
.header_menu-btn span::before,
.header_menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--font-color, #333);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 真ん中 */
.header_menu-btn span {
  top: 50%;
  transform: translateY(-50%);
}

/* 上 */
.header_menu-btn span::before {
  top: -8px;
}

/* 下 */
.header_menu-btn span::after {
  top: 8px;
}

/* ===== active時（×になる） ===== */

.header_menu-btn.is-active span {
  background: transparent;
}

.header_menu-btn.is-active span::before {
  transform: translateY(8px) rotate(45deg);
}

.header_menu-btn.is-active span::after {
  transform: translateY(-8px) rotate(-45deg);
}

.header_nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  background: var(--white-color);
  z-index: 100;
  max-height: 100vh;
  overflow-y: auto;
  padding: 0;
  padding-top: 60px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.header_nav.active {
  transform: translateX(0);
}

/* メニューリスト */
.menu-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-list a {
  display: block;
  padding: .5rem 1rem 0;
  color: #373291;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
  font-weight: 700;
}

.menu-list a:hover {
  color: rgba(55, 50, 145, 0.8);
}

/* CTAセクション */
.menu-cta-section {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-cta-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0;
  padding-bottom: 0.5rem;
  text-align: center;
}

.menu-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.3s;
  width: 100%;
  box-sizing: border-box;
  min-height: 70px;
  gap: 1rem;
}

.menu-cta-button:hover {
  opacity: 0.9;
}

.menu-cta-button-white {
  background: var(--white-color);
  border: 2px solid #373291;
  color: #373291;
}

.menu-cta-button-blue {
  background: #373291;
  border: 2px solid #373291;
  color: var(--white-color);
}

.menu-cta-button-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size:16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.menu-cta-button-text span {
  display: block;
}

/* tablet */
@media (min-width: 768px) {
  header {
    padding: clamp(1rem, 2vw, 1.5rem);
  }

  header .logo img {
    max-height: clamp(35px, 7vw, 50px);
    width: 150px;
  }

  .header_nav {
    top: 0;
    padding-top: 70px;
    max-height: 100vh;
  }
}
/* pc */
@media (min-width: 1024px) {
  header{
padding: 1rem 1.5rem;
  }

  header .logo img {
    max-height: clamp(50px, 8vw, 60px);
    width: 150px;
  }

  .header_nav {
    top: 0;
    padding-top: 70px;
    max-width: 400px;
    max-height: 100vh;
  }

  main {
    position: relative;
  }

  main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }

  body.menu-open main::before {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-cta-section {
    flex-direction: column;
    gap: 2rem;
  }

  .menu-cta-button {
    width: 90%;
    padding: 1rem 1.5rem;
  }

 
}

/* ----------------------------------------------------
   FV (First View) section:
------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* セクションアニメーション用のクラス */
.section-animate {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.section-animate.animate {
  opacity: 1;
}

#FV {
  /* モバイル向けの基本スタイル */
  background: #f5f4ff;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(5rem, 6vw, 4rem);
  margin-top: 60px;
}

.fv-container {
  max-width: 100%;
}

.fv-content {
  margin-bottom: 0;
}

.fv-catchphrase1 {
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
  color: #333;
  text-align: left;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.fv-catchphrase2 {
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.4;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.fv-service-name {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 1rem 0;
  font-size: 24px;
  font-weight: inherit;
  animation: fadeIn 0.8s ease-out 0.6s both;
}

.service-name-part1,
.service-name-part2 {
  display: inline-block;
  background: #c7366c;
  color: var(--white-color);
  padding: 0.5rem 0.3rem;
  font-weight: 700;
  text-align: left;
  line-height: 1.4;
}

.service-name-part1 {
  font-size: clamp(24px, 5vw, 28px);
  align-self: flex-start;
}

.service-name-part2 {
  font-size: clamp(24px, 5.5vw, 32px);
  align-self: flex-start;
}

.fv-description {
  font-size: clamp(14px, 3.5vw, 16px);
  color: #333;
  line-height: 1.75;
  text-align: left;
  margin-top: 1rem;
  width: clamp(250px, 60vw, 350px);
  animation: fadeIn 0.8s ease-out 0.8s both;
}

.fv-description strong {
  font-weight: 700;
  color: #333;
}

.fv-image-wrapper {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  animation: fadeIn 0.8s ease-out 1s both;
}

.fv-image {
  height: auto;
  display: block;
}

.fv-image01 {
  max-width: clamp(70%, 60vw, 100%);
  position: relative;
  z-index: 1;
}

.fv-image02 {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: clamp(60%, 50vw, 65%);
  z-index: 2;
}

.fv-cta {
  margin-top: 2rem;
  text-align: center;
  animation: fadeIn 0.8s ease-out 1.2s both;
}

.cta-button {
  background: #373291;
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: clamp(1rem, 5vw, 1.6rem);
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
  width: 100%;
  min-height: 70px;
  max-width: clamp(320px, 80vw, 400px);
  cursor: pointer;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.cta-button:hover {
  opacity: 0.9;
}

.cta-button:active {
  opacity: 0.8;
}

/* tablet */
@media (min-width: 768px) {
  #FV {
    padding: 3rem 2rem 4rem;
  }

  .fv-catchphrase1,.fv-catchphrase2{
    font-size: 32px;
  }

  .service-name-part1,.service-name-part2{
    font-size: 48px;
  }

  .fv-description {
    font-size: 18px;
    width:500px;
  }

  .cta-button {
    max-width: 400px;
    font-size: 16px;
  }
}
/* pc */
@media (min-width: 1024px) {
  #FV {
    padding: 4rem 2rem 5rem;
  }

  .fv-container {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    align-items: start;
  }

  .fv-content {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .fv-description {
    width: auto;
    margin: 0;
  }

  .fv-image-wrapper {
    margin: 0;
    grid-row: 1 / 3;
    align-self: center;
  }

   .fv-image02 {
    top: 23%;
        width: 280px;
        left: -3rem;
  }

  .fv-cta {
    grid-column: 1;
    grid-row: 2;
    margin-top: 2rem;
    text-align: left;
  }

  .cta-button {
    margin: 0;
  }
}

/* ----------------------------------------------------
   intro section:
------------------------------------------------------- */
#intro {
  /* モバイル向けの基本スタイル */
  background: #f5f4ff;
  background-image: url("../img/cloud-bg.png");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  padding: clamp(1rem, 2.5vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4rem);
}


.statistics-text {
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  color: #333;
  line-height: 1.75;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.statistics-text.animate {
  opacity: 1;
  transform: translateY(0);
}

.statistics-highlight {
  background: #c7366c;
  color: var(--white-color);
  padding: 0.2rem 0.4rem;
  font-weight: 700;
}

/* tablet */
@media (min-width: 768px) {
  #intro {
    padding: 3rem 2rem 4rem;
  }
}
/* pc */
@media (min-width: 1024px) {
  #intro {
    padding: 3rem 2rem 5rem;
  }

  .statistics-text{
    font-size: 32px;
  }

}

/* ----------------------------------------------------
   reality section:
------------------------------------------------------- */
#reality {
  /* モバイル向けの基本スタイル */
  background: #f5f4ff;
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
}


.reality-card {
  background: var(--white-color);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  position: relative;
  margin-bottom: clamp(4rem, 4vw, 3rem);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reality-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.reality-card-content {
  position: relative;
}

.reality-card-illust {
  display: none;
}

.reality-card:last-child {
  margin-bottom: 0;
}

.reality-illust {
  width: clamp(70%, 60vw, 75%);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
}

.reality-exclamation {
  position: absolute;
  top: -20px;
  left: 10px;
  width: auto;
  height: clamp(50px, 10vw, 60px);
  z-index: 1;
}

.reality-headline {
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 700;
  color: #c7366c;
  text-align: left;
  margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(1rem, 2vw, 1.5rem) 0;
  line-height: 1.6;
}

.reality-headline br {
  display: none;
}

.reality-text {
  font-size: clamp(14px, 3.5vw, 16px);
  color: #333;
  text-align: left;
  line-height: 1.75;
  margin: 0;
}

/* tablet */
@media (min-width: 768px) {
  #reality {
    padding: 3rem 2rem;
  }

  .reality-card {
    padding: 2.5rem 2rem;
  }

  .reality-headline {
    font-size: 24px;
    margin-top: 0;
  }

  .reality-headline br {
    display: inline;
  }

  .reality-text {
    font-size: 16px;
  }
}
/* pc */
@media (min-width: 1024px) {
  #reality {
    padding: 4rem 2rem;
  }

  .reality-card {
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
  }

  .reality-card-content {
    flex: .7;
  }

  .reality-card-illust {
    display: block;
    width: 250px;
    max-width: 250px;
    height: auto;
    flex-shrink: 0;
    position: absolute;
    right: 1.5rem;
    bottom: 0;
  }

  .reality-illust {
    display: none;
  }

  .reality-headline {
    font-size: 24px;
  }
}

/* ----------------------------------------------------
   survey section:
------------------------------------------------------- */
#survey {
  /* モバイル向けの基本スタイル */
  background: #373291;
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
}

.survey-header {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.survey-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.survey-title {
  font-family: var(--font-family-en);
  font-size: clamp(48px, 12vw, 56px);
  font-weight: 900;
  color: var(--white-color);
}

.survey-subtitle {
  font-size: clamp(14px, 3.5vw, 18px);
  color: var(--white-color);
  margin: 0;
}

.survey-brackets {
  font-size: clamp(16px, 4vw, 18px);
}

.survey-description {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.survey-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.survey-description p {
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--white-color);
  line-height: 1.75;
  text-align: left;
  margin: 0;
}

.survey-chart-ranking-wrapper {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.survey-chart-ranking-wrapper.animate {
  opacity: 1;
  transform: translateY(0);
}

.survey-chart {
  text-align: center;
  margin-bottom: 3rem;
}

.survey-chart img {
  width: clamp(70%, 60vw, 75%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.ranking-section {
  margin-bottom: 2rem;
}

.ranking-title {
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 700;
  color: var(--white-color);
  text-align: center;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5rem;
}

.ranking-image {
  text-align: center;
}

.ranking-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.survey-source {
  font-size: clamp(12px, 3vw, 14px);
  color: var(--white-color);
  text-align: right;
  margin: clamp(2rem, 4vw, 2.5rem) 0 0 0;
}

/* tablet */
@media (min-width: 768px) {
  #survey {
    padding: 4rem 2rem;
  }

  .survey-title {
    font-size: 48px;
  }

  .survey-subtitle {
    font-size: 18px;
  }

  .survey-description p {
    font-size: 16px;
  }

  .survey-chart img {
    width: 70%;
  }

  .ranking-title {
    font-size: 18px;
  }
}
/* pc */
@media (min-width: 1024px) {
  #survey {
    padding: 5rem 2rem;
  }

  #survey .inner_box {
    display: flex;
    flex-direction: column;
  }

  .survey-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
  }

  .survey-title {
    font-size: 80px;
    text-align: left;
  }

  .survey-subtitle {
    font-size: 16px;
  }

  .survey-description p {
    font-size: 16px;
  }

  .survey-chart-ranking-wrapper {
    display: flex;
    gap: 5rem;
    align-items: center;
  }

  .survey-chart {
    flex: 1;
    margin-bottom: 0;
  }

  .survey-chart img {
    width: 90%;
    max-width: 100%;
  }

  .ranking-section {
    flex: 1;
    margin-bottom: 0;
  }

  .ranking-title {
    font-size: 18px;
  }

  .survey-source {
    margin: 0;
  }
}

/* ----------------------------------------------------
   service section:
------------------------------------------------------- */
.service-wrapper {
  /* モバイル向けの基本スタイル */
  background: var(--white-color);
  background-image: url("../img/circle-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 110rem;
  position: relative;
  overflow: hidden;
}

#service {
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
}

#career {
  padding: 0;
}


.service-top {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-top.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-intro {
  font-size: clamp(14px, 3.5vw, 16px);
  color: #333;
  text-align: center;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
  font-weight: 900;
  margin-bottom: 1rem;
}

.service-title-wrapper {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.service-title-small {
  display: block;
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.service-title-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
}

.service-title-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-title-bg {
  display: inline-block;
  background: #373291;
  color: var(--white-color);
  padding: clamp(0.5rem, 1vw, 0.6rem) clamp(0.3rem, 0.8vw, 0.4rem);
  font-size: clamp(32px, 8vw, 36px);
  font-weight: 700;
  text-align: left;
  line-height: 1.4;
}

.service-illust {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: clamp(400px, 80vw, 500px);
  max-width: clamp(400px, 80vw, 500px);
  pointer-events: none;
}

.service-illust img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.service-illust-fest-left,
.service-illust-fest-right {
  display: none;
}

.service-description {
  margin-top: 2rem;
}

.service-description p {
  font-size: clamp(14px, 3.5vw, 16px);
  color: #333;
  line-height: 1.75;
  text-align: left;
  margin: clamp(3rem, 6vw, 4rem) 0 0 0;
}

.service-reasons {
  background: #373291;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.3rem, 3vw, 2rem);
  border-radius: 5px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.service-reasons.animate {
  opacity: 1;
  transform: translateY(0);
}

.reasons-title {
  display: block;
  text-align: center;
  margin: 0 0 2rem 0;
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  color: var(--white-color);
  line-height: 1.5;
  position: relative;
  padding-bottom: 1rem;
}

.reasons-title::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--white-color);
}

.reasons-list {
  max-width: 100%;
}

.reason-item {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.reason-item:last-child {
  margin-bottom: 0;
}

.reason-number {
  flex-shrink: 0;
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  border-radius: 50%;
  background: #c7366c;
  color: var(--white-color);
  font-family: var(--font-family-en);
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.reason-title {
  flex: 1;
  font-size: clamp(18px, 4.5vw, 20px);
  font-weight: 700;
  color: var(--white-color);
  margin: 0;
  min-width: clamp(200px, 40vw, 250px);
}

.reason-text {
  flex-basis: 100%;
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--white-color);
  line-height: 1.75;
  text-align: left;
  margin: 0;
  width: 100%;
}

/* tablet */
@media (min-width: 768px) {
  #service {
    padding: 4rem 2rem;
  }

  #reasons {
    padding: 0 2rem;
  }

  .service-title-bg {
    font-size: 32px;
    padding: 0.5rem 0.3rem;
  }

  .service-description p {
    font-size: 16px;
  }

  .service-illust {
    width: 500px;
    max-width: 500px;
  }

  .reasons-title {
    font-size: 24px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    margin-bottom: 3rem;
  }

  .reasons-title br {
    display: none;
  }

  .reason-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .reason-title {
    font-size: 20px;
  }

  .reason-text {
    font-size: 16px;
  }
}
/* pc */
@media (min-width: 1024px) {
  #service {
    padding: 5rem 2rem;
  }


  .service-intro {
    font-size: 24px;
    font-weight: 900;
  }

  .service-title-bg {
    font-size: 48px;
    padding: 0.5rem 0.3rem;
  }

  .service-description p {
    font-size: 16px;
    width: 768px;
    margin: auto;
  }

  .service-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    margin-bottom: 8rem;
  }

  .service-title-content {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    padding-bottom: 0;
    align-items: center;
    justify-content: flex-start;
    height: fit-content;
  }

  .service-illust {
    width: 800px;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    margin-bottom: 0;
    z-index: 1;
    pointer-events: none;
  }

  .service-illust img {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
    display: block;
    margin: 0;
    padding: 0;
  }

  .service-illust-fest-left{
    position: absolute;
    display: block;
    width: 250px;
    height: auto;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2rem;
    left: -120px;
    top: -30px;
  }
  .service-illust-fest-right {
    position: absolute;
        display: block;
        width: 250px;
        height: auto;
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 2rem;
        right: -120px;
        top: -30px;
  }

  .service-reasons {
    padding: 3rem 2rem;
    width: 768px;
    margin: auto;
  }

  .service-title-small {
    font-size: 32px;
  }

  .reason-number {
    width: 40px;
        height: 40px;
        font-size: 20px;
  }

  .reason-title {
    font-size: 20px;
  }

  .reason-text {
    font-size: 16px;
  }
}

.career-content {
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
}


.career-main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 3rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.career-main-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.career-title-bg {
  display: inline-block;
  background: #c7366c;
  color: var(--white-color);
  padding: clamp(0.5rem, 1vw, 0.6rem) clamp(0.3rem, 0.8vw, 0.4rem);
  font-size: clamp(32px, 8vw, 36px);
  font-weight: 700;
  text-align: left;
  line-height: 1.4;
}

.career-benefits {
  margin-bottom: 3rem;
}

.career-benefit-item {
  background: var(--white-color);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2rem);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.career-benefit-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.career-benefit-item:last-child {
  margin-bottom: 0;
}

.career-benefit-content {
  flex: 1;
}

.career-benefit-title{
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
}

.career-benefit-text {
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.career-benefit-illust {
  flex-shrink: 0;
  text-align: center;
  width: 40%;
  margin-right: -1.5rem;
  margin-top: -2rem;
  margin-bottom: -2rem;
}

.career-benefit-illust img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.career-conclusion {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.career-conclusion.animate {
  opacity: 1;
  transform: translateY(0);
}

.career-conclusion-text {
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700;
  color: #333;
  line-height: 1.75;
  text-align: center;
  margin: 0;
}

.career-conclusion-text strong {
  font-size: clamp(24px, 6vw, 28px);
  color: #c7366c;
  font-weight: 900;
  font-family: "Noto Sans JP", sans-serif;
}

.career-company {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.career-company.animate {
  opacity: 1;
  transform: translateY(0);
}

.career-company-text {
  font-size: clamp(16px, 4vw, 18px);
  color: #333;
  line-height: 1.75;
  text-align: center;
  margin: 0;
}

.career-company-text br {
  display: none;
}

.career-company-text strong {
  background: #c7366c;
  color: var(--white-color);
  padding: 0.2rem 0.4rem;
  font-weight: 700;
}

/* tablet */
@media (min-width: 768px) {
  #career .career-content {
    padding: 4rem 2rem;
  }

  .career-benefits {
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 4rem;
  }

  .career-benefit-item {
    flex-direction: row;
    align-items: center;
    padding: 2.5rem 2rem;
    margin: auto;
  }

  .career-benefit-illust {
    flex-shrink: 0;
    width: 40%;
    margin-right: -2rem;
    margin-top: -2.5rem;
    margin-bottom: -2.5rem;
  }

 
  .career-conclusion-text,
  .career-company-text {
    font-size: 20px;
  }

  .career-company-text br {
    display: none;
  }

  .career-conclusion-text strong {
    font-size: 24px;
  }
}
/* pc */
@media (min-width: 1024px) {
  #career .career-content {
    padding: 5rem 2rem;
  }


  .career-title-bg {
    font-size: 48px;
  }

  .career-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .career-benefit-item {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .career-benefit-item:nth-child(3) {
    grid-column: 1 / 3;
    max-width: 50%;
    justify-self: center;
  }

  .career-benefit-content {
    font-size: 18px;
    flex: 1;
  }

  .career-benefit-title {
    font-weight: 700;
    color: #333;
  }

  .career-benefit-text {
    color: #333;
    margin: 0;
    line-height: 1.6;
  }

  .career-benefit-illust {
    flex-shrink: 0;
    width: 40%;
  }

  .career-benefit-illust img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .career-conclusion-text{
    font-size: 23px;
  }

  .career-company-text {
    font-size: 18px;
  }

  .career-company-text br {
    display: inline;
  }

  .career-conclusion-text strong {
    font-size: 32px;
  }
}

.career-support {
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
  margin-top: clamp(3rem, 6vw, 4rem);
}

.career-support-illustrations {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.career-support-illustrations.animate {
  opacity: 1;
  transform: translateY(0);
}

.career-support-illust-wrapper {
  position: relative;
  text-align: center;
}

.career-support-illust-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.career-support-illust-pc {
  display: none;
}

.career-support-messages {
  margin-bottom: 5rem;
}

.career-support-message {
  font-size: clamp(16px, 4vw, 18px);
  color: #333;
  line-height: 1.75;
  text-align: center;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem) 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.career-support-message.animate {
  opacity: 1;
  transform: translateY(0);
}

.career-support-message:last-child {
  margin-bottom: 0;
}

.career-support-cta {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.career-support-cta.animate {
  opacity: 1;
  transform: translateY(0);
}

.career-support-cta-button {
  background: #373291;
  color: var(--white-color);
  border: none;
  border-radius: 50px;
  padding: clamp(1rem, 5vw, 1.6rem);
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
  width: 100%;
  min-height: 70px;
  max-width: clamp(320px, 80vw, 400px);
  cursor: pointer;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.career-support-cta-button:hover {
  opacity: 0.9;
}

.career-support-cta-button:active {
  opacity: 0.8;
}

/* tablet */
@media (min-width: 768px) {
  .career-support {
    padding:0 2rem;
  }

  .career-support-illust-combo {
    max-width: 60%;
  }

  .career-support-illust-pc {
    display: none;
  }

  .career-support-message {
    font-size: 18px;
  }

  .career-support-cta-button {
    max-width: 400px;
    font-size: 16px;
  }
}
/* pc */
@media (min-width: 1024px) {
  .career-support {
    padding: 0 2rem 5rem;
  }

  .career-support-illust-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 5rem;
  }

  .career-support-illust-combo {
    display: none;
  }

  .career-support-illust-pc {
    display: block;
    width: auto;
    max-width: 25%;
    margin: 0;
  }

  .career-support-messages {
    margin: 6rem 0px;
  }

  .career-support-message {
    font-size: 18px;
  }

  .career-support-message br {
    display: none;
  }

  .career-support-cta-button {
    max-width: 400px;
    font-size: 16px;
  }
}

/* ----------------------------------------------------
   about section:
------------------------------------------------------- */
#about {
  /* モバイル向けの基本スタイル */
  padding: 2rem 0;
}

/* tablet */
@media (min-width: 768px) {
  #about {
    padding: 3rem 0;
  }
}
/* pc */
@media (min-width: 1024px) {
  #about {
    padding: 4rem 0;
  }
}

/* ----------------------------------------------------
   matching section:
------------------------------------------------------- */
#matching {
  /* モバイル向けの基本スタイル */
  padding: 2rem 0;
}

/* tablet */
@media (min-width: 768px) {
  #matching {
    padding: 3rem 0;
  }
}
/* pc */
@media (min-width: 1024px) {
  #matching {
    padding: 4rem 0;
  }
}

/* ----------------------------------------------------
   footer setting:
------------------------------------------------------- */
footer {
  background: #373291;
  color: var(--white-color);
  padding: clamp(3rem, 6vw, 4rem) clamp(2rem, 3vw, 3rem);
}

.footer-container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.footer-logo-section {
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-logo img {
  height: auto;
  max-width: 90%;
  display: block;
}

.footer-tagline {
  font-size:32px;
  color: var(--white-color);
  margin: 0;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section:last-of-type {
  margin-bottom: 0;
}

.footer-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white-color);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--white-color);
  display: inline-block;
  width: 100%;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-list li {
  margin-bottom: 1rem;
}

.footer-link-list li:last-child {
  margin-bottom: 0;
}

.footer-link-list a {
  display: flex;
  align-items: flex-start;
  color: var(--white-color);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: opacity 0.3s;
}

.footer-link-list a:hover {
  opacity: 0.8;
}

.footer-link-icon {
  margin-right: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.footer-link-description {
  font-size: 12px;
  color: var(--white-color);
  margin: 0.25rem 0 0 1.5rem;
  line-height: 1.5;
  opacity: 0.9;
}

.footer-content-wrapper {
  display: block;
}

.footer-sections-wrapper {
  display: block;
}

.footer-copyright {
  text-align: center;
  margin-top: auto;
  padding-top: 2rem;
  border-top: none;
}

.footer-copyright p {
  font-size: clamp(12px, 3vw, 14px);
  color: var(--white-color);
  margin: 0;
}

/* tablet */
@media (min-width: 768px) {
  footer {
    padding: 4rem 2rem;
  }

  .footer-logo-section {
    margin-bottom: 2.5rem;
  }

  .footer-sections-wrapper {
    display: block;
  }

  .footer-section {
    margin-bottom: 2.5rem;
  }

  .footer-link-list {
    display: block;
  }

  .footer-link-list li {
    margin-bottom: 1rem;
  }
}

/* pc */
@media (min-width: 1024px) {
  footer {
    padding: 5rem 2rem 2rem;
  }

  .footer-logo img {
    width: 70%;
  }

  .footer-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .footer-content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .footer-logo-section {
    margin-bottom: 0;
    text-align: left;
    flex-shrink: 0;
  }

  .footer-tagline {
    font-size: 40px;
  }

  .footer-sections-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 0;
    flex: 1;
  }

  .footer-section {
    margin-bottom: 0;
  }

  .footer-section:first-of-type {
    border-right: none;
  }

  .footer-link-list {
    display: block;
  }

  .footer-link-list li {
    margin-bottom: 1rem;
  }

  .footer-copyright {
    margin-top: auto;
    padding-top: 2rem;
  }
}

/* ----------------------------------------------------
   FAQ section:
------------------------------------------------------- */
#faq {
  /* モバイル向けの基本スタイル */
  background: #f5f3ff;
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
}


.faq-title {
  font-size: clamp(24px, 6vw, 28px);
  font-weight: 700;
  text-align: center;
  color: #333;
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.faq-item {
  background: var(--white-color);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.faq-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.faq-q {
  font-family: var(--font-family-en);
  font-weight: 700;
  font-size: clamp(20px, 5vw, 22px);
  color: #333;
  flex-shrink: 0;
}

.faq-question-text {
  flex: 1;
  color: #333;
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
}

.faq-toggle {
  width: clamp(32px, 6.4vw, 36px);
  height: clamp(32px, 6.4vw, 36px);
  border-radius: 50%;
  background: #373291;
  border: none;
  color: var(--white-color);
  font-size: clamp(20px, 5vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  position: relative;
}

.faq-icon-minus,
.faq-icon-plus {
  position: absolute;
  line-height: 1;
}

.faq-item-active .faq-icon-minus {
  display: block;
}

.faq-item-active .faq-icon-plus {
  display: none;
}

.faq-item:not(.faq-item-active) .faq-icon-minus {
  display: none;
}

.faq-item:not(.faq-item-active) .faq-icon-plus {
  display: block;
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.faq-item-active .faq-answer {
  display: block;
}

.faq-answer-text {
  color: #333;
  font-size: clamp(16px, 4vw, 18px);
  margin: 0;
}

.faq-footer {
  color: #333;
  font-size: clamp(16px, 4vw, 18px);
  margin-top: clamp(2rem, 4vw, 2.5rem);
}

/* tablet */
@media (min-width: 768px) {
  #faq {
    padding: 4rem 2rem;
  }


  .faq-title {
    font-size: 28px;
  }
}

/* pc */
@media (min-width: 1024px) {
  #faq {
    padding: 5rem 2rem;
  }

  .faq-title {
    font-size: 32px;
  }

  .faq-answer-text {
    font-size: 16px;
  }

  .faq-footer {
    font-size: 16px;
  }
}
