@charset "utf-8";
@import "setting-custom.css";

/* === CSS変数は setting-custom.cssを読み込み === */

/* --- 2. ローディング画面 --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #303030; /* ローディングの背景色（黒系） */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s;
}

/* 100%になったらローディング画面をフワッと消す */
  body.is-loaded #loader {
      opacity: 0;
      visibility: hidden;
  }

  /* ① ロゴ画像の設定（レスポンシブ対応） */
  #loader-logo {
      max-width: 187px; 
      width: 100%;
      height: auto;
      margin-bottom: 30px; 
  }

  /* ② バーの外枠（レスポンシブ対応） */
  .loader-bar-bg {
      width: 250px;
      max-width: 80vw; /* スマホ画面の80%までに収める */
      height: 2px;
      background: rgba(255, 255, 255, 0.2);
      position: relative;
  }

  /* ③ 動くバーの本体 */
  #loader-bar-fill {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 0%; 
      background-color: #ffffff; /* 白に統一 */
      transition: width 0.1s linear;
  }

  /* ④ ％の数字 */
  #loader-percent {
      color: #ffffff; 
      font-size: 14px; 
      letter-spacing: 2px; 
      margin-top: 15px; 
      font-family: monospace; /* 数字がきれいに見えるフォント */
  }

  .fv-text {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 1.2s ease, transform 1.2s ease;
      transition-delay: 0.5s; /* ローディングが消え始めてから少し遅らせて出現 */
  }

  /* ローディング完了後にFVテキストをフワッと出す */
  body.is-loaded .fv-text {
      opacity: 1;
      transform: translateY(0);
  }

/* ====== 1rem = 10px ====== */

/* =====================
    Common Elements
=============================================== */
.center_txt{
    text-align: center;
}

/* 見出し */
h2.title{
    font-family: var(--mplus1-font);
    font-weight: 700;
    color: var(--fontcolor-black2);
    font-size: clamp(4.8rem, 3.475rem + 3.399vw, 10rem);
}

h3.title{
    font-size: 3.9rem;
    font-family: var(--mplus1-font);
    font-weight: 500;
    color: var(--fontcolor-white);
    line-height: 1;
    border-bottom: 2px solid var(--fontcolor-white);
    padding-bottom: 3px;
    margin: 0;
    display: inline-block;
    @media (max-width: 767px){
        font-size: 2rem;
    }
}

/* 共通ボタン（テキスト＋矢印ボックス） */
.common_btn_box{
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-size: clamp(1.6rem, 1.447rem + 0.392vw, 2.2rem);
    column-gap: 40px;
    
    @media (max-width: 767px) {
         column-gap: 20px;
         font-weight: 600;
    }
    &::after{
        content: "";
        width: 75px;
        height: 75px;
        background-position: center;
        background-size: cover;
        @media (max-width: 820px){
            width: 65px;
            height: 65px;
        }
        @media (max-width: 767px){
            width: 60px;
            height: 60px;
        }
    }
    &.white{
        color: var(--fontcolor-white);
        transition: .5s;
        &::after{
            background-image: url(../img/common/btn_arrow_white.svg);
        }
    }
    &.black{
        color: var(--fontcolor-black);
        &::after{
            background-image: url(../img/common/btn_arrow_black.svg);
        }
    }
    &:hover {
        opacity: 1;
        &::after{
            background-image: url(../img/common/btn_arrow_blue.svg);
        }
    }
}

/* 共通ボタン（矢印のみ） */
.common_btn_circle{
    display: block;
    width: 80px;
    height: 80px;
    background-position: center;
    background-size: cover;
    &.white{
        background-image: url(../img/common/btn_arrow_white.svg);
    }
    &.black{
        background-image: url(../img/common/btn_arrow_black.svg);
    }

}

/* 共通 白抜き文字 */
.outline{
    color: transparent;
    font-family: var(--notoserif-jp-font);
    -webkit-text-stroke: 3.9px var(--fontcolor-white);
    text-stroke: 3.9px var(--fontcolor-white);
    paint-order: stroke fill;
}

/* =====================
    共通 アニメーション関係
=============================================== */

html {
    overflow-y: scroll;
}

/* マウスオーバーで文字がクルッと下から回転 */
/* aタグに .rotateクラス付与 → 内包のspanに対して動作 */
.rotate{
    text-decoration: none;
}

.rotate{
    --rotate-line-height: 1.2em;

    /* クリップ担当（推奨: .rotate_clip） */
    > .rotate_clip,
    > span:not(.rotate_clip){
        display: inline-block;
        overflow: hidden;
        line-height: var(--rotate-line-height);
        height: var(--rotate-line-height);
        white-space: nowrap;
    }

    /* 移動担当（文字本体） */
    > .rotate_clip > span,
    > span:not(.rotate_clip){
        display: block;
        position: relative;
        transition: transform 0.3s ease;
        text-shadow: 0 var(--rotate-line-height) 0 currentColor;
    }

    &:hover{
        > .rotate_clip > span,
        > span:not(.rotate_clip){
            transform: translateY(calc(-1 * var(--rotate-line-height)));
        }
    }
}

/* .common_btn_box と併用した時は矢印擬似要素をクリップしない */
.common_btn_box.rotate{
    overflow: visible;
    font-weight: 600;
    letter-spacing: 0.1rem;
    @media (max-width: 767px) {
        font-weight: 700;
    }
    > .rotate_clip{
        --rotate-line-height: 1.2em;
    }
}


/* =====================
    Layout
=============================================== */
.column{
    width: 100%;
    padding: 0;
    .row{
        max-width: 1600px;
        padding: 0 clamp(16px, 4vw, 40px);
        margin: 0 auto;
        /* 上下余白: 最小80px 〜 最大165px の間で可変 */
        padding-block: clamp(5rem, 10.3vw, 10.3125rem); 
    }
}

/* =====================
    Header
=============================================== */
body.home {
  #header {
    position: absolute;
    top: 0;
    left: 0;
  }
}

#header {
  position: relative;
  width: 100%;
  z-index: 1000;
}

/* ========================================
Header
======================================== */

.head_belt {
  padding: 28px 54px 0;

  @media (max-width: 1024px) {
    padding: 24px 24px 0;
  }

  @media (max-width: 767px) {
    padding: 15px 15px 0;
  }
}

.header_inner {
  max-width: 1820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 380px;
  align-items: center;
  gap: 40px;

  @media (max-width: 1024px) {
    height: 58px;
    display: flex;
    justify-content: space-between;
  }
}

/* ========================================
Logo
======================================== */

.header_logo {
  justify-self: start;
  position: relative;
  z-index: 12;
  display: block;
  width: 180px;

  img {
    width: 100%;
    height: auto;
    display: block;
  }

  h1 {
    display: none;
  }

  @media (max-width: 767px) {
    width: 162px;
  }
}


/* ========================================
HEADER FIXED
======================================== */

#header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition:
    background .35s ease,
    transform .35s ease,
    padding .35s ease;
}

