

.hakase-promo {
  padding: 64px 0;
  background-color: var(--bg);
  color: var(--text);
  position: relative;
  
}

.hakase-promo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 150px;
  aspect-ratio: 1920 / 1080;  
  background: url('../img/haikei2.jpg') no-repeat 0 0 / 100% auto;
  pointer-events: none;
  z-index: 0;
}
.hakase-promo > * {
  position: relative;
  z-index: 1;
}

.hakase-promo > .container {
  
  max-width: var(--max-width);
}

.hakase-promo__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  grid-template-areas:
    "content visual"
    "btns    visual";
  column-gap: 48px;
  row-gap: 24px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hakase-promo__content { grid-area: content; }
.hakase-promo__btns { grid-area: btns; align-self: end; }
.hakase-promo__visual { grid-area: visual; }

.hakase-promo__desc {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 24px;
}

.hakase-promo__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hakase-promo__btn-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 0;
  max-width: 280px;
  gap: 8px;
}

.hakase-promo__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--septeni-red), #ff3333);
  color: white;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.hakase-promo__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246, 0, 0, 0.35);
}

.hakase-promo__btn.hakase-promo__btn--blue {
  background: rgba(0, 80, 170, 0.65);
  color: #fff;
  border: 1px solid rgba(0, 80, 170, 0.5);
  font-size: 16px;
  font-weight: 600;
  gap: 6px;
}

.hakase-promo__btn.hakase-promo__btn--blue:hover {
  transform: none;
  background: rgba(0, 80, 170, 0.78);
  border-color: rgba(0, 80, 170, 0.65);
  box-shadow: 0 4px 12px rgba(0, 80, 170, 0.18);
}

.hakase-promo__btn-prefix {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

.hakase-promo__btn-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
}

.hakase-promo__report {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hakase-carousel {
  width: 100%;
  background: var(--bg-white, #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 24px 20px 20px;
  box-sizing: border-box;
}
.hakase-carousel__viewport {
  overflow: hidden;
  width: 100%;
}
.hakase-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hakase-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hakase-carousel__image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  margin-bottom: 16px;
}
.hakase-carousel__image img {
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}
.hakase-carousel__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--secondary);
  margin: 0 0 8px;
}
.hakase-carousel__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}
.hakase-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.hakase-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hakase-carousel__dot:hover {
  background: rgba(0, 0, 0, 0.3);
}
.hakase-carousel__dot.is-active {
  background: var(--septeni-blue);
  transform: scale(1.3);
}
@media (max-width: 768px) {
  .hakase-carousel__dots {
    gap: 12px;
    margin-top: 18px;
  }
  .hakase-carousel__dot {
    width: 14px;
    height: 14px;
  }
}

.jobs-promo {
  padding: 72px 0;
  background: url('../img/haikei_red.jpg') center 38% / cover no-repeat;
  color: #424242;
  position: relative;
  overflow: hidden;
}

@keyframes jobsBgShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.jobs-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    
    repeating-linear-gradient(
      135deg,
      transparent 0px,
      transparent 40px,
      rgba(255, 255, 255, 0.18) 40px,
      rgba(255, 255, 255, 0.18) 41px,
      transparent 41px,
      transparent 80px
    );
  background-size: 113px 113px;
  animation: jobsLinesMove 12s linear infinite;
  pointer-events: none;
}

@keyframes jobsLinesMove {
  0% { background-position: 0 0; }
  100% { background-position: 113px 113px; }
}

.jobs-promo::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 33%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transform: translate(50%, -50%);
  animation: jobsPulse 3s ease-out infinite;
  box-shadow:
    0 0 0 0 rgba(255, 255, 255, 0.1),
    0 0 0 0 rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

@keyframes jobsPulse {
  0% {
    transform: translate(50%, -50%) scale(0.5);
    opacity: 0.8;
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0.2),
      0 0 0 0 rgba(255, 255, 255, 0.1);
  }
  100% {
    transform: translate(50%, -50%) scale(2);
    opacity: 0;
    box-shadow:
      0 0 0 60px rgba(255, 255, 255, 0),
      0 0 0 120px rgba(255, 255, 255, 0);
  }
}

@media (max-width: 1024px) {
  .jobs-promo::after {
    right: 50%;
    transform: translate(50%, -50%);
    width: 150px;
    height: 150px;
  }
  @keyframes jobsPulse {
    0% { transform: translate(50%, -50%) scale(0.5); opacity: 0.8; }
    100% { transform: translate(50%, -50%) scale(2); opacity: 0; }
  }
}

