/* =========================================
   Variables & Reset
   ========================================= */
:root {
  --color-primary: #eb3b49;
  /* メインの赤 */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg-light: #f9f9f9;
  --color-white: #ffffff;
  --color-black: #000000;
  --font-base: "Noto Sans JP", sans-serif;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.8;
  background-color: var(--color-bg-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

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

.poppins-font {
  font-family: "Poppins";
}

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 60px 0;
}

.text-red {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  font-family: "Poppins";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn--header {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  padding: 10px 25px;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  min-width: 240px;
  box-shadow: 0 4px 10px rgba(235, 59, 73, 0.3);
}

.arrow {
  margin-left: 10px;
}

.br-pc {
  display: block;
}

.br-sp {
  display: none;
}

.main-bg {
  background: linear-gradient(
    100deg,
    rgba(185, 34, 51, 1) 0%,
    rgba(121, 42, 54, 1) 40%,
    rgba(223, 29, 49, 1) 100%
  );
}

/* =========================================
   Header
   ========================================= */
/* ============================
    Base
============================ */
.site-header {
  width: 100%;
  padding: 18px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-logo {
  background: #fff;
  padding: 0 25px;
  height: 48px;
  border-radius: 40px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

/* Logo */
.header-logo img {
  width: 100%;
  max-width: 120px;
  height: auto;
}

/* ============================
   Navigation
============================ */
.header-nav {
  background: #fff;
  padding: 0 40px;
  height: 48px;
  border-radius: 40px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.header-nav ul {
  display: flex;
  gap: 28px;
}

.header-nav a {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
}

.header-nav a:hover {
  opacity: 0.6;
}

/* Dropdown Menu */
.header-nav ul li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  min-width: 240px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
  /* Keep some distance or adjust padding */
  padding-top: 0;
}

/* Adjust hover area to prevent closing when moving cursor */
.has-dropdown {
  padding-bottom: 10px;
  /* Invisible padding to bridge gap */
  margin-bottom: -10px;
}

.has-dropdown:hover .dropdown-menu {
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-align: left;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #f9f9f9;
  color: var(--color-primary);
  opacity: 1;
}

/* ============================
   ENTRY Button
============================ */
.header-entry {
  background: #f03737;
  padding: 0 40px;
  height: 48px;
  border-radius: 40px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.header-entry:hover {
  opacity: 0.75;
}

.btn-entry {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

/* ============================
   Hamburger (SP)
============================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #333;
  display: block;
  transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  width: 24px;
  transform: translateY(-6px) rotate(-45deg);
}

.hamburger span:nth-child(3) {
  width: 12px;
  margin-left: auto;
}

/* ============================
   Responsive
============================ */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

.header-nav.active {
  display: block;
  position: absolute;
  top: 80px;
  right: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.header-nav.active ul {
  flex-direction: column;
  gap: 18px;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  display: flex;
  min-height: 800px;
  position: relative;
  overflow: hidden;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 50%;
  position: relative;
  color: var(--color-white);
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.7);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 60px;
}

.hero__title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.hero__right {
  width: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #b92233;
  background: linear-gradient(
    100deg,
    rgba(185, 34, 51, 1) 0%,
    rgba(121, 42, 54, 1) 40%,
    rgba(223, 29, 49, 1) 100%
  );
}

/* Simple card overlap effect */
.hero__visuals {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 500px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 45%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 3 / 4;
}

.card-1 {
  top: 0;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, 0) translateX(27%) rotate(5deg);
}

.card-2 {
  top: 0;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, 7.5%) rotate(350deg);
}

.card-3 {
  top: 0;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, 20%) translateX(-27%) rotate(340deg);
}

.hero__bg-text {
  position: absolute;
  bottom: 20px;
  right: 0;
  left: 0;
  text-align: center;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

/* =========================================
   Bento Grid Section
   ========================================= */
.bento-section {
  background-color: var(--color-bg-light);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 24px;
  grid-template-areas:
    "feat-text feat-vis"
    "curve     feat-vis"
    "def-img   def-text";
}

.pt--60 {
  padding-top: 60px;
}

.pb--60 {
  padding-bottom: 60px;
}

.bento-grid--top {
  grid-template-areas: "feat-text feat-vis";
  grid-template-rows: auto;
}

.bento-grid--bottom {
  grid-template-areas: "def-img def-text";
  grid-template-rows: auto;
}

.bento-grid--reverse {
  grid-template-areas: "def-text def-img";
}

.bento-card {
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.features-text-card {
  grid-area: feat-text;
}

.features-visual-card {
  grid-area: feat-vis;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.features-visual-card img {
  height: auto;
}

.bento-curve-img {
  grid-area: curve;
  border-radius: 24px;
  overflow: hidden;
  height: 240px;
}

.bento-curve-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.definition-text-card {
  grid-area: def-text;
}

.bento-img-card {
  grid-area: def-img;
  border-radius: 24px;
  overflow: hidden;
  height: auto;
  /* aspect-ratio: 1 / 1; */
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-img-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.features-text-card .section-title {
  color: var(--color-primary);
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.3;
}

.circle-chart {
  position: relative;
  width: 360px;
  height: 360px;
  z-index: 2;
}

.circle {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  font-weight: bold;
  font-size: 13px;
  line-height: 1.4;
}

.circle--outer {
  width: 360px;
  height: 360px;
  background-color: rgba(235, 59, 73, 0.4);
  align-items: flex-start;
  padding-top: 40px;
}

.circle--middle {
  width: 240px;
  height: 240px;
  background-color: rgba(235, 59, 73, 0.6);
  align-items: flex-start;
  padding-top: 50px;
}

.circle--inner {
  width: 120px;
  height: 120px;
  background-color: rgba(235, 59, 73, 0.9);
}

.features__bg-text {
  position: absolute;
  bottom: 20px;
  right: 0;
  left: 0;
  text-align: center;
  font-size: 120px;
  font-weight: 900;
  color: rgba(235, 59, 73, 0.08);
  z-index: 1;
  line-height: 1;
  pointer-events: none;
}

.definition-text-card .section-title {
  color: var(--color-primary);
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.3;
}

.section-desc {
  margin-bottom: 40px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 2;
}

/* =========================================
   Interview Section
   ========================================= */
.interview {
  position: relative;
}

.interview__header {
  text-align: left;
  margin-bottom: 60px;
  position: relative;
  display: grid;
  justify-content: start;
}

.interview__bg-text {
  text-align: left;
  font-size: 120px;
  font-weight: 900;
  color: rgba(235, 59, 73, 0.08);
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  z-index: 0;
  line-height: 0.8;
  grid-area: 1 / 1;
  align-self: end;
}

.section-title--center {
  text-align: left;
  font-size: 40px;
  font-weight: 700;
  position: relative;
  top: 20px;
  left: auto;
  width: auto;
  z-index: 1;
  grid-area: 1 / 1;
  align-self: end;
  margin-left: 10px;
}

.interview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.interview-card {
  background: var(--color-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
}

.interview-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.interview-card.swiper-slide {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.interview-card.swiper-slide:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.interview-card__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.interview-card__body {
  padding: 25px;
}

.interview-card__label {
  font-size: 10px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-style: italic;
}

.interview-card__label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: #333;
  margin-right: 10px;
}

.interview-card__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.6;
}

.interview-card__footer {
  font-size: 10px;
  color: #333;
  font-weight: 500;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--color-white);
  padding-top: 80px;
  border-top: 1px solid #eee;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer__brand img {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.footer__social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  display: none;
}

.footer__social span img {
  width: 24px;
  height: 24px;
  display: block;
}

.footer__links {
  display: flex;
  gap: 30px;
  flex-grow: 1;
  justify-content: center;
}

.footer__links dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links dl dt {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer__links dl dd {
  font-size: 12px;
  margin-bottom: 0;
  color: var(--color-text);
  font-weight: 500;
}

.footer__links dl dd::before {
  content: "ー";
  margin-right: 5px;
  font-size: 10px;
  vertical-align: middle;
}

.footer__cta {
  width: 200px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.footer__cta .btn-entry {
  width: 100%;
  text-align: center;
  background: #f03737;
  padding: 15px 0;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  font-weight: bold;
}

.footer__cta .btn-entry:hover {
  opacity: 0.75;
}

.footer__cta .btn-privacy {
  color: #4c4c4c;
  font-size: 14px;
}

.footer__bottom {
  text-align: center;
  font-size: 10px;
  color: #999;
  border-top: 1px solid #eee;
  padding: 20px;
}

/* =========================================
   Responsive (Simple Tablet/Mobile)
   ========================================= */
@media (max-width: 768px) {
  .br-sp {
    display: block;
  }

  .br-pc {
    display: none;
  }

  /* Header styles updated below */

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero__left {
    width: 100%;
    height: auto;
    min-height: 600px;
    padding-bottom: 60px;
    justify-content: flex-end;
  }

  .hero__content {
    padding: 0 20px;
    width: 100%;
  }

  .hero__right {
    width: 100%;
    height: 500px;
    overflow: visible;
    flex-direction: column;
  }

  .hero__visuals {
    height: 100%;
    transform: translateY(-50px);
    margin-bottom: -150px;

    /* Pull down to overlap boundary */
    position: relative;
    z-index: 10;
  }

  .site-header {
    padding: 20px 20px;
    background: #fff;
    /* Ensure white background */
  }

  .header-inner {
    justify-content: center;
    /* Center logo */
    position: relative;
  }

  .header-logo {
    box-shadow: none;
    /* Remove shadow */
    padding: 0;
    height: auto;
  }

  .header-logo img {
    height: 20px;
    /* Adjust logo size */
    width: auto;
  }

  .hamburger {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-entry {
    display: none;
    /* Hide entry button on mobile header based on image */
  }

  .hero__bg-text {
    font-size: 80px;
    bottom: 0;
  }

  .hero__title {
    font-size: 42px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "feat-text"
      "feat-vis"
      "curve"
      "def-text"
      "def-img";
  }

  .bento-grid--top {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "feat-text"
      "feat-vis";
  }

  .bento-grid--bottom {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "def-text"
      "def-img";
  }

  .bento-grid--bottom {
    grid-template-areas:
      "def-text"
      "def-img";
  }

  .bento-curve-img {
    height: 200px;
  }

  .bento-card {
    padding: 40px 30px;
  }

  .features-visual-card {
    min-height: 400px;
  }

  .features-visual-card img {
    margin-bottom: 20px;
  }

  .circle-chart {
    width: 300px;
    height: 300px;
  }

  .circle--outer {
    width: 300px;
    height: 300px;
  }

  .circle--middle {
    width: 200px;
    height: 200px;
  }

  .circle--inner {
    width: 100px;
    height: 100px;
  }

  .features__bg-text {
    font-size: 60px;
  }

  .interview__bg-text {
    font-size: 72px;
  }

  .interview__header {
    justify-content: center;
  }

  .interview__grid {
    grid-template-columns: 1fr;
  }

  .section-title--center {
    font-size: 32px;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer__brand {
    width: 100%;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
    margin-top: 30px;
  }

  .footer__social span img {
    width: 32px;
    height: 32px;
  }

  .footer__cta {
    width: 100%;
    order: 2;
    justify-content: center;
    align-items: center;
  }

  .footer__cta .btn-entry {
    width: initial;
    padding: 15px 50px;
  }

  .footer__cta .btn-privacy {
  }

  .footer__links {
    width: 100%;
    order: 3;
    /* margin-top: 40px; */
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footer__links dl {
    width: 100%;
    margin-bottom: 0;
    align-items: flex-start;
    text-align: left;
  }

  .footer__links dl dt {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .footer__links dl dd {
    font-size: 14px;
    margin-bottom: 15px;
    padding-left: 0;
  }

  .definition-text-card .section-title {
    font-size: 32px;
  }

  .features-text-card .section-title {
    font-size: 32px;
  }
}

/* ============================
   Mobile Menu
============================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #000;
  max-height: 60px;
}

.mobile-menu__logo img {
  height: 24px;
  width: auto;
}

.mobile-menu__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-menu__close {
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.mobile-menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #000;
  display: block;
}

.mobile-menu__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu__item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #000;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.mobile-menu__item--grey a {
  background: #eaeaea;
}

.mobile-menu__item:not(.mobile-menu__item--plus) a::after {
  content: "";
  width: 20px;
  height: 1px;
  background: #333;
}

.mobile-menu__item--plus a::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

/* ============================
   Mobile Menu Accordion
============================ */
.mobile-menu__item--accordion {
  border-bottom: 1px solid #000;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  background: #fff;
  max-height: 60px;
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #333;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.accordion-icon::before {
  width: 20px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 20px;
}

.mobile-menu__item.is-open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.mobile-menu__item.is-open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-content {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #eaeaea;
}

.mobile-menu__item.is-open .accordion-content {
  display: block;
}

.accordion-content li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px 15px 30px;
  border-bottom: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.accordion-content li a::after {
  content: "";
  width: 20px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='10' viewBox='0 0 20 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5H19M19 5L15 1M19 5L15 9' stroke='%23333333' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.accordion-content li:last-child a {
  border-bottom: none;
}

/* ============================
   Back to Top Button
============================ */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #eb3b49;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(235, 59, 73, 0.4);
}

.arrow-up {
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: 4px;
}

/* =========================================
   Marquee Animation
   ========================================= */
.loop_wrap {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.loop_wrap div {
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 0.2em;
  /* Adjust spacing between loops */
}

.loop_wrap div:nth-child(odd) {
  animation: loop 50s -25s linear infinite;
}

.loop_wrap div:nth-child(even) {
  animation: loop2 50s linear infinite;
}

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

  to {
    transform: translateX(-100%);
  }
}

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

  to {
    transform: translateX(-200%);
  }
}

/* =========================================
   Fade In Animation
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Text Animation
   ========================================= */
.js-text-animate span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.js-text-animate.is-active span {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Card Slide Animation
   ========================================= */
.card__slide {
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================
   Mobile Menu Footer (ENTRY Button)
   ========================================= */
.mobile-menu__footer {
  padding: 20px;
  margin-top: auto;
  /* Push to bottom if flex container has height */
  background: #fff;
}

.btn-entry--full {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: #f03737;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 15px;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(240, 55, 55, 0.3);
}

/* =========================================
    Archive Page
    ========================================= */
.interview__archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

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

/* Swiper Navigation Customization  */
.interview__grid .swiper-button-prev,
.interview__grid .swiper-button-next {
  background-color: #eb3b49;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
}

.interview__grid .swiper-button-prev::after,
.interview__grid .swiper-button-next::after {
  font-size: 14px;
  font-weight: bold;
}

.interview__grid .swiper-button-prev {
  left: 0;
}

.interview__grid .swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet-active {
  background: #f03737 !important;
}

/* =========================================
   Coming Soon Styling
   ========================================= */
.coming-soon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-bg-text {
  font-size: 100px;
  font-weight: 900;
  text-align: center;
  line-height: 1;
  text-transform: lowercase;
}

.coming-soon-bg-color01 {
  color: rgb(235 59 73 / 28%);
}

.coming-soon-bg-color02 {
  color: rgba(255, 255, 255, 0.15);
}

/* =========================================
   Interview Grid Swiper Styles
   ========================================= */
.interview__grid.swiper {
  overflow: hidden;
  padding-bottom: 50px;
}

.interview__grid .swiper-button-prev,
.interview__grid .swiper-button-next {
  color: var(--color-white);
}

.interview__grid .swiper-pagination-bullet {
  background: var(--color-primary);
}

.interview__grid .swiper-pagination {
  bottom: 0;
}

.interview-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Responsive */
.coming-soon-bg-text {
  font-size: 50px;
}

/* =========================================
   Career Chart Styles (Copied from salary.css)
   ========================================= */
.career-chart {
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-bottom: 80px;
  width: 100%;
}

.career-step {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

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

.career-step__label {
  width: 100px;
  background-color: #f03737;
  color: white;
  padding: 8px 0;
  text-align: center;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-right: 20px;
  position: relative;
  z-index: 2;
}

.career-step__bar-container {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: stretch;
}

.career-step__bar {
  width: 60%;
  /* Default width */
  height: auto;
  min-height: 100px;
  background: linear-gradient(
    100deg,
    rgba(185, 34, 51, 1) 0%,
    rgba(121, 42, 54, 1) 40%,
    rgba(223, 29, 49, 1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  color: white;
  font-weight: 700;
  position: relative;
}

/* Width modifiers for PC */
.career-step__bar--sm {
  width: 35%;
}

.career-step__bar--md {
  width: 45%;
}

.career-step__bar--lg {
  width: 60%;
}

.career-step__bar--xl {
  width: 80%;
}

.career-step__bar--xl2 {
  width: 100%;
}

.career-step__bar--gray {
  background: #f0f0f0;
  color: var(--color-text);
}

.career-step__bar--dark-blue {
  background: #0056b3;
}

.career-step__value-group {
  display: flex;
  align-items: baseline;
  margin-bottom: 5px;
}

.career-step__value {
  font-size: 32px;
  line-height: 1;
  margin-right: 5px;
}

.career-step__unit {
  font-size: 16px;
}

.career-step__sub-value {
  font-size: 14px;
  margin-left: 0;
  opacity: 0.9;
  line-height: 1.5;
}

.career-step__circle {
  width: 80px;
  height: 80px;
  background-color: #f03737;
  border-radius: 50%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.career-step__circle span {
  font-size: 16px;
}

.career-step__desc-box {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: white;
  font-size: 14px;
  line-height: 1.6;
  margin-left: 30px;
  width: 250px;
  position: relative;
  background: #f0f0f0;
  color: var(--color-text);
}

/* Connecting line */
.career-chart::before {
  content: "";
  position: absolute;
  top: 80px;
  bottom: 80px;
  left: 80px;
  width: 2px;
  background-color: #f03737;
  z-index: 1;
}

@media (max-width: 768px) {
  .career-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .career-step__label {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .career-step__bar-container {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .career-step__bar,
  .career-step__bar--sm,
  .career-step__bar--md,
  .career-step__bar--lg,
  .career-step__bar--xl {
    width: 100%;
    height: auto;
    min-height: 80px;
    padding: 15px;
    padding-right: 90px;
    margin-bottom: 15px;
    box-sizing: border-box;
    flex-wrap: wrap;
  }

  .career-step__value {
    font-size: 28px;
  }

  .career-step__circle {
    width: 70px;
    height: 70px;
    right: 10px;
    font-size: 10px;
  }

  .career-step__circle span {
    font-size: 14px;
  }

  .career-step__desc-box {
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .career-chart::before {
    display: none;
  }
}