#header.is-fixed {
  position: fixed;
  background: rgba(173, 174, 186, 0.75);
  backdrop-filter: blur(10px);

  .head_belt {
    padding: 12px 54px;

    @media (max-width: 1024px) {
      padding: 12px 24px;
    }

    @media (max-width: 767px) {
      padding: 10px 15px;
    }
  }
}
body #header.is-fixed,
body.home #header.is-fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
   z-index: 1000;
  background: rgb(255 255 255 / 35%);
  backdrop-filter: blur(10px);
}

body #header.is-fixed .head_belt,
body.home #header.is-fixed .head_belt {
  padding: 12px 54px;

  @media (max-width: 1024px) {
    padding: 12px 24px;
  }

  @media (max-width: 767px) {
    padding: 10px 15px;
  }
}
/* ========================================
PC NAV
======================================== */

.header_nav {
  display: contents;

}

.header_nav__menu {
  justify-self: center;
    @media (max-width: 1024px) {
    display: none;
  }

  ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin: 0;
    padding: 0;
    list-style: none;

    @media (max-width: 1280px) {
      gap: 36px;
    }
  }

  a {
    position: relative;
    color: var(--fontcolor-black2);
    font-size: 1.45rem;
    font-weight: 500;
    font-family: var(--mplus1-font);
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: opacity 0.3s ease;


    &:hover {
      opacity: 0.7;

      &::after {
        width: 100%;
      }
    }
  }
}

/* ========================================
CV BUTTON
======================================== */


.header_cv {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
    @media (max-width: 1024px) {
    display: none;
  }
}

.header_cv__btn {
  --rotate-line-height: 1.2em;

  min-width: 142px;
  height: 65px;
  padding: 0 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;

  border-radius: 2px;

  @media (max-width: 1180px) {
    min-width: 128px;
    height: 62px;
    font-size: 1.3rem;
  }

  /* =========================
  TEXT
  ========================= */

  .rotate_clip {
    display: inline-block;
    overflow: hidden;

    line-height: var(--rotate-line-height);
    height: var(--rotate-line-height);

    white-space: nowrap;

    > span {
      display: block;
      transition: transform .3s ease;
      text-shadow: 0 var(--rotate-line-height) 0 currentColor;
    }
  }

  /* =========================
  ARROW
  ========================= */

  .header_cv__arrow {
    position: relative;
    display: block;

    width: 18px;
    height: 18px;

    overflow: hidden;
    flex-shrink: 0;

    line-height: normal;

    /* rotateの影響を消す */
    text-shadow: none !important;
    transform: none !important;

    > span {
      position: absolute;
      inset: 0;

      display: flex;
      align-items: center;
      justify-content: center;

      font-size: 18px;
      line-height: 1;

      transition:
        transform .3s ease,
        opacity .3s ease;

      text-shadow: none !important;
    }

    &::before {
      content: "→";

      position: absolute;
      inset: 0;

      display: flex;
      align-items: center;
      justify-content: center;

      font-size: 18px;
      line-height: 1;

      opacity: 0;

      transform: translateX(-100%);

      transition:
        transform .3s ease,
        opacity .3s ease;
    }
  }

  /* =========================
  HOVER
  ========================= */

  &:hover {
    opacity: 1;
    .rotate_clip > span {
      transform:
        translateY(
          calc(-1 * var(--rotate-line-height))
        );
    }

    .header_cv__arrow {

      > span {
        opacity: 0;
        transform: translateX(100%);
      }

      &::before {
        opacity: 1;
        transform: translateX(0);
      }
    }
  }
}

/* =========================
COLOR
========================= */

.header_cv__btn--recruit {
  background: #303030;
}

.header_cv__btn--contact {
  background: #111733;
}


/* ========================================
SP HAMBURGER
======================================== */

.hamburger {
  display: none;

  @media (max-width: 1024px) {
    position: relative;
    z-index: 9999;
    width: 40px;
    height: 42px;
    display: block;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }

  span {
    position: absolute;
    left: 0;
    height: 2px;
    background: var(--fontcolor-black2);

    transition:
      transform 0.35s ease,
      top 0.35s ease,
      width 0.35s ease,
      background 0.35s ease;

    &:nth-child(1) {
      top: 10px;
      width: 40px;
    }

    &:nth-child(2) {
      top: 23px;
      width: 28px;
    }
  }

  &.is-open {
    position: fixed;
    top: 32px;
    right: 44px;
    z-index: 9999;

    @media (max-width: 767px) {
            top: 30px;
            right: 20px;
    }

    span {
      width: 35px;
      background: #fff;

      &:nth-child(1) {
        opacity: 0;
        visibility: hidden;
      }

      &:nth-child(2) {
        top: 20px;
        transform: rotate(-45deg);
      }
    }
  }
}


/* ========================================
SP MENU
======================================== */

.sp-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
  height: 100vh;
  height: 100dvh;
  -webkit-overflow-scrolling: touch;

  background:
    linear-gradient(
      rgba(12, 18, 52, 0.97),
      rgba(12, 18, 52, 0.97)
    ),
    url("../img/common/sp_menu_bg.png") center / cover no-repeat;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;

  &.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.sp-menu__inner {
  min-height: 100vh;
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;

  @media (max-width: 767px) {
    padding: 30px 24px 45px;
  }
}

.sp-menu__logo {
  width: 190px;

  img {
    width: 100%;
    height: auto;
    display: block;
  }
  @media (max-width: 767px) {
    width: 170px;
    margin-bottom: 28px;
  }
}

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

  li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.78);

  }

  a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #fff;
    text-decoration: none;

    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-top: 15px;


    span {
      font-size: 2.5rem;
      line-height: 1;
      transition: transform 0.3s ease;
    }

    &:hover {
      span {
        transform: translateX(6px);
      }
    }


  }
}

.sp-menu__copy {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

/* ========================================
MENU OPEN
======================================== */

body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open .lower_head {
  overflow: visible;
}

body.is-menu-open .sp-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100dvh;
  z-index: 9998;
}
/* =====================
    メインビジュアル
=============================================== */

