

/* -------------------------------------- */
/* ---------- 共通 スタイル ---------- */
/* -------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  color: #111111;
  background-color: #F7F7F7;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  margin: 0;
}

img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #111111;
}

p{
  line-height: 1.5;
}


.en{
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.sec_inner{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.sec_title_wrap{
  width: 100%;
  padding: 0 0 36px;
  border-bottom: 1px solid #B6B3B3;
}

.sec_title{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 0;
}
.sec_title .title_en{
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1;
}
.sec_title .title_jp{
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  color: #b4001b;
  position: relative;
  line-height: 1;
  padding-left: 48px;
}
.sec_title .title_jp::before{
  position: absolute;
  content: "";
  width: 30px;
  height: 1px;
  background: #b4001b;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  
}

@media(max-width: 767px){
  .sec_title_wrap{
    padding: 0 0 24px;
  }
}



/* ボタン */
.primary_btn a {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    width: 200px;
    padding-bottom: 8px;
  }
  
  .primary_btn a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    left: 0;
    bottom: -0.5em;
    background: #fff;
    transform: scaleX(1);
    transform-origin: right center;
  }
  
  /* VIEW MOREテキスト */
  .primary_btn a span {
    font-size: 18px;
    letter-spacing: 0.05em;
    line-height: 1;
  }
  
  /* アニメーション定義 */
  @keyframes btnline {
    0% {
      transform: scaleX(1);
      transform-origin: right center;
    }
  
    50% {
      transform: scaleX(0);
      transform-origin: right center;
    }
  
    50.1% {
      transform: scaleX(0);
      transform-origin: left center;
    }
  
    100% {
      transform: scaleX(1);
      transform-origin: left center;
    }
  }
  
  /* hoverでbeforeアニメーション */
  .primary_btn a:hover::before {
    animation: btnline 0.5s ease-in-out;
  }


  /* js アニメーション */
.js-fadein-only,
.js-fadein-up,
.js-fadein-left {
  opacity: 0;
  will-change: transform, opacity;
}

.js-colorwave span {
    color: #111;
    display: inline-block;
  }





/*ページネーション*/
.pagination{
    text-align: center;
}

.pagination .nav-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.nav-links .page-numbers.next, .nav-links .page-numbers.prev{
    color: #B4001B;
}

.nav-links .page-numbers.current{
    background-color: #B4001B;
    color: #fff;
    padding: 0.5em 0.8em;
    border-radius: 4px;
}







/* -------------------------------------- */
/* ---------- 固定ページ 共通スタイル ---------- */
/* -------------------------------------- */

#page_title_header{
    width: 100vw;
    padding: 280px 5.555vw 0;
    position: relative;
}

#page_title_header h1{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

#page_title_header h1 .page_title_en{
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
}

/*デフォルト固定ページのタイトル*/
#page_title_header .def_page_title{
    font-size: clamp(32px, 2.777vw, 40px);
    color: #B4001B;
}

#page_title_header h1 .page_title_jp{
    font-size: clamp(14px, 1.25vw, 18px);
    color: #b4001b;
    font-weight: 400;
    position: relative;
    line-height: 1;
    padding-left: 2.875em;
}

#page_title_header h1 .page_title_jp::before{
    position: absolute;
    content: "";
    width: 30px;
    height: 1px;
    background: #b4001b;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.page_title_header_path_wrap{
    width: 100vw;
    aspect-ratio: 1440 / 321;
    position: absolute;
    bottom: -130px;
    left: 0;
}

.page_title_header_path{
    width: 100%;
    height: 100%;
}

.page_title_header_path_wrap.sp{
    display: none;
}

#page{
    margin: 160px 0 240px;
    padding: 0 5.555vw;
}

@media(max-width: 767px){
    #page{
        margin-top: 80px;
    }
}




 @-webkit-keyframes animate-svg-stroke-1 {
    0% {
      stroke-dashoffset: 2110.7412109375px;
      stroke-dasharray: 2110.7412109375px;
    }
  
    100% {
      stroke-dashoffset: 0;
      stroke-dasharray: 2110.7412109375px;
    }
  }
  
  @keyframes animate-svg-stroke-1 {
    0% {
      stroke-dashoffset: 2110.7412109375px;
      stroke-dasharray: 2110.7412109375px;
    }
  
    100% {
      stroke-dashoffset: 0;
      stroke-dasharray: 2110.7412109375px;
    }
  }
  
  .page_title_header_path {
    -webkit-animation: animate-svg-stroke-1 1.8s ease-out 0s both;
            animation: animate-svg-stroke-1 1.8s ease-out 0s both;
  }

  /* 固定ページタイトルヘッダー 画面サイズ767px以下 */
  @media(max-width: 767px){
    #page_title_header{
        padding-top: 196px;
    }

    .page_title_header_path_wrap.pc{
        display: none;
    }

    .page_title_header_path_wrap.sp{
        display: block;
        width: 100vw;
        aspect-ratio: 393 / 130;
        position: absolute;
        bottom: -90px;
        left: 0;
    }


@-webkit-keyframes animate-svg-stroke-1 {
    0% {
      stroke-dashoffset: 679.246826171875px;
      stroke-dasharray: 679.246826171875px;
    }
  
    100% {
      stroke-dashoffset: 0;
      stroke-dasharray: 679.246826171875px;
    }
  }
  
  @keyframes animate-svg-stroke-1 {
    0% {
      stroke-dashoffset: 679.246826171875px;
      stroke-dasharray: 679.246826171875px;
    }
  
    100% {
      stroke-dashoffset: 0;
      stroke-dasharray: 679.246826171875px;
    }
  }
  
  .sp_page_title_header_path {
    -webkit-animation: animate-svg-stroke-1 1.8s ease-out 0s both;
            animation: animate-svg-stroke-1 1.8s ease-out 0s both;
  }
  
  }
  









/* -------------------------------------- */
/* ---------- ヘッダー スタイル ---------- */
/* -------------------------------------- */
.header {
    width: 100%;
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px 5.555vw;
    z-index: 900;
  }
  
  .header .header_logo{
    position: relative;
    z-index: 1100;
  }
  
  .header .header_logo a {
    aspect-ratio: 185 / 68;
    display: block;
    width: 12.84vw;
    max-width: 185px;
    min-width: 120px;
  }
  
  .header .header_nav {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
  }
  
  .header .nav_item {
    font-size: clamp(12px, 1.111vw, 16px);
  }

  .header .nav_item a{
    position: relative;
    transition: 0.3s;
  }

  .header .nav_item a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5em;
    width: 100%;
    height: 1px;
    background: #B4001B;
    transform: scale(0,1);
    transform-origin: left top;
    transition: transform 0.3s;
  }
 
  
  .header .nav_btn {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .header .nav_btn a {
    position: relative;
    width: 16.18vw;
    max-width: 223px;
    padding: 8px 16px;
    display: block;
    text-align: center;
    border-radius: 8px;
  }
  
  .header .nav_btn a span {
    font-size: clamp(14px, 1.11vw, 16px);
  }
  
  .header .nav_btn a svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.2s;
  }

  .header .nav_btn a:hover svg{
    right: 12px;
  }


    /*hover スタイル*/
    .header .nav_item a:hover{
        color: #B4001B;
        }

    .header .nav_item a:hover::after{
        transform: scale(1,1);
    }




 /* ▼ PC用 メガメニュー対応 */
