@charset "UTF-8";

/* -----------------------------------------------------------
  1. CSS Variables (変数の定義)
----------------------------------------------------------- */
:root {
  --color-main-red: #ce0202; 
  --color-dark-black: #1a1a1a;
  --color-text-body: #333333;
  --color-white: #ffffff;
  --color-bg-gray: #f5f5f5;
  --space-section: 60px;
  --container-width: 1100px;
  --font-main: "Noto Sans JP", sans-serif;
}

/* -----------------------------------------------------------
  2. Reset (ブラウザ差異の解消)
----------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-padding-top: 60px;
}

body {
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-main);
  color: var(--color-text-body);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  display: inline-block; 
}

ul, ol, dl, dd, dt {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* -----------------------------------------------------------
  3. Utility / Components (共通パーツ)
----------------------------------------------------------- */
.p-section-title {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.4;

  @media (width >= 768px) {
    font-size: 40px;
    margin-bottom: 50px;
  }

  span {
    font-size: 30px;
    @media (width >= 768px) {
      font-size: 52px;
    }
  }
}

.p-pc-none {
  display: block;
  @media (width >= 768px) {
    display: none;
  }
}

/* ===========================================================
  Layout: Header (Fixed)
=========================================================== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--color-main-red);
  z-index: 100;
  color: var(--color-white);
  padding: 0 15px;
  transform: translateY(-100%);
  transition: transform 0.4s ease-out;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);

  &.is-show {
    transform: translateY(0);
  }

  .l-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
  }

  .l-header__logo {
    display: flex;
    flex-direction: column;

    img {
      width: 160px;
      height: auto;
      @media (width >= 768px) {
        width: 280px;
        padding: 8px 0 0 0;
      }
    }

    span {
      font-size: 10px;
      font-weight: 700;
      margin-top: 2px;
      @media (width >= 768px) {
        font-size: 12px;
      }
    }
  }

  .l-header__btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-main-red);
    font-weight: 900;
    font-size: 14px;
    width: 120px;
    height: 34px;
    border-radius: 17px;
    text-decoration: none;
    @media (width >= 768px) {
      font-size: 18px;
      width: 140px;
      height: 40px;
      border-radius: 50px;
    }
  }
}

/* ===========================================================
  Layout: MV (メインビジュアル)
=========================================================== */
.l-mv {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100dvh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-dark-black);
  background-attachment: fixed;
  -webkit-background-size: cover;

  @media (width < 768px) {
    background-image: url('../images/mv_sp.webp');
    background-attachment: scroll;
  }

  @media (width >= 768px) {
    background-image: url('../images/mv_pc.webp');
  }

  .l-mv__inner {
    position: absolute;
    width: 95%;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    @media (width >= 768px) {
      max-width: var(--container-width);
    }
  }

  .l-mv__copy {
    position: relative;
    width: 90%;
    margin: 0 auto 45px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    transform: rotate(-4deg) skewX(-10deg);
    font-feature-settings: "palt";
    overflow: visible;
    z-index: 1;

    @media (width >= 768px) {
      width: 100%;
      max-width: var(--container-width);
      transform: rotate(-4deg) skewX(-7deg);
      margin: 0 auto 60px;
    }
  }

  .l-mv__copy-line1 {
    display: block;
    font-size: 40px;
    text-align: center;
    @media (width >= 768px) {
      font-size: 100px;
      margin-bottom: 16px;
      margin-right: 150px;
    }
    > span:not(.char) {
      font-size: 30px; 
      @media (width >= 768px) { font-size: 70px; }
    }
  }

  .l-mv__copy-line2 {
    display: block;
    font-size: 50px;
    margin-top: 5px;
    text-align: left;
    padding-left: 15px;
    @media (width >= 768px) {
      display: inline-block;
      vertical-align: middle;
      padding: 0;
      margin: 0 0 0 150px;
      font-size: 100px;
    }
    > span:not(.char) {
      font-size: 40px;
      @media (width >= 768px) { font-size: 70px; }
    }
  }

  .l-mv__copy-line3 {
    position: relative;
    display: block;
    font-size: 52px;
    letter-spacing: 0.05em;
    margin-top: -2px;
    text-align: right;
    padding-right: 15px;
    @media (width >= 768px) {
      display: inline-block;
      vertical-align: middle;
      padding: 0;
      margin: 0;
      font-size: 100px;
    }
    > span:not(.char) {
      font-size: 40px;
      @media (width >= 768px) { font-size: 70px; }
    }

    &::after {
      content: "";
      position: absolute;
      top: -5%;
      right: 0%;
      transform: translateY(-50%);
      width: 100px;
      height: 120px;
      background: url('../images/ic-fire.svg') no-repeat center/contain;
      z-index: -1;
      @media (width >= 768px) {
        width: 250px;
        height: 300px;
        top: -80%;
      }
    }
  }
}