.jobs-promo__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.jobs-promo__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.jobs-promo__title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #424242;
}

.jobs-promo__desc {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 24px;
  max-width: 640px;
  color: #424242;
}

@media (min-width: 1025px) {
  .jobs-promo__desc {
    max-width: none;
    white-space: nowrap;
  }
}

.jobs-promo__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: white;
  color: #c8102e;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.jobs-promo__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.jobs-promo__btn svg {
  transition: transform 0.3s ease;
}
.jobs-promo__btn:hover svg {
  transform: translate(2px, -2px);
}

.jobs-promo__deco {
  position: relative;
  height: 280px;
}
.jobs-promo__deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(2px);
}
.jobs-promo__deco-circle--1 {
  width: 180px;
  height: 180px;
  top: 0;
  right: 20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 70%);
  animation: jobsFloat 6s ease-in-out infinite;
}
.jobs-promo__deco-circle--2 {
  width: 120px;
  height: 120px;
  bottom: 20px;
  right: 80px;
  background: radial-gradient(circle, rgba(246, 0, 0, 0.8), transparent 70%);
  animation: jobsFloat 8s ease-in-out infinite reverse;
}
.jobs-promo__deco-circle--3 {
  width: 80px;
  height: 80px;
  top: 60px;
  right: 160px;
  background: radial-gradient(circle, rgba(255, 200, 200, 0.9), transparent 70%);
  animation: jobsFloat 5s ease-in-out infinite;
}
@keyframes jobsFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, -10px); }
}

@media (max-width: 1024px) {
  .jobs-promo__inner {
    grid-template-columns: 1fr;
  }
  .jobs-promo__deco {
    display: none;
  }
}

@media (max-width: 768px) {
  .jobs-promo {
    padding: 48px 0;
  }
  .jobs-promo__title {
    font-size: 22px;
  }
  .jobs-promo__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .hakase-promo__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "btns"
      "visual";
    gap: 32px;
  }

  .hakase-promo__visual {
    max-width: 400px;
    margin: 0 auto;
  }
  .hakase-promo__btns { align-self: stretch; }
}

@media (max-width: 768px) {
  .hakase-promo {
    padding: 48px 0;
  }
  .hakase-promo__inner {
    grid-template-areas:
      "content"
      "visual"
      "btns";
  }

  .hakase-promo__btn {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    padding: 14px 16px;
    min-height: 56px;
  }

  .hakase-promo__btn.hakase-promo__btn--blue {
    font-size: 15px;
  }

  .hakase-promo__btn-group {
    min-width: 0;
  }
}

.hero-pitch {
  margin-top: var(--header-height);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.hero-pitch picture {
  display: block;
  line-height: 0;
}
.hero-pitch__img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-pitch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0px,
    transparent 40px,
    rgba(255, 255, 255, 0.18) 40px,
    rgba(255, 255, 255, 0.18) 41px,
    transparent 41px,
    transparent 80px
  );
  background-size: 113px 113px;
  animation: jobsLinesMove 12s linear infinite;
  pointer-events: none;
}
.hero-pitch::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 33%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transform: translate(50%, -50%);
  animation: heroPitchPulse 3s ease-out infinite;
  pointer-events: none;
}
@keyframes heroPitchPulse {
  0% {
    transform: translate(50%, -50%) scale(0.5);
    opacity: 0.8;
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0.2),
      0 0 0 0 rgba(255, 255, 255, 0.1);
  }
  100% {
    transform: translate(50%, -50%) scale(2.5);
    opacity: 0;
    box-shadow:
      0 0 0 60px rgba(255, 255, 255, 0),
      0 0 0 120px rgba(255, 255, 255, 0);
  }
}
@media (max-width: 1024px) {
  .hero-pitch::after { width: 140px; height: 140px; }
}
@media (max-width: 768px) {
  .hero-pitch::after { right: 0; width: 90px; height: 90px; border-width: 1px; }
}

.jobs-promo__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
@media (max-width: 768px) {
  .jobs-promo__btns { flex-direction: column; align-items: stretch; }
}