.nav_item_dropdown {
    position: relative;
  }
  
  .nav_item_dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .nav_item_dropdown .dropdown_icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    display: inline-block;
    color: #B4001B;
  }
  
  
  /* メガメニュー本体 */
  .dropdown_menu {
    display: none;
    position: absolute;
    width: max-content;
    top: 100%;
    left: 0;
    background: #B4001B;
    padding: 16px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 999;
  }
  
  .nav_item_dropdown:hover .dropdown_menu {
    display: block;
  }
  
  /* 子メニューリスト */
  .dropdown_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .dropdown_menu li {
    margin-bottom: 12px;
  }
  
  .dropdown_menu li:last-child {
    margin-bottom: 0;
  }
  
  .dropdown_menu a {
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
    display: block;
    padding: 4px 0;
  }
  
  .nav_item.nav_item_dropdown .dropdown_menu a:hover {
    color: #fff;
    opacity: 0.8;
  }

  .nav_item.nav_item_dropdown .dropdown_menu a:hover::after{
    content: none;
  }
  




  
  /* お問い合わせボタンスタイル */
  .header .nav_btn .nav_contact {
    background-color: #b4001b;
  }
  
  .header .nav_btn .nav_contact span {
    color: #fff;
  }
  
  /* 資料請求ボタンスタイル */
  .header .nav_btn .nav_documents {
    background-color: #fff;
    border: 1px solid #b4001b;
  }
  
  .header .nav_btn .nav_documents span {
    color: #b4001b;
  }
  
  .sp_header {
    display: none;
    position: relative;
  }
  
  @media (max-width: 1200px) {
    .sp_header {
      display: block;
    }
    .header .header_nav {
      display: none;
    }
    .header .nav_btn {
      display: none;
    }
  }
  
  @media(max-width: 767px){
    .header{
      padding: 16px 24px;
    }
  }
  
  /* ----------SPメニュー---------- */
  
  /*ハンバーガーメニュー*/
  .hamburger-overlay {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  /*メニュー展開時 ロゴとハンバーガーメニューの白背景追加*/
  .nav-overlay__header-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130px; /* .headerの高さに合わせて調整 */
    background: #fff;
    z-index: 1001;
    pointer-events: none;
  }
  
  .hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #b4001b;
    transition: all .6s;
  }
  
  .hamburger-overlay__line:nth-of-type(1) { top: 14px; }
  .hamburger-overlay__line:nth-of-type(2) { top: 23px; }
  .hamburger-overlay__line:nth-of-type(3) { top: 32px; }
  
  .hamburger-overlay.active .hamburger-overlay__line {
    background-color: #b4001b;
  }
  
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
  }
  
  /* ======= 修正ここから ======= */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: all .6s;
    z-index: 900;
    overflow-y: auto; /* 全体がスクロール */
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-overlay.active {
    visibility: visible;
    opacity: 1;
  }
  
  .nav-overlay__content {
    margin-top: 80px;    /* ヘッダー分の余白。必要に応じて調整 */
    margin-bottom: 32px; /* ボタンとの間の余白。必要に応じて調整 */
  }
  
  .nav-overlay__list {
    margin: 25vh 24px 0;
    padding: 0;
    list-style: none;
  }
  
  .nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
    border-bottom: 1px solid #ddd;
  }
  
  .nav-overlay__item__child{
    padding-bottom: 20px;
    margin-top: 8px;
  }
  
  .nav-overlay__item__child ul{
    list-style: none;
    padding-left: 20px;
  }
  
  .nav-overlay__item__child ul li{
    position: relative;
    padding-left: 2em;
    margin: 1.5em 0;
  }
  
  .nav-overlay__item__child ul li::before{
    content: "";
    position: absolute;
    width: 1em;
    height: 1px;
    background: #b4001b;
    top: 35%;
    left: 0;
    padding-left: 1em;
  }
  
  .nav-overlay.active .nav-overlay__item{
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
  .nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
  .nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
  .nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }
  .nav-overlay.active .nav-overlay__item:nth-child(5) { transition-delay: 0.5s; }
  
  .nav-overlay__link {
    display: block;
    padding: 20px;
    color: #111111;
    font-size: 24px;
    text-decoration: none;
    transition: color .3s;
  }
  
  .nav-overlay__link:hover {
    color: #b4001b;
  }
  
  .sp_nav_btn{
    width: 90%;
    margin: 0 auto 32px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .sp_nav_btn a{
    position: relative;
    width: 100%;
    padding: 1em 16px;
    display: block;
    text-align: center;
    border-radius: 8px;
  }
  
  .sp_nav_btn a span{
    font-size: 18px;
  }
  
  .sp_nav_btn a svg{
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /*お問い合わせボタン*/
  .sp_nav_btn .nav_contact{
    background-color: #b4001b;
  }
  .sp_nav_btn .nav_contact span{
    color: #fff;
  }
  
  .sp_nav_btn .nav_documents{
    background-color: #fff;
    border: 1px solid #b4001b;
  }
  .sp_nav_btn .nav_documents{
    color: #b4001b;
  }
  /* ======= 修正ここまで ======= */
  
  
  

/* ----------------------------------------------------------------------------------------- */
/* ------------------------------- ここから TOPページのCSS ----------------------------------- */
/* ----------------------------------------------------------------------------------------- */





/* -------------------------------------- */
/* ---------- TOP KVスタイル ---------- */
/* -------------------------------------- */

#kv{
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow-y: hidden;
}

#kv .kv_inner{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 40px;
}

.kv_copy h2{
  font-size: max(3.5416vw, 24px);
  font-weight: 500;
  line-height: 1.7;
  position: absolute;
  top: 50%;
  left: 5.555vw;
  transform: translateY(-50%);
  margin: 0;
}

.kv_img{
    position: relative;
    z-index: 1;
}


/*画像カルーセルPC*/
@keyframes vertical-animation {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.slider_container {
  height: 100vh;
  overflow: hidden;
}

.slider_wrapper {
  display: grid; /* slideのmargin-bottom値を全て内包させる為 */
  animation: vertical-animation 30s linear infinite;
}

.slide {
  width: 37.569vw;
  margin: 0 auto 20px;
}

.slide img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.kv_img.sp{
  display: none;
}


/*KV 赤い線 スタイル*/
.kv_path_wrap{
  width: 100vw;
  position: absolute;
}

.kv_path_wrap.pc{
  height: 100vh;
  aspect-ratio: 1440 / 602;
  top: 0;
}

.kv_path_inner{
  width: 100%;
  height: 100%;
  position: relative;
}

.kv_path{
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  bottom: -100px;
  z-index: 0;
}

.kv_path_wrap.sp{
  display: none;
}

 @-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 1894.073486328125px;
    stroke-dasharray: 1894.073486328125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 1894.073486328125px;
  }
}

@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 1894.073486328125px;
    stroke-dasharray: 1894.073486328125px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 1894.073486328125px;
  }
}

.svg-elem-pc {
  -webkit-animation: animate-svg-stroke-1 2s ease-in-out 0s both;
          animation: animate-svg-stroke-1 2s ease-in-out 0s both;
}

/*KV 画面サイズ 767px以下*/
@media(max-width: 767px){
  #kv{
    height: 600px;
  }

  #kv .kv_inner{
    width: 100%;
    flex-direction: column;
    margin: 0;
    position: absolute;
    top: 30%;
    gap: 72px;
  }

  .kv_copy{
    width: 100%;
  }

  .kv_copy h2{
    position: relative;
    top: initial;
    left: initial;
    transform: initial;
    text-align: center;
    font-size: clamp(24px, 6.6157vw, 36px);
  }




  .kv_img.pc{
    display: none;
  }

  .kv_img.sp{
    display: block;
    position: relative;
  }

  /*画像カルーセル SP*/
  @keyframes horizontal-animation {
    from {
      transform: translateX(-100%);
    }
  
    to {
      transform: translateX(0);
    }
  }
  
  .kv_img.sp .slider-container {
    width: 100vw;
    display: flex;
    overflow: hidden;
  }
  
  .kv_img.sp .slider-wrapper {
    display: flex;
    animation: horizontal-animation 30s linear infinite;
  }
  
  .kv_img.sp .slide {
    width: 57.25vw; /* 画面幅に応じて可変にするのがオススメ */
    aspect-ratio: 225 / 235;
    margin-right: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .kv_img.sp .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の中央を切り抜いて表示。containなら全体表示 */
    display: block;
  }

  /*赤い線 SP*/
  .kv_path_wrap.sp{
    display: block;
    position: absolute;
    top: -32px;
  }

  .kv_path_wrap.pc{
    display: none;
  }


@-webkit-keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 658.3048706054688px;
    stroke-dasharray: 658.3048706054688px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 658.3048706054688px;
  }
}

@keyframes animate-svg-stroke-1 {
  0% {
    stroke-dashoffset: 658.3048706054688px;
    stroke-dasharray: 658.3048706054688px;
  }

  100% {
    stroke-dashoffset: 0;
    stroke-dasharray: 658.3048706054688px;
  }
}

.svg-elem-sp {
  -webkit-animation: animate-svg-stroke-1 1.5s ease-in-out 0s both;
          animation: animate-svg-stroke-1 1.5s ease-in-out 0s both;
}



}






/* -------------------------------------- */
/* ---------- TOP NEWSセクションスタイル ---------- */
/* -------------------------------------- */

#news{
  width: 100%;
  padding: 0 5.555vw;
}

#news .sec_inner{
  background-color: #353641;
  border-radius: 10px;
  margin-top: 96px;
  padding: 120px min(7.638vw, 110px) 80px;
}

.news_wrap{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

.news_head{
  display: flex;
  flex-direction: column;
  gap: 124px;
  width: 19.3055vw;
}

.news_head .sec_title{
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: #fff;
}

.news_head .sec_title .title_jp{
  color: #fff;
}

.news_head .sec_title .title_jp::before{
  background: #fff;
}

/*ボタン*/
.news_head .primary_btn a, .news_content .primary_btn a{
  width: 13.888vw;
  max-width: 200px;
  min-width: 160px;
}

.news_head .primary_btn a span, .news_content .primary_btn a{
  color: #fff;
}

.news_content .primary_btn.sp{
  display: none;
}

.news_content{
  width: 50.2777vw;
}

.news_list{
  list-style: none;
  padding: 0;
}

.news_item{
  padding: 40px 0;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #4E4E4E;
  transition: 0.5s;
}

.news_item:first-of-type{
  padding-top: 0;
}

.news_item .circle_btn{
  position: relative;
  right: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #fff;
  transition: 0.5s;
}

.news_item .circle_btn::before{
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  border-top: solid 2px #b4001b;
  border-right: solid 2px #b4001b;
  left: 50%;
  top: 50%;
  transform: rotate(45deg) translate(-75%, 10%);
}

/* hoverスタイル */
.news_item:hover .news_item_main{
    opacity: 0.5;
}

.news_item:hover .circle_btn{
    background-color: #B4001B;
}

.news_item:hover .circle_btn::before{
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
}

.news_item li{
  display: flex;
  flex-direction: column;
  color: #fff;
  gap: 24px;
  width: 85%;
}

.news_item_sub{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.news_item_sub .news_date{
  display: inline-block;
  font-size: clamp(14px, 1.111vw, 16px);
  color: #fff;
  opacity: 0.4;
  font-family: "Roboto", sans-serif;
}

.news_item_sub .news_category{
  display: inline-block;
  background-color: #b4001b;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 4px;
}

.news_item_main{
  font-size: clamp(14px, 1.111vw, 16px);
  margin: 0;
  transition: 0.5s;
}


/*NEWS 画面サイズ991px以下*/
@media(max-width: 991px){
  .news_content{
    width: 65%;
  }
}

/*NEWS 画面サイズ767px以下*/
@media(max-width: 767px){
  #news{
    padding: 0 16px;
  }

  #news .sec_inner{
    padding: 40px 16px;
  }

  .news_content .primary_btn.sp{
    display: block;
    margin: 64px 0 0 auto;
  }
  .news_head .primary_btn.pc{
    display: none;
  }

  .news_wrap{
    flex-direction: column;
  }

  .news_head{
    width: 100%;
  }

  .news_head .sec_title{
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .sec_title .title_jp{
    padding-left: 27px;
  }

  .sec_title .title_jp::before{
    width: 15px;
  }

  .news_content{
    width: 100%;
    margin-top: 40px;
  }

  .news_item li{
    width: 100%;
  }

  .news_item .circle_btn{
    display: none;
  }

  .news_content .primary_btn a{
    margin-left: auto;
  }
}







/* -------------------------------------- */
/* ---------- TOP 採用実績セクション スタイル ---------- */
/* -------------------------------------- */

#recruiting_record{
  padding: 0 5.555vw;
  margin-top: 96px;
}

