@charset "utf-8";

/* ==================================================
   1. 基本リセット & 画像ベース背景
================================================== */
:root {
  --pink-main: #ff5e97;
  --cyan-main: #00bcd4;
  --blue-main: #009688;
  --text-color: #333333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

html, body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: var(--text-color);

  background-image: url("../image/bg_01.png"); 
  background-size: cover;      
  background-position: center;  
  background-repeat: no-repeat; 
  background-attachment: fixed; 
  font-size: 17px;          /* 基準フォントサイズ */
  line-height: 1.85;        /* ゆったりとした行間 */
  letter-spacing: 0.04em;
}

/* 本文内の黄色強調用クラス */
.color-yellow {
  color: #fcff5e;
  font-weight: bold;
}


/* ==================================================
   2. PC用 3カラム 全体レイアウト
================================================== */
.lp-container {
  display: flex;
  justify-content: center; 
  align-items: stretch;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px 40px 20px;
  position: relative;
  z-index: 10;
}

/* ==================================================
   3. 左カラム (PC)
================================================== */
.sidebar-left {
  width: 300px;
  height: calc(100vh - 80px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  position: fixed !important;
  top: 40px !important;
  left: calc(50% - 560px) !important;
  z-index: 20;

  margin-right: 0 !important;
}

.logo-mark {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}
.site-header { margin-bottom: 10px; }
.header-logo-group { display: flex; align-items: center; gap: 8px; }
.logo-mark img { width: 80px; height: auto; display: block; }
.header-info { display: flex; flex-direction: column; gap: 2px; }
.company-sub-title { font-size: 1rem; font-weight: bold; color: #555555; white-space: nowrap; }
.recruits-row { display: flex; align-items: center; gap: 4px; }
.recruits-text { font-size: 1rem; font-weight: bold; color: #333333; }
.chara-icons { display: flex; gap: 5px; }
.chara-icon { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.diagnosis-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin-top: 120px;
}
.diagnosis-card .catch { color: var(--cyan-main); font-weight: bold; font-size: 0.85rem; margin-bottom: 6px; }
.diagnosis-box { border: 2px dashed #4dd0e1; border-radius: 12px; padding: 12px; }
.diagnosis-box .sub { font-size: 0.6rem; color: #888; }
.diagnosis-box .desc { font-size: 0.8rem; font-weight: bold; margin: 6px 0; }

.diagnosis-box img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.btn-pink {
  display: inline-block;
  background-color: lightgoldenrodyellow;
  border: 2px solid var(--pink-main);
  color: var(--pink-main);
  padding: 6px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
}

.illustration-box {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.illustration-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
  
.contact-box { 
  font-size: 0.75rem; 
  color: #555; 
  background-color: rgba(255, 255, 255, 0.6); 
  padding: 15px; 
  border-radius: 20px; 
}

.tel-number { 
  font-size: 1.25rem; 
  font-weight: bold; 
  color: #333; 
  text-decoration: none; 
  display: block; 
  margin-top: 4px; 
}

/* ==================================================
   4. 中央カラム（PCデフォルト）
================================================== */
.main-content {
  width: 400px;
  height: auto !important;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 35px 35px 0 0 !important;
  border: 6px solid #ffffff;
  border-bottom: none !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  
  overflow: visible !important;
  position: relative !important;
  z-index: 10;

  margin: 0 auto 0 calc(50% - 15px) !important;
  padding-bottom: 50px !important;
}

.main-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  right: -6px;
  bottom: -160px;
  background-color: #ffffff;
  z-index: -1;
}

.hero-section {
  padding: 50px 15px 0;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #e0f7fa 100%);
  overflow: hidden;
}

.hero-badge-wrapper {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 15px;
  text-align: left;
  transform: rotate(-18deg);
  transform-origin: left bottom;
}

.hero-badge-text {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ff5e97;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
  margin-left: -5px;
  white-space: nowrap;
}

.hero-badge-line {
  width: 130%;
  margin-left: -20px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, #00bcd4 0%, #4dd0e1 40%, #e6ee9c 80%, #f0f498 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-copy { font-size: 2rem; font-weight: 900; line-height: 1.2; margin: 15px 0; }

.hero-image {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  position: relative;
  z-index: 1;
}

.hero-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.cyan-bg-section {
  position: relative;
  background-color: #00bcd4 !important;
  margin-top: -110px !important; 
  padding-top: 150px !important; 
  padding-bottom: 120px !important; 

  clip-path: polygon(0 110px, 100% 0, 100% 100%, 0 100%) !important;
  -webkit-clip-path: polygon(0 110px, 100% 0, 100% 100%, 0 100%) !important;
  z-index: 2;
}

.diamond-fade-container {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 420px;
  margin: 0 auto 10px;
}

.diamond-card {
  position: absolute;
  width: 130px;
  height: 130px;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  
  opacity: 0;
  transform: translateY(25px) rotate(45deg);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.diamond-card.is-show {
  opacity: 1;
  transform: translateY(0) rotate(45deg);
}

.d-1 { transition-delay: 0s; top: 10px; left: 8px; }
.d-2 { transition-delay: 0.25s; top: 30px; right: 8px; }
.d-3 { transition-delay: 0.5s; top: 145px; left: 105px; }
.d-4 { transition-delay: 0.75s; top: 260px; left: 8px; }
.d-5 { transition-delay: 1.0s; top: 275px; right: 8px; }

.diamond-inner {
  transform: rotate(-45deg);
  text-align: center;
  width: 100%;
  padding: 4px;
}

.diamond-inner p {
  font-size: 0.75rem;
  font-weight: bold;
  color: #00bcd4;
  line-height: 1.35;
  margin: 0;
}

.diamond-card.highlight .diamond-inner p {
  color: #ff5e97;
}

.concept-message-body {
  color: #ffffff;
  text-align: center;
  padding: 20px 20px 0;
}

.concept-catch {
  font-size: 1.35rem;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 30px;
  letter-spacing: 0.08em;
}

.concept-catch span {
  font-size: 1.45rem;
  letter-spacing: 0.12em;
}

.brand-frame {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 290px;
  padding: 18px 10px;
  margin: 0 auto 30px;
}

.brand-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 55%;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}

.brand-frame::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: 55%;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  display: block;
}

.concept-lead {
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.9;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.cta-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 300px;
  margin: 10px auto 0;
}

.cta-btn-group .accent-diamond {
  width: 28px;
  height: 28px;
  background-color: #c5eb9e;
  border-radius: 6px;
  transform: rotate(45deg);
  margin-bottom: 8px;
}

.accent-diamond-pink {
  width: 28px;
  height: 28px;
  background-color: #fcb2d5;
  border-radius: 6px;
  transform: rotate(45deg);
  margin-bottom: 8px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 10px;
  border: 3.5px solid #ffffff;
  border-radius: 35px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-btn:hover,
.cta-btn:active {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-mynavi { background-color: #ff6b9d; }
.btn-contact { background-color: #00d2f8; }

.section-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 35px 0 25px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.divider-bar-img {
  width: 85%;
  max-width: 280px;
  height: auto;
  display: block;
}

.js-bar-slide {
  opacity: 0;
  transform: translate(-80px, 30px);
  transition: opacity 3.2s ease-out, 
              transform 3.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-bar-slide.is-show {
  opacity: 1;
  transform: translate(35px, -5px);
}

.divider-diamond-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  transform: translateX(-100px); 
}

.divider-diamond-img {
  width: 32px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.js-rotate-diamond {
  animation: spinDiamond 8s linear infinite;
  transform-origin: center center;
}

@keyframes spinDiamond {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mission-person-wrapper {
  position: relative;
  width: 100%;
  margin-top: -110px;
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-end;
  padding-right: 0px;
  pointer-events: none;
}

.mission-person-img {
  width: 70%;
  max-width: 320px;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  will-change: opacity, transform;
}

.mission-person-img.is-show {
  opacity: 1;
  transform: translateY(0);
}

.divider-bar-img.js-bar-slide {
  animation: barSlideIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes barSlideIn {
  0% {
    opacity: 0;
    transform: translate(-60px, 30px);
  }
  100% {
    opacity: 1;
    transform: translate(35px, -5px);
  }
}

.person-bottom-diamond {
  position: absolute;
  bottom: -120px;
  right: 35px;
  width: 80px;
  height: 80px;
  z-index: 3;
  opacity: 0.65; 
}

.person-bottom-diamond img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.mission-section {
  background-color: #00bcd4;
  color: #ffffff;
  padding: 50px 24px 40px;
  text-align: left;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 20px;
}

.mission-header {
  margin-bottom: 35px;
}

.mission-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: 0.12em;
}

.mission-sub {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.25em;
}

.mission-box {
  position: relative;
  font-size: 18px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 40px;
  padding: 24px 26px;
  text-align: left;
}

.mission-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 45%;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}

.mission-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 45%;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.mission-box p {
  font-weight: bold;
  line-height: 2.0;
  color: #ffffff;
  margin: 0;
}

.mission-body {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 2.0;
  color: #ffffff;
  position: relative;
}

.mission-body p {
  margin-bottom: 2px;
  line-height: 2.5;
}

.mission-body .highlight {
  font-size: 0.8rem;
  font-weight: bold;
}

.mission-body .space-block {
  height: 20px;
}

.mission-body .bold-white {
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.mission-bottom-person {
  position: absolute;
  bottom: -120px;
  right: 0px;
  width: 60%;
  max-width: 200px;
  z-index: 10;
  pointer-events: none;
}

.mission-bottom-person-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  will-change: opacity, transform;
}

.mission-bottom-person-img.is-show {
  opacity: 1;
  transform: translateY(0);
}

.text-bottom-diamond {
  position: absolute;
  bottom: -80px; 
  left: 60px; 
  width: 80px; 
  height: 80px;
  z-index: 15; 
  opacity: 0.3; 
}

.text-bottom-diamond img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.man-left-diamond {
  position: absolute;
  top: 20px; 
  left: -50px; 
  width: 40px; 
  height: 40px;
  opacity: 0.8; 
  z-index: 20; 
  pointer-events: auto;
}

.man-left-diamond img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

#senpai {
  padding-top: 40px !important;
}

.senpai-section {
  padding: 50px 0 40px;
  text-align: center;
}

.section-block {
  padding: 50px 0 30px;
}

.section-header {
  padding: 0 20px;
  margin-bottom: 25px;
  text-align: left;
}

.section-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title-diamond {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  margin-top: -10px;
}

.section-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fc1465;
  line-height: 1.2;
  margin: 0 0 4px 0;
  text-align: left;
}

.section-sub {
  display: block;
  font-size: 0.95rem;
  color: #555555;
  letter-spacing: 0.15em;
  margin: 0;
  text-align: left;
}

.section-lead {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #333333;
  text-align: left;
  max-width: 100%;
  margin: 0 0 10px 0;
}

.senpai-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 10px 0 20px;
}

.senpai-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 40px 20px;
}

.senpai-slider::-webkit-scrollbar {
  display: none;
}

.senpai-card {
  flex: 0 0 250px;
  scroll-snap-align: center;
  background-color: #b3f2ff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.senpai-card:hover,
.senpai-card:active {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  border-radius: 14px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #ff3377;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 12px 4px 4px;
  color: #333333;
  width: 100%;
  text-align: center;
}

.card-copy {
  font-size: 0.82rem;
  font-weight: bold;
  line-height: 1.45;
  color: #e6005c;
  padding: 5px 5px;
  margin-bottom: 10px;
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-job {
  background-color: #e0f7fa;
  color: #666;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-type {
  font-size: 0.85rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.type-label {
  color: #777777;
  margin-right: 4px;
}

.type-value {
  color: #009688;
  font-weight: 800;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: -20px;
}

.slider-arrow {
  width: 36px;
  height: 36px;
  background-color: #f48fb1;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: background-color 0.2s;
}

.slider-arrow:active {
  background-color: #ff5e97;
}

.job-cards-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 15px;
  width: 100%;
  margin-top: 25px;
}

.job-card-item {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border-left: none;
  border-top: 6px solid #ff5e97;
  border-radius: 16px;
  padding: 14px 6px 12px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card-item:hover,
.job-card-item:active {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.job-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.job-card-img {
  width: 100%;
  max-width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.job-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.job-card-title {
  font-size: 0.85rem;
  font-weight: bold;
  color: #ff5e97;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.job-card-arrow {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background-color: #ff5e97;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-content {
  padding: 0 20px;
}

.gallery-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: bold;
  color: #00bcd4;
  margin-bottom: 12px;
}

.training-photo-gallery {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 12px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.gallery-grid {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: continuousScroll 25s linear infinite;
}

.gallery-grid:hover,
.gallery-grid:active {
  animation-play-state: paused;
}

.photo-item {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-item img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin-bottom: 6px !important;
}

.photo-caption {
  font-size: 0.7rem;
  font-weight: bold;
  color: #555555;
  text-align: center;
  line-height: 1.3;
}

@keyframes continuousScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.image-zoom-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.8) !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.image-zoom-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

.image-zoom-container {
  max-width: 90vw !important;
  max-height: 80vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.image-zoom-container img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 70vh !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
}

.image-zoom-caption {
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: bold !important;
  margin-top: 12px !important;
  text-align: center !important;
}

.image-zoom-hint {
  margin-top: 15px !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 14px !important;
  border-radius: 20px !important;
  pointer-events: none !important;
}

.photo-item {
  cursor: pointer !important;
}

.gallery-hint {
  text-align: center !important;
  font-size: 0.72rem !important;
  font-weight: bold !important;
  color: #888888 !important;
  margin-top: -6px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

.gallery-hint i {
  color: #00bcd4 !important;
  font-size: 0.75rem !important;
}

.photo-item {
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
}

.photo-item:hover,
.photo-item:active {
  transform: scale(1.03) !important;
}

.training-check-labels {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px dashed #e0e0e0;
}

.check-label-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: bold;
  color: #333333;
  background-color: #f0fbfb;
  padding: 6px 12px;
  border-radius: 8px;
}

.check-icon {
  color: #00bcd4;
  font-weight: 900;
  font-size: 0.85rem;
}

.training-step-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 25px 25px;
}

.step-mini-card {
  background: #ffffe0;
  border-left: 4px solid #00bcd4;
  border-radius: 10px;
  padding: 10px 14px;
}

.step-mini-card.step-common {
  background-color: #ffffe0;
  border-left-color: #ff5e97;
}

.step-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: bold;
  color: #ff5e97;
  margin-bottom: 2px;
}

.step-badge.badge-common {
  background-color: #00bcd4;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
}

.step-mini-card h4 {
  font-size: 0.85rem;
  font-weight: bold;
  color: #ff5e97;
  margin-bottom: 2px;
}

.step-mini-card p {
  font-size: 0.75rem;
  color: #666666;
  margin: 0;
}

.step-job-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.job-tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-tag-label {
  font-size: 0.65rem;
  font-weight: bold;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-cyan { background-color: #00bcd4; }
.tag-pink { background-color: #ff5e97; }

.job-tag-text {
  font-size: 0.75rem !important;
  color: #333333 !important;
  margin: 0 !important;
}

.btn-more-pink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 12px 10px;
  background-color: #00c896;
  border: 3.5px solid #ffffff;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 35px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-more-pink:hover,
.btn-more-pink:active {
  opacity: 0.9;
  transform: translateY(-2px);
}

.training-point-list {
  list-style: none;
  padding: 12px 30px;
  margin: 20px 0 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.training-point-list li {
  font-size: 0.9rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.point-mark {
  color: #ff5e97;
  font-size: 0.75rem;
}

.qa-content { padding: 0 15px; }

.qa-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 25px;
}

.qa-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #d0d0d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.qa-question {
  width: 100%;
  padding: 10px 12px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.q-content-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  flex-grow: 1;
  min-width: 0;
}

.qa-question *,
.spot-accordion-btn * {
  pointer-events: none;
}

.qa-item.is-open .qa-answer,
.spot-accordion-item.is-open .spot-accordion-content,
.map-card.is-open .spot-accordion-content {
  display: block;
}

.q-badge {
  width: 42px;
  height: 24px;
  background-color: #ff3377;
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.q-text {
  font-size: 0.8rem;
  font-weight: bold;
  color: #ff3377;
  line-height: 1.35;
}

.q-ill {
  width: 100px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.q-ill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qa-toggle-arrow {
  width: 28px;
  height: 28px;
  background-color: #ff3377;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.qa-item.is-open .qa-toggle-arrow {
  transform: rotate(180deg);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background-color: #b3f2ff;
}

.qa-answer-inner {
  padding: 12px 14px;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 8px !important;
  border-top: 1px dashed #00bcd4;
}

.a-badge {
  width: 42px !important;
  height: 24px !important;
  background-color: #00c8f8 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.a-text {
  width: 100% !important;
  font-size: 0.82rem !important;
  color: #333333 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

.qa-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  margin-bottom: 30px;
}

.qa-cat-btn {
  display: inline-block;
  padding: 8px 14px;
  background-color: #ffffff;
  border: 2px solid #ff3377;
  color: #ff3377;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.qa-cat-btn:hover,
.qa-cat-btn:active {
  background-color: #ff3377;
  color: #ffffff;
}

.btn-more-emerald {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 12px 10px;
  background-color: #00c896;
  border: 3.5px solid #ffffff;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 35px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-more-emerald:active {
  opacity: 0.9;
  transform: translateY(-2px);
}

html { scroll-behavior: smooth; }

.area-nav-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.area-nav-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 2px solid #ff3377;
  color: #ff3377;
  padding: 8px 6px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: background-color 0.2s, color 0.2s;
}

.area-nav-btn span {
  background-color: #ff3377;
  color: #ffffff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
}

.area-nav-btn:active {
  background-color: #ff3377;
  color: #ffffff;
}

.area-map-content {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.map-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 16px;
  scroll-margin-top: 20px;
}

.map-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.area-badge {
  background-color: #ff3377;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.area-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333333;
  margin: 0;
}

.map-img-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.map-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.spot-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid #eee;
  padding-top: 12px;
  cursor: pointer;
  text-align: left;
}

.spot-btn-text strong {
  font-size: 0.95rem;
  color: #333333;
  display: block;
  margin-bottom: 4px;
}

.spot-btn-text p {
  font-size: 0.75rem;
  color: #666666;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.spot-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-more-text {
  font-size: 0.85rem;
  font-weight: bold;
  color: #888888;
}

.spot-arrow-icon {
  width: 24px;
  height: 24px;
  background-color: #ff3377;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.spot-accordion-item.is-open .spot-arrow-icon {
  transform: rotate(180deg);
}

.spot-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.spot-inner {
  padding-top: 15px;
  border-top: 2px solid #ff3377;
  margin-top: 10px;
  background-color: #ffffe0;
  padding: 15px;
  border-radius: 8px;
}

.spot-district { margin-bottom: 15px; }
.spot-district:last-child { margin-bottom: 0; }
.spot-district h4 { font-size: 0.9rem; color: #ff3377; margin: 0 0 6px 0; font-weight: bold; }
.spot-district p { font-size: 0.73rem; color: #333333; line-height: 1.45; margin: 0 0 8px 0; }

.news-content { padding: 0 15px; }
.news-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.news-item {
  display: block;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 14px 16px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-item:active,
.news-item:hover {
  border-color: #ff3377;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 51, 119, 0.12);
}

.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.news-date { font-size: 0.75rem; color: #888888; font-weight: 600; letter-spacing: 0.03em; }
.news-tag { background-color: #ffe6ee; color: #ff3377; font-size: 0.68rem; font-weight: bold; padding: 3px 10px; border-radius: 20px; }

.news-title {
  font-size: 0.83rem;
  font-weight: bold;
  color: #333333;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==================================================
   エリアマップ 区別アコーディオン装飾
================================================== */
.district-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.district-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.district-btn {
  width: 100%;
  padding: 10px 14px;
  background-color: #f7fbfd;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s ease;
}

.district-btn:hover,
.district-btn:active {
  background-color: #e0f7fa;
}

.district-btn * {
  pointer-events: none;
}

.district-name {
  font-size: 0.88rem;
  font-weight: bold;
  color: #ff3377;
}

.district-arrow {
  width: 24px;
  height: 24px;
  background-color: #ff3377;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.district-item.is-open .district-arrow {
  transform: rotate(180deg);
}

.district-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background-color: #ffffe0;
}

.district-inner {
  padding: 12px 14px;
  border-top: 1px dashed #ff3377;
}

.district-inner p {
  font-size: 0.82rem !important;
  line-height: 1.6 !important;
  color: #333333;
  margin-bottom: 10px;
}

.district-inner p:last-child {
  margin-bottom: 0;
}

/* ==================================================
   5. 右カラム (PC)
================================================== */
.sidebar-right {
  width: 180px;
  height: calc(100vh - 80px);
  max-height: 800px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 20px;

  position: fixed !important;
  top: 40px !important;
  left: calc(50% + 420px) !important;
  z-index: 20;

  margin-left: 0 !important;
}

/* ==================================================
   右サイドバー（PC用）アコーディオン初期非表示・開閉補正
================================================== */
/* 閉じている状態（高さ0） */
.sidebar-right .side-accordion-content {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.35s ease-out !important;
  background-color: #ffffff;
  border-radius: 16px;
  margin-top: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 開いた状態（JSで is-open が付いた時） */
.sidebar-right .side-accordion-item.is-open .side-accordion-content {
  max-height: 300px !important;
  margin-top: 6px !important;
}

.side-nav ul { list-style: none; }

.side-nav li a {
  position: relative;
  display: inline-block;
  padding: 4px 2px;
  color: #444;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  
  background: linear-gradient(transparent 50%, #ffe8f1 60%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left;
  transition: transform 0.25s ease, background-size 0.3s ease;
}

.side-nav li a:hover {
  color: #444;
  background-size: 100% 100%;
}

.sns-btn img { width: 50px; height: 50px; }
.page-top { color: #ffffff; text-align: center; text-decoration: none; display: inline-block; }
.site-footer { text-align: center; font-size: 0.8rem; color: #666; }

.nav-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}

.accordion-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px !important;
  background-color: #ffffff !important;
  border: 2px solid #ff5e97 !important;
  border-radius: 20px !important;
  color: #555555 !important;
  font-size: 0.75rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.accordion-btn span {
  color: #ff5e97 !important;
  font-size: 0.95rem !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

.accordion-btn:hover {
  background-color: #fff0f5 !important;
  color: #ff3377 !important;
  border-color: #ff3377 !important;
  transform: translateY(-2px) !important;
}

.bg-objects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-obj { position: absolute; height: auto; display: block; }
.obj-cube1 { width: 140px; bottom: 60%; left: 40%; opacity: 0.5; }
.obj-cube2 { width: 80px; top: 20%; right: 12%; opacity: 0.5; }
.obj-bar1 { width: 500px; bottom: 5%; left: 10%; opacity: 0.8; }
.obj-bar2 { width: 450px; bottom: 10%; right: -5%; }
.obj-bar3 { width: 400px; bottom: 20%; left: -5%; opacity: 0.8; }
.obj-bar4 { width: 450px; bottom: 20%; right: 28%; opacity: 0.8; }

.fixed-cta-banner {
  position: fixed !important;
  bottom: 0 !important;
  left: calc(50% - 5px);
  width: 380px;
  margin: 0 !important;
  transform: none !important;
  z-index: 9999;
}

.fixed-cta-inner {
  display: flex;
  background-color: #fff0f5;
  border-radius: 18px 18px 0 0;
  border: 2px solid #ff2a7a;
  box-shadow: 0 4px 16px rgba(255, 42, 122, 0.25);
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.fixed-cta-left {
  background-color: #ff2a7a;
  color: #ffffff;
  width: 54px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 6px 0;
  position: relative;
}

.left-label {
  writing-mode: vertical-rl;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.left-icon-wrap {
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.left-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fixed-cta-right {
  flex-grow: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pink-text {
  color: #ff2a7a;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}

.font-bold { font-weight: bold; }
.cta-row-top { display: flex; flex-direction: column; gap: 2px; }
.mynavi-inline { display: flex; align-items: center; gap: 4px; }

.mynavi-img {
  height: 22px;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  object-fit: contain;
}

.mynavi-sub { font-size: 0.68rem; font-weight: bold; color: #333333; }
.cta-dotted-line { border-top: 1px dashed #ffb3cc; margin: 5px 0; }
.cta-row-bottom { display: flex; flex-direction: column; }
.jinji-title-wrap { display: flex; align-items: center; gap: 4px; }
.jinji-title { font-size: 0.98rem; font-weight: 900; color: #ff2a7a; }
.jinji-icon { width: 22px; height: 22px; object-fit: contain; }
.jinji-sub { font-size: 0.6rem; color: #555555; margin: 1px 0 2px 0; font-weight: 500; }

body { padding-bottom: 110px !important; }
.main-column, .site-container { position: static; }


/* ==================================================
   画面下部固定CTAバナー（全画面サイズ共通：最小化表示の調整）
================================================== */
.fixed-cta-banner {
  position: fixed !important;
  bottom: 0 !important;
  left: calc(50% - 5px);
  width: 380px;
  z-index: 9999;
  /* ふわっとスライドアニメーションを復元 */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
  overflow: visible !important;
}

/* 1. 折りたたみ（最小化）状態：カード本体を画面下へ100%完全に隠す */
.fixed-cta-banner.is-minimized {
  transform: translateY(100%) !important;
}

/* 2. 「▲ エントリー・質問」ボタンのみを上へ飛び出させる設定 */
.cta-toggle-btn {
  position: absolute !important;
  top: -32px !important;
  right: 12px !important;
  background-color: #ff2a7a !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-bottom: none !important;
  border-radius: 12px 12px 0 0 !important;
  padding: 6px 14px !important;
  font-size: 0.75rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15) !important;
  z-index: 10000 !important;
  outline: none !important;
}

.cta-toggle-btn .toggle-icon {
  font-size: 0.65rem !important;
  transition: transform 0.3s ease;
  display: inline-block;
}

.fixed-cta-banner.is-minimized .cta-toggle-btn .toggle-icon {
  transform: rotate(180deg);
}

/* 6. 先輩インタビュー モーダルCSS */
.senpai-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.senpai-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

.senpai-modal-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.senpai-modal-container {
  position: relative !important;
  width: 90% !important;
  max-width: 800px !important;
  max-height: 88vh !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 40px 45px !important;
  overflow-y: auto !important;
  z-index: 10 !important;
}

.senpai-modal-close {
  position: sticky !important;
  top: 0 !important;
  float: right !important;
  margin-top: -10px !important;
  margin-right: -15px !important;
  width: 38px !important;
  height: 38px !important;
  background-color: #00bcd4 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99 !important;
}

.senpai-modal-close:hover {
  transform: scale(1.1);
}

.senpai-modal-header {
  margin-bottom: 25px;
  text-align: left;
}

.senpai-modal-title-en {
  font-size: 2rem;
  font-weight: 600;
  color: #fcc2d7;
  letter-spacing: 0.18em;
  margin: 0;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.senpai-modal-title-jp {
  font-size: 0.82rem;
  font-weight: bold;
  color: #555555;
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.senpai-modal-images-wrap {
  position: relative;
  margin-bottom: 35px;
}

.senpai-modal-deco {
  position: absolute;
  top: -22px;
  left: -25px;
  width: 170px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.senpai-modal-images {
  position: relative;
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.senpai-modal-images img {
  width: 50%;
  height: 220px;
  object-fit: cover;
}

.senpai-modal-info-block {
  position: relative !important;
  margin-top: 20px !important;
}

.senpai-modal-copy {
  color: #ff2a7a !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  padding-right: 200px !important;
  margin-bottom: 20px !important;
}

.senpai-modal-meta {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 25px !important;
  padding-right: 200px !important;
  margin-bottom: 25px !important;
  padding-bottom: 25px !important;
  border-bottom: 1px dashed #cccccc !important;
}

.meta-left { display: flex; flex-direction: column; }
.meta-left .name-jp { font-size: 1.5rem; font-weight: bold; color: #333333; margin: 0 0 2px 0; letter-spacing: 0.1em; text-align: left; }
.meta-left .name-en { font-size: 0.75rem; color: #777777; letter-spacing: 0.05em; }
.meta-divider { width: 1px; height: 45px; border-left: 1px dashed #aaaaaa; }
.meta-right { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.meta-right .year { font-size: 0.85rem; font-weight: bold; color: #333333; letter-spacing: 0.1em; }
.meta-right .job { font-size: 0.85rem; font-weight: bold; color: #ff2a7a; letter-spacing: 0.1em; }

.senpai-modal-text-block {
  padding-right: 200px !important;
}

.senpai-modal-text-block p {
  font-size: 0.88rem;
  color: #333333;
  line-height: 2.0;
  margin-bottom: 22px;
  text-align: left;
  letter-spacing: 0.03em;
}

.meta-bg-diamond {
  display: block !important;
  position: absolute !important;
  top: 280px !important;
  right: 10px !important;
  width: 100px !important;
  height: 100px !important;
  opacity: 0.35 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.meta-bg-diamond img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.senpai-modal-card-block {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  z-index: 10 !important;
}

.glc-card-container {
  width: 180px !important;
  height: 252px !important;
  perspective: 1000px !important;
  cursor: pointer;
}

.glc-card-flip {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cardRotate360 6s ease-in-out infinite;
}

.glc-card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}

.glc-card-front img,
.glc-card-back img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.glc-card-back {
  transform: rotateY(180deg);
}

@keyframes cardRotate360 {
  0%, 75% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.card-zoom-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.85) !important;
  z-index: 100000 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.card-zoom-modal.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

.card-zoom-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 360px !important;
  max-height: 80vh !important;
  overflow-y: auto !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

.card-zoom-container::-webkit-scrollbar {
  width: 4px;
}
.card-zoom-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.card-zoom-container .glc-card-container {
  width: 200px !important;
  height: 280px !important;
  flex-shrink: 0 !important;
  margin-bottom: 15px !important;
  cursor: default !important;
}

.card-zoom-detail {
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  text-align: left !important;
  background-color: #1a2530 !important;
  padding: 15px 18px !important;
  border-radius: 12px !important;
  border: 2px solid #00bcd4 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 5px !important;
}

.card-zoom-hint {
  margin-top: 15px !important;
  color: #ffffff !important;
  font-size: 0.8rem !important;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  pointer-events: none !important;
}

#job-sougou,
#job-kaigo,
#job-houmon,
#kaigo-day,
#kaigo-career,
#job-jimu {
  scroll-margin-top: 80px;
}


/* ==================================================
   全ページ共通：TOPに戻る（TOP）ボタン
   （常時ほわんほわん拡大縮小＋黄色枠線＋立体シャドウ）
================================================== */
@keyframes topBtnPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 12px rgba(0, 188, 212, 0.4);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 22px rgba(252, 255, 94, 0.75);
  }
}

html body a.sp-pagetop-btn,
html body #js-pagetop,
a#js-pagetop,
.sp-pagetop-btn {
  position: fixed !important;
  bottom: 35px !important;
  left: calc(50% + 300px) !important;
  right: auto !important;
  width: 48px !important;
  height: 48px !important;
  background-color: #00bcd4 !important;
  color: #ffffff !important;
  border-radius: 50% !important;

  /* 黄色の太枠線（3.5px） */
  border: 3.5px solid #fcff5e !important;

  /* 立体感のある深めの2重シャドウ */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 188, 212, 0.5) !important;

  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  z-index: 9999999 !important;
  line-height: 1 !important;
  pointer-events: auto !important;

  /* 常時ほわんほわんアニメーション適用 */
  animation: topBtnPulse 2.2s ease-in-out infinite !important;
}

html body a.sp-pagetop-btn:hover,
html body #js-pagetop:hover {
  background-color: #00838f !important;
  border-color: #ffffff !important;
}

html body a.sp-pagetop-btn .pagetop-arrow {
  font-size: 0.7rem !important;
  margin-bottom: 2px !important;
  color: #ffffff !important;
}

html body a.sp-pagetop-btn .pagetop-text {
  font-size: 0.6rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
}


/* ==================================================
   7. スマホ用レスポンシブ (1024px以下 / 768px以下)
================================================== */
.sp-header, .sp-menu-toggle, .sp-nav { display: none; }

@media (max-width: 1024px) {
  html {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    font-size: 17px;
    line-height: 1.8;
  }

  body {
    height: auto !important;
    overflow: visible !important;
    background-image: none !important;
    background-color: #ffffff !important;
    font-size: 15px;
    line-height: 1.8;
  }

  /* 画面横スクロール・はみ出し解消 */
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    position: relative !important;
  }

  .lp-container {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .main-content {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 60px 0 0 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }

  .hero-section {
    padding-top: 70px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  .hero-badge-wrapper {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    margin-left: 0 !important;
    padding-left: 15px !important;
    width: 100% !important;
    transform: rotate(-10deg) !important;
    transform-origin: left bottom !important;
    box-sizing: border-box !important;
  }

  .hero-badge-text {
    font-size: 0.9rem !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .hero-badge-line {
    margin-left: -10px !important;
    width: 120% !important;
  }

  .hero-image { margin-top: -60px !important; }

  .hero-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .cyan-bg-section {
    background-color: #00bcd4 !important;
    margin-top: -30.5vw !important;
    padding-top: 38vw !important;
    padding-bottom: 100px !important;
    clip-path: polygon(0 30.5vw, 100% 0, 100% 100%, 0 100%) !important;
    -webkit-clip-path: polygon(0 30.5vw, 100% 0, 100% 100%, 0 100%) !important;
  }

  .mission-bottom-person {
    bottom: -100px !important;
    right: 0 !important;
    width: 55% !important;
    max-width: 200px !important;
  }

  #senpai { padding-top: 70px !important; }

  .sidebar-left, .sidebar-right, .bg-objects, .bg-graphics {
    display: none !important;
  }

  /* 上部固定ヘッダー (通常時) */
  .sp-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 65px !important;
    background: #ffffff !important;
    padding: 0 20px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    z-index: 1000 !important;
    box-sizing: border-box !important;
  }

  .sp-logo-group { display: flex !important; align-items: center !important; gap: 8px !important; }
  .sp-header .logo-mark { width: 42px !important; height: auto !important; flex-shrink: 0; }
  .sp-header .logo-mark img { width: 100% !important; height: auto !important; margin: 0 !important; display: block !important; }
  .sp-header .company-sub-title { font-size: 0.75rem; font-weight: bold; color: #333333; line-height: 1.2; }
  .sp-header .recruits-text { font-size: 0.85rem; font-weight: bold; color: #333333; line-height: 1.2; }
  .sp-header-right { display: flex; align-items: center; gap: 8px; }
  .sp-header-right .chara-icons { display: flex; gap: 3px; }
  .sp-header-right .chara-icon { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; }

  .sp-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    background: #00bcd4;
    border: none;
    border-radius: 50%;
    cursor: pointer;
  }

  .sp-menu-toggle span { display: block; width: 20px; height: 2.5px; background-color: #ffffff; border-radius: 2px; }

  /* 全画面オーバーレイメニュー */
  .sp-nav {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    z-index: 99999 !important;
    padding: 0 20px 30px !important;
    box-sizing: border-box !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .sp-nav.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .sp-nav-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 65px !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .sp-nav-header .logo-mark {
    width: 42px !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }

  .sp-nav-header .logo-mark img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .sp-nav-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .sp-nav-header-right .chara-icons {
    display: flex !important;
    gap: 3px !important;
  }

  .sp-nav-header-right .chara-icon {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  .sp-menu-close {
    width: 44px !important;
    height: 44px !important;
    background-color: #00bcd4 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: bold !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }

  .sp-nav-header .header-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
    justify-content: center !important;
  }

  .sp-nav-header .company-sub-title {
    font-size: 0.72rem !important;
    font-weight: bold !important;
    color: #333333 !important;
    line-height: 1.2 !important;
  }

  .sp-nav-header .recruits-text {
    font-size: 0.82rem !important;
    font-weight: bold !important;
    color: #333333 !important;
    line-height: 1.2 !important;
  }

  /* 2列コンパクトグリッドレイアウト */
  .sp-menu-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px 8px !important;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .sp-menu-list li a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 10px !important;
    background-color: #f4fcfe !important;
    border: 1px solid #e0f7fa !important;
    border-radius: 10px !important;
    color: #333333 !important;
    font-size: 0.78rem !important;
    font-weight: bold !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .sp-menu-list li a .arrow {
    color: #00bcd4 !important;
    font-size: 0.85rem !important;
    font-weight: bold !important;
    margin-left: 2px !important;
    flex-shrink: 0 !important;
  }

  .sp-menu-divider {
    border: none !important;
    border-top: 1.5px dashed #00bcd4 !important;
    margin: 10px 0 !important;
  }

  /* スマホ版 GLC-TI診断カード ＋ SNSアイコン配置 */
  .sp-diagnosis-card {
    text-align: center !important;
    margin: 15px auto 10px !important;
    width: 100% !important;
    max-width: 340px !important;
  }

  .sp-diagnosis-row {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .sp-diagnosis-left {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .sp-diagnosis-left .catch {
    color: #00bcd4 !important;
    font-weight: bold !important;
    font-size: 0.78rem !important;
    margin-bottom: 4px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .sp-diagnosis-left .diagnosis-box {
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 12px 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .card-inner-title img { width: 100%; max-width: 150px; height: auto; display: block; margin: 0 auto; }
  .card-inner-title .desc { font-size: 0.68rem; font-weight: bold; color: #333333; margin-top: 2px; }

  .btn-pink-card {
    display: inline-block !important;
    background-color: #fffde7 !important;
    border: 2px solid #ff5e97 !important;
    color: #ff5e97 !important;
    padding: 5px 18px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 0.82rem !important;
  }

  .sp-sns-links-vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    margin-bottom: 4px !important;
  }

  .sp-sns-links-vertical .sns-btn img {
    width: 48px !important;
    height: 48px !important;
    display: block !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
    transition: transform 0.2s ease !important;
  }

  .sp-sns-links {
    display: none !important;
  }

  .sp-contact-info { text-align: center; color: #444444; margin-top: 25px; }
  .sp-contact-info .company-name { font-size: 0.75rem; font-weight: bold; line-height: 1.4; color: #555555; }
  .sp-contact-info .tel-number { font-size: 1.6rem; font-weight: 900; color: #000000; text-decoration: none; display: inline-block; margin-top: 6px; }

  .fixed-cta-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 5% !important;
    right: 5% !important;
    width: 90% !important;
    max-width: 340px !important; 
    margin: 0 auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .fixed-cta-inner {
    width: 100% !important;
    border: 2px solid #ff2a7a !important;
    border-radius: 16px 16px 0 0 !important;
    box-sizing: border-box !important;
  }

  /* スマホ版TOPボタン位置調整 */
  html body a.sp-pagetop-btn,
  html body #js-pagetop,
  a#js-pagetop,
  .sp-pagetop-btn {
    left: auto !important;
    right: 15px !important;
    bottom: 85px !important;
  }

  /* スマホ版用 中央カラム最下部フッター */
  .sp-footer-copyright {
    display: block !important;
    text-align: center !important;
    padding: 25px 0 30px !important;
    font-size: 0.75rem !important;
    color: #777777 !important;
    border-top: 1px solid #eeeeee !important;
    margin-top: 30px !important;
    width: 100% !important;
  }
}

/* モーダルのスマホ（768px以下）表示制御 */
@media screen and (max-width: 768px) {
  .senpai-modal-container {
    padding: 35px 20px !important;
  }
  .senpai-modal-images {
    flex-direction: column;
  }
  .senpai-modal-images img {
    width: 100%;
    height: 180px;
  }
  .senpai-modal-copy {
    font-size: 1.15rem;
    padding-right: 105px !important;
    margin-bottom: 15px !important;
  }
  .senpai-modal-deco {
    top: -15px;
    left: -15px;
    width: 130px;
  }

  .glc-card-container {
    width: 95px !important;
    height: 133px !important;
  }

  .senpai-modal-card-block {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
  }

  .senpai-modal-meta {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    padding-right: 105px !important;
    margin-top: 10px !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    gap: 4px !important;
  }

  .senpai-modal-meta * {
    height: auto !important;
    min-height: 0 !important;
  }

  .senpai-modal-meta > div:first-child,
  .senpai-modal-name {
    white-space: nowrap !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .meta-divider {
    display: none !important;
  }

  .meta-right {
    display: flex !important;
    flex-direction: column !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
  }

  .meta-right .year {
    display: none !important;
  }

  .senpai-modal-text-block {
    padding-right: 0 !important;
  }

  .senpai-modal-card-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .card-tap-hint {
    display: block !important;
    font-size: 0.7rem !important;
    color: #888888 !important;
    text-align: center !important;
    margin-top: 4px !important;
    white-space: nowrap !important;
    font-weight: bold !important;
  }

  .meta-bg-diamond {
    display: none !important;
  }
}

/* PC時（1025px以上）はスマホ用フッターを非表示 */
@media screen and (min-width: 1025px) {
  .sp-footer-copyright {
    display: none !important;
  }
}

/* ==================================================
   1. 右サイドバー（PC用）アコーディオン展開時のリスト装飾復元
================================================== */
.sidebar-right .side-accordion-content {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.35s ease-out !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  margin-top: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-right .side-accordion-item.is-open .side-accordion-content {
  max-height: 400px !important;
  margin-top: 6px !important;
}

.side-sub-menu {
  list-style: none !important;
  padding: 10px 16px !important;
  margin: 0 !important;
}

.side-sub-menu li {
  border-bottom: 1px dashed #e0e0e0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.side-sub-menu li:last-child {
  border-bottom: none !important;
}

.side-sub-menu li a {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 8px 0 !important;
  font-size: 0.78rem !important;
  font-weight: bold !important;
  color: #333333 !important;      /* 紫色から落ち着いたダークグレーへ */
  text-decoration: none !important; /* 紫の下線を消去 */
  background: none !important;
}

.side-sub-menu li a:hover {
  color: #00bcd4 !important;
}

.side-sub-menu li a .arrow {
  color: #00bcd4 !important;
  font-weight: bold !important;
  font-size: 0.85rem !important;
  margin-left: 4px !important;
}


/* ==================================================
   スマホメニュー表示・キャラ配置・SNSアイコン完全修正
================================================== */
@media screen and (max-width: 1024px) {

  /* 1. 通常時はメニューを隠し、ボタンを押した時（is-active）だけ表示する */
  .sp-nav {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    z-index: 99999 !important;
    padding: 0 20px 30px !important;
    box-sizing: border-box !important;

    /* 非アクティブ時は非表示 */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
  }

  /* メニューが開いた時だけ表示 */
  .sp-nav.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 2. 開いたメニューヘッダー：キャラ（グッドくん・ケアちゃん）を✕ボタンのすぐ左に配置 */
  .sp-nav-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 65px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
  }

  .sp-nav-header-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .sp-nav-header-right .chara-icons {
    display: flex !important;
    flex-direction: row !important;
    gap: 3px !important;
    align-items: center !important;
  }

  .sp-nav-header-right .chara-icon {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  .sp-menu-close {
    width: 44px !important;
    height: 44px !important;
    background-color: #00bcd4 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: bold !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  /* 3. GLC-TIの右側にLINE・インスタアイコンを縦並びで強制表示 */
  .sp-diagnosis-card {
    text-align: center !important;
    margin: 15px auto 10px !important;
    width: 100% !important;
    max-width: 340px !important;
  }

  .sp-diagnosis-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .sp-diagnosis-left {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .sp-diagnosis-left .catch {
    color: #00bcd4 !important;
    font-weight: bold !important;
    font-size: 0.78rem !important;
    margin-bottom: 4px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .sp-diagnosis-left .diagnosis-box {
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 12px 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .sp-sns-links-vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    margin-bottom: 4px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .sp-sns-links-vertical .sns-btn,
  .sp-sns-links-vertical a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .sp-sns-links-vertical img {
    width: 48px !important;
    height: 48px !important;
    display: block !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* ==================================================
   スマホ表示時の二重スクロールバー完全解消修正
================================================== */
@media screen and (max-width: 1024px) {
  
  /* 1. 外側の画面（html, body）側のスクロールに一本化 */
  html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
  }

  body {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: auto !important;
    position: relative !important;
  }

  /* 2. 内側コンテナ・中央カラムの独自のスクロールを完全に解除 */
  .lp-container,
  .main-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important; /* 内側のスクロールバーを消去 */
  }
}
/* JSで is-active クラスが外れたら、確実にメニューを非表示（非アクティブ）にする */
.sp-nav:not(.is-active) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==================================================
   Q&A カテゴリーメニュー＆右側ダイヤ＋グッドくんスタイル
================================================== */
.qa-category-wrapper {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  padding: 0 20px !important;
  margin-bottom: 30px !important;
  gap: 15px !important;
}

/* 左側：ボタン縦4列並び */
.qa-category-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  width: 58% !important;
}

/* カテゴリーボタン（水色枠・グレー文字・角丸カプセル） */
.qa-cat-btn {
  display: block !important;
  width: 100% !important;
  padding: 7px 12px !important;
  background-color: #ffffff !important;
  border: 2px solid #00bcd4 !important;
  color: #555555 !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: bold !important;
  text-decoration: none !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.qa-cat-btn:hover,
.qa-cat-btn:active {
  background-color: #fffde7 !important;
  color: #333333 !important;
}

/* 右側：ダイヤ＋グッドくんを上下に並べるエリア */
.qa-category-chara {
  width: 38% !important;
  max-width: 120px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}

/* 上段：ピンクダイヤ画像 */
.qa-chara-top-diamond {
  width: 65px !important;
  height: 65px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}

.qa-chara-top-diamond img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* 下段：グッドくん画像 */
.qa-chara-img-wrap {
  width: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
}

.qa-chara-img-wrap img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* iframe内の不要な背景色と余計な角丸枠をリセット */
body, #wrapper, #page, .site-body, .site-content, .entry-content {
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ==================================================
   モーダル内 HISTORY（黒点消去・ピンクラベル化）強制上書き
================================================== */
.senpai-modal-content .senpai-history-block,
.senpai-history-block {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px dashed #cccccc !important;
  padding: 0 0 16px 0 !important;
  margin-bottom: 20px !important;
  box-shadow: none !important;
}

/* HISTORY タイトル */
.senpai-modal-content .history-title,
.history-title {
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: #00838f !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* リスト全体の黒点・余白を完全解除 */
.senpai-modal-content ul.history-list,
.senpai-modal-content .history-list,
ul.history-list,
.history-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* リスト項目（1行ずつ） */
.senpai-modal-content ul.history-list li,
.senpai-modal-content .history-item,
ul.history-list li,
.history-item {
  list-style: none !important;
  list-style-type: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 箇条書きドット（•）を完全に非表示化 */
.senpai-modal-content ul.history-list li::before,
.senpai-modal-content .history-item::before,
ul.history-list li::before,
.history-item::before {
  content: none !important;
  display: none !important;
}

/* 西暦（ピンク枠バッジ） */
.senpai-modal-content .history-year,
.history-year {
  display: inline-block !important;
  font-weight: 800 !important;
  color: #ff3377 !important;
  background-color: #ffffff !important;
  border: 1.5px solid #ff3377 !important;
  padding: 1px 8px !important;
  border-radius: 12px !important;
  font-size: 0.72rem !important;
  flex-shrink: 0 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

/* 内容テキスト */
.senpai-modal-content .history-detail,
.history-detail {
  color: #333333 !important;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
}
/* ==================================================
   フッター外部リンク（プライバシーポリシー・コーポレートサイト）
================================================== */

/* --- PC版（右サイドバー） --- */
/* --- PC版（右サイドバー） --- */
.pc-footer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-top: auto !important;     /* 上の余白を自動押し出して一番下（コピーライト側）へ寄せる */
  margin-bottom: 6px !important;   /* コピーライトとの間隔 */
  padding-left: 2px !important;    /* SNSアイコンの左端に揃える位置調整 */
  text-align: left !important;     /* ★左揃えに変更 */
}

.footer-link-item {
  font-size: 0.65rem !important;    /* ★文字サイズを小さく調整 (0.72rem → 0.65rem) */
  color: #555555 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* ★要素内を左揃えに */
  gap: 4px !important;
  transition: color 0.2s ease !important;
}

/* PC右サイドバー最下部のコピーライトも左揃えへ調整 */
.site-footer {
  text-align: left !important;      /* コピーライトも左揃えに統一 */
  padding-left: 2px !important;
}

.site-footer small {
  font-size: 0.68rem !important;
}

.footer-link-item:hover {
  color: #a2faeb !important;
}

.footer-link-item i {
  font-size: 0.65rem !important;
  color: #888888 !important;
}

/* --- SP版（ハンバーガーメニュー開閉時：横並び表示） --- */
.sp-menu-footer-links {
  display: flex !important;
  flex-direction: row !important;      /* ★横並び（左右配置）に変更 */
  align-items: center !important;
  justify-content: center !important;  /* 中央寄せ */
  gap: 12px !important;                /* 左右の間隔 */
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px dashed #e0e0e0 !important;
}

.sp-footer-link-item {
  font-size: 0.68rem !important;
  color: #666666 !important;
  text-decoration: none !important;
  font-weight: normal !important;      /* 太字なし */
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  position: relative !important;
}

/* 2つのリンクの間に区切り線（|）を配置 */
.sp-footer-link-item:first-child::after {
  content: "|" !important;
  position: absolute !important;
  right: -8px !important;
  color: #cccccc !important;
  font-size: 0.65rem !important;
}

.sp-footer-link-item:active {
  color: #00bcd4 !important;
}

.sp-footer-link-item i {
  font-size: 0.62rem !important;
  color: #00bcd4 !important;
}

.sp-footer-link-item:active {
  color: #00bcd4 !important;
}

.sp-footer-link-item i {
  font-size: 0.7rem !important;
  color: #00bcd4 !important;
}

.sp-nav-copyright {
  text-align: center !important;
  margin-top: 15px !important;
  font-size: 0.72rem !important;
  color: #888888 !important;
}



  /* スマホ表示時、TOPに戻った際に固定バーと被らないよう上部に余白を確保 */
@media (max-width: 1024px) {
  #top {
    scroll-margin-top: 80px !important; /* 固定バー（65px）＋ 余裕（15px） */
  }
}

/* ==================================================
   先輩スライダー下部 スマホ限定 GLC-TI一体化ボックス
================================================== */

/* 1. PC（1025px以上）では完全に非表示 */
.sp-senpai-diagnosis-wrap {
  display: none !important;
}

/* 2. スマホ（1024px以下）のみ表示 */
@media screen and (max-width: 1024px) {
  .sp-senpai-diagnosis-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 25px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  /* 幅を広げた大枠ボックス（水色枠） */
  .sp-glcti-container {
    width: 100% !important;
    max-width: 400px !important;                 /* ★幅を広げてゆったりと配置 */
    background-color: #f0fbfd !important;        /* 爽やかな薄い水色背景 */
    border: 2px solid #00bcd4 !important;        /* 水色の太め枠線 */
    border-radius: 20px !important;
    padding: 18px 16px !important;
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.12) !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  /* 見出し：GLC-TIとは？ */
  .sp-glcti-about-title {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #00838f !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    border-bottom: 1.5px dashed #4dd0e1 !important;
    padding-bottom: 6px !important;
  }

  .sp-glcti-about-title .about-icon {
    font-size: 0.95rem !important;
  }

  /* カタカナ・英語タイトル（ピンク文字） */
  .sp-glcti-about-lead {
    font-size: 0.78rem !important;
    color: #ff3377 !important;
    line-height: 1.45 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.01em !important;
  }

  /* 本文テキスト */
  .sp-glcti-about-text {
    font-size: 0.8rem !important;
    line-height: 1.65 !important;
    color: #333333 !important;
    margin: 0 0 18px 0 !important;
  }

  .sp-glcti-about-text strong {
    color: #00838f !important;
  }

  /* --- 枠内に内包された診断カード（白背景カード） --- */
  .sp-glcti-inner-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 14px 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .sp-glcti-inner-card .catch {
    color: #00bcd4 !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    margin: 0 0 8px 0 !important;
  }

  /* 点線枠ボックス */
  .sp-glcti-inner-card .diagnosis-box {
    border: 1.5px dashed #4dd0e1 !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    background-color: #ffffff !important;
  }

  .sp-glcti-inner-card .diagnosis-box img {
    width: 100% !important;
    max-width: 170px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 4px !important;
  }

  .sp-glcti-inner-card .diagnosis-box .desc {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    color: #333333 !important;
    margin: 4px 0 10px !important;
  }

  /* 診断スタートボタン */
  .sp-glcti-inner-card .btn-pink {
    display: inline-block !important;
    background-color: #fffde7 !important;
    border: 2px solid #ff5e97 !important;
    color: #ff5e97 !important;
    padding: 6px 28px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 0.85rem !important;
    box-shadow: 0 2px 6px rgba(255, 94, 151, 0.15) !important;
    transition: transform 0.2s ease !important;
  }

  .sp-glcti-inner-card .btn-pink:active {
    transform: scale(0.97) !important;
  }
}

/* 総合フォームの見出し字間を詰める設定 */
.section-header h1.section-title {
  letter-spacing: -0.08em !important; /* マイナスの値を大きくするとさらに詰まります */
}

/* カード全体のスタイル */
.blog-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 16px; /* 記事同士の上下間隔 */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 横並びレイアウト（左画像・右テキスト） */
.blog-item a {
  display: flex !important;
  flex-direction: row !important; /* 横並び指定 */
  align-items: center; /* 上下中央揃え */
  text-decoration: none !important;
  padding: 12px; /* カード内の余白 */
  gap: 16px; /* 画像とテキストの間隔 */
}

/* 左側：サムネイル画像 */
.blog-thumb {
  width: 120px; /* 画像の幅（お好みで100px〜140px程度に調整可） */
  height: 80px;  /* 画像の高さ */
  flex-shrink: 0; /* 画像が潰れないように固定 */
  border-radius: 6px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠に合わせてキレイにトリミング */
  display: block;
}

/* 右側：テキスト領域 */
.blog-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

/* 投稿日 */
.blog-date {
  font-size: 0.85rem;
  color: #888 !important;
  text-decoration: none !important;
  margin-bottom: 4px;
  display: block;
}

/* 記事タイトル */
.blog-title {
  font-size: 0.8rem;
  font-weight: bold;
  color: #333 !important;
  text-decoration: none !important;
  line-height: 1.4;
  margin: 0;
  /* 3行を超えたら「…」で省略表示 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* スマホ表示での微調整（画像サイズを少しコンパクトに） */
@media screen and (max-width: 480px) {
  .blog-thumb {
    width: 90px;
    height: 65px;
  }
  .blog-item a {
    padding: 10px;
    gap: 12px;
  }
  .blog-title {
    font-size: 0.88rem;
  }
}

/* NEWSコンテナの左右パディング */
.news-container {
  padding-left: 20px;  /* 数値を大きくすると余白が広くなります */
  padding-right: 20px;
  box-sizing: border-box;
}

/* ==================================================
   サンクスページ（thanks.html）専用スタイル
================================================== */
.thanks-section {
  padding: 60px 20px 40px;
  text-align: center;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* THANKS 見出し（ピンク・大きめ文字） */
.thanks-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ff3377;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* 日本語サブテキスト */
.thanks-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  color: #00bcd4;
  margin-top: 4px;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

/* 本文エリア（左揃え・サイト標準フォントサイズと行間） */
.thanks-body {
  max-width: 380px;
  margin: 0 auto 35px;
  text-align: left;
}

.thanks-body p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #333333;
  margin-bottom: 16px;
}

.thanks-body .thanks-lead-last {
  margin-bottom: 0;
  font-weight: bold;
  color: #222222;
}

/* 戻るボタンの余白 */
.thanks-btn-wrap {
  margin: 0 auto;
}