/* -----------------------------------------------------------
  Animation: Text Reveal (1文字ずつ表示)
----------------------------------------------------------- */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  font-size: inherit; 
}

.is-visible .char {
  opacity: 1;
  transform: translateY(0) skewX(-10deg);
}

/* -----------------------------------------------------------
  Layout: MV Badge Container (バッジの並び)
----------------------------------------------------------- */
.l-mv__badge-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -20px;
  @media (width >= 768px) {
    margin-top: -60px;
    gap: 20px;
  }
}

/* -----------------------------------------------------------
  Component: Badge (丸いバッジ)
----------------------------------------------------------- */
.p-badge {
  width: 200px;
  height: 200px;
  flex-shrink: 0; /* 【重要】親の幅に関わらず、200pxを死守する */
  background-color: rgba(206, 2, 2, 0.7);
  border-radius: 50%;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 2px 27px rgba(0, 0, 0, 0.1);
  @media (width >= 768px) {
    width: 320px;
    height: 320px;
  }
}

.p-badge--recruit {
  margin-right: -20px;
  @media (width >= 768px) {
    margin-right: 0px;
  }
}

.p-badge--founder {
  margin-top: 20px;
  @media (width >= 768px) {
    margin-top: 0px;
  }
}

.p-badge__main {
  font-size: 48px;
  font-weight: 900;
  display: block;
  @media (width >= 768px) {
    font-size: 68px;
  }
}
.p-badge__main--num {
  font-size: 70px;
  font-weight: 900;
  display: block;
  @media (width >= 768px) {
    font-size: 110px;
  }
  span{
    font-size: 35px;
    @media (width >= 768px) {
      font-size: 50px;
    }
  }
}

.p-badge__sub {
  font-size: 33px;
  font-weight: 700;
  display: block;
  @media (width >= 768px) {
    font-size: 50px;
  }
}

/* MVのバッジ専用：初期状態 */
.l-mv .p-badge {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* テキストが終わった後に付与するクラス */
.l-mv .p-badge.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------------------
  Layout: Message (赤い背景セクション)
----------------------------------------------------------- */
.l-message {
  background-color: var(--color-main-red);
  color: var(--color-white);
  padding: 60px 20px;
  @media (width >= 768px) {
    padding: 120px 20px 100px;
  }

  .l-message__inner {
    max-width: var(--container-width);
    margin: 0 auto;
  }

  .l-message__title {
    font-size: 35px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    @media (width >= 768px) { font-size: 52px; }
    span {
      font-size: 24px;
      @media (width >= 768px) { font-size: 30px; }
    }
  }

  .l-message__body {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 700;
    @media (width >= 768px) { font-size: 18px; }
    span {
      font-size: 24px;
      @media (width >= 768px) { font-size: 30px; }
    }
    p { margin-bottom: 1.5em; }
  }
}

/* ===========================================================
  Layout: Salary (給与セクション)
=========================================================== */
.l-salary {
  background-color: #f9f9f9;
  padding-bottom: 30px;

  .l-salary__header-img {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    @media (width < 768px) {
      height: 240px;
      background: linear-gradient(rgba(217, 0, 0, 0.5), rgba(217, 0, 0, 0.5)), url('../images/mv-salary_sp.webp') no-repeat center/cover;
    }
    @media (width >= 768px) { 
      height: 400px; 
      background: linear-gradient(rgba(217, 0, 0, 0.5), rgba(217, 0, 0, 0.5)), url('../images/mv-salary_pc.webp') no-repeat center 20% / cover;
    }
  }

  .l-salary__inner {
    padding: 0 20px;
    margin: -70px auto 0;
    max-width: var(--container-width);
    @media (width >= 768px) { padding: 0; }
  }

  .l-salary__list {
    @media (width >= 768px) {
      display: flex;
      justify-content: center;
      gap: 20px;
      padding: 0 20px 0;
    }
  }
}

.p-salary-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  @media (width >= 768px) { 
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
  }

  .p-salary-card__label {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    @media (width >= 768px) { 
      min-height: 60px; 
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      line-height: 0.8;
    }
    span {
      font-size: 15px;
      @media (width >= 768px) { font-size: 18px; }
    }
  }

  .p-salary-card__divider {
    width: 20px;
    height: 3px;
    background-color: var(--color-main-red);
    margin: 15px auto;
    @media (width >= 768px) { margin: 10px auto 20px; }
  }

  .p-salary-card__year {
    font-size: 24px;
    font-weight: 700;
    @media (width >= 768px) { margin-bottom: -5px; }
  }

  .p-salary-card__amount {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-main-red);
    span { font-size: 25px; }
    &--small { font-size: 30px; }
  }

  .p-salary-card__days {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    @media (width >= 768px) {
      justify-content: space-evenly;
      gap: 0px;
    }
    span:not(.highlight) {
      color: #333;
      font-size: 10px;
    }
    .highlight {
      font-size: 40px;
      color: var(--color-main-red);
      font-weight: 900;
      span {
        font-size: 30px;
        color: var(--color-main-red);
      }
    }
  }
}