.recruiting_record_wrap{
  width: 100%;
  max-width: 1058px;
  margin: 0 auto;
}

.recruiting_record_title{
  font-size: 32px;
  color: #b4001b;
  font-weight: 500;
  line-height: 1;
  padding-bottom: 24px;
  border-bottom: 1px solid #b4001b;
  margin: 0;
}

.recruiting_record_list{
  list-style: none;
  margin: 40px 0 48px;
  padding: 0;
}

.recruiting_record_item{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid #DCDCDC;
  transition: 0.5s;
}

.recruiting_record_item:hover .recruiting_record_main{
  opacity: 0.5;
}

.recruiting_record_date{
  display: flex;
  align-items: center;
  height: 45px;
  font-size: clamp(14px, 1.111vw, 16px);
  opacity: 0.7;
  font-family: "Roboto", sans-serif;
  padding-right: 32px;
  border-right: 1px solid #b4001b;
}

.recruiting_record_main{
  font-size: clamp(18px, 1.388vw, 20px);
  transition: 0.5s;
}

#recruiting_record .primary_btn a{
  margin-left: auto;
}

#recruiting_record .primary_btn a::before{
  background: #B4001B;
}

#recruiting_record .primary_btn a span{
  color: #b4001b;
}

/*採用実績 画面サイズ 767px 以下*/
@media(max-width: 767px){
  .recruiting_record_item{
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .recruiting_record_date{
    height: auto;
    border: none;
  }
}




/* ------------------------------------------------- */
/* ---------- TOP ABOUT USセクションスタイル ---------- */
/* ------------------------------------------------- */

#about_sec{
  width: 100vw;
  height: 65vw;
  background-image: url(http://upty-global.com/wp-content/uploads/2025/08/about_sec_bg_img.png);
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about_sec_img{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about_sec_content{
  width: 65.694%;
}

.about_sec_content .sec_title_wrap{
  border: none;
  padding: 0;
}

.about_sec_content .sec_title{
  flex-direction: column;
}

.about_sec_content .sec_title .title_en{
  font-size: clamp(40px, 7.361vw, 106px);
}

.about_sec_content .sec_title .title_jp::before{
  content: none;
}

.about_sec_text{
  font-size: clamp(22px, 3.333vw, 48px);
  text-align: center;
  color: #B4001B;
  margin-top: 72px;
}

.about_sec_text p{
  margin: 0;
}

.about_sec_content .primary_btn.pc{
  display: flex;
  justify-content: center;
  margin-top: 96px;
}

.about_sec_content .primary_btn a span{
  color: #B4001B;
}

.about_sec_content .primary_btn a::before{
  background: #B4001B;
}

/* TOP ABOUT USセクション 画面サイズ 1200px 以下 */
@media(max-width: 1200px){
  #about_sec{
    margin: 120px 0 0;
  }
}


/* TOP ABOUT USセクション 画面サイズ 991px 以下 */
@media(max-width: 991px){
  #about_sec{
    height: auto;
    flex-direction: column;
    gap: 64px;
  }

  .about_sec_content{
    width: 100%;
    padding: 0 5.555vw;
  }

  .about_sec_text{
    margin-top: 40px;
  }

  .about_sec_img{
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .about_sec_img img{
    width: 30vw;
  }

  .about_sec_content .primary_btn.pc{
    margin-top: 64px;
  }
}








/* -------------------------------------- */
/* ---------- TOP BUSINESSセクションスタイル ---------- */
/* -------------------------------------- */

#business{
  width: 100%;
  padding: 0 5.555vw;
  position: relative;
}

#business .business_bg_path{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 0;
}

#business .sec_inner{
  margin-top: 120px;
  position: relative;
  z-index: 1;
}

.business_wrap{
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1280px;
  margin-top: 96px;
  gap: 80px;
}

.business_content{
  width: 82.5%;
  max-width: 1056px;
  margin: 0 auto;
}

.business_content_copy{
  width: 100%;
  text-align: center;
  border-left: 1px solid #b4001b;
  border-right: 1px solid #b4001b;
  line-height: 1.5;
  padding: 10px 40px;
  font-size: clamp(22px, 2.777vw, 40px);
  font-weight: 400;
  margin: 0 0 40px;
}

.business_content_copy br{
  display: none;
}

.business_content_row{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.business_content_box{
  width: 47.348%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/*hover スタイル*/

.business_content_box:hover .content_box_img::after{
    opacity: 0;
}
.business_content_box:hover .content_box_img img{
    transform: scale(1.1);
}

.content_box_img{
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  height: 100%;
}

.content_box_img::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  transition: 0.5s;
}

.content_box_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  transition: 0.5s;
}


.content_box_img_label{
  position: absolute;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  top: 1.333em;
  left: 1.333em;
  z-index: 100;
}

.content_box_img_btn{
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: #b4001b;
  border-radius: 10px 0 0 0;
  width: 50px;
  height: 50px;
  z-index: 100;
}

.content_box_img_btn svg{
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
}

.content_box_text{
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  padding: 32px 16px 48px;
}

.content_box_text_h{
  text-align: center;
  font-size: clamp(26px, 1.944vw, 28px);
  font-weight: 500;
}

.content_box_text_h span{
  color: #b4001b;
  font-size: clamp(28px, 2.222vw, 32px);
  display: block;
}

.content_box_text p{
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin: 24px 0 0;
}

.business_content_h{
  width: 100%;
}

.business_content_h h3{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
  margin-left: auto;
  gap: 16px;
}

.business_content_h .business_content_h_jp{
  font-size: min(2.222vw, 32px);
}

.business_content_h .business_content_h_en{
  color: #b4001b;
  font-size: clamp(40px, 6.25vw, 90px);
  line-height: 1;
}

/*動画*/
.business_movie{
  width: 88.888888vw;
  max-width: 1280px;
  height: 475px;
  position: relative;
  overflow: hidden;
  margin: 120px auto 0;
  border-radius: 10px;
  transition: 0.7s;
}


.business_movie::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.3;
  width: 100%;
  height: 100%;
}

.business_movie img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: 0.7s;
}

.business_movie_item{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  gap: 16px;
}

.play_btn{
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
}

.play_btn::after{
  content: "";
  position: absolute;
  height: 40px;
  aspect-ratio: cos(30deg);
  clip-path: polygon(0 0,100% 50%,0 100%);
  background: #b4001b;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}

.play_text{
  color: #fff;
  font-size: clamp(14px, 2.222vw, 28px);
  line-height: 1.5;
}

/*hoverスタイル*/
.business_movie:hover img{
    transform: scale(1.2);
}



/*BUSINESS 画面サイズ 991以下*/
@media(max-width: 991px){
  .business_content_row{
    flex-direction: column;
    gap: 56px;
  }

  .business_content_box{
    width: 100%;
  }

  .content_box_img{
    height: 300px;
  }
}

/*BUSINESS 画面サイズ 767以下*/
@media(max-width: 767px){
  #business .sec_inner{
    margin-top: 120px;
  }

  .business_wrap{
    flex-direction: column-reverse;
    margin-top: 48px;
    gap: 16px;
  }

  .business_content_h{
    width: 100%;
    max-width: 100%;
  }

  .business_content_copy br{
    display: block;
  }

  .business_content_h h3{
    writing-mode: horizontal-tb;
    align-items: center;
  }

  .business_content{
    width: 100%;
    max-width: 100%;
  }

  .content_box_text_h{
    font-size: 20px;
  }

  .content_box_text_h span{
    font-size: 22px;
  }

  .content_box_text p{
    font-size: 14px;
  }

  .business_content_h .business_content_h_jp{
    font-size: 16px;
  }

  .business_content_h .business_content_h_en{
    font-size: 40px;
  }
}




/* -------------------------------------- */
/* ---------- TOP よくあるご質問 セクション スタイル ---------- */
/* -------------------------------------- */
#faq_sec{
  padding: 0 5.555vw;
  position: relative;
}

#faq_sec .sec_inner{
  margin-top: 160px;
}

#faq_sec .faq_content{
  margin: 120px auto 0;
  width: 100%;
  max-width: 1058px;
}

#faq_sec .wpsm_panel{
  margin-bottom: 40px;
}

#faq_sec .ac_title_class{
  position: relative;
  padding-left: 2.5em !important;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.5;
  font-weight: 500;
}

#faq_sec .ac_title_class::before{
  content: "Q";
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: #fff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#faq_sec .wpsm_panel-heading{
  padding: 1.3em 24px;
}

#faq_sec .wpsm_panel-collapse{
  padding: 24px;
}

#faq_sec .wpsm_panel-body{
  position: relative;
  padding: 0 0 0 2.8125em;
  overflow: visible !important;
  line-height: 1.7;
}

#faq_sec .wpsm_panel-body::before{
  content: "A";
  color: #B4001B;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#faq_sec .wpsm_panel-body p{
  margin: 0;
}

#faq_sec .primary_btn{
  max-width: 1058px;
  margin: 0 auto;
}

#faq_sec .primary_btn a{
  margin-left: auto;
}

#faq_sec .primary_btn a span{
  color: #B4001B;
}

#faq_sec .primary_btn a::before{
  background: #B4001B;
}



