@charset "UTF-8";

/* ==========================================================================
   1. RESET & BASE SETTINGS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --base-blue: #003174;
  --middle-blue: #0086cd;
  --light-blue: #00aeeb;
  --base-yellow: #fbf9f4;
  --accent-cta: #0e3267;
  --large-space: 80px;
  --medium-space: 40px;
  --small-space: 20px;
  --large-font: 1.25rem;
  --medium-font: 1rem;
  --small-font: 0.875rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "palt";
  font-family:
    "Noto Sans JP", "Noto Sans CJK JP", "Source Han Sans JP",
    "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  background-color: var(--base-yellow);
  -webkit-text-size-adjust: 100%;
}

.sp-br {
  display: inline;
}

.sp-only {
  display: none;
}

.pc-only {
  display: none;
}

.font-small {
  font-size: 0.7rem;
}

.disp-b {
  display: block;
}

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

  .sp-only {
    display: block;
  }
}

@media (min-width: 769px) {
  .pc-only {
    display: block;
  }
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  background-color: transparent;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo a {
  display: block;
  text-decoration: none;
}

#logo-L,
#logo-OGO {
  transition: fill 0.1s linear;
}

/* ==========================================================================
   ロゴのカラーチェンジ設定（アプローチ2用）
   ========================================================================== */
#siteLogo {
  transition: filter 0.3s ease;
  will-change: filter;
}

#siteLogo.is-white {
  filter: brightness(0) invert(1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #5d5238;
  color: #fff;
  text-decoration: none;
  width: 54px;
  height: 54px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

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

.cta-main {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 8px;
  font-weight: 500;
  margin-top: 2px;
  opacity: 0.8;
}

.burger-menu {
  background-color: #22487f;
  border: none;
  width: 54px;
  height: 54px;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.burger-menu span {
  display: block;
  position: absolute;
  width: 26px;
  height: 2px;
  background-color: #ffffff;
  left: 14px;
  transition:
    transform 0.3s ease,
    top 0.3s ease,
    background-color 0.3s ease;
}

.burger-menu span:nth-child(1) {
  top: 21px;
}

.burger-menu span:nth-child(2) {
  top: 31px;
}

.burger-menu.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--base-yellow);
  z-index: 90;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  padding-top: 100px;
}

.column-sub::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: url(../img/bg-logo.svg) no-repeat center / contain;
  opacity: 0.1;
  transform: rotate(6deg);
  z-index: -1;
}

.menu-overlay.open {
  right: 0;
}

.menu-columns {
  display: flex;
  width: 100%;
  height: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.menu-col {
  flex: 1;
  padding: 20px;
}

.column-image img {
  border-radius: 8px;
  width: 100%;
}

.menu-col ul {
  list-style: none;
}

.menu-col li {
  margin-bottom: 24px;
  padding-bottom: 0.8rem;
  text-align: right;
}

.menu-col .nav-links li:nth-child(-n + 3) {
  border-bottom: dotted 1px #ddd;
}

.menu-col .nav-links li:nth-child(4),
.menu-col .nav-links li:nth-child(5) {
  margin-bottom: 0;
  padding-bottom: 0.4rem;
}

.menu-col .nav-links li:nth-child(5) a,
.menu-col .nav-links li:nth-child(6) a {
  font-size: 1rem;
  font-weight: normal;
}

.menu-col .nav-links li:nth-child(6) {
  margin-bottom: 1rem;
}

.menu-col .nav-links li:nth-child(7) {
  margin-bottom: 0;
}

.nav-links a {
  color: #000000;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-cta);
}

.sub-links a {
  color: var(--base-blue);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

.sub-links a:hover {
  color: var(--accent-cta);
}

.sub-links li:nth-child(1) a {
  font-size: 1.6rem;
}

.menu-col .sub-links li {
  margin-bottom: 0;
  padding-bottom: 0.6rem;
  font-weight: bold;
}

/* ==========================================================================
   3. HERO / MAIN VISUAL SCROLL AREA
   ========================================================================== */
.scroll-container {
  position: relative;
  background-color: transparent;
}

@media (max-width: 768px) {
  .scroll-container {
    height: 400vh;
  }
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  z-index: 1;
}

.sticky-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/kv_bg.png") center/cover no-repeat fixed;
  opacity: 0;
  animation: bgFadeIn 0.8s ease 1s forwards;
}

@supports (-webkit-touch-callout: none) {
  .sticky-wrapper::before {
    background:
      linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      url("../img/kv_bg.png") center/cover no-repeat;
  }
}

@keyframes bgFadeIn {
  to {
    opacity: 1;
  }
}

.video-box {
  width: 100%;
  height: 100vh;
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: border-radius 0.1s linear;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-box {
  position: absolute;
  left: 50%;
  top: calc(100% + 30px);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  width: 380px;
  height: auto;
}

.text-box p img {
  filter: brightness(0) invert(1);
  width: 88%;
}

.text-box.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -10px);
  text-align: center;
}

/* ==========================================================================
   4. STATEMENT SECTION
   ========================================================================== */
.statement-section {
  padding: var(--large-space) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,
      #ccd7e7,
      #cceffb,
      #f5f1eb,
      #fcfbf8,
      #ccd7e7,
      #cceffb,
      #f5f1eb,
      #fcfbf8);
  background-size: 100% 400%;
  animation: flowGradient 30s linear infinite;
}

@keyframes flowGradient {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 0% 100%;
  }
}