.wrapper_bg{
    width: 100%;
    background: url(../img/common/body_bg.webp);
    background-size: cover;
    background-attachment: fixed; /* スクロール時に背景を固定すると画像に近い質感になります */
    background-position: center bottom;
}
.sec_mainvisual{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    /* background-color: #fff; */
    @media (max-width: 1024px) {
        height: 70vh;
    }
  @media (max-width: 820px) {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
    .bg-video{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;

        mask-image: linear-gradient(to bottom, 
            black 0%, 
            black 60%, 
            transparent 95%
        );
        -webkit-mask-image: linear-gradient(to bottom, 
            black 0%, 
            black 60%, 
            transparent 95%
        );
    }
.mv_contents {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    height: 100svh;
    /* background: url(../img/common/mv_contents_bg.png) no-repeat center;
    background-size: cover; */
    overflow: hidden;
    @media (max-width: 1024px) {
        height: 70svh;
    }
    @media (max-width: 820px) {
      height: auto;
      min-height: 100svh;
      background-position: right -100px bottom -250px;
    }
    .inner {
        width: 100%;
        max-width: 1600px;
        height: 100%;
        margin: 0 auto;
        padding: 0 clamp(20px, 5vw, 60px);
        position: relative;
        display: flex;
        align-items: center;
      @media (max-width: 820px) {
        height: auto;
        min-height: 100svh;
        align-items: flex-start;
      }
    }
    
    .mv_animation_block {
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;

        @media (min-width: 1024px) {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }
        @media (max-width: 1023px) {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            padding-top: 120px;
        }
        @media (max-width: 820px) {
            padding-top: 150px;
        }
        @media (max-width: 767px) {
        padding-top: 100px;
        padding-bottom: 40px;
        gap: 67px;
        }
    }

    /* --- 左側：テキストエリア --- */
    .block_left {
        width: 100%;
        position: relative;
        z-index: 10;

        @media (min-width: 1024px) {
            width: 55%;
        }
        @media (max-width: 1023px) {
            width: 100%;
            position: relative;
            z-index: 10;
        }

        .big_text_section {
            position: relative;
            width: fit-content;
            
            p {
                line-height: 1;
                margin: 0;
                color: var(--fontcolor-black);

                &.font01 {
                    font-size: clamp(5.6rem, 8vw, 13.5rem);
                    font-family: var(--mplus1-font);
                    font-weight: 400;
                    position: relative;
                    z-index: 7;
                }
                &.font02 {
                    font-size: clamp(6.4rem, 10vw, 15.8rem);
                    font-family: var(--times-new-roman-font);
                    font-style: italic;
                    margin-left: -0.05em;
                    position: relative;
                    z-index: 7;
                }
                &.font03 {
                    font-size: clamp(1.6rem, 1.5vw, 2.4rem);
                    display: inline-flex;
                    flex-direction: column;
                    margin-top: clamp(40px, 12vh, 125px);
                    font-weight: 400;
                    position: relative;
                    z-index: 7;
                    @media (max-width: 820px) {
                        margin-top: -50px;
                        display: flex;
                        flex-direction: column;
                    }
                    span {
                        background: #fff;
                        padding: 0.4em 0.8em;
                        margin-bottom: 0.4em;
                        width: fit-content;

                    }
                }
            }
        }
    }

    /* --- Your X ペイント部分 --- */
    .paint_section {
  position: absolute;
  z-index: 5;

  /* Findの右側に重ねる位置 */
top: 62%;
            left: 33%;

  width: 100%;
  min-width: 300px;
  max-width: 746px;

  transform: translateY(-10%);

        &::before {
            content: "";
            display: block;
            padding-top: 39%;
            background: url(../img/common/bkg_a.svg) no-repeat center;
            background-size: contain;
            clip-path: inset(0 100% 0 0);
        }

        &.is-paint-revealed::before {
  animation: paintSweepReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 2.7s;
        }

        img {
            position: absolute;
            top: 50%;
            left: 40%;
            transform: translate(-50%, -50%);
            width: 67%;
            opacity: 0;
        }

        &.is-paint-revealed img {
  animation: paintImgFadeIn 0.5s ease forwards;
  animation-delay: 3.3s;
        }
    }

    /* --- 右側：ロゴ（X） --- */
    .block_right {
        position: absolute;
        right: -5%;
        top: 50%;
        transform: translateY(-50%);
        width: clamp(400px, 55vw, 946px);
        z-index: 12;

        @media (min-width: 1024px) {
            position: relative;
            top: auto;
            right: 0;
            transform: none;
            width: 50%;
            display: flex;
            justify-content: flex-end;
        }
        @media (max-width: 1024px) {
            right: -9%;
        }
       @media (max-width: 1023px)  {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 40px;

        display: flex;
        justify-content: center;
        align-items: center;
      }
      @media (max-width: 820px) {
        margin-top: -30px;
      }

        img.js-main-logo {
            width: 100%;
            height: auto;
            max-width: 946px;
            display: block;
            object-fit: contain;

            @media (min-width: 1500px) {
                width: 48vw;
            }
            @media (min-width: 1024px) {
                max-width: none;
                margin-right: -10vw;
            }
            @media (max-width: 1490px) {
                width: 53vw;
            }
            @media (max-width: 1024px) {
            width: 92vw;
            max-width: 540px;
            margin: 0 auto;
            }
        @media (max-width: 767px) {
          width: 83vw;
          max-width: none;
        }
        }
    }
}

@keyframes paintSweepReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes paintImgFadeIn { to { opacity: 1; } }
    .mv_scroll_indicator{
        position: absolute;
        left: 15px;
        bottom: 30px;
        z-index: 90;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
        color: var(--fontcolor-black2);
        pointer-events: none;
        @media (max-width: 767px) {
            bottom: 60px;
        }
    }

    .mv_scroll_text{
        order: 2;
        font-family: var(--mplus1-font);
        font-size: 1.3rem;
        font-weight: 400;
        letter-spacing: 0.06em;
        line-height: 1.5;
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }

    .mv_scroll_line{
        order: 1;
        position: relative;
        width: 1px;
        height: clamp(44px, 8vh, 64px);
        background-color: var(--fontcolor-black2);
        overflow: visible;

        &::after{
            content: "";
            position: absolute;
            left: 50%;
            top: 0;
            width: 6px;
            height: 12px;
            background-color: var(--bgcolor-black);
            border-radius: 50vw;
            transform: translateX(-50%);
            animation: scrollSquareMove 0.85s linear infinite;
        }
    }
}

@keyframes scrollSquareMove {
    0% {
        top: 0;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 7px);
        opacity: 0;
    }
}
.js-logo-motion-clone {
  position: fixed;
  inset: auto auto 0 0;

  pointer-events: none;

  contain: layout paint;
  backface-visibility: hidden;
  transform: translateZ(0);

  max-width: none;
  max-height: none;
}
/* =====================
    各セクション
=============================================== */