/* -------------------------------------- */
/* ---------- TOP GALLERYセクションスタイル ---------- */
/* -------------------------------------- */

#gallery{
  padding: 0 5.555vw;
}

#gallery .sec_inner{
  margin-top: 160px;
  
}

.gallery_slider{
  margin-top: 48px;
  position: relative;
}

@keyframes horizontal-animation {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.gallery_slider .slider-container {
  width: 100vw;
  display: flex;
  overflow: hidden;
}

.gallery_slider .slider-wrapper {
  display: flex;
  animation: horizontal-animation 30s linear infinite;
}

.gallery_slider .slide {
  width: 26vw; /* 画面幅に応じて可変にするのがオススメ */
  aspect-ratio: 384 / 313;
  margin-right: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery_slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像の中央を切り抜いて表示。containなら全体表示 */
  display: block;
}

.gallery_btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10vw;
  transition: 0.3s;
}

.gallery_btn a{
  display: block;
  width: 10.416vw;
  height: 10.416vw;
  max-width: 150px;
  max-height: 150px;
  min-width: 105px;
  min-height: 105px;
  border-radius: 50%;
  background-color: #b4001b;
  position: relative;
  transition: 0.3s;
}

.gallery_btn_item{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  transition: 0.3s;
}

.gallery_btn_item svg{
  position: relative;
  width: 35%;
  left: 10px;
  transition: 0.3s;
}

.gallery_btn:hover .gallery_btn_item svg path{
    transition: 0.3s;
}

.gallery_btn_text{
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
}

/*hover スタイル*/
.gallery_btn a:hover{
    background-color: #fff;
}

.gallery_btn a:hover .gallery_btn_text{
    color: #B4001B;
}


.gallery_btn a:hover .gallery_btn_item svg path{
    stroke: #B4001B;
}


/*.  GALLER 画面サイズ1200px 以下 */
@media(max-width: 1200px){
  .gallery_btn_text{
    font-size: 12px;
  }
}

/*.  GALLER 画面サイズ767px 以下 */
@media(max-width: 767px){
  .gallery_slider .slide{
    width: 65.39vw;
  }

  .gallery_btn{
    right: 24px;
    top: initial;
    transform: initial;
    bottom: 0;
  }
}





/* -------------------------------------- */
/* ---------- TOP RECRUITセクションスタイル ---------- */
/* -------------------------------------- */

#recruit{
  padding: 0 5.555vw;
}

#recruit .sec_inner{
  background-color: #b4001b;
  margin: 160px auto;
  border-radius: 10px;
  height: 25.69vw;
  max-height: 370px;
  min-height: 240px;
  padding: 0 min(8.4375vw, 108px) 0 min(4.2968vw, 55px);
  display: grid;
}

.recruit_content{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.recruit_content .sec_title{
  color: #fff;
}

.recruit_content .sec_title .title_jp{
  color: #fff;
}

.recruit_content .sec_title .title_jp::before{
  background: #fff;
}

.recruit_content .primary_btn a{
  border-color: #fff;
}

.recruit_content .primary_btn a span{
  color: #fff;
}

/* RECRUIT 画面サイズ767px以下 */
@media(max-width: 767px){
  .recruit_content{
    flex-direction: column;
    justify-content: space-evenly;
  }
}






/* -------------------------------------- */
/* ---------- TOP CONTACTセクションスタイル ---------- */
/* -------------------------------------- */

#contact{
  background-image: url("../img/contact_bg_img.jpg");
  background-size: cover;
  width: 100vw;
  padding: 120px 5.555vw;
  margin-top: 160px;
  display: grid;
}

#contact .sec_inner{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}


#contact .sec_title{
  color: #fff;
}

#contact .sec_title .title_jp{
  color: #fff;
}

#contact .sec_title .title_jp::before{
  background: #fff;
}

#contact .contact_btn{
  display: flex;
  flex-direction: column;
  gap: 48px;
}

#contact .contact_btn a {
  position: relative;
  width: 42.5vw;
  max-width: 612px;
  padding: 2.25em 1.5em;
  display: block;
  text-align: left;
  border-radius: 8px;
  font-size: clamp(18px, 2.222vw, 32px);
}


#contact .contact_btn a svg {
  position: absolute;
  width: 32px;
  height: 24px;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
}

/*hover スタイル */
#contact .contact_btn a:hover svg{
    right: 30px;
}

/* お問い合わせボタンスタイル */
#contact .contact_btn .nav_contact {
  background-color: #b4001b;
}

#contact .contact_btn .nav_contact span {
  color: #fff;
}

/* 資料請求ボタンスタイル */
#contact .contact_btn .nav_documents {
  background-color: #fff;
  border: 1px solid #b4001b;
}

#contact .contact_btn .nav_documents span {
  color: #b4001b;
}


/* CONTACT 画面サイズ767px 以下 */
@media(max-width: 767px){
  #contact{
    padding: 56px 24px;
  }

  #contact .sec_inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 64px;
  }

  #contact .contact_btn{
    width: 100%;
    gap: 32px;
  }

  #contact .contact_btn a{
    width: 100%;
  }

  #contact .contact_btn a svg{
    width: 16px;
    height: 12px;
  }

  #contact .contact_btn a:hover svg{
    right: 8px;
  }
}




/* ----------------------------------------------------------------------------------------- */
/* ------------------------------- ここまで TOPページのCSS ----------------------------------- */
/* ----------------------------------------------------------------------------------------- */





/* -------------------------------------- */
/* ---------- FOOTERスタイル ---------- */
/* -------------------------------------- */
footer .sec_inner{
  max-width: 100%;
  padding: 0 5.555vw;
}

.footer_content{
  display: flex;
  flex-direction: column;
  margin: 120px auto 0;
  width: 100%;
  max-width: 1280px;
  
}

.footer_content_1{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer_nav{
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  gap: 40px;
}

.footer_nav_item{
  font-size: clamp(18px, 1.666vw, 24px);
  height: fit-content;
}

.footer_nav_item .item_name{
  display: inline-block;
  padding-left: 1em;
  position: relative;
  transition: 0.3s;
}



.footer_nav_item .item_name::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5em;
    width: 100%;
    height: 1px;
    background: #B4001B;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}

.footer_nav_item .item_name::before{
  position: absolute;
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: #b4001b;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer_nav_child{
  list-style: none;
  padding: 0;
  margin-top: 16px;
}


.footer_nav_child li{
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 16px;
}

.footer_nav_child li a{
  color: #111111;
  transition: 0.3s;
}


.footer_nav_child li::before{
  position: absolute;
  content: "";
  width: 10px;
  height: 1px;
  background: #b4001b;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer_nav_item:nth-of-type(1){
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.footer_nav_item:nth-of-type(2){
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.footer_nav_item:nth-of-type(3){
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}


.footer_nav_item:nth-of-type(4){
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}


footer .nav_btn {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

footer .nav_btn a {
  position: relative;
  width: 16.18vw;
  max-width: 223px;
  padding: 8px 16px;
  display: block;
  text-align: center;
  border-radius: 8px;
}

.footer .nav_btn a span {
  font-size: clamp(14px, 1.11vw, 16px);
}

footer .nav_btn a svg {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 12px;
  transition: 0.2s;
}


/* hoverスタイル */
footer .nav_btn a:hover svg{
    right: 12px;
}

.footer_nav_item .item_name:hover{
    color: #B4001B;
}

.footer_nav_item .item_name:hover::after{
    transform: scale(1,1);
}


/* お問い合わせボタンスタイル */
footer .nav_btn .nav_contact {
  background-color: #b4001b;
}

footer .nav_btn .nav_contact span {
  color: #fff;
}

/* 資料請求ボタンスタイル */
footer .nav_btn .nav_documents {
  background-color: #fff;
  border: 1px solid #b4001b;
}

footer .nav_btn .nav_documents span {
  color: #b4001b;
}


.footer_content_2{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

footer .address{
  font-size: 12px;
  line-height: 1.5;
}

footer .address.sp{
  display: none;
}

.back_top_btn{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.back_top_btn img{
  width: 20px;
}

.back_top_btn span{
  font-size: 12px;
}

.copy_right{
  width: 100vw;
  background-color: #353641;
  padding: 24px;
  margin-top: 48px;
}

.copy_right p{
  text-align: center;
  color: #fff;
  opacity: 0.4;
  font-size: 14px;
  line-height: 1;
}

/* FOOTER 画面サイズ991px 以下 */
@media(max-width: 991px){
  .footer_content_1{
    flex-direction: column;
    gap: 40px;
  }

  .footer_logo img{
    width: 240px;
  }

  .footer_nav{
    width: 100%;
    max-width: 500px;
  }

  footer .nav_btn a{
    width: 100%;
    max-width: 500px;
    padding: 1.5em 16px;
  }
}

/* FOOTER 画面サイズ767px 以下 */
@media(max-width: 767px){
  footer .address.sp{
    display: block;
    text-align: center;
    font-size: 14px;
  }

  footer .address.pc{
    display: none;
  }

  .footer_content_2{
    justify-content: flex-end;
    margin-top: 80px;
  }

  .footer_nav{
    display: none;
  }

  footer .nav_btn{
    align-items: center;
  }

  .footer_logo{
    text-align: center;
  }


}









/* -------------------------------------- */
/* ---------- NEWS一覧 スタイル(下層ページ) ---------- */
/* -------------------------------------- */
#news_list_content{
    margin: 280px 0 240px;
    padding: 0 5.555vw;
}

#news_list_content .sec_inner{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/*カテゴリーリスト*/
#news_list_content .news_list_category{
    width: 21.71875%;
}

#news_list_content .category_list_h{
    color: #b4001b;
    font-size: 24px;
    font-weight: 300;
    border-bottom: 1px solid #b4001b;
    padding-bottom: 24px;
    line-height: 1;
}

#news_list_content .category_list{
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin-top: 32px;
}

#news_list_content .category_list.sp{
    display: none;
}

#news_list_content .category_list_item{
    font-size: clamp(12px, 1.25vw, 18px);

}