.statement-inner {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}

@media (min-width: 769px) {
  .statement-inner {
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 1200px;
  }

  .statement-inner_pc-left {
    width: 66%;
    text-align: left;
  }

  .statement-inner_pc-left .statement-body {
    margin-bottom: 0;
    padding-bottom: 20vh;
  }

  .statement-inner_pc-left .statement-body p:last-child {
    margin-bottom: 0;
  }

  .statement-inner_pc-right {
    width: 32%;
  }

  .statement-inner_pc-right .statement-logo {
    width: 100%;
  }

  .statement-inner_pc-right .statement-logo img {
    width: 80%;
  }

  .statement-inner_pc-right .statement-catch {
    font-size: 1.05rem;
  }
}

.statement-title {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: var(--medium-space);
}

.statement-body {
  font-size: 0.9375rem;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: var(--large-space);
  font-weight: bold;
}

.statement-body p {
  margin-bottom: 24px;
}

.statement-catch {
  font-size: 0.9375rem;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.scroll-img-container {
  overflow: hidden;
  width: 100%;
  margin-top: var(--medium-space);
}

.scroll-track {
  display: flex;
  white-space: nowrap;
  gap: 20px;
}

.first-img {
  transform: rotate(30deg);
  transform-origin: center center;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.first-img.is-straight {
  transform: rotate(0deg);
}

.scroll-track.start-loop {
  animation: infiniteScroll 20s linear infinite;
}

@media (max-width: 768px) {
  .scroll-track.start-loop {
    animation: infiniteScroll 10s linear infinite;
  }
}

.scroll-track img {
  width: 250px;
  height: auto;
  flex-shrink: 0;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

/* ==========================================================================
   5. MOVIE SECTION
   ========================================================================== */
.movie-section {
  padding: var(--large-space) 24px;
  position: relative;
  background-color: transparent;
}

@media (min-width: 769px) {
  .movie-section::before {
    content: "";
    position: absolute;
    left: -5rem;
    top: 36%;
    width: 400px;
    height: 400px;
    background: url(../img/bg-logo.svg) no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
  }

  .movie-section::after {
    content: "";
    position: absolute;
    top: 5%;
    right: 0;
    width: 76%;
    height: 70%;
    background-color: #ffffff;
    opacity: 1;
    pointer-events: none;
    border-radius: 300px 0 0 300px;
    z-index: -1;
  }
}

.movie-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 769px) {
  .movie-inner {
    display: flex;
    margin-top: var(--large-space);
    justify-content: flex-end;
    width: 100%;
    max-width: 1200px;
  }

  .movie-inner_pc-left {
    width: 30%;
  }

  .movie-inner_pc-right {
    width: 50%;
  }
}

.movie-inner .subtitle {
  margin-bottom: var(--large-space);
}

@media (min-width: 769px) {
  .movie-grid {
    flex-direction: column;
  }
}

.subtitle p:nth-child(1) {
  font-weight: bold;
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

@media (min-width: 769px) {
  .subtitle p:nth-child(1) {
    font-size: 1.6rem;
    margin-bottom: 0;
  }
}

.subtitle p:nth-child(2) {
  font-size: 1rem;
  font-weight: bold;
}

.movie-grid {
  display: flex;
  gap: 60px;
}

.movie-card {
  flex: 1;
  position: relative;
}

.movie-card p {
  margin-top: 0.3rem;
  text-align: right;
  position: relative;
  z-index: 2;
  font-size: 1rem;
  transform: translateY(15px);
}

.movie-card p span {
  display: inline-block;
  background-color: var(--base-blue);
  color: #ffffff;
  border-radius: 16px;
  margin-left: 0.5rem;
  padding: 1px 0.5rem;
}

.movie-skew-bg {
  position: absolute;
  top: 7px;
  left: 50px;
  width: calc(100% - 15px);
  height: calc(100% - 10px);
  background: linear-gradient(135deg, #cceffb, #bce5f5);
  transform: rotate(-7deg);
  border-radius: 16px;
  z-index: 1;
  transform-origin: left bottom;
}

.reveal-title-center {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--base-blue);
  margin-bottom: 0;
  text-align: center;
}

.reveal-title-center .char {
  display: inline-block;
  vertical-align: baseline;
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal-title-center.active .char {
  opacity: 1;
  transform: translateY(0);
}

.video-player-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 3;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 122, 255, 0.9);
  border-radius: 50%;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}

.video-thumbnail:hover .play-icon {
  background-color: var(--base-blue);
  transform: translate(-50%, -50%) scale(1.1);
}

.youtube-embed,
.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   6. ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: var(--large-space) 20px;
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .about-section::before {
    content: "";
    position: absolute;
    left: 40%;
    top: 5%;
    width: 400px;
    height: 400px;
    background: url("../img/bg-logo.svg") no-repeat center/contain;
    opacity: 0.1;
    pointer-events: none;
  }
}

@media (min-width: 769px) {
  .about-section::after {
    content: "";
    position: absolute;
    top: 5%;
    left: 0;
    width: 97%;
    height: 95%;
    background-color: #ffffff;
    opacity: 1;
    pointer-events: none;
    border-radius: 0 300px 300px 0;
    z-index: -1;
  }

  .about-inner {
    display: flex;
    margin-top: var(--large-space);
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .about-inner_pc-left {
    width: 25%;
    order: 2;
  }

  .about-inner_pc-right {
    width: 55%;
    order: 1;
  }
}

.about-section .subtitle {
  margin-bottom: var(--large-space);
}

.about-section .subtitle span {
  display: block;
  font-size: 0.8125rem;
}

.reveal-title-center .title-o {
  font-size: 0.85em;
  color: #00bfff;
  display: inline-block;
  vertical-align: baseline;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .cards-grid {
    max-width: 510px;
    gap: 6px;
    margin: 0 auto;
  }
}

.research-card {
  background: #efebe4;
  border-radius: 16px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  border: solid 2px #ffffff;
}

@media (min-width: 769px) {
  .research-card {
    max-width: 250px;
  }
}

.research-card.is-active {
  opacity: 1;
  transform: translateY(0);
}

.research-card:hover {
  transform: translateY(-5px);
}

.card-label {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 8px;
  font-weight: 500;
}

.research-card .card-number {
  font-size: 1.1rem;
  font-weight: bold;
  color: #0e3267;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.2em;
}

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

.ratio-label {
  font-size: 12px;
  line-height: 1;
  margin-top: 4px;
}

.research-card .card-number .rotate-num {
  display: inline-block;
  font-size: 2.2rem;
}

.research-card .card-icon {
  width: 240px;
  height: auto;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.research-card .card-icon img {
  height: 50px;
  max-height: 50px;
  width: auto;
}

@media (min-width: 769px) {
  .research-card .card-icon {
    margin: 20px auto;
    width: auto;
  }

  .research-card .card-icon img {
    max-width: 100px;
    height: auto;
  }

  .research-card .card-icon img {
    max-height: 37px;
  }
}

/* ==========================================================================
   7. OFFICE SECTION (CAROUSEL)
   ========================================================================== */
.office-section {
  padding: var(--large-space) 20px;
  text-align: center;
}

.office-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--base-blue);
}

.office-subtitle {
  margin-bottom: var(--medium-space);
  font-size: 1.1rem;
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f0f0f0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.carousel-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ede8de;
  cursor: pointer;
  padding: 5px 10px;
  position: relative;
  transition: color 0.3s ease;
}

.carousel-btn:hover,
.carousel-btn.active {
  color: #d1c6b6;
}

.carousel-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #d1c6b6;
  transition:
    width 0.3s ease,
    left 0.3s ease;
}