/* === MESSAGE 住まいを超えて、理想の人生へ。 === */
.message-bg {
    @media (max-width: 767px) {
        background: #fff;
    }
    
}
.sec_message{
    position: relative;
    width: 100%;
    /* margin-top: -50px;  */
    z-index: 10; /* MVより上に重ねる */
    background: #181B39;
    background: linear-gradient(-180deg, rgba(24, 27, 57, 0) 0%, rgba(14, 15, 33, 0.4) 40%, rgba(0, 0, 0, 1) 100%);
    overflow: hidden;
    .bg_overlay{
        position: relative;
        isolation: isolate;
        width: 100%;
        min-height: 100vh;
        background: transparent;
        /* 重なった部分（150px分）の余白を調整 */
        padding-top: 50px;
        padding-bottom: 100px;
        @media (max-width: 1024px) {
            min-height: 50vh;
        }
        @media (max-width: 680px) {
            min-height: 100vh;
        }

        &::before {
            @media (max-width: 767px) {
                content: "";
                position: absolute;
                inset: 0;
                z-index: 2;
                background: linear-gradient(
                    180deg,
                    rgba(255,255,255,.55) 0%,
                    rgba(24,27,57,.2) 45%,
                    rgba(0,0,0,.75) 100%
                );
                pointer-events: none;
            }
        }

        .logo_message_slot{
            display: block;
            position: absolute;
            right: 0;
            top: 0;
            width: 0;
            height: 0;
            pointer-events: none;
            z-index: 0;
            @media (max-width: 1024px) {
                display: block;
                right: 0;
                top: 190px;
            }
        }

        img.js-main-logo{
            &.is-in-message{
            position: absolute;
            top: 0;
            right: -42vw;
            width: 120vw;
            max-width: none;
            height: auto;
            opacity: 0;
            z-index: 0 !important;
            mix-blend-mode: multiply;
            pointer-events: none;
                @media (max-width: 1024px) {
                    right: -48vw;
                    width: 135vw;
                }
            }
        }

        .row{
                position: relative;
                z-index: 5;
            p{
                color: var(--fontcolor-white);
                line-height: 2em;
            }
            .message_left_box{
                width: 60%;
                @media (max-width: 767px){
                    width: 100%;
                }
                p{
                    font-size: 1.8rem;
                    letter-spacing: 0.2rem;
                    @media (max-width: 767px){
                        font-size: 1.4rem;
                    }
                }
                h2.title {
                        font-size: 3.9rem;
    font-family: var(--mplus1-font);
    font-weight: 500;
    color: var(--fontcolor-white);
    line-height: 1;
    border-bottom: 2px solid var(--fontcolor-white);
    padding-bottom: 3px;
    margin: 0;
    display: inline-block;
    @media (max-width: 767px){
        font-size: 2rem;
    }
                }
                .main_title{
                    font-size: 6.4rem;
                    font-family: var(--main-font);
                    font-weight: bold;
                    padding: 60px 0;
                    line-height: 1.4;
                        color: var(--fontcolor-white); /* 基本は白文字 */
                            text-shadow: 0 0 20px rgba(0,0,0,0.3);
                            
                }
                .main_title_img_wrapper {
                    display: block;
                    width: 100%; /* 親要素(message_left_box)の幅いっぱい */
                    
                    /* clamp関数を使って、font-sizeのように可変させる */
                    /* デザイン（1600px時）での画像の幅を基準にする */
                    /* 例：デザインでの画像幅が 640px の場合 */
                    max-width: clamp(280px, 40vw, 640px); /* 320px幅で280px、1600px幅で640px、その間は40vw */
                    
                    /* 上下の余白（元のmain_titleのpadding: 60px 0を参考に調整） */
                    margin-top: clamp(30px, 3.75vw, 60px);
                    margin-bottom: clamp(30px, 3.75vw, 60px);
                    
                    img {
                        display: block;
                        width: 100%; /* ラッパーの幅に合わせて可変 */
                        height: auto; /* アスペクト比を維持 */
                    }
                }
                /*共通ボタン*/
                .common_btn_box{
                    margin-top: 60px;
                    @media (max-width: 767px){
                        margin-top: 30px;
                    }
                }
            }
        }

        .message_txt_loop{
            --message-loop-width: 100%;
            --message-loop-duration: 40s;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            overflow: hidden;
            pointer-events: none;
            z-index: 4;

            .message_txt_track{
display: flex;
    width: max-content;
    will-change: transform;
    animation: messageTxtLoop var(--message-loop-duration, 40s) linear infinite;
            }
            .message_txt_item{
            display: inline-block; /* 幅を正しく計算するために必要 */
                white-space: nowrap;   /* 改行防止 */
                padding-right: 1em;    /* 文字同士の間隔（デザインに合わせて調整） */
                font-family: var(--mplus1-font); /* デザインとフォントを合わせる */
                font-size: 20rem;
                line-height: 1;
                color: rgba(255,255,255,0.5);
                font-weight: bold;
                opacity: .1;
                @media (max-width: 767px) {
                    font-size: 10rem;
                }
            }
        }
    }
}
.js-logo-motion-clone {
  opacity: 0;
  will-change: left, top, width;
    z-index: 1 !important;
  pointer-events: none;
}
/* .jiji-star {
  animation: jiji-jiji 2s linear infinite;
}
  @keyframes jiji-jiji {
    0%, 85% { transform: scale(1.1) translate(0, 0); }
    88% { transform: scale(1.1) translate(1px, 1px); }
    91% { transform: scale(1.1) translate(-1px, -1px); }
    94% { transform: scale(1.1) translate(-1px, 1px); }
    97% { transform: scale(1.1) translate(1px, -1px); }
    100% { transform: scale(1.1) translate(0, 0); }
  }
@keyframes messageTxtLoop {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-1 * var(--message-loop-width))); }
} */

  /* -----------------------------------
     パターン3: ショート・バチバチ系（派生B）
     （一瞬の拡大縮小と、強い発光・影で放電感を強調）
  ------------------------------------ */
  .pattern3 {
    animation: short-circuit 2.8s infinite;
  }
  @keyframes short-circuit {
    0%, 6%, 100% { transform: scale(1) translate(0, 0); filter: none; }
    1% { transform: scale(1.03) translate(2px, -2px); filter: brightness(1.8) drop-shadow(0 0 10px rgba(0,0,150,0.8)); }
    2% { transform: scale(0.97) translate(-3px, 3px); filter: brightness(0.8); }
    3% { transform: scale(1.05) translate(4px, 0px); filter: brightness(2) drop-shadow(0 0 15px rgba(0,0,150,1)); }
    4% { transform: scale(0.98) translate(-2px, -4px); filter: brightness(1.2); }
    5% { transform: scale(1.02) translate(1px, 2px); filter: brightness(1.5) drop-shadow(0 0 5px rgba(0,0,150,0.5)); }
  }