#news_list_content .category_list_item.current a {
    color: #B4001B;
}


/*記事一覧*/
#news_list_content .news_list_main{
    width: 73.90625%;
}


#news_list_content .news_list_main .news_list{
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
  }
  
  #news_list_content .news_list_main .news_item{
    padding: 40px 0;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #B6B3B3;
    transition: 0.5s;
  }

  #news_list_content .news_list_main .news_item:hover .circle_btn{
    background-color: #fff;
    
  }

  #news_list_content .news_list_main .news_item:hover .circle_btn::before{
    border-top: solid 2px #B4001B;
    border-right: solid 2px #B4001B;
  }
  
  #news_list_content .news_list_main .news_item:first-of-type{
    border-top: 1px solid #B6B3B3;
  }
  
  #news_list_content .news_list_main .news_item .circle_btn{
    position: relative;
    right: 0;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid #B4001B;
    background-color: #b4001b;
    transition: 0.5s;
  }
  
  #news_list_content .news_list_main .news_item .circle_btn::before{
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    left: 50%;
    top: 50%;
    transform: rotate(45deg) translate(-75%, 10%);
  }
  
  #news_list_content .news_list_main .news_item li{
    display: flex;
    flex-direction: column;
    color: #111111;
    gap: 24px;
    width: 85%;
  }
  
  #news_list_content .news_list_main .news_item_sub{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  
  #news_list_content .news_list_main .news_item_sub .news_date{ 
    display: inline-block;
    font-size: clamp(14px, 1.111vw, 16px);
    color: #111111;
    opacity: 0.6;
    font-family: "Roboto", sans-serif;
  }
  
  #news_list_content .news_list_main .news_item_sub .news_category{
    display: inline-block;
    background-color: #b4001b;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    color: #fff;
  }
  
  #news_list_content .news_list_main .news_item_main{
    font-size: clamp(14px, 1.111vw, 16px);
    margin: 0;
  }
  
  
  /*NEWS 画面サイズ991px以下*/
  @media(max-width: 991px){
    #news_list_content .news_list_main{
      width: 65%;
    }
  }
  
  /*NEWS 画面サイズ767px以下*/
  @media(max-width: 767px){
    #news_list_content{
      margin-top: 160px;
      padding: 0 16px;
    }
  
    #news_list_content .sec_inner{
      padding: 40px 16px;
      flex-direction: column;
    }

    #news_list_content .news_list_category{
        width: 100%;
    }

    #news_list_content .category_list_h{
        border: none;
        padding: 0;
    }

    #news_list_content .category_list.pc{
        display: none;
    }


    #news_list_content .category_list.sp{
        display: block;
        margin-top: 24px;
    }

    #news_list_content .category_list.sp .category_select{
        width: 100%;
        padding: 1em;
        background-color: #F7F7F7;
        border-color: #b4001b;
        border-radius: 4px;
    }

    #news_list_content .category_list_item{
        border: 1px solid #B6B3B3;
        border-radius: 4px;
        padding: 8px;
    }
  
  
    #news_list_content .news_list_main{
      width: 100%;
      margin-top: 40px;
    }
  
    #news_list_content .news_list_main .news_item li{
        width: 100%;
    }
  
    #news_list_content .news_item .circle_btn{
      display: none;
    }
  
  }










  /* -------------------------------------- */
/* ---------- 個別投稿記事 スタイル ---------- */
/* -------------------------------------- */

#single_post{
    padding: 320px 5.555vw;
}

#single_post .sec_inner{
    max-width: 834px;
}

#single_post .post_title_wrap{
    width: 100%;
    border-bottom: 1px solid #B6B3B3;
    padding-bottom: 24px;
}

#single_post .post_title_sub{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

#single_post .post_title_sub .post_date{
    display: inline-block;
    font-size: clamp(14px, 1.25vw, 18px);
    font-family: "Roboto", sans-serif;
    opacity: 0.6;
}

#single_post .post_title_sub .post_category{
    display: inline-block;
    background-color: #b4001b;
    font-size: clamp(14px, 1.111vw, 16px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
}

#single_post .post_title{
    font-size: clamp(24px, 2.222vw, 32px);
    line-height: 1.5;
    margin: 24px 0 0;
}

#single_post .post_content{
    margin: 64px 0 0;
    padding: 0 0 80px;
    border-bottom: 1px solid #B6B3B3;
}


#single_post .post_page_nav_wrap{
    position: relative;
    margin-top: 64px;
    display: grid;
    justify-content: center;
}

#single_post .post_nav{
    position: absolute;
}

#single_post .post_nav.post_nav_prev{
    left: 0;
}

#single_post .post_nav.post_nav_next{
    right: 0;
}

#single_post .post_nav_item{
    font-size: clamp(14px, 1.25vw, 18px);
    display: flex;
    flex-direction: row;
    gap: 16px;
}

#single_post .post_nav_item span{
    display: inline-block;
}

#single_post .post_nav .post_arrow{
    width: 30px;
    height: 30px;
    background: #b4001b;
    border-radius: 50%;
    text-align: center;
    position: relative;
}

#single_post .post_nav .post_arrow.prev{
    transform: rotate(180deg);
}

#single_post .post_nav .post_arrow svg{
    width: 10px;
    height: 7px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


#single_post .primary_btn a{
    color: #b4001b;
}

#single_post .primary_btn a::before{
    background: #b4001b;
    
}

/*見出し H3 スタイル*/
.custom_h3{
  font-size: 24px;
  padding-bottom: 0.5em;
  border-bottom: 3px solid #B4001B;
}

/*テキストリンク*/
#single_post .post_content a {
  text-decoration: underline;
  color: #2271b1;
  word-wrap: break-word;
}

/*テーブル スタイル*/
.news_table{
  width: 100%;
}

.news_table tr{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 1.5em 0;
  border-bottom: 1px solid #efd8dd;
}

.news_table th{
  width: 30%;
  text-align: left;
}

.news_table td{
  width: 70%;
  line-height: 1.8;
}

.news_table .img_td{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news_table .img_td img{
  width: 80%;
  max-width: 240px;
}

.news_table .img_td p{
  font-size: 14px;
  margin: 0;
}

.news_table .img_td .td_name{
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 18px;
  font-weight: 500;
  margin-top: 0.5em;
}

.news_table .img_td .td_name span{
  font-size: 12px;
  font-weight: 400;
}



/* 個別投稿記事 画面サイズ767px以下 */
@media(max-width: 767px){
    #single_post{
        padding: 240px 5.555vw 160px;
    }

    #single_post .post_page_nav_wrap{
        margin-top: 120px;
    }

    #single_post .post_nav{
        bottom: 64px;
    }

    /*テーブルスタイル*/
    .news_table tr{
      flex-direction: column;
      gap: 16px;
    }

    .news_table td{
      width: 100%;
    }
}







/* -------------------------------------------------- */
/* ---------- 採用実績一覧 スタイル(下層ページ) ---------- */
/* -------------------------------------------------- */
.post-type-archive-recruiting_record #page_title_header h1 .page_title_en{
  font-size: clamp(32px, 2.777vw, 40px);
}


.post-type-archive-recruiting_record #news_list_content .news_list_main{
  width: 100%;
}












/* ---------------------------------------------------- */
/* ---------- 私たちについて スタイル(下層ページ) ---------- */
/* ---------------------------------------------------- */


/* ABOUTセクション */
  #about{
    margin: 280px 0 0;
    padding: 0 5.555vw;
  }

  .about_content{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .about_text{
    width: 38.680vw;
    max-width: 557px;
    margin-left: min(10.0538%, 56px);
  }

  .about_h{
    color: #b4001b;
    font-size: clamp(32px, 3.333vw, 48px);
    font-weight: 500;
    line-height: 1.8;
    margin: 40px 0 0;
  }

  .about_t{
    margin-top: 80px;
  }

  .about_t p{
    font-size: clamp(14px, 1.25vw, 18px);
    line-height: 2.2;
    margin: 0 0 24px;
  }

  .about_img{
    width: 38.25vw;
    max-width: 612px;
  }

  .about_img img{
    max-width: 100%;
    height: auto;
  }

  .about_img_sp{
    display: none;
  }


/* ABOUT 画面サイズ767px 以下 */
@media(max-width: 767px){
    .about_content{
        flex-direction: column;
    }

    .about_text{
        width: 100%;
        margin: 0;
    }

    .about_t{
        margin-top: 48px;
    }

    .about_img_pc{
      display: none;
    }

    .about_img_sp{
      display: block;
    }

    .about_img{
        width: 100%;
        margin-top: 80px;
    }



}






  /* なぜインドネシアなのか */
  #why_indonesia{
    margin-top: 160px;
    scroll-margin-top: 240px;
  }

  #why_indonesia .sec_inner{
    padding: 0 5.555vw;
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  .indonesia_top{
    background-image: url(http://upty-global.com/wp-content/uploads/2025/08/indonesia_top_bg.jpg);
    background-position: center center;
    background-size: cover;
    width: 100vw;
    padding: 176px 0;
    position: relative;
  }

  .indonesia_h{
    width: fit-content;
    font-size: clamp(24px, 3.333vw, 48px);
    font-weight: 500;
    color: #fff;
    background-color: #b4001b;
    padding: 0.41em 1.16em;
    margin: 0;
  }

  .loop_text_wrap{
    position: absolute;
    display: flex;
    width: 100%;
    overflow: hidden;
    top: -86px;
    mix-blend-mode: difference;
    gap: 20px;
  }

  .loop_text{
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 135px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    overflow: hidden;
    padding-left: 20px;
    margin: 0;
  }

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

.loop_text: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%);
    }
}