.carousel-btn.active::after {
  width: 80%;
  left: 10%;
}

@media (min-width: 769px) {
  .about_tour_wrap {
    position: relative;
    padding-bottom: 30vh;
  }

  .office-section {
    position: absolute;
    bottom: 0;
    right: 2%;
    width: 42%;
  }

  .carousel-container {
    max-width: 600px;
  }

  .carousel-slides {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ==========================================================================
   8. WORK SECTION (TABS & TOGGLES)
   ========================================================================== */
/* ----------------------------------
共通
---------------------------------- */

.work-section {
  padding: var(--large-space) 20px;
  background-color: var(--base-yellow);
  text-align: center;
  position: relative;
}

.work-section .subtitle {
  margin-bottom: var(--small-space);
}

.work-section .reveal-title-center {
  color: #333;
}

.work-container {
  max-width: 800px;
  margin: 0 auto;
}

.work-contents {
  background-color: #fff;
  padding: 40px 0 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  min-height: 200px;
  margin-bottom: var(--large-space);
}

.work-content-item {
  display: none;
}

.work-content-item h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #333;
}

.work-content-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.work-content-item.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.main-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px 15px 15px;
}

.main-container .img img {
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

details summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  user-select: none;
}

details summary::-webkit-details-marker {
  display: none;
}

/* ----------------------------------
タブ
---------------------------------- */

.work-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.work-tab-btn:hover {
  border-color: #00bfff;
  color: #00bfff;
}

.work-tab-btn {
  height: 65px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 35px;
  font-size: 1.05rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.work-tab-btn.active {
  background-color: #00bfff;
  border-color: #00bfff;
  color: #fff;
}


/* ----------------------------------
職種ヘッダー
---------------------------------- */

.parent-toggle-head {
  background-color: #ffffff;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
}

.parent-toggle-head .job-icon {
  width: 20%;
  padding-left: 10%;
}


.parent-toggle-head .job-tag {
  width: 70%;
  text-align: center;
  border-bottom: solid 1px #dddddd;
  font-weight: bold;
  font-size: 1.4rem;
  color: var(--base-blue);
}


/* ----------------------------------
アコーディオン
---------------------------------- */

.parent-toggle-container {
  margin-bottom: 16px;
  overflow: hidden;
}

.parent-summary {
  font-weight: bold;
  background-color: #cfc4b3;
  transition: background-color 0.2s ease;
  border-radius: 40px;
  margin-bottom: var(--small-space);
  font-size: 1rem;
  padding: 12px 16px;
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.parent-summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 22px;
  font-weight: normal;
  color: #333333;
}

.parent-summary span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

details[open] .parent-summary::after {
  content: "−";
}

.toggle-day .parent-summary::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url(../img/work-interview-icon-clock.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.toggle-interview .parent-summary::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url(../img/work-interview-icon-mic.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.parent-content {
  padding: 20px 15px;
  background-color: #ffffff;
}

.content-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

details[open]+.content-wrapper {
  grid-template-rows: 1fr;
}

.content-inner {
  overflow: hidden;
}


/* ----------------------------------
スケジュール
---------------------------------- */

.work-scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--small-space);
}

.work-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.work-scroll-container::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.work-scroll-container::-webkit-scrollbar-track {
  background: #bce5fa;
}

.work-scroll-container::-webkit-scrollbar-thumb {
  background: #2097e5;
}

.work-scroll-container img,
.day-gallery img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}