.sec_business {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;

  @media screen and (max-width: 767px) {
    padding: 35px 0 30px;
  }

  .row {
    position: relative;
    z-index: 1;

    @media screen and (max-width: 767px) {
      width: 100%;
      margin: 0 auto;
    }
  }

  .title {
    display: none;

    @media screen and (max-width: 767px) {
      display: block;
      margin: 0 0 15px;
      color: #333;
      font-size: 4.8rem;
      font-weight: 700;
      line-height: 1;
      letter-spacing: .02em;
      border-bottom: 3px solid #333;
      width: fit-content;
      padding-bottom: 4px;
    }
  }

  .business_contents_box {
    display: grid;
    grid-template-columns: 118px 1fr;
    grid-template-areas:
      "side top"
      "side bottom";
    column-gap: 10px;
    row-gap: 31px;
    align-items: start;

    @media screen and (max-width: 767px) {
      display: block;
    }
  }

  .item-1 {
    grid-area: side;
    position: relative;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    color: #383838;

    @media screen and (max-width: 767px) {
      display: none;
    }

    &::before {
      content: "";
      position: absolute;
      left: -5px;
      top: 1px;
      width: 4px;
      height: 610px;
      background: #333;
    }
  }

  .item-2 {
    grid-area: top;
  }

  .item-3 {
    grid-area: bottom;

    @media screen and (max-width: 767px) {
      margin-top: 32px;
    }
  }

  .business_heading {
    margin-bottom: 35px;
    color: var(--bgcolor-darkblue);
    font-size: 3.3rem;
    font-weight: 500;
    line-height: 1;

    @media screen and (max-width: 767px) {
      margin-bottom: 40px;
      font-size: 2rem;
    }
  }

  .business_card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 37px;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;

    @media screen and (max-width: 767px) {
      height: 270px;
      padding: 46px 30px;
      border-radius: 5px;
    }

    &::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      transform: scale(1);
      transition: transform 1s cubic-bezier(.22,1,.36,1);
    }

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(17, 24, 48, .45);
      z-index: 1;
      transition: .4s;

      @media screen and (max-width: 767px) {
        background: rgba(17, 24, 48, .1);
      }
    }

    > span {
      position: relative;
      z-index: 2;
    }

    &:hover {
      opacity: 1;

      &::after {
        transform: scale(1.12);
      }

      &::before {
        background: rgba(17, 24, 48, .35);
      }
    }
  }

  .business_card-estate {
    &::after {
      background-image: url("../img/top/business_card01_notext.png");

      @media screen and (max-width: 767px) {
         background-image: url("../img/top/business_card01_notext_sp.png");
        background-position: center center;
      }
    }
  }

  .business_card-options {
    &::after {
      background-image: url("../img/top/business_card02_notext.png");

      @media screen and (max-width: 767px) {
        background-image: url("../img/top/business_card02_notext_sp.png");
        background-position: center center;
      }
    }
  }

  .business_card_en {
    margin-bottom: 17px;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    color: rgba(255,255,255, .5);
    letter-spacing: .02em;

    @media screen and (max-width: 767px) {
      margin-bottom: 11px;
      font-size: 1.1rem;
      color: rgba(255,255,255, .7);
    }
  }

  .business_card_ja {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .03em;

    @media screen and (max-width: 767px) {
      font-size: 2.2rem;
      line-height: 1.3;
    }
  }

  .business_card_arrow {
    position: absolute !important;
    right: 18px;
    bottom: 37px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 50%;

    @media screen and (max-width: 767px) {
      right: 28px;
      bottom: 28px;
      width: 37px;
      height: 37px;
    }

    &::before {
      content: "";
      position: absolute;
      inset: 0;
    }
  }

  .paint-stroke {
    position: absolute;
    top: 0;
    right: -40px;
    width: 620px;
    z-index: 0;
    pointer-events: none;

    @media screen and (max-width: 767px) {
      top: 69px;
      right: -210px;
      width: 460px;
    }

    img {
      display: block;
      width: 100%;
      height: auto;
      opacity: 0;
      clip-path: polygon(
        0 0,
        0 0,
        0 100%,
        0 100%
      );
    }

    &.is-active {
      img {
        animation: paintTrace 1.1s cubic-bezier(.65, 0, .25, 1) forwards;
      }
    }
  }
}
@keyframes paintTrace {
  0% {
    opacity: 1;
    clip-path: polygon(
      0 0,
      0 0,
      0 100%,
      0 100%
    );
  }

  35% {
    opacity: 1;
    clip-path: polygon(
      0 0,
      58% 0,
      38% 55%,
      0 55%
    );
  }

  65% {
    opacity: 1;
    clip-path: polygon(
      0 0,
      100% 0,
      72% 62%,
      0 72%
    );
  }

  100% {
    opacity: 1;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 100%
    );
  }
}
/* .sec_business{
    width: 100%;
    background-color: var(--bgcolor-white);
    .row{
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        padding: 0;
        padding-block: clamp(5rem, 10.3vw, 10.3125rem); 
        &::before{
            content: "";
            position: absolute;
            inset: 0;
            background-image: url(../img/common/sec_business_bg_1x.png);
            background-position: right top;
            background-repeat: no-repeat;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.08s linear;
        }
        &::after{
            content: "";
            position: absolute;
            inset: -40%;
            background: #fff;
            opacity: 0;
            pointer-events: none;
            clip-path: polygon(0 0, 100% 0, 100% 58%, 0 100%);
            will-change: transform, opacity;
        }
        &.is-bg-painted{
            &::before{
                opacity: 1;
            }
            &::after{
                opacity: 1;
                animation: businessMaskRelease 2.4s cubic-bezier(0.22, 0.8, 0.24, 1) forwards;
            }
        }
.sec_business_inner {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    padding: 0 clamp(16px, 4vw, 40px);
    margin: 0 auto;
}

.sec_business_inner .business_contents_box {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: clamp(28px, 3.2vw, 60px);
    width: 100%;
    height: auto;
    position: relative;
}

@media (min-width: 1024px) {
.sec_business_inner .business_contents_box {
        grid-template-columns: auto 1fr; 
        grid-template-rows: repeat(2, 1fr);
        column-gap: clamp(60px, 10vw, 120px); 
        row-gap: clamp(28px, 3.2vw, 60px);
    }

    .sec_business_inner .business_contents_box .item-1 {
        grid-area: 1 / 1 / 3 / 2;
        padding-left: 20px; 
    }
    
    .sec_business_inner .business_contents_box .item-2 { 
        grid-area: 1 / 2 / 2 / 3; 
    }
    
    .sec_business_inner .business_contents_box .item-3 { 
        grid-area: 2 / 2 / 3 / 3; 
    }
}

.sec_business_inner .business_contents_box > * {
    grid-area: auto;
}

.sec_business_inner .business_contents_box .item-1 {
    font-family: var(--mplus1-font);
    font-weight: 700;
    writing-mode: vertical-rl;
    line-height: 1;
    font-size: 19vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-transform: uppercase;
    border-left: 8px solid #363636;
}

.sec_business_inner .business_contents_box .item-sp-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-family: var(--mplus1-font);
    font-weight: 800;
    font-size: clamp(8rem, 25vw, 15rem);
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: -1;
    pointer-events: none;
    text-transform: uppercase;
}

.sec_business_inner .business_contents_box .item-2,
.sec_business_inner .business_contents_box .item-3 {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3.2vw, 60px);
    min-width: 0;
}

.sec_business_inner .business_contents_box .business_heading {
    font-family: var(--main-font);
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--fontcolor-black2);
    line-height: 1.2;
    margin: 0;
    width: fit-content;
}

.sec_business_inner .business_contents_box .business_card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    aspect-ratio: 335 / 210;
    padding: clamp(28px, 3.8vw, 60px);
    padding-right: clamp(110px, 14vw, 220px);
    color: var(--fontcolor-white);
    text-decoration: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    transition: transform 0.25s ease;
}

@media (min-width: 1024px) {
    .sec_business_inner .business_contents_box .business_card {
        aspect-ratio: 1930 / 495;
    }
}

.sec_business_inner .business_contents_box .business_card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 30, 52, 0.46);
    z-index: -1;
    transition: background 0.25s ease;
}

.sec_business_inner .business_contents_box .business_card:hover {
    transform: translateY(-4px);
}

.sec_business_inner .business_contents_box .business_card:hover::before {
    background: rgba(16, 30, 52, 0.36);
}

.sec_business_inner .business_contents_box .business_card .business_card_en,
.sec_business_inner .business_contents_box .business_card .business_card_ja {
    display: block;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.sec_business_inner .business_contents_box .business_card .business_card_en {
    font-family: var(--mplus1-font);
    font-size: clamp(1.1rem, calc(0.82rem + 0.719vw), 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.03em;
    margin-bottom: clamp(10px, 1.1vw, 18px);
    white-space: normal;
}

.sec_business_inner .business_contents_box .business_card .business_card_ja {
    font-family: var(--mplus1-font);
    font-size: clamp(1.8rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.02em;
    max-width: calc(100% - clamp(60px, 12vw, 180px));
}

.sec_business_inner .business_contents_box .business_card .business_card_arrow {
    position: absolute;
    right: clamp(24px, 3.2vw, 48px);
    bottom: clamp(24px, 3.2vw, 40px);
    width: clamp(48px, 10vw, 80px);
    height: clamp(48px, 10vw, 80px);
    margin: 0;
    z-index: 1;
}

.sec_business_inner .business_contents_box .business_card-estate {
    background-image: url(../img/common/business_card01_notext.png);
}

.sec_business_inner .business_contents_box .business_card-options {
    background-image: url(../img/common/business_card02_notext.png);
}

@media (max-width: 1023px) {
    .sp_hide { display: none !important; }
}
@media (min-width: 1024px) {
    .sp_over_hide { display: none !important; }
}
    }
}*/