.indonesia_content{
    margin-top: max(-21.805vw, -314px);
    position: relative;
    z-index: 0;
}


.indonesia_map {
    position: sticky;
    top: 200px;
    right: 0; /* 右端固定 */
    width: auto; /* 必要に応じてサイズ調整 */
    z-index: -1; /* 後ろに回す */
    margin: 20px 0 0 auto; /* 右寄せ */
    display: block;

    /* 親の padding を無視してページ右端に配置 */
    transform: translateX(calc(5.555vw * 1));
}



.indonesia_content_row{
    display: flex;
    position: relative;
    align-items: center;
    gap: 9.1428%;
    margin: 0 auto 120px;
    max-width: 1280px;
    z-index: 1;
}

.indonesia_content_row.right{
    justify-content: right;
}

.indonesia_content_row.left{
    justify-content: left;
    flex-direction: row-reverse;
}

.indonesia_content_t{
    width: 50.040%;
}

.indonesia_content_h{
    color: #b4001b;
    font-size: clamp(24px, 2.222vw, 32px);
    line-height: 1.5;
}

.indonesia_content_t p{
    font-size: clamp(14px, 1.111vw, 16px);
    line-height: 2.2;
    text-align: justify;
}

.indonesia_content_img{
    width: 40.8163%;
    height: auto;
    border-radius: 10px;
}


/* インドネシアの基礎情報 */
#indonesia_data{
    margin: 240px 0 0;
    padding: 0 5.555vw;
}

.indonesia_data_base{
    position: relative;
    width: 100%;
    background-image: url(http://upty-global.com/wp-content/uploads/2025/08/indonesia_data_bg.jpg);
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
    padding: 64px 8.515% 80px;
}

.indonesia_data_base::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: #353641;
    mix-blend-mode: multiply;
    z-index: 0;
}

.indonesia_data_content{
    position: relative;
    z-index: 1;
}

.indonesia_data_h{
    font-size: clamp(24px, 2.5vw, 36px);
    color: #fff;
    text-align: center;
    font-weight: 500;
}


.indonesia_data_list{
    margin-top: 56px;
    border-top: 1px solid #7A7A7A;
}

.indonesia_data_item{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    border-bottom: 1px solid #7A7A7A;
    padding: 24px 0;
    gap: 10.471%;
}

.indonesia_data_item dt, .indonesia_data_item dd{
    color: #fff;
}

.indonesia_data_item dt{
    width: 15.754%;
    font-size: clamp(16px, 1.388vw, 20px);
    font-weight: 300;
}

.indonesia_data_item dd{
    font-size: clamp(18px, 1.388vw, 20px);
    margin: 0;
}

/* なぜインドネシアなのか 画面サイズ767px 以下 */
@media(max-width: 767px){
    .indonesia_top{
        padding: 96px 0;
        background-size: cover;
    }

    .loop_text_wrap{
        top: -36px;
    }

    .loop_text{
        font-size: 56px;
    }

    .indonesia_content{
        margin-top: max(-3.864vw, -16px);
    }

    .indonesia_content_row{
        flex-direction: column-reverse;
        margin-bottom: 80px;
    }

    .indonesia_content_row.left{
        flex-direction: column-reverse;
    }

    .indonesia_content_h{
        margin: 40px 0 24px;
    }

    .indonesia_content_t{
        width: 100%;
    }

    .indonesia_content_img{
        width: 100%;
    }

    #indonesia_data{
        margin: 120px 0 0;
        padding: 0 16px;
    }

    .indonesia_data_base{
        padding: 40px 24px;
    }

    .indonesia_data_item{
        flex-direction: column;
        gap: 16px;
    }

    .indonesia_data_item dt{
        width: 100%;
    }
}








/* -------------------------------------- */
/* ---------- 企業情報 スタイル(下層ページ) ---------- */
/* -------------------------------------- */


/* 企業情報 共通スタイル */
#company{
    margin: 280px 0 240px;
    padding: 0 5.555vw;
}

#company .sec_inner{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8.6718%;
}

.co_side_menu{
    width: 223px;
    position: sticky;
    top: 280px;
    align-self: flex-start;
}

.co_side_menu ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    gap: 32px;
}

.co_side_menu .side_menu_item{
    font-size: 20px;
    width: 100%;
    padding: 8px 16px;
    background-color: #E7E7E7;
    border-radius: 40px;
    text-align: center;
}

.co_side_menu .side_menu_item a{
    display: block;
}


.co_side_menu .side_menu_item.current{
    background-color: #b4001b;
    color: #fff;
}

.co_side_menu .side_menu_item.current a{
    color: #fff;
}

#company .co_main{
    width: 73.906%;
    max-width: 946px;
}

.co_title_wrap{
    position: relative;
}

.co_title{
    position: relative;
    z-index: 1;
    font-size: 32px;
    color: #B4001B;
    font-weight: 400;
    margin: 0;
    padding: 0 0 32px;
    border-bottom: 1px solid #B6B3B3;
}

.co_title_en{
    position: absolute;
    color: #b4001b;
    opacity: 0.04;
    font-size: clamp(50px, 10.416vw, 150px);
    z-index: 0;
    bottom: 0;
    left: 0.42em;
}

#co_overview .co_title_en{
    bottom: -40px;
}




/*  企業情報 共通スタイル 画面サイズ991px 以下 */
@media(max-width: 991px){
    #company .sec_inner{
        flex-direction: column;
    }

    #company .co_main{
        width: 100%;
    }

    .co_side_menu{
        width: 100%;
        margin: 0 auto 40px;
    }

    .co_side_menu ul{
        flex-direction: row;
    }
}

/* 企業情報 共通スタイル 画面サイズ 767px以下 */
@media(max-width: 767px){
    .co_side_menu{
        position: relative;
        top: 0;
    }

    .co_side_menu ul{
        flex-direction: column;
    }

    .co_title_en{
        bottom: 40px;
    }

    #co_overview .co_title_en{
        bottom: 0;
    }
}




/* 代表メッセージ */
#co_message{
    margin-top: 240px;
    scroll-margin-top: 240px;
}

.co_message_content{
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.co_message_top_img{
    width: 100%;
    aspect-ratio: 946 / 482;
    border-radius: 5px;
}

.co_message_title{
    color: #b4001b;
    font-size: clamp(24px, 2.222vw, 32px);
    margin: 56px 0 0;
}

.co_message_text{
    font-size: clamp(16px, 1.388vw, 20px);
    line-height: 2.2;
    text-align: justify;
    margin-top: 40px;
}

.co_message_text p{
    margin-bottom: 1.5em;
    line-height: 2;
}

.co_message_name{
    margin: 48px 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    
}

.co_message_name .position{
    font-size: 14px;
    line-height: 1;
}

.co_message_name img{
    width: 160px;
    aspect-ratio: 160 / 87;
    mix-blend-mode: darken;
}



/* 代表メッセージ 画面サイズ767px以下 */
@media(max-width: 767px){
    .co_message_name{
        margin-top: 24px;
    }
}







/* メンバー紹介 */
#co_officer{
    margin-top: 240px;
    scroll-margin-top: 240px;
}

#co_officer .co_title_wrap .co_title{
  padding: 0 0 16px;
}

#co_officer .co_title_wrap .co_title .co_officer_notice{
  display: block;
  width: fit-content;
  font-size: 10px;
  line-height: 1.75;
  font-weight: 400;
  margin: 0 0 0 auto;
  color: #111111;
}

.co_officer_content{
    margin-top: 40px;
}

.officer_item_ceo{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 56px;
}

.officer_item_ceo img{
    width: 41.120%;
    border-radius: 5px;
}

.officer_name_ceo{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.officer_name_ceo .position{
    color: #b4001b;
    font-size: 16px;
    line-height: 1;
}

.officer_name_ceo .name{
    font-size: 32px;
    line-height: 1;
}

.officer_name_ceo .name span{
    display: inline-block;
    font-size: 16px;
    margin-left: 12px;
}

.officer_item_wrap{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.officer_item_group{
  margin-top: 64px;
}

.officer_item_group_h{
  color: #b4001b;
  font-size: 28px;
  font-weight: 400;
  background-color: #F4EDEE;
  margin: 0;
  padding: 12px 0 12px 0.85em;
}

.officer_item_list{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 12px;
}

.officer_item{
    width: 18.7%;
}

.officer_item_group .officer_item img{
  height: 100%;
}

.officer_item img{
    border-radius: 3px;
}

.officer_name{
    display: flex;
    flex-direction: column;
    margin-top: 32px;
    gap: 16px;
}

.officer_name .position{
    font-size: 14px;
    color: #b4001b;
    line-height: 1;
}

.officer_name .name{
    font-size: 24px;
    line-height: 1;
}

.officer_name .name span{
    display: inline-block;
    font-size: 14px;
    margin-left: 12px;
 
}

.co_officer_si{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 0;
}

.co_officer_si .both_line{
  width: 20%;
  height: 1px;
  background-color: #B4001B;
}

.co_officer_si p{
  font-size: clamp(12px, 1.111vw, 16px);
  line-height: 1.8;
  text-align: center;
}


/* 役員紹介 画面サイズ1200px以下 */
@media(max-width: 1200px){
  .officer_item{
    width: 18.4%;
  }
}



/* 役員紹介 画面サイズ767px以下 */
@media(max-width: 767px){

    .officer_item_ceo{
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }


    .officer_item_ceo img{
        width: 100%;
    }


    .officer_item_wrap{
        flex-direction: column;
    }

    .officer_item_list{
      gap: 16px;
    }


    .officer_item_group .officer_item{
        width: calc(100% / 2 - 8px);
    }

    .officer_name .position{
        font-size: 16px;
    }

    .officer_name .name{
        font-size: 32px;
    }

    .officer_name .name span{
        font-size: 16px;
    }

    #co_officer .co_title_wrap .co_title .co_officer_notice{
      margin-top: 16px;
    }

    #co_officer .co_title_wrap .co_title_en{
      bottom: 100px;
    }

    .co_officer_si{
      gap: 24px;
      height: 100px;
    }

    .co_officer_si p{
      text-align: justify;
    }

    .co_officer_si .both_line{
      width: 1px;
      height: 100%;
    }

    .co_officer_si p br{
      display: none;
    }


}