.work-scroll-container.dragging,
.work-scroll-container.dragging img,
.day-gallery.dragging img {
  cursor: grabbing;
}

.scroll-item {
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0 30px;
  width: 100vw;
}

.day-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.day-gallery.dragging {
  cursor: grabbing;
}

.day-gallery img {
  pointer-events: none;
}

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

.toaru-img p {
  width: calc(100% / 2 - 6px);
}

.toaru-img p img {
  width: 100%;
}


/* ----------------------------------
Q&A
---------------------------------- */

.qa-toggle-container {
  border-bottom: 1px solid #eee;
}

.qa-toggle-container:last-child {
  border-bottom: none;
}

.qa-toggle-container .txt {
  font-weight: bold;
  text-align: center;
  margin-bottom: var(--small-space);
  font-size: 1.1rem;
  line-height: 1.6;
}

.qa-toggle-container .img img {
  width: 100%;
}

.qa-summary {
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 0.9375rem;
  text-indent: -1em;
}

.qa-summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: auto;
  text-indent: 0;
  transition: transform 0.3s ease;
  font-size: 0.75rem
}

details[open] .qa-summary::after {
  transform: rotate(135deg);
}


.answer-content {
  padding: 4px 0 20px 1em;
  font-size: 0.9375rem;
  line-height: 1.6;
  text-indent: -1em;
}

.answer-prefix {
  margin-right: 4px;
}

.img p {
  width: 100%;
  margin: 0 auto 30px;
  padding: 0;
}

.txt p {
  margin-bottom: var(--medium-space);
}

/* ----------------------------------
PC
---------------------------------- */

@media (min-width:769px) {
  .work-container {
    width: 100%;
  }

  .work-section-inner_pc {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    width: 800px;
    margin: 0 auto 4rem;
  }

  .work-section .subtitle {
    display: flex;
    align-items: baseline;
    margin-bottom: 0;
  }

  .work-heading-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .work-heading-left .action-tit {
    margin: 0 auto;
  }

  .work-tabs {
    display: flex;
    width: 100%;
    max-width: 800px;
    gap: 12px;
    margin: 0 auto 50px;
  }

  .work-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    padding: 2px;
  }

  .parent-toggle-head {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 70%;
    margin: 0 auto;
  }

  .parent-toggle-head .job-icon img {
    width: 140px;
    height: auto;
    display: block;
  }

  .parent-toggle-head .job-tag {
    flex: 1;
    font-size: 2rem;
    padding-left: 2.4rem;
    border-bottom: none;
  }

  .work-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .work-inner_pc-left {
    flex: 0 0 36%;
  }

  .work-inner_pc-right {
    flex: 1;
  }

  .toggle-day .parent-summary::after {
    display: none;
  }

  .toggle-day .parent-summary {
    cursor: default;
    pointer-events: none;
  }

  .work-scroll-container .scroll-item {
    width: 80vw;
  }

  .interview-head {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    align-items: center;
    position: relative;
  }

  .interview-head::before {
    content: "";
    position: absolute;
    left: 20rem;
    top: -4%;
    width: 400px;
    height: 400px;
    background: url(../img/bg-logo.svg) no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
  }

  .interview-head .img {
    flex: 0 0 36%;
    order: 1;
  }

  .interview-head .txt {
    flex: 1;
    order: 2;
    text-align: left;
    display: flex;
    align-items: center;
  }

}


/* ----------------------------------
SP
---------------------------------- */

@media (max-width:768px) {
  .work-contents {
    padding-left: 15px;
    padding-right: 15px;
  }

  .work-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .work-tab-btn {
    height: 50px;
    font-size: 1.1rem;
  }

  .parent-toggle-head .job-icon {
    width: 100%;
    padding: 0;
    max-width: 80px;
  }

  .parent-toggle-head .job-icon img {
    width: 100%;
    padding-bottom: 0.5rem;
  }

  .parent-summary {
    font-size: 0.875rem;
  }

  .parent-content,
  .parent-content p,
  .parent-content .txt{
    font-size: 1rem;
    line-height: 1.6;
  }

  .work-scroll-container .scroll-item {
    width: 180vw;
  }

  .toaru-img {
    display: flex;
    gap: 12px;
    width: 100%;
  }

  .toaru-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}


/* ==========================================================================
   9. RECRUIT SECTION
   ========================================================================== */
/* ----------------------------------
セクション全体
---------------------------------- */

.recruit-section {
    width: 100%;
}

.recruit-sticky-block {
    position: sticky;
    top: 10rem;
    z-index: 1;
    height: 100vh;
}

.recruit-overlap-content {
    position: relative;
    z-index: 3;
    background-color: var(--base-yellow);
}

.recruit-content-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 61px 0;
    display: flex;
    align-items: flex-end;
    width: 100%;
}


/* ----------------------------------
ロゴ
---------------------------------- */

.recruit-logo {
    margin-bottom: 20px;
    text-align: center;
}

.recruit-logo-img {
    width: 100%;
    max-width: 520px;
}

.h2-bottom-subtitle {
    background-color: var(--base-blue);
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 6px 24px;
    border-radius: 32px;
    text-transform: uppercase;
    margin-bottom: var(--medium-space);
    display: block;
    width: fit-content;
    margin: 0 auto 8rem;
}