/* -----------------------------------------------------------
  Layout: Message White (白い背景のメッセージ)
----------------------------------------------------------- */
.l-message-white {
  background-color: var(--color-white);
  padding: 0px 20px 60px;
  @media (width >= 768px) { padding: 0px 20px 100px; }

  .l-message-white__inner {
    max-width: var(--container-width);
    margin: 0 auto;
  }

  .p-section-title--left {
    text-align: left;
    color: var(--color-main-red);
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    @media (width >= 768px) { 
      font-size: 40px; 
      padding-bottom: 20px;
    }
    &::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 30px;
      height: 4px;
      background-color: var(--color-main-red);
    }
  }

  .l-message-white__text p {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: #333;
    @media (width >= 768px) { font-size: 18px; }
  }

  .l-message-white__highlight-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin-top: 30px;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
  }
}

/* ===========================================================
  Layout: Values
=========================================================== */
.l-values {
  background-color: #fff;

  .l-values__header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    @media (width < 768px) {
      height: 240px;
      background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/mv-vision_sp.webp') no-repeat center/cover;
    }
    @media (width >= 768px) {
      height: 400px;
      background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/mv-vision_pc.webp') no-repeat center 20% / cover;
    }
  }

  .l-values__inner {
    padding: 0 20px 60px;
    @media (width >= 768px) {
      max-width: var(--container-width);
      margin: 0 auto;
      padding: 100px 0;
    }
  }
}

.p-value-item {
  display: block;
  position: relative;

  @media (width >= 768px) {
    display: grid;
    grid-template-columns: 500px 1fr;
    grid-template-areas: "img header" "img body";
    align-items: start;
    margin-bottom: 150px;
  }

  &::before {
    @media (width >= 768px) {
      content: "";
      grid-column: 2 / 3;
      grid-row: 1 / 3;
      background: #fff;
      margin-left: -80px;
      z-index: 1;
      box-shadow: 3px 8px 15px rgba(0,0,0,0.05);
      height: 100%;
    }
  }

  .p-value-item__header {
    position: relative;
    margin-bottom: 25px;
    @media (width >= 768px) {
      grid-area: header;
      z-index: 3;
      padding: 60px 60px 0 120px;
      margin-left: -80px;
      margin-bottom: 0;
    }
  }

  .p-value-item__title {
    font-size: 28px;
    color: #c00;
    font-weight: 900;
    margin-bottom: 5px;
    @media (width >= 768px) { font-size: 36px; }
  }

  .p-value-item__subtitle {
    font-size: 16px;
    color: #c00;
    font-weight: 700;
  }

  .p-value-item__line {
    width: 30px;
    height: 4px;
    background-color: #c00;
    margin-top: 15px;
  }

  .p-value-item__emblem {
    position: absolute;
    top: 40px;
    right: 0;
    width: 100px;
    height: 100px;
    @media (width >= 768px) {
      top: -40px;
      right: 40px;
      width: 120px;
      height: 120px;
    }
  }

  .p-value-item__emblem-circle {
    animation: rotate-anime 12s linear infinite;
    width: 100%;
  }

  .p-value-item__emblem-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
  }

  .p-value-item__img {
    margin: 0 -20px 25px;
    @media (width >= 768px) {
      grid-area: img;
      z-index: 2;
      margin: 0;
    }
    img {
      width: 100%;
      display: block;
      @media (width >= 768px) { box-shadow: 3px 8px 15px rgba(0,0,0,0.1); }
    }
  }

  .p-value-item__body {
    @media (width >= 768px) {
      grid-area: body;
      z-index: 3;
      padding: 20px 60px 60px 120px;
      margin-left: -80px;
    }
  }

  .p-value-item__lead {
    font-size: 20px;
    font-weight: 900;
    color: #c00;
    margin-bottom: 15px;
    @media (width >= 768px) {
      font-size: 22px;
      margin-bottom: 25px;
      margin-top: 0px;
    }
  }

  .p-value-item__text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    font-weight: 700;
  }
}