/* 会社概要 */
#co_overview{
    scroll-margin-top: 500px;
}

#co_overview .co_title{
    padding: 0;
    border: none;
}

.overview_h3{
    font-size: 32px;
    font-weight: 400;
    color: #B4001B;
    margin: 96px 0 32px;
    line-height: 1;
}

.overview_list{
    margin-top: 32px;
    display: flex;
    flex-direction: column;
}

.overview_item{
    display: flex;
    flex-direction: row;
    
}

.overview_item_h{
    width: 16vw;
    font-size: 18px;
    font-weight: 500;
    border-top: 1px solid #b4001b;
    padding: 40px 0;
    line-height: 2;
}




.overview_item_d{
    width: 82.346%;
    font-size: 18px;
    font-weight: 400;
    border-top: 1px solid #B6B3B3; 
    padding: 40px 0 40px 2em;
}

.overview_item_h.bottom_border{
    border-bottom: 1px solid #b4001b;
}

.overview_item_d.bottom_border{
    border-bottom: 1px solid #B6B3B3; 
}

.overview_item_d p{
    margin: 0;
    line-height: 2;
}

.overview_item_d dl{
    margin: 0;
    
}

.overview_item_d dt{
    font-weight: 500;
}

.overview_item_d dd{
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
    margin: 10px 0 24px;
    
}


/* グループ会社情報 ポップアップ */
.group_company{
  margin: 32px 0 0 auto;
  width: fit-content;
  font-size: clamp(14px, 1.25vw, 18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #B4001B;
  gap: 16px;
}

.page-template-page-company .pum-container, .pum-theme-lightbox .pum-container{
  max-width: 50%;
}

.group_company p{
  line-height: 1;
  margin: 0;
}

.group_company span{
  width: 0.5em;
  height: 0.5em;
  border-top: solid 1px #B4001B;
  border-right: solid 1px #B4001B;
  transform: rotate(45deg);
}



.group_company_table .overview_h3{
  margin-top: 24px;
  font-size: 24px;
}

.group_company_table p{
  font-size: 14px;
  margin: 0;
}

.group_company_table .overview_item_h{
  padding: 16px 0;
  font-size: 15px;
}

.group_company_table .overview_item_d{
  padding: 16px 0 16px 2em;
  display: flex;
  align-items: center;
}

.group_company_table .overview_item_d dt{
  font-size: 15px;
}





/* 会社概要 画面サイズ767px 以下 */
@media(max-width: 767px){

    .overview_item{
        flex-direction: column;
    }

    .overview_item_h{
        width: 100%;
        border-color: #B6B3B3;
        padding-bottom: 0;
    }

    .overview_item_d{
        width: 100%;
        border: none;
        padding-top: 24px;
        padding-left: 0;
    }

    .overview_item_h.bottom_border{
        border-bottom: none;
    }

    .page-template-page-company .pum-container, .pum-theme-lightbox .pum-container{
        max-width: 80%;
    }

    .group_company_table p{
      font-size: 13px;
    }

    .group_company_table .overview_item_h{
      padding-bottom: 0;
    }

    .group_company_table .overview_item_d{
      padding-left: 0;
    }
}









/* -------------------------------------- */
/* ---------- お問い合わせ/資料請求フォーム スタイル ---------- */
/* -------------------------------------- */

#contact_content{
    padding: 280px 5.555vw 240px;
}

#contact_content .sec_inner{
    max-width: 1058px;
}

#contact_content .contact_exp{
    font-size: clamp(16px, 1.25vw, 18px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#contact_content .contact_exp p{
    line-height: 1.7;
    margin: 0;
}

#contact_content .contact_exp p span{
    color: #b4001b;
}

#contact_content .form_content{
    margin-top: 32px;
    border-radius: 5px;
    background-color: #fff;
    padding: 80px clamp(16px, 3.888vw, 56px);
}

#contact_content .form_item{
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0 0 40px;
}

#contact_content .form_item p{
    margin: 0;
}

#contact_content .form_item label{
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1;
}

#contact_content .form_item label span{
    color: #B4001B;
    vertical-align: super; /*テキストを上付きに*/
    font-size: 0.6em; /*テキストを小さく*/
}

#contact_content .form_item_data input{
    width: 100%;
    height: 40px;
    border: 1px solid #CCCCCC;
    padding: 1em;
}

#contact_content .form_item_data textarea{
    width: 100%;
    border: 1px solid #CCCCCC;
    padding: 1em;
}

#contact_content .form_item_data select{
    width: 240px;
    height: 40px;
    border: 1px solid #CCCCCC;
    padding: 0 1em;
}

#contact_content .privacy{
    margin-top: 80px;
}

#contact_content .privacy_content{
    background-color: #F7F7F7;
    padding: 0 1em 1em;
    max-height: 300px;
    overflow-Y: auto;
}

#contact_content .acceptance{
    text-align: center;
    margin-top: 32px;
}

#contact_content .acceptance a{
    text-decoration: underline;
    color: #0000EE;
    
}

#contact_content .acceptance a:hover{
    color: #551A8B;
}

#contact_content .contact_submit{
    margin: 80px auto 0;
    text-align: center;
}

#contact_content .contact_submit .wpcf7-submit{
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    color: #fff;
    background-color: #B4001B;
    border-radius: 10px;
    padding: 1.5em;
    border: none;
}

#contact_content .contact_submit.disabled .wpcf7-submit{
    background-color: #B6B3B3;
}









/* -------------------------------------- */
/* ---------- 事業案内詳細 スタイル ---------- */
/* -------------------------------------- */

#business_detail{
    margin: 280px 0 240px;
    width: 100vw;
}

.business_detail_top{
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.business_detail_top img{
    width: 100vw;
    aspect-ratio: 1440 / 600;
    object-fit: cover;
}

.business_detail_top h2{
    font-weight: 400;
    color: #b4001b;
    font-size: clamp(32px, 4.86vw, 70px);
    line-height: 1;
    margin: 48px 0 0;
}

.business_content_1{
    display: flex;
    flex-direction: column;
    margin: 96px auto 0;
    gap: 32px;
    text-align: center;
}

.business_content_1_h{
    font-size: clamp(24px, 3.333vw, 48px);
    margin: 0;
    font-weight: 500;
}

.business_content_1_h span{
    color: #b4001b;
}

.business_content_1_exp{
    text-align: center;
    font-size: clamp(16px, 1.666vw, 24px);
    line-height: 2;
    margin: 0;
}

.business_content_2{
    width: 88.888888vw;
    max-width: 1280px;
    margin: 120px auto 0;
    background-color: #353641;
    padding: 72px 8.671875%;
    border-radius: 10px;
}

.business_content_2_h{
    font-size: clamp(24px, 2.5vw, 36px);
    color: #fff;
    text-align: center;
    font-weight: 400;
}


.business_content_2_h br{
    display: none;
}

.business_content_2_h p{
    margin: 0;
}

.business_content_2_h .desc{
    font-size: clamp(14px, 1.388vw, 20px);
    opacity: 0.9;
    display: block;
    margin-top: 16px;
    font-weight: 300;
}

.business_content_2_h .desc span{
    letter-spacing: 0.1em;
}


.business_content_2_row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 72px;
}

.business_content_2_box{
    width: 34.791vw;
    max-width: 501px;
    position: relative;
    border-radius: 5px;
}

.business_content_2_box img{
    border-radius: 5px;
}


.business_content_2_box_exp{
    position: absolute;
    width: 77.844%;
    max-width: 390px;
    background-color: #fff;
    border-radius: 5px;
    padding: 32px;
    bottom: -64px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}


.business_content_2_box_exp p{
    font-size: 20px;
    color: #b4001b;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

.business_content_2_box_exp span{
    display: block;
    font-size: 14px;
    margin-top: 10px;
}


.business_content_2_exp{
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 300;
    color: #fff;
    margin-top: 120px;
    text-align: justify;
    line-height: 2;
    opacity: 0.9;
}

.business_content_2_exp.bottom{
  padding-top: 32px;
  border-top: 1px solid #64667D;

}

.business_content_2_exp p{
  line-height: 2;
}

.business_content_2_exp a{
  display: inline-block;
  margin-right: 0.2em;
  color: #fff;
  text-decoration: underline;
  transition: 0.5s;
}

.business_content_2_exp a:hover{
  opacity: 0.5;
}


/*business_detail_strength_2 用*/
.business_detail_strength_2{
    margin-top: 240px;
}


.business_detail_strength_2 .business_content_2{
    padding: 0 6.25%;
    height: 90vw;
    min-height: 1280px;
    max-height: 1280px;
    overflow: hidden;
}

.business_detail_strength_2 .business_content_2_inner{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.business_detail_strength_2 .business_content_2_inner_text{
    width: 60%;
}

.business_detail_strength_2 .business_content_2_h{
    font-size: clamp(24px, 3.125vw, 45px);
    text-align: left;
    margin-top: 80px;
}

.business_detail_strength_2 .business_content_2_h br{
    display: block;
}

.business_detail_strength_2 .business_content_2_exp{
    margin-top: 32px;
}


.business_detail_strength_2 .business_content_2_inner_list{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 32px 0 0;
    margin: 32px 0;
    border-top: 1px solid #64667D;
    list-style: none;
}


.business_detail_strength_2 .business_content_2_inner_list_item{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    color: #fff;
    font-size: clamp(16px, 1.666vw, 24px);
    font-weight: 400;
    position: relative;
    line-height: 1;
}

.business_detail_strength_2 .business_content_2_inner_list_item .list_item_number{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #b4001b;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    font-size: 16px;
   
}

.business_content_2_btn{
  display: block;
  position: relative;
  text-align: center;
  background-color: #fff;
  width: 100%;
  border-radius: 10px;
  margin: 56px 0 32px;
  padding: 1em;
}

.business_content_2_btn span{
  display: block;
  color: #B4001B;
}

.business_content_2_btn svg{
  width: 16px;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
}

.business_content_2_btn:hover svg{
  right: 14px;
}






/*画像カルーセルPC*/
@keyframes vertical-animation {
    from {
      transform: translateY(-100%);
    }
  
    to {
      transform: translateY(0);
    }
  }

  .business_content_2_inner_img.sp{
    display: none;
  }
  
  .business_content_2_inner_img .slider_container {
    height: 100%;
    overflow: hidden;
  }
  
  .business_content_2_inner_img .slider_wrapper {
    display: grid; /* slideのmargin-bottom値を全て内包させる為 */
    animation: vertical-animation 30s linear infinite;
  }
  
  .business_content_2_inner_img .slide {
    width: 27vw;
    max-width: 390px;
    margin: 0 auto 24px;
    opacity: 0.5;
  }
  
  .business_content_2_inner_img .slide img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    vertical-align: bottom;
  }



/*よくあるご質問 リスト*/
#faq_list{
  padding: 0 5.555vw;
  scroll-margin-top: 240px;
}