/* ----------------------------------
KV
---------------------------------- */

.recruit-main-image {
    width: 100%;
    height: auto;
}

.recruit-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recruit-visual-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 100vw;
    margin: 5rem calc(50% - 50vw) 0;
}


/* ----------------------------------
縦書きテキスト
---------------------------------- */

.recruit-vertical-text {
    position: absolute;
    top: -5rem;
    writing-mode: vertical-rl;
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #333;
    text-shadow:
        2px 2px 8px rgba(255, 255, 255, 0.9),
        -2px -2px 8px rgba(255, 255, 255, 0.9);
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.recruit-vertical-text span {
    display: block;
    background-color: #ffffff;
    border: solid 1px #d1c6b6;
    padding-top: 1rem;
}

.recruit-vertical-text.is-active {
    opacity: 1;
    transform: translateY(0);
}


/* ----------------------------------
テキスト
---------------------------------- */
.recruit-text {
    line-height: 2.4;
    color: #333;
    font-weight: bold;
    text-align: left;
    font-size: 1.1rem;
    padding-top: 30px;
    margin-bottom: 30px;
}


/* ----------------------------------
CTA
---------------------------------- */

.recruit-banner {
    display: block;
    height: auto;
    border-radius: 12px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-align: right;
    width: auto;
    margin-bottom: 30px;
}

.recruit-banner:hover {
    transform: translateY(-3px);
}

.recruit-banner img {
    max-width: 280px;
}


/* ----------------------------------
PC
---------------------------------- */

@media (min-width:769px) {
    .recruit-sticky-block {
        top: 5rem;
    }

    .recruit-content-inner {
        padding: 150px 0;
        justify-content: space-between;
    }

    .recruit-vertical-text {
        position: absolute;
        right: 23%;
    }

    .recruit-vertical-text span {
        font-size: 2.5rem;
    }
}


/* ----------------------------------
SP
---------------------------------- */

@media (max-width:768px) {
    .recruit-content-inner {
        display: block;
    }

    .recruit-logo-img {
        width: 80%;
    }

    .h2-bottom-subtitle {
        margin: 0 auto 2rem;
    }

    .recruit-vertical-text {
        font-size: 1.8rem;
        top: -3rem;
    }

    .recruit-vertical-text span {
        font-size: 1.5rem;
        padding-top: 0.5rem;
    }

    .recruit-text-area {
        width: 100%;
    }

    .recruit-text {
        text-align: center;
        font-size: 1.1rem;
        padding-top: 30px;
        margin-bottom: 30px;
    }

    .recruit-banner {
        text-align: center;
        width: 100%;
    }
}

/* ==========================================================================
   10. BENEFIT SECTION
   ========================================================================== */
.benefit-section {
  padding: var(--large-space) 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  background-color: var(--base-yellow);
  padding-top: 30px;
}

.benefit-section::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 6%;
  width: 500px;
  height: 500px;
  background: url(../img/bg-logo.svg) no-repeat center / contain;
  opacity: 0.1;
  z-index: -1;
  transform: rotate(5deg);
}

@media (min-width: 769px) {
  .benefit-section::before {
    left: 60%;
    top: -46%;
    width: 600px;
    height: 600px;
  }

  .benefit-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 33%;
    height: 95%;
    background-color: #ebf5f4;
    opacity: 1;
    pointer-events: none;
    border-radius: 0 300px 300px 0;
    z-index: -1;
  }
}

.benefit-section .action-tit p.is-active span {
  font-size: 1.3rem;
}

.benefit-section .benefit-bottom-img img {
  width: 100%;
  max-width: 600px;
  transform: rotate(18deg);
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.benefit-bottom-img.is-active img {
  transform: rotate(0deg);
}

.benefit-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #333;
  margin-bottom: 20px;
}

.benefit-title-bottom {
  font-size: 1.2rem;
  margin-bottom: var(--medium-space);
  font-weight: bold;
}

.benefit-lead {
  margin-bottom: var(--medium-space);
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.2;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto var(--small-space);
}

.benefit-grid-full {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  max-width: 800px;
  margin: 0 auto var(--large-space);
}

.benefit-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 20px 30px;
  border-radius: 16px;
  text-align: left;
  border: solid 2px #ede8de;
}

.benefit-grid-full .benefit-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #ffffff;
  padding: 0 15px;
  border-radius: 16px;
  text-align: left;
  border: solid 2px #ede8de;
}

.benefit-icon {
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon img {
  max-width: 36px;
  max-height: 36px;
  height: auto;
}

.benefit-text {
  font-size: 1.05rem;
  font-weight: bold;
  color: #444;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .benefit-section::before {
    left: 42%;
    top: 10%;
    width: 300px;
    height: 300px;
  }

  .benefit-icon {
    margin: 20px 0 20px 10px;
  }

  .benefit-grid-full .benefit-icon {
    margin: 20px 10px;
  }
}

@media (min-width: 769px) {

  .benefit-grid,
  .benefit-grid-full {
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 0 5%;
  }

  .benefit-grid {
    margin-bottom: 20px;
  }

  .benefit-grid-full {
    max-width: 1200px;
  }

  .benefit-section .benefit-bottom-img {
    position: absolute;
    top: 30%;
    right: 5%;
    overflow: hidden;
    z-index: -1;
  }

  .benefit-section .benefit-bottom-img img {
    max-width: 300px;
  }
}