@keyframes rotate-anime {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===========================================================
  Layout: Jobs (職種紹介)
=========================================================== */
.l-jobs__header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  @media (width < 768px) {
    height: 240px;
    background: linear-gradient(rgba(217, 0, 0, 0.5), rgba(217, 0, 0, 0.5)), url('../images/mv-jobs_sp.webp') no-repeat center/cover;
  }
  @media (width >= 768px) {
    height: 400px;
    background: linear-gradient(rgba(217, 0, 0, 0.5), rgba(217, 0, 0, 0.5)), url('../images/mv-jobs_pc.webp') no-repeat center 20% / cover;
  }
}

.l-jobs__main-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
  @media (width >= 768px) { font-size: 40px; }
  span {
    font-size: 30px;
    font-weight: 900;
    display: block;
    margin-top: 5px;
    @media (width >= 768px) { font-size: 52px; }
  }
}

.l-jobs__inner {
  padding: 40px 20px;
  background-color: var(--color-white);
  max-width: var(--container-width);
  margin: 0 auto;
  @media (width >= 768px) { margin: 30px auto 60px; }
}

.p-job-item {
  margin-bottom: 60px;
  &:last-child { margin-bottom: 0; }

  @media (width >= 768px) {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 100px;
  }

  .p-job-item__img {
    margin: 0 0 25px 0;
    box-shadow: 3px 8px 15px rgba(0,0,0,0.1);
    @media (width >= 768px) {
      flex: 0 0 53%;
      margin: 0;
    }
    img {
      width: 100%;
      height: auto;
      display: block;
    }
  }

  .p-job-item__body {
    @media (width >= 768px) { flex: 0 0 45%; }
  }

  &:nth-child(odd) {
    @media (width >= 768px) { flex-direction: row; }
  }

  &:nth-child(even) {
    @media (width >= 768px) { flex-direction: row-reverse; }
  }

  .p-job-item__title {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-main-red);
    margin-bottom: 10px;
    @media (width >= 768px) {
      font-size: 36px;
      margin: 0 0 15px 0;
    }
  }

  .p-job-item__line {
    width: 30px;
    height: 4px;
    background-color: var(--color-main-red);
    margin-bottom: 20px;
  }

  .p-job-item__text {
    font-size: 15px;
    line-height: 1.8;
    font-weight: 700;
    color: #333;
    text-align: justify;
    @media (width >= 768px) { font-size: 16px; }
  }
}

/* -----------------------------------------------------------
  Layout: Outline (募集要項)
----------------------------------------------------------- */
.l-outline {
  padding: 0px 20px 80px;
  @media (width >= 768px) { padding: 0 0 150px; }

  .l-outline__inner {
    @media (width >= 768px) {
      max-width: var(--container-width);
      margin: 0 auto;
      padding: 0 20px;
    }
  }
}

.p-section-title-center {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 20px;
  @media (width >= 768px) { font-size: 36px; }
}