@keyframes paintSweepReveal {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0% 0 0); }
}

@keyframes paintImgFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes businessItemFadeDown {
    from {
        opacity: 0;
        transform: translate3d(0, -36px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes businessMaskRelease {
    0% {
        opacity: 1;
        transform: translate3d(-14%, -14%, 0);
    }
    82% {
        opacity: 1;
        transform: translate3d(68%, 68%, 0);
    }
    100% {
        opacity: 0;
        transform: translate3d(74%, 74%, 0);
    }
} 

/* === WORKS 実績 === */
.sec_works{
    width: 100%;
    /*height: 100vh;*/
    background-image: url(../img/common/sec_works_bg.jpg);
    background-repeat: repeat-x;
    background-position: left top;
    background-size: contain;
    .sec_works_innerbg{
        width: 100%;
        background-image: url(../img/common/sec_works_innerbg_bg.png);
        background-repeat: no-repeat;
        background-position: right 30px;
        padding-bottom: clamp(80px, 5.882vw + 57.059px, 170px);
        @media (max-width: 1024px) {
            background-size: 488px auto;
        }
        @media (max-width: 767px) {
            background-size: 288px auto;
             background-position: right 0;
        }
        .row{
            .title{
                margin-bottom: 60px;
                @media (max-width: 820px) {
                    margin-bottom: 25px;
                }
    font-size: 3.9rem;
    font-family: var(--mplus1-font);
    font-weight: 500;
    color: var(--fontcolor-white);
    line-height: 1;
    border-bottom: 2px solid var(--fontcolor-white);
    padding-bottom: 3px;
    display: inline-block;
    @media (max-width: 767px){
        font-size: 2rem;
    }
            }
            p{
                color: var(--fontcolor-white);
                font-size: 1.8rem;
                @media (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 1.9;
                }
            }
        }
    }
}

/* === WORKS Splideスライダー カスタム === */
.splide_works {
  width: calc(100vw - max(20px, calc((100vw - 1600px) / 2)));
  margin-left: max(20px, calc((100vw - 1600px) / 2));
  position: relative;
  padding-bottom: 150px;
  overflow: visible;
}

.work-card__link {
  display: block;
  color: inherit;
  text-decoration: none;

}
.splide_works .splide__track {
    overflow: hidden;
}
.work-card__img {
    position: relative;
      aspect-ratio: 1 / 1.28;
  overflow: hidden;
  border-radius:10px;
    img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s ease;
    border-radius: 10px;
    }
    &::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 145px;
    background: linear-gradient(
        -180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(0, 0, 0, 1) 100%
    );
    pointer-events: none;
    border-radius: 0 0 10px 10px;
    }
}

.splide_works .splide__slide img {
  width: 100%;
  aspect-ratio: 360 / 480;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.work-card__link:hover .work-card__img img {
  transform: scale(1.06);
}
.work-card__soldout {
  position: absolute;
  top: 20px;
  right: 20px;
  max-width: 125px;
  width: 100%;
  height: 33px;
  border-radius: 30px;
  background: #363D87;
  color: var(--fontcolor-white);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-family: var(--mplus1-font);
  font-weight: 500;
  letter-spacing: 0.04em;
  z-index: 2;
  @media (max-width: 820px) {
      line-height: 1.1;
    top: 10px;
    right: 10px;
    max-width: 100px;
    height: 25px;
    font-size: 1.3rem;
  }
}
.work-card__title {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 13px 14px 20px;
  color: var(--fontcolor-white);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  z-index: 2;
  @media (max-width: 767px) {
    font-size: 1.4rem;
  }
}

/* 矢印ラッパー：コンテンツ幅1600pxの左端に横並びで配置 */
.splide_works .splide__arrows {
  position: absolute;
  bottom: 20px;
  left: 0;
  display: flex;
  gap: 12px;
  z-index: 2;
}

.splide_works .splide__arrow {
    position: static;
    transform: none;
    width: 80px;
    height: 80px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border: none;
    border-radius: 0;
    opacity: 1;
    @media (max-width: 820px) {
        width: 70px;
        height: 70px;
    }
    @media (max-width: 767px) {
        width: 57px;
        height: 57px;
        opacity: .5;
    }
}

.splide_works .splide__arrow:hover {
    background-color: transparent;
    opacity: 1;
}

.splide_works .splide__arrow svg {
    display: none;
}

.splide_works .splide__arrow--prev {
    background-image: url(../img/common/btn_arrow_white_left.svg);
}

.splide_works .splide__arrow--next {
    background-image: url(../img/common/btn_arrow_white.svg);
}

.splide_works .splide__arrow--prev,
.splide_works .splide__arrow--next {
    left: auto;
    right: auto;
}

.splide_works .works_more_link {
  position: absolute;
  bottom: 20px;
  right: max(20px, calc((100vw - 1600px) / 2));
  z-index: 2;
}

/* === NEWS お知らせ === */
.sec_news{
    width: 100%;
    height: auto;
    background-color: var(--bgcolor-white);
    .row {
        padding-top: 170px;
        padding-bottom: 170px;
        @media (max-width: 767px) {
            padding-top: 100px;
            padding-bottom: 100px;
        }
    }
    .sec_news_inner{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        @media (max-width: 767px) {
            flex-direction: column;
        }
        .sni_left{
            width: 40%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            align-self: stretch;
            @media (max-width: 767px) {
                width: 100%;
            }
            .title{
                display: inline-block;
                line-height: 1;
                margin-bottom: 20px;
                border-bottom: 5px solid var(--fontcolor-black2);
                padding-bottom: 3px;
                @media (max-width: 767px) {
                    border-bottom: 3px solid var(--fontcolor-black2);
                }
            }
            .subtitle{
                font-size: 2.7rem;
                @media (max-width: 767px) {
                    font-size: 2rem;
                }
            }
            /* もっと見るボタン：下部に配置 */
            .common_btn_box{
                margin-top: auto;
            }
        }
        .sni_right{
            flex: 1;
            @media (max-width: 767px) {
                padding-top: 50px;
            }
        }

        .news_list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        text-decoration: none;
        transition: opacity 0.3s ease;
        border-top: 1px solid #d3d3d3;
        padding: 35px 20px;
        &:nth-of-type(3) {
            border-bottom: 1px solid #d3d3d3;
            margin-bottom: 50px;
        }

        @media (max-width: 767px) {
            padding: 17px 0;
            gap: 16px;
        }
        }
        .news_list__body {
            flex: 1;
            min-width: 0;
            transition: transform 0.3s ease;
        }

        .news_list__date {
            display: block;
            margin-bottom: 9px;
            line-height: 1;
            letter-spacing: 0.02em;
            color: #A6AFB5;
            @media (max-width: 767px) {
                font-size: 1.3rem;
            }
        }

       .news_list__title {
            margin: 0;
            font-family: var(--main-font);
            font-size: 2rem;
            font-weight: 500;
            line-height: 1.45;
            letter-spacing: 0.04em;
            color: #393939;
            display: -webkit-box; /* 必須 */
            -webkit-box-orient: vertical; /* 必須 */
            -webkit-line-clamp: 1; /* 行数を制限 */
            overflow: hidden; /* はみ出た部分を非表示 */
            @media (max-width: 767px) {
                font-size: 1.5rem;
                font-weight: 400;
            }
        }

            .news_list__arrow {
            position: relative;
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;

            background-image: url("../img/news/news-arrow.png");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;

            transition: background-image .3s ease;

            width: 24px;
            height: 20px;

            @media (max-width: 820px) {
                width: 20px;
                height: 16px;
            }

            @media (max-width: 767px) {
                width: 15px;
                height: 10px;
            }

            img {
                width: 100%;
                height: 100%;
                display: block;
                transition: opacity .3s ease;
            }

            &::before {
                content: "";
                position: absolute;
                inset: 0;

                background: url("../img/news/news-arrow_blue.svg") center / contain no-repeat;

                opacity: 0;
                transition: opacity .3s ease;
            }
            }


        .common_btn_box {
            display: flex;
            justify-content: flex-end;
            font-weight: 600;
        }
    }
}
.news_list:hover {
    opacity: 1;
    .news_list__body {
        transform: translateX(13px);
    }
    .news_list__title {
        color: var(--main-color);
    }
  .news_list__arrow {
    background-image: url("../img/news/news-arrow_blue.svg");
  }
}

/* === 何者かになりたい、すべての人へ。 === */
.sec_people{
    width: 100%;
    /*height: 100vh;*/
    background-image: url(../img/common/sec_people_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    .row{
        p{
            color: var(--fontcolor-white);
        }
        .sec_people_contents{
            text-align: center;
            img{
                display: block;
                width: 55%;
                height: auto;
                margin: 0 auto;
                    @media (max-width: 767px) {
                        width: 80%;
                    }
            }
            .txt01{
                /* clamp(最小値, 推奨可変値, 最大値) */
                font-size: clamp(2.4rem, 2.5vw, 4.8rem);
                font-weight: bold;
                font-family: var(--main-font);
                padding-top: clamp(40px, 4.1vw, 80px);
            }
            .txt02{
                font-size: 1.8rem;
                line-height: 1.8;
                /* clamp(最小値, 推奨値, 最大値) */
                padding-top: clamp(40px, 4.1vw, 80px);
                padding-bottom: clamp(40px, 4.1vw, 80px);
                @media (max-width: 767px) {
                    font-size: 1.4rem;
                    line-height: 2;
                    text-align: left;
                    letter-spacing: 0.1rem;
                }
            }
            .txt01 {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                gap: 0.15em;

                color: #fff;
                font-weight: 700;
                font-size: clamp(2.1rem, 5vw, 4.2rem);
                line-height: 1.2;
                letter-spacing: 0.03em;
                    @media (max-width: 767px) {
      display: flex;
      flex-direction: column;
      align-items: center;
      line-height: 1.45;
    }
            }

            .quote-text {
            position: relative;
            display: inline-flex;
            align-items: center;
            img {
                opacity: 0.5;
            }
            }

            .quote-main {
            display: inline-block;
            }

.quote-icon {
  width: 0.42em;
  height: 0.42em;
  display: inline-block;
  position: relative;

  background-color: rgba(255, 255, 255, 0.28);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.quote-icon--left {
  margin-right: 0.12em;
  top: -0.28em;

  -webkit-mask: url("../img/top/icon-left.png") no-repeat center / contain;
  mask: url("../img/top/icon-left.png") no-repeat center / contain;
}

.quote-icon--right {
  margin-left: 0.12em;
  top: 0.28em;

  -webkit-mask: url("../img/top/icon-right.png") no-repeat center / contain;
  mask: url("../img/top/icon-right.png") no-repeat center / contain;
}
  .quote-line01 {

    @media (max-width: 767px) {
      display: inline-flex;
      align-items: center;
      gap: 0.08em;
      flex-wrap: nowrap;
    }
  }

  .quote-line02 {

    @media (max-width: 767px) {
      display: block;
    }
  }

            .quote-sub {
            display: inline-block;
            }
        }
    }

    &.is-people-reveal-ready{
        .sec_people_contents{
            img{
                opacity: 0;
                filter: blur(10px);
                transform: translate3d(0, 12px, 0) scale(1.015);
            }
        }
    }

    &.is-people-revealed{
        .sec_people_contents{
            img{
                animation: peopleImageFadeIn 0.45s cubic-bezier(0.2, 0.75, 0.28, 1) forwards;
            }
        }
    }
}

/* マーキー（テキストループ） */
/* 外側の枠：画面幅いっぱいに表示 */
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: transparent;
  padding: 20px 0;
  border-top: 1px solid var(--bgcolor-white);
  border-bottom: 1px solid var(--bgcolor-white);

  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-loop 15s linear infinite;
    will-change: transform;
  }

  .marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  span {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-family: var(--mplus1-font);
    font-weight: 100;
    font-size: 3rem;
    color: var(--bgcolor-white);
    white-space: nowrap;

    &::after {
      content: "・";
      display: inline-block;
      margin: 0 24px;
      line-height: 1;
    }

    @media (max-width: 767px) {
      font-size: 2rem;

      &::after {
        margin: 0 16px;
      }
    }
  }
}

@keyframes marquee-loop {
  from {
    transform: translateX(0);
  }

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

/* ========================================
People image fade
======================================== */

@keyframes peopleImageFadeIn {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 12px, 0) scale(1.015);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}


/* =====================
    Footer
=============================================== */
#footer{
    width: 100%;
    padding-block: clamp(5rem, 10.3vw, 10.3125rem); 
    background: #181B39;
    background: linear-gradient(-180deg, rgba(24, 27, 57, 1) 0%, rgba(18, 19, 26, 1) 100%);
    .footer_inner{
        max-width: 1600px;
        padding: 0 clamp(16px, 4vw, 40px);
        margin: 0 auto;
        .footer_contact_area{
            display: flex;
            justify-content: space-between;
            align-items: center;
            @media (max-width: 767px) {
                flex-direction: column;
            }
            .text_area {
                @media (max-width: 767px) {
                    text-align: center;
                }
            }
            p{
                font-size: 1.8rem;
                color: var(--fontcolor-white);
                @media (max-width: 767px) {
                    font-size: 1.4rem;
                }
                &.font01{
                    font-size: clamp(4.8rem, 4.24vw + 3.21rem, 10rem);
                    font-family: var(--mplus1-font);
                    font-weight: 700;
                    line-height: 1;
                    padding-bottom: 30px;
                    span{
                        color:var(--fontcolor-darkblue);
                        line-height: 1;
                    }
                    @media (max-width: 767px) {
                        line-height: 1.1;
                    }
                }
            }
            /* リンクボタン */
            .circle_area{
                width: 10.25%;
                display: flex;
                align-items: center;
                justify-content: center;
                aspect-ratio: 1 / 1;
                @media (max-width: 767px) {
                    width: 100px;
                    height: 100px;
                    margin-top: 50px;
                }
                a{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    height: 100%;
                    background-color: var(--bgcolor-white);
                    width: 100%;
                    border-radius: 50%;
                    img{
                        display: block;
                        width: 35px;
                        height: 43px;
                    }
                }
            }
        }
        .footer_contents{
            margin-top: 100px;
            padding-top: 100px;
            border-top: 1px solid #8a8b93;
            display: flex;
            justify-content: space-between;
            align-items: center;
            @media (max-width: 1024px) {
                padding-top: 50px;
                margin-top: 50px;
                flex-direction: column;
            }
            p,a{
                color: var(--fontcolor-white);
                @media (max-width: 1024px) {
                    text-align: center;
                }
                @media (max-width: 767px) {
                    font-size: 1.4rem;
                }
            }

            .logo_area {
                @media (max-width: 1024px) {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    margin-bottom: 30px;
                }
                @media (max-width: 767px) {
                    margin-bottom: 0;
                }
                a {
                    display: block;
                    margin-bottom: 20px;
                }
            }
            .footer_menu{
                display: flex;
                flex-direction: column;
                align-items: center;

                .footer_link{
                    display: flex;
                    align-items: center;
                    column-gap: 30px;
                    li{
                        a{
                            display: block;
                            width: 100%;
                            text-align: center;
                            font-weight: 500;
                        }
                    }
                        @media (max-width: 767px) {
                            display: none;
                        }
                }
                .policy_and_copy{
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    margin: 35px auto 0 auto;
                    @media (max-width: 767px) {
                        flex-direction: column;
                        gap: 35px;
                    }
                    li{
                        font-size: 1.3rem;
                        color: var(--fontcolor-white);
                        a{
                            text-decoration: underline;
                            &:hover{
                                text-decoration: none;
                            }
                        }
                        &.c-mark {
                            opacity: .5;
                        }
                    }
                }
            }
        }
    }
}