/* ==========================================================================
   11. TRAINING SECTION
   ========================================================================== */
.training-section {
  padding: var(--large-space) 20px;
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .training-section::before {
    content: "";
    position: absolute;
    left: 15%;
    top: 5%;
    width: 400px;
    height: 400px;
    background: url(../img/bg-logo.svg) no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
    transform: rotate(10deg);
  }
}

.training-section .subtitle {
  margin-bottom: var(--medium-space);
}

.training-section .subtitle p {
  font-size: 1.25rem;
}

.training-section .action-tit p.is-active span {
  font-size: 1.3rem;
  padding: 0 20rem;
}

.training-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #333;
  margin-bottom: 20px;
}

.training-intro {
  max-width: 800px;
  margin: 0 auto var(--large-space) auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

.training-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto var(--large-space) auto;
}

.training-img-item {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.training-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-badge {
  margin-bottom: 50px;
}

.training-detail-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 769px) {
  .training-section::after {
    content: "";
    position: absolute;
    top: 3%;
    right: 0;
    width: 38%;
    height: 50%;
    background-color: #ebf5f4;
    opacity: 1;
    pointer-events: none;
    border-radius: 300px 0 0 300px;
    z-index: -1;
  }

  .training-detail-list {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .training-detail-list_pc-flex-wrap_left {
    width: 48%;
  }

  .training-detail-list_pc-flex-wrap_right {
    display: flex;
    flex-direction: column;
    width: 48%;
  }

  .training-detail-list_pc-flex-wrap_right .training-detail-item {
    order: 2;
  }

  .training-detail-list_pc-flex-wrap_right .training-img-wrap {
    order: 1;
    margin-bottom: 50px;
  }
}

.training-detail-item {
  position: relative;
  margin-bottom: 50px;
}

.detail-circle-icon {
  position: absolute;
  top: -8px;
  left: -15px;
  width: 52px;
  height: 52px;
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
}

.detail-circle-icon svg {
  width: 100%;
  height: 100%;
}

.detail-item-content {
  position: relative;
  z-index: 2;
}

.detail-item-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--base-blue);
  margin-bottom: 12px;
  position: relative;
  padding-left: 0.5rem;
}

.detail-item-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  padding-left: 5px;
}

.training-img-wrap {
  margin: 0 auto;
  text-align: center;
}

.training-img-wrap img {
  width: 96%;
  max-width: 400px;
}

@media (min-width: 769px) {
  .training-img-wrap img {
    width: 85%;
  }
}

/* ==========================================================================
   12. CAREER PATH MODEL SECTION (修正版：アスペクト比維持・下部余白追加)
   ========================================================================== */
/* ----------------------------------
セクション全体
---------------------------------- */

.career-path-model {
  padding: var(--large-space) 20px;
  background-color: #f2efe8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.career-path-model .lead {
  width: 80%;
  margin: 0 auto var(--medium-space);
  text-align: left;
}

.career-path-model .action-tit {
    width: 80%;
}

.action-tit {
  /* width: 80%; */
  display: inline-block;
  margin: 0 auto var(--medium-space);
}
.action-tit p.is-active span {
  font-size: 1.3rem;
}