.p-outline-list {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  @media (width >= 768px) {
    display: grid;
    grid-template-columns: 240px 1fr;
  }

  dt {
    background-color: #f0f0f0;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 15px;
    color: #333;
    &:not(:first-child) { border-top: 1px solid #ddd; }

    @media (width >= 768px) {
      grid-column: 1;
      display: flex;
      align-items: center;
      padding: 25px 30px;
      font-size: 16px;
      border-top: none;
      border-bottom: 1px solid #ddd;
    }
    &:last-of-type { @media (width >= 768px) { border-bottom: none; } }
  }

  dd {
    padding: 20px 15px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin: 0;
    @media (width >= 768px) {
      grid-column: 2;
      padding: 25px 40px;
      font-size: 16px;
      background-color: #fff;
      border-bottom: 1px solid #ddd;
    }
    &:last-of-type { @media (width >= 768px) { border-bottom: none; } }
  }
}

/* ===========================================================
  Layout: CTA (エントリーエリア)
=========================================================== */
.l-cta {
  background-color: var(--color-white);

  .l-cta__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    width: 100%;
    margin: 0;
    padding: 0 20px;
    @media (width < 768px) {
      height: 400px;
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/img-entry_sp.webp') no-repeat center/cover;
    }
    @media (width >= 768px) {
      height: 540px;
      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('../images/img-entry_pc.webp') no-repeat center 20% / cover;
    }
  }

  .l-cta__header-inner {
    position: absolute;
    bottom: 12%;
    @media (width >= 768px) {
      position: relative;
      bottom: auto;
      width: 100%;
      max-width: var(--container-width);
    }
  }

  .l-cta__lead {
    font-size: 20px;
    font-weight: 700;
    @media (width >= 768px) { font-size: 24px; }
  }

  .l-cta__title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    margin-top: 10px;
    margin-bottom: 20px;
    @media (width >= 768px) { font-size: 40px; margin-bottom: 30px; }
  }

  .l-cta__sub-lead {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.4;
    @media (width >= 768px) { font-size: 32px; }
  }

  .l-cta__body {
    padding: 0 20px 30px;
    transform: translateY(-30px);   
    position: relative;
    z-index: 2;
    @media (width >= 768px) {
      transform: translateY(-160px);   
      margin-bottom: -130px;
      display: flex;
      justify-content: center;
      gap: 30px;
    }
  }
}

.p-btn-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-main-red);
  color: var(--color-white);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  height: 75px;
  padding: 0 30px;
  margin-bottom: 20px;
  position: relative;
  transition: opacity 0.3s;
  &:last-child { margin-bottom: 0; }
  @media (width >= 768px) {
    flex: 0 0 390px;
    margin-bottom: 0;
    height: 85px;
    font-size: 24px;
  }

  &::after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 3px solid var(--color-white);
    border-right: 3px solid var(--color-white);
    transform: rotate(45deg);
  }
}

/* ===========================================================
  Layout: Footer
=========================================================== */
.l-footer {
  background-color: var(--color-bg-gray);
  text-align: center;

  .l-footer__inner {
    padding: 40px 20px 30px;
    @media (width >= 768px) {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: var(--container-width);
      margin: 0 auto;
    }
  }

  .l-footer__logo-unit {
    margin-bottom: 30px;
    @media (width >= 768px) {
      margin-bottom: 0;
      text-align: left;
    }
  }

  .l-footer__logo-img {
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto 5px;
    @media (width >= 768px) { margin: 0 0 5px 0; }
  }

  .l-footer__company-name {
    font-size: 13px;
    font-weight: 700;
    color: #333;
  }

.l-footer__nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;

  @media (width >= 768px) {
    gap: 30px;
    flex-wrap: nowrap;
  }

  li {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;

    &:nth-child(3) {
      width: 100%;
      justify-content: center;
      margin-top: 5px;

      @media (width >= 768px) {
        width: auto;
        justify-content: flex-start;
        margin-top: 0;
      }
    }

    /* 全項目に共通の横棒を入れる */
    &::before {
      content: "";
      display: inline-block;
      width: 10px;
      height: 2px;
      background-color: #333;
      margin-right: 6px;
    }

    /* リンクがある場合はクリックできるようにする */
    a {
      display: flex;
      align-items: center;
      color: inherit;
      text-decoration: none;
    }

    span {
      font-size: 13px;
      font-weight: 700;
      margin-left: 5px;
      opacity: 0.8;
    }
  }
}

  .l-footer__copyright {
    background-color: var(--color-main-red);
    color: var(--color-white);
    padding: 15px 10px;
    small {
      font-size: 11px;
      font-weight: 700;
      display: block;
    }
  }
}

/* -----------------------------------------------------------
  Utility: Scroll Animation (共通ふわっと表示)
----------------------------------------------------------- */
.u-fade-up {
  display: block;
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;

  &.is-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

.u-delay-200 { transition-delay: 0.2s; }
.u-delay-400 { transition-delay: 0.4s; }
.u-delay-600 { transition-delay: 0.6s; }