/* アニメーション */
.js-blur-text span {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.05);
}

.js-blur-text.is-active span {
  animation: blurIn 0.8s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

@keyframes blurIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* 下からふわっと出るアニメーション */
.js-fade-up {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);

  transition:
    opacity .9s cubic-bezier(.22,1,.36,1),
    transform .9s cubic-bezier(.22,1,.36,1),
    filter .9s cubic-bezier(.22,1,.36,1);

  &.is-show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.mv_xceed_bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* =========================
   XCEED テキスト
========================= */

.mv_xceed_bg__marquee {
  position: absolute;

  /*
    vw依存を減らして
    どの画面幅でも位置が崩れにくい設計
  */

  left: 50%;
  top: 50%;

  width: 2200px;

  transform:
    translate(-50%, -50%)
    rotate(-14deg);

  transform-origin: center center;
}

.mv_xceed_bg__track {
  display: flex;
  width: max-content;

  animation: xceedLoop 28s linear infinite;
}

.mv_xceed_bg__track span {
  display: inline-block;

  padding-right: 0.34em;

  opacity: 0.28;

  font-family: var(--mplus1-font);

  /*
    clampやvwをやめて固定寄りに
    ↓
    線との位置関係がズレにくい
  */

  font-size: 220px;

  font-weight: 400;

  line-height: 1;

  letter-spacing: 0.035em;

  color: #fff;

  white-space: nowrap;
}

/* =========================
   ライン共通
========================= */

.mv_xceed_bg__line {
  position: absolute;

  background: #71FFC4;

  background:
    linear-gradient(
      95deg,
      rgba(113,255,196,1) 0%,
      rgba(255,255,255,1) 100%
    );
}

/* =========================
   下ライン
========================= */

.mv_xceed_bg__line--01 {
  position: absolute;

  /*
    テキストとの位置関係を固定
  */

  left: 50%;
  top: 47%;

  width: 2200px;
  height: 2px;

  transform:
    translate(-50%, 170px)
    rotate(-14deg);

  transform-origin: center center;
}

/* =========================
   交差ライン
========================= */

.mv_xceed_bg__line--02 {
  position: absolute;

  left: 50%;
  top: 0;

  width: 2px;
  height: 2000px;

  transform:
    translate(560px, -520px)
    rotate(-44deg);

  transform-origin: center center;
}

/* =========================
   ループ
========================= */

@keyframes xceedLoop {

  from {
    transform: translateX(0);
  }

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

/* =========================
   SP
========================= */

@media (max-width: 1023px) {

  .mv_xceed_bg__marquee {
    width: 1700px;
  }

  .mv_xceed_bg__track span {
    font-size: 150px;
  }

  .mv_xceed_bg__line--01 {
    width: 1700px;

    transform:
      translate(-50%, 115px)
      rotate(-14deg);
  }

  .mv_xceed_bg__line--02 {

        height: 3100px;
        transform: translate(380px, -910px) rotate(-38deg);

  }
}

@media (max-width: 767px) {

  .mv_xceed_bg__marquee {
    width: 1300px;
    top: 67%;
  }

  .mv_xceed_bg__track span {
    font-size: 110px;
  }

  .mv_xceed_bg__line--01 {
    width: 1300px;

    transform:
      translate(-50%, 212px)
      rotate(-14deg);
  }

  .mv_xceed_bg__line--02 {

    height: 1300px;
    left: -150px;
    transform:
      translate(290px, -300px)
      rotate(-38deg);
  }
}