.action-tit p {
  background-color: var(--base-blue);
  border-radius: 32px;
  padding: 0.4em 2rem;
  text-align: center;
  overflow: hidden;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.action-tit p.is-active {
  transform: scaleX(1);
}

.action-tit p span {
  font-weight: bold;
  color: #ffffff;
  display: inline-block;
  opacity: 0;
}

.action-tit p.is-active span {
  animation: bounceUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s forwards;
}

@keyframes bounceUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  70% {
    transform: translateY(-1px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------
ケース全体
---------------------------------- */

.case-area {
  max-width: 800px;
  margin: 0 auto var(--large-space);
  padding: 0;
  background-color: transparent;
}
.case-area:last-child {
  margin-bottom: 0;
}
.case-area .case-inner {
  width: 100%;
}


/* ----------------------------------
ケースヘッダー
---------------------------------- */

.case-area .case-head {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto var(--medium-space);
}

.case-area .case-head .number {
  background-color: var(--base-blue);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  text-align: center;
  display: grid;
  place-items: center;
  align-content: center;
  margin-right: 2rem;
  position: relative;
  transform-style: preserve-3d;
  line-height: 1.2;
}

.case-area .case-head .number span {
  display: block;
  font-weight: bold;
  font-size: 1.3rem;
}

.case-area .case-head .number::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -6px;
  width: 100%;
  height: 100%;
  background-color: var(--light-blue);
  border-radius: 6px;
  transform-origin: center center;
  transform: translateZ(-1px) translate(6px, -6px) rotate(0deg) scale(0.9);
}

.case-area .case-head .number.is-active::after {
  animation: popShadow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes popShadow {
  to {
    transform: translateZ(-1px) translate(6px, -6px) rotate(70deg) scale(1.08);
  }
}

.case-area .case-head .tit {
  font-size: 1rem;
  font-weight: bold;
  width: 235px;
  text-align: left;
}


/* ----------------------------------
メイン画像
---------------------------------- */

.case-area .case-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto var(--medium-space);
}

.case-area .case-img img {
  width: 100%;
  height: auto;
  display: block;
}


/* ----------------------------------
年次ブロック
---------------------------------- */
.case-area .year-area {
  width: 100% ;
  padding-left: 0 ;
  padding-right: 0 ;
  margin: 0 auto;
}


.case-area .year-area .year-box {
  margin-bottom: var(--large-space);
  text-align: left;
}
.case-area .year-area .year-box:last-child {
  margin-bottom: 0;
}
.case-area .year-area .year-tit {
  color: #ffffff;
  border-radius: 32px;
  text-align: center;
  margin-bottom: var(--small-space);
  font-size: 1.4rem;
}
.case-area .year-area .young-employee {
  background-color: var(--light-blue);
}

.case-area .year-area .mid-level {
  background-color: var(--middle-blue);
}

.case-area .year-area .veteran {
  background-color: var(--base-blue);
}


/* ----------------------------------
テキストエリア
---------------------------------- */
.case-area .year-area .year-box .txt-box{
  margin-bottom: var(--medium-space);
}

.case-area .year-area .year-box .txt-box .tit {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
  font-size: 1rem;
}

.case-area .year-area .year-box .txt-box .txt {
  font-size: 1rem;
}


/* ----------------------------------
画像エリア
---------------------------------- */

.case-area .year-area .year-box .img-box {
  width: 100%;
  display: flex;
  gap: var(--small-space);
  margin-bottom: var(--medium-space);
  background-color: transparent;
}
.case-area .year-area .year-box .img-box img {
  flex: 1;
  width: 50%;
  max-width: 390px;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ----------------------------------
PCレイアウト
---------------------------------- */

@media (min-width:769px) {
  .career-path-model {
    background-color: unset;
    position: relative;
    padding: 0 20px var(--large-space);
  }

  .career-path-model::after {
    content: "";
    position: absolute;
    top: 13rem;
    left: -20rem;
    width: 160%;
    height: 88%;
    background-color: #ebf5f4;
    opacity: 1;
    pointer-events: none;
    border-radius: 0 300px 300px 0;
    z-index: -1;
  }

  .career-path-model .lead,
  #career-path-model .lead,
  .case-area .lead {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .career-path-model .lead {
    margin: 0 auto 100px;
  }

  .case-area_pc-flex-wrap {
    display: flex;
    gap: 20px;
  }

  .case-area {
    padding-left: 10px;
    padding-right: 10px;
    width: calc((100% - 40px) / 3);
    margin-bottom: 0;
  }

  .case-area .case-head .tit {
    font-size: 1rem;
    min-height: 100px;
  }

  .case-area .year-area {
    min-height: 400px;
  }

  .case-area .year-area:last-child {
    min-height: 0;
  }
  .case-area .year-area .year-box {
    min-height: 340px;
  }

  .case-area .year-area .year-box:last-child {
    min-height: 0;
  }

.case-area .year-area .year-box .txt-box {
  min-height: 180px;
}

  .case-area .year-area .year-box .txt-box .tit {
    min-height: 50px;
  }

 .case-area .year-area .year-box .img-box {
    gap: 10px;
  }

}


/* ----------------------------------
SPレイアウト
---------------------------------- */

@media (max-width:768px) {

  .career-path-model {
    padding: var(--large-space) 20px;
  }

  .case-area .case-head {
    margin-bottom: var(--medium-space);
  }

  .case-area .case-img {
    margin-bottom: var(--medium-space);
  }

  .case-area .case-head .number {
    width: 48px;
    height: 48px;
    font-size: 0.8rem;
  }
  .case-area .year-area .img-box {
    max-width: 100%;
  }
  .case-area .year-area .img-box img {
    height: auto;
    border-radius: 0;
  }

}


/* ==========================================================================
   13. DISABILITY HIRING & RE-TOP
   ========================================================================== */
.disability-hiring {
  text-align: center;
  padding: var(--large-space) 20px;
}

@media (min-width: 769px) {
  .disability-hiring {
    position: relative;
  }

  .disability-hiring::before {
    content: "";
    position: absolute;
    left: -5rem;
    top: 36%;
    width: 400px;
    height: 400px;
    background: url(../img/bg-logo.svg) no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
  }
}

.disability-hiring .action-tit p.is-active span {
  font-size: 1.3rem;
}

.disability-hiring .subtitle {
  text-align: center;
  margin-bottom: var(--medium-space);
}

.disability-hiring .subtitle p:nth-child(1) {
  font-size: 1.25rem;
}

.re-top-btn {
  text-align: center;
  padding-bottom: var(--large-space);
}

/* ==========================================================================
   14. RESPONSIVE DESIGN (TABLETS & SMARTPHONES)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --large-space: 50px;
    --medium-space: 30px;
    --small-space: 15px;
  }

  .site-header {
    height: 70px;
  }

  .cta-button {
    font-size: 11px;
    line-height: 1.2;
    width: 48px;
    height: 48px;
  }

  .burger-menu {
    width: 48px;
    height: 48px;
  }

  .burger-menu span {
    width: 22px;
    left: 13px;
  }

  .burger-menu span:nth-child(1) {
    top: 19px;
  }

  .burger-menu span:nth-child(2) {
    top: 27px;
  }

  .cta-main {
    font-size: 10px;
  }

  .cta-sub {
    font-size: 7px;
  }

  .menu-overlay {
    padding-top: 80px;
    overflow-y: auto;
  }

  .menu-columns {
    flex-direction: column;
    padding: 0 24px;
    height: auto;
  }

  .column-image {
    display: none;
  }

  .menu-col {
    flex: none;
    width: 100%;
    padding: 10px 0;
  }

  .sub-links a {
    font-size: 14px;
  }

  .menu-col li {
    margin-bottom: 16px;
  }

  .text-box {
    top: calc(100% + 40px);
  }

  .statement-section {
    padding: var(--large-space) 20px;
  }

  .statement-title {
    font-size: 22px;
    margin-bottom: var(--medium-space);
  }

  .statement-body {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: var(--large-space);
  }

  .statement-logo img {
    margin-bottom: var(--large-space);
    width: 100%;
    max-width: 220px;
  }

  .movie-grid {
    flex-direction: column;
    gap: 120px;
  }

  .movie-skew-bg {
    transform: rotate(-9deg);
    top: 6%;
    left: 12%;
  }

  .benefit-grid {
    gap: 5px;
  }

  .benefit-card {
    padding: 5px;
  }

  .benefit-grid-full .benefit-card {
    padding: 0 5px;
  }

  .benefit-card.full-width {
    display: block;
  }

  .benefit-title {
    font-size: 2.2rem;
  }

  .training-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: var(--large-space);
  }

  .training-img-item {
    height: 140px;
  }

  .training-title {
    font-size: 2.2rem;
  }

  .training-intro {
    margin: 0 auto var(--large-space) auto;
  }

  .detail-item-title {
    font-size: 1.2rem;
  }

  .detail-circle-icon {
    width: 44px;
    height: 44px;
    top: -12px;
    left: -10px;
  }
}

@media (max-width: 480px) {
  .cards-grid {
    gap: 12px;
  }

  .research-card {
    padding: 20px 10px;
  }

  .research-card .card-number {
    font-size: 1.3rem;
    line-height: 1.6em;
  }

  .research-card .card-number.disp-b {
    display: block;
  }

  .research-card .card-number .rotate-num {
    font-size: 2.6rem;
  }

  .research-card .card-icon {
    width: 120px;
    height: 40px;
    display: flex;
    align-items: baseline;
    justify-content: center;
  }

  .research-card .card-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin-top: 1.2rem;
  }
}

/* ==========================================================================
   15. LAST CTA SECTION (修正版：背景全幅・中身固定)
   ========================================================================== */
.last-cta {
  width: 100%;
  background-color: #ffffff;
  padding: var(--large-space) 0;
}

.last-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--medium-space);
  text-align: center;
}

.last-cta img {
  display: block;
  max-width: 100%;
  height: auto;
}

.last-cta img:nth-child(1) {
  width: 100%;
  max-width: 500px;
}

.last-cta img:nth-child(2) {
  width: 100%;
  max-width: 380px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.last-cta img:nth-child(2):hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.last-cta img:nth-child(3) {
  width: 100%;
  max-width: 240px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .last-cta-inner {
    gap: var(--small-space);
    width: 90%;
  }

  .last-cta .last-logo img {
    width: 100%;
    max-width: 180px;
    margin-top: var(--small-space);
  }
}

/* ==========================================================================
   【修正用】MVエリア（Sticky）バグの修正
   ========================================================================== */
html,
body {
  overflow-x: clip ;
}

.wrapper,
#wrapper,
main,
#main,
#app {
  overflow-x: clip ;
  overflow-y: visible ;
}

/* ==========================================================================
   【修正用】スマートフォン表示（768px以下）の細部レイアウト微調整
   ========================================================================== */
@media (max-width: 768px) {

  .reveal-title-center {
    font-size: 3.2rem;
  }

  .subtitle p:nth-child(1) {
    font-size: 2rem;
  }

  .subtitle p:nth-child(2) {
    font-size: 1.2rem;
  }

  .h2-bottom-subtitle {
    font-size: 1.4rem;
    padding: 6px 16px;
  }

  .cards-grid {
    gap: 16px;
  }

  .office-title {
    font-size: 2rem;
  }

  .office-subtitle {
    font-size: 1rem;
  }

  .carousel-slides {
    height: 300px;
  }

}

.benefit-lead {
  font-size: 2.2rem;
}

.benefit-title-bottom {
  font-size: 1.2rem;
}

.benefit-grid .benefit-text {
  font-size: 14px;
  width: 100%;
  text-align: center;
}

.benefit-section .is-active,
.benefit-section .is-active span,
.benefit-section .action-tit p.is-active span {
  font-size: 1.2rem;
}

.training-section .subtitle {
  line-height: 1;
}

.training-section .subtitle p,
.training-section .training-intro,
.disability-hiring .training-intro {
  font-size: 1.1rem;
}

.training-section .action-tit p.is-active span {
  font-size: 1.3rem;
  padding: 0 3rem;
}

.detail-item-title {
  font-size: 1.1rem;
}

.detail-item-text {
  font-size: 1rem;
}

@media (min-width: 769px) {

  .benefit-grid-full .benefit-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 20px 30px;
    border-radius: 16px;
    text-align: left;
    border: solid 2px #ede8de;
  }

  .benefit-grid-full .benefit-text {
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  .training-section .subtitle p {
    display: inline;
  }
}

.career-path-model .is-active,
.career-path-model .is-active span,
.career-path-model .action-tit p.is-active span,
#career-path-model .is-active span {
  font-size: 1.3rem;
}

.disability-hiring .action-tit p.is-active span {
  font-size: 1.3rem;
}

.disability-hiring .subtitle p:nth-child(1) {
  font-size: 1.2rem;
}

@media (min-width: 769px) {
  .last-cta img:nth-child(1) {
    max-width: 300px;
  }
}