#faq_list .sec_inner{
  margin-top: 120px;
}

.faq_list_h{
  font-size: clamp(24px, 3.125vw, 45px);
  font-weight: 500;
  color: #B4001B;
  padding-bottom: 24px;
  border-bottom: 1px solid #B6B3B3;
}

#faq_list .faq_list_content{
  margin: 64px auto 0;
  width: 100%;
  max-width: 1058px;
}

#faq_list .wpsm_panel{
  margin-bottom: 40px;
}

#faq_list .ac_title_class{
  position: relative;
  padding-left: 2.5em !important;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.5;
  font-weight: 500;
}

#faq_list .ac_title_class::before{
  content: "Q";
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: #fff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#faq_list .wpsm_panel-heading{
  padding: 1.3em 24px;
}

#faq_list .wpsm_panel-collapse{
  padding: 24px;
}

#faq_list .wpsm_panel-body{
  position: relative;
  padding: 0 0 0 2.8125em;
  overflow: visible !important;
  line-height: 1.7;
}

#faq_list .wpsm_panel-body::before{
  content: "A";
  color: #B4001B;
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#faq_list .wpsm_panel-body p{
  margin: 0;
}





  /* 事業内容詳細 画面サイズ767px以下 */
  @media(max-width: 767px){

    #business_detail{
        margin-top: 160px;
    }

    .business_detail_top h2{
        margin-top: 32px;
    }

    .business_content_1{
        margin-top: 56px;
    }
    
    .business_content_1_h{
        font-size: max(28px, 6.76vw);
    }

    .business_content_1_h span{
        display: block;
    }

    .business_content_2{
        margin-top: 80px;
        padding: 72px 24px;
    }

    .business_content_2_h{
        margin: 0;
    }

    .business_content_2_h br{
        display: block;
    }

    .business_content_2_row{
        flex-direction: column;
        gap: 96px;
    }

    .business_content_2_box{
        width: 100%;  
    }

    .business_content_2_box_exp{
        padding: 1em;
        width: 90%;
        bottom: -40px;
    }

    .business_content_2_box_exp p{
        font-size: 18px;
        line-height: 1.2;
    }

    .business_content_2_box_exp span{
        font-size: 12px;
    }

    .business_content_2_exp{
        margin-top: 96px;
    }


    /* .business_detail_strength_2 スタイル */
    .business_detail_strength_2{
        margin-top: 160px;
    }

    .business_detail_strength_2 .business_content_2{
        height: auto;
        max-height: none;
        padding: 0;
    }

    .business_detail_strength_2 .business_content_2_inner{
        flex-direction: column;
    }

    .business_detail_strength_2 .business_content_2_inner_text{
        width: 100%;
        padding: 0 24px;
    }

    .business_detail_strength_2 .business_content_2_h{
        text-align: center;
    }

    .business_detail_strength_2 .business_content_2_inner_list_item .list_item_number{
        font-size: 12px;
    }


    /*SP 画像カルーセル*/
    .business_content_2_inner_img.pc{
        display: none;
    }

    .business_content_2_inner_img.sp{
        display: block;
        margin: 80px 0 72px;
    }



    @keyframes horizontal-animation {
        from {
          transform: translateX(-100%);
        }
      
        to {
          transform: translateX(0);
        }
      }
      
      .business_detail_strength_2 .business_content_2_inner_img.sp .slider_container {
        width: 100vw;
        display: flex;
        overflow: hidden;
      }
      
      .business_detail_strength_2 .business_content_2_inner_img.sp .slider_wrapper {
        display: flex;
        animation: horizontal-animation 30s linear infinite;
      }
      
      .business_detail_strength_2 .business_content_2_inner_img.sp .slide {
        width: 65.394vw; /* 画面幅に応じて可変にするのがオススメ */
        margin-right: 20px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .business_detail_strength_2 .business_content_2_inner_img.sp .slide img {
        width: 100%;
        height: auto;
        object-fit: cover; /* 画像の中央を切り抜いて表示。containなら全体表示 */
        display: block;
      }


  }





  /* -------------------------------------- */
/* ---------- ギャラリー 一覧ページ スタイル ---------- */
/* -------------------------------------- */

#gallery_list{
    margin: 280px 0 240px;
    padding: 0 5.555vw;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCでは3列固定 */
    gap: 56px;
  }
  
  @media (max-width: 768px) {
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr); /* タブレット・スマホで2列に */
    }
  }
  
  .gallery-item {
    width: 100%;
    aspect-ratio: 389 / 292; /* 4:3比率で統一 */
    overflow: hidden;
    position: relative;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }







/* -------------------------------------- */
/* ---------- 万全のサポート ページ スタイル ---------- */
/* -------------------------------------- */


#support{
    margin: 280px 0 0;
  }

  .support_exp{
    width: 100%;
    max-width: 1280px;
    margin: 0 0 80px;
    padding: 0 5.555vw;
  }

  .support_exp p{
    font-size: clamp(16px, 1.666vw, 24px);
    line-height: 1.8;
  }

  

  .support_sec{
    margin-bottom: 240px;
  }

   .content_header{
    display: flex;
    align-items: center;
    width: 100%;
    height: 27.77vw;
    max-height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 0 5.555vw;
  }

  .support_sec.company .content_header{
    background-image: url(http://upty-global.com/wp-content/uploads/2025/09/support_company_header.jpg);
  }

  .support_sec.hr .content_header{
    background-image: url(http://upty-global.com/wp-content/uploads/2025/09/support_hr_header.jpg);
  }

  .content_header h2{
    width: 100%;
    max-width: 1280px;
    color: #fff;
    font-size: clamp(32px, 2.77vw, 40px);
    font-weight: 400;
  }

  .support_content{
    position: relative;
    top: -50px;
    margin: 0 auto;
    padding: 0 5.555vw;
  }

  .support_content_box{
    width: 100%;
    max-width: 1280px;
    background-color: #fff;
    border-radius: 10px;
    margin: 0 auto 120px;
    padding-bottom: 64px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .support_box_h{
    font-size: clamp(24px, 2.5vw, 36px);
    color: #fff;
    line-height: 1.5;
    font-weight: 400;
    background-color: #b4001b;
    border-radius: 10px 10px 0 0;
    margin: 0;
    padding: 32px;
    text-align: center;
  }

  .support_box_list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 64px;
    width: 91.40625%;
    max-width: 1170px;
    margin: 64px auto 0;
  }

  .support_box_item{
    width: 47.60%;
  }

  .support_box_item img{
    border-radius: 5px;
  }

  .support_box_item_name{
    margin-top: 20px;
  }

  .support_box_item_name p{
    margin: 0;
  }

  .support_box_item_name .name{
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.3;
    margin: 0;
    padding-left: 0.6em;
    border-left: 2px solid #b4001b;
  }

  .support_box_item_name span{
    display: inline-block;
    font-size: clamp(14px, 1.25vw, 18px);
    line-height: 1.5;
    margin-top: 12px;
  }

  /* support_box_list 3カラムのスタイルの場合(一旦なし) -------
  .support_box_list.column_3{
    column-gap: 3.846%;
    justify-content: flex-start;
  }

  .support_box_list.column_3 .support_box_item{
    width: 30.7692%;
  }

  .support_box_list.column_3 .support_box_item img{
    border-radius: 3px;
  }

  .support_box_list.column_3 .support_box_item_name p{
    font-size: 18px;
  }
---------------------------------------- */

  /* 画面サイズ 991px 以下 */
  @media(max-width: 991px){

    .support_box_item_name p{
        font-size: 18px;
    }
    /* 3カラムスタイル--------
    .support_box_list.column_3{
        justify-content: space-between;
    }

    .support_box_list.column_3 .support_box_item{
        width: 47.60%;
    }
    ---------------------*/
  }

  /* 画面サイズ 767px 以下 */
  @media(max-width: 767px){
    #support{
      margin: 160px 0 0;
    }

    .support_sec{
        margin-bottom: 120px;
    }

    .content_header{
        height: 300px;
        max-height: none;
    }

    .support_box_item{
        width: 100%;
    }

    /* 3カラムスタイル--------
    .support_box_list.column_3 .support_box_item{
        width: 100%;
    }
    ---------------------*/
  }