.home-section {
  padding: 72px 0;
  scroll-margin-top: var(--header-height, 80px);
}
.hakase-promo { scroll-margin-top: var(--header-height, 80px); }
.home-section--about { background: var(--bg, #fff); }

.home-section--recruit { background: transparent; position: relative; z-index: 1; }

.home-section--numbers .container { position: relative; z-index: 1; }

.home-section--reality {
  background: var(--bg, #fff) url('../img/haikei3.jpg') no-repeat right top / 100% auto;
  padding-bottom: 120px;
}

@media (max-width: 768px) {
  
  .home-section {
    padding: 30px 0;
  }
  .home-section--about {
    padding-top: 72px;
  }
  .home-section--recruit {
    padding-top: 30px;
  }
  
  .home-section--reality {
    background-size: 100% auto;
    background-position: right 180px;
  }
  
  .hakase-promo::after {
    top: 180px;
  }
  
  .hakase-promo {
    padding: 30px 0 50px;
  }
  .hakase-promo__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "btns";
    row-gap: 20px;
  }
  .hakase-promo__content .hakase-promo__callout {
    margin-bottom: 0;
  }
  .hakase-promo__visual {
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
  }
  
  .hakase-promo__btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hakase-promo__btn-group {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hakase-promo__callout { padding: 16px 18px; }
  .hakase-promo__callout-text { font-size: 14px; }
  .home-section--reality { background-size: 130% auto; }
}

.home-section__head {
  margin-bottom: 32px;
}
.home-section__heading-img {
  display: block;
  height: 120px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 768px) {
  .home-section__heading-img {
    height: 88px;
  }
}

.about-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.about-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text, #1A1A1A);
  transition: transform 0.2s ease;
}
.about-tile:hover { transform: translateY(-4px); }
.about-tile__media {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #F4F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-tile__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-tile__label {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: var(--text, #1A1A1A);
}

@media (max-width: 1024px) {
  .about-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  
  .about-tile__media { margin-bottom: 2px; }
}
@media (max-width: 768px) {
  .about-tiles { grid-template-columns: repeat(2, 1fr); }
  
  .about-tile--story { grid-column: 1 / -1; }
  .about-tile--story .about-tile__media {
    aspect-ratio: 2 / 1;
  }
}

.hakase-promo__lead {
  
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 800;
  color: var(--secondary);
  margin: 0 0 24px;
  line-height: 1.5;
}

.hakase-promo__callout {
  position: relative;
  margin: 24px 0;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.hakase-promo__callout-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--septeni-blue);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hakase-promo__callout-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.recruit-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.recruit-tile {
  display: flex;
  flex-direction: column;
  background: var(--bg-white, #fff);
  border: 1px solid var(--border, #E5E5E5);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text, #1A1A1A);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.recruit-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.recruit-tile__media {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.recruit-tile__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.recruit-tile__media-title {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--text, #1A1A1A);
  text-align: center;
  letter-spacing: 0.04em;
}
.recruit-tile__body { padding: 16px 20px 20px; }
.recruit-tile__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted, #666);
  margin-bottom: 6px;
}

.ext-arrow {
  font-size: 0.8em;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 4px;
}
.recruit-tile__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted, #666);
}

@media (max-width: 768px) {
  .recruit-tiles { grid-template-columns: 1fr; }
}

.reality-block { margin-bottom: 72px; }
.reality-block:last-child { margin-bottom: 0; }

.reality-block__head {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}
.reality-block__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--text, #1A1A1A);
  position: relative;
  padding-left: 16px;
}
.reality-block__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: var(--septeni-red, #F60000);
  border-radius: 2px;
}
.reality-block__sub {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted, #666);
}
.reality-block__more {
  margin-top: 24px;
  text-align: center;
}
.reality-block__more-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--text, #1A1A1A);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.reality-block__more-btn:hover { opacity: 0.85; }

.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-chip {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border, #E5E5E5);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #1A1A1A);
  text-decoration: none;
  transition: all 0.2s;
}
.tag-chip:hover {
  background: var(--text, #1A1A1A);
  color: #fff;
  border-color: var(--text, #1A1A1A);
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.latest-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border, #E5E5E5);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text, #1A1A1A);
  transition: transform 0.2s, box-shadow 0.2s;
}
.latest-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.latest-item__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.latest-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-item__body {
  padding: 16px 20px 16px 0;
}
.latest-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
}
.latest-item__date {
  color: var(--text-muted, #666);
  font-weight: 500;
}
.latest-item__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text, #1A1A1A);
}

@media (max-width: 768px) {
  .latest-item { grid-template-columns: 120px 1fr; gap: 12px; }
  .latest-item__body { padding: 12px 16px 12px 0; }
  .latest-item__title { font-size: 14px; }
}
