@media only screen and (max-width: 768px){

  .card-content, .carousel-card {
    height: auto !important;
  }

  .p_frontpage__interview__bg.l_wrapper.__wrap1000 {
	overflow: hidden;
    padding: 80px 0 150px 0;
}

  .p_frontpage__culture.l_wrapper.__side {
padding: 5em 0 !important;
  }

  .u_f.__lh18.p_frontpage__lead.l_wrapper.__side {
    padding: 0 !important;
  }
  .p_frontpage__culture__ttlwrap {
	width: 80%;
	margin: 0 auto 40rem;
}
.p_frontpage__developer__ttlwrap {
	width: 80%;
	margin: 0 auto;
}

.p_frontpage__interview__bg {
    margin-bottom: 15em;
  }

  .l_wrapper.__side {
	padding: 5em 0 35em 0 !important;
	border-radius: 15px;
}

  .page-top-service-list {
	display: none;
}
  .p_frontpage__interview.l_wrapper.__side {
    padding: 15em 0 0 0 !important;
  }

  .p_frontpage__interview.l_wrapper.__side.pagga55 {
  padding-top: 0 !important;
}

.company-table_area th, .company-table_area td {
	font-size: 1.5rem;
}

.wpcf7-form th, .wpcf7-form td {
	border-bottom: none;
}
.wpcf7-form tr {
	display: block;
}
.p_frontpage__about .o_c_h__sec_title .ja {
	text-align: center;
}
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-required.wpcf7-validates-as-email, 
.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
	width: 100%;
}

.o_c_h__sec_title {
	margin: 0 auto;
}

.wpcf7-form th {
	width: 100%;
	padding: 25px 0;
	display: block;
}

.wpcf7-form {
	width: 90%;
}

.l_wrapper.__wrap1000 {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.company-table_area table {
	width: 90%;
	margin: 0 auto;
}

  .l_footer {
	padding: 90px 0px 30px !important;
}

  .p_frontpage__fv__copy__inner__txt .gradient-text {
  font-size: 9vw;
    margin: 0;
    padding: 0;
    width: 100%;
}

 .p_frontpage__fv__copy {
    max-width: 90% !important;
  }

  .p_frontpage__lead__wrap {
	width: 85%;
  margin: 0 auto;
}

.l_footer__listwrap {
	display: block !important;
	width: 100%;
}

.l_footer__listwrap dl, 
.l_footer__listwrap dl:nth-child(2) {
  width: 100%;
}

  .sp-only {
    display: block;
    line-height: 0;
  }

  .pc-only{
    display: none;
  }

  main #bgvid {
    width: 100vw;
    object-fit: cover;
    max-width: 100%;
  }

  .three {
    font-size: 7vw;
    text-align: center;
  }

  .l-header__btn {
    background: rgba(0,0,0,0);
    border: 1px solid rgba(0,0,0,0);
    height: 56px;
    position: absolute;
    right: 0;
    top: 25%;
    width: 64px;
    z-index: 2;
  }

  .loading-video--sp {
    display: block !important;
  }

  .loading-video--pc {
    display: none !important;
  }

  .l-header__btn {
    display: block;
  }

  .l-header__btn .l-header__btn-line {
    height: 18px;
    left: 50%;
    position: absolute;
    top: 50%;
    translate: -50% -50%;
    width: 24px;
  }

 .l-header__btn .l-header__btn-line::before {
    background: #fff;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    translate: -50% -50%;
    width: 24px;
  }

  .l-header__btn .l-header__btn-line-in::before, .l-header__btn .l-header__btn-line-in::after {
    -webkit-transition: .35s cubic-bezier(0.46, 0.16, 0.24, 0.77);
    -webkit-transition-property: all;
    background: #fff;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transition: .35s cubic-bezier(0.46, 0.16, 0.24, 0.77);
      transition-property: all;
    transition-property: all;
    translate: -50% 0;
    width: 24px;
  }

  .l-header__btn .l-header__btn-line-in::after {
    top: 16px;
  }

  .c-btn01 {
margin: 20px 0;
}

 .l-gnav-sp {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: rgb(133, 54, 101);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    display: none;
    color: white;
  }

  .l-gnav {
    display: none !important;
  }

/* スライドイン時 */
 .l-gnav-sp.is-open {
  display: block;
  transform: translateX(0%);
 }

/* 背景スクロール防止 */
.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
  /* ハンバーガー表示 */
  .l-header__btn {
    display: block;
  }

  .l-header__btn .l-header__btn-line {
    height: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 24px;
  }

  .l-header__btn .l-header__btn-line::before {
    content: "";
    position: absolute;
    background: #fff;
    width: 24px;
    height: 2px;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
  }

  .l-header__btn .l-header__btn-line-in::before,
  .l-header__btn .l-header__btn-line-in::after {
    content: "";
    position: absolute;
    background: #fff;
    width: 24px;
    height: 2px;
    left: 50%;
    translate: -50% 0;
    transition: all 0.35s cubic-bezier(0.46, 0.16, 0.24, 0.77);
  }

  .l-header__btn .l-header__btn-line-in::after {
    top: 16px;
  }

  .l-gnav__list {
    font-size: 4vw;
    margin-top: 20%;
    margin-left: 3%;
 }

  .l-gnav__item {
    font-size: 5vw;
    line-height: 76px;
    letter-spacing: 0.2em;
    display: block;
    padding-left: 24px;
    border-bottom: 1px solid #9d5e84;
    position: relative;
  }

  .aboutus-img {
    width: 100%;
    top: 145px;
    opacity: 0.5;
  }

  .p-home-hero {
    height: 100%;
    min-height: 100%;
    margin-top: 10%;
    width: 97%;
  }
  
  .p-home-hero .p-home-hero__line01.is-active {
    width: calc(50vw - 100px);
  }

  .p-home-hero .p-home-hero__line02.is-active {
    width: 34vw;
  }

  .gradient-text {
    padding-top: 3.5rem;
    margin-bottom: 2.75rem;
    padding-left: .75rem;
    padding-right: .75rem;
    width: calc(1065 / 1440 * 100cqi);
    font-size: 3em;
  }

  .scroll_down {
    position: absolute;
    bottom: 0%;
    right: 10%;
    animation: arrowmove 2s cubic-bezier(0.645, 0.045, 0.355, 1.000) infinite;
  }

  .scroll_down::before {
    content: "";
    position: absolute;
    bottom: 5px;
    right: -3px;
    width: 3px;
    height: 10px;
    background: #853665;
    transform: skewX(-31deg);
  }

  .scroll_down::after {
    content: "";
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 3px;
    height: 35px;
    background: #853665;
  }

  .scroll_text a {
    font-size: 3.2vw;
  }

  #about {
    margin-left: 2.5%;
  }

  none.absolute.sm\:relative.bottom-0.sm\:left-0.left-\[calc\(50\%\+13\/375\*100cqi\)\].sm\:translate-x-0.-translate-x-1\/2.sm\:w-full.w-\[calc\(853\/375\*100cqi\)\].h-auto.overflow-visible {
    --tw-translate-x: 0%;
  }

  .p-home-intro .p-home-intro__txt {
    width: fit-content;
    padding-left: 5%;
    text-align: left;
  }

  .p-home-intro .p-home-intro__txt-head {
     font-size: 10vw;
  }

  .p-home-intro .p-home-intro__txt-in {
    font-size: 3.5vw;
  }

  .spaceL {
    padding-left: 0px;
  }

  .bx-company {
    margin: 0px;
    padding: 0px;
    background: #fff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  }
  
  .p-index-cv .p-index-cv__container {
    padding-right: 0%;
    padding-left: 0%;
    padding-top: 0%;
  }

  .ttlM span {
    font-size: 4vw;
    padding-top: 5%;
  }

  .ttlM strong {
    font-size: 8.5vw;
  }

  .bx-company .ttlM {
   margin-bottom: 35px;
   padding-left: 15px;
   padding-top: 25px;
}

  .tablecontent {
    padding: 0 2%;
  }

  .bx-company table th {
   font-size: 4vw;
   padding: 15px;
   width: 100px;
   display: table-cell;
  }

  .bx-company table td {
    font-size: 3.7vw;
    padding: 15px;
  }

  .corporate {
    margin-bottom: 5%;
  }

  .c-head01 {
    font-size: 10vw;
    margin: 0 0 55px 0px;
  }

  .p-index-service {
    padding: 40px 0 55px;
  }

  .p-index-service .p-index-service__item-txt-head {
     font-size: 5vw;
  }

  .service-contents {
   font-size: 3vw;
  }

  .l-content {
    width: 100%;
  }

  .p-service-mh {
    font-size: 6vw;
  }

  .c-txt01 {
    font-size: 5vw;
  }

  .p-service-content-inner {
    padding-top: 3vw;
    margin-top: 10.66667vw;
  }

  .p-service-box {
    width: 100%;
    margin: 0;
  }

  .p-service-content-img {
    width: 120vw;
    right: -24vw;
    top: 0px;
  }

  .p-service-content-list {
    justify-content: center;
  }

  .p-service-content-inner-wrap {
    margin: 0 0 30px;
  }

  .modal-content {
    margin: 80% auto;
  }

  .modal-title {
    font-size: 5vw;
  }

  .modal-content p {
    font-size: 4.8vw;
    font-weight: 500;
  }

  .modal-close {
    right: 20px;
  }

  .yajirushi {
    bottom: 1.5px;
  }

  .service-detail {
    font-size: 3.5vw;
  }

  .c-cv01 .c-cv01__areaTxt {
    width: 100%;
  }

  .c-cv01__header .ttlM span {
    font-size: 4vw;
  }

  .c-cv01 .c-cv01__header {
    font-size: 10vw;
    margin-bottom: 0px;
  }

  .c-cv01 .c-cv01__btnWrap {
    width: 100%;
  }

  .spaceL2 {
    padding-left: 0px;
  }

  .bx-contact {
    margin: 0 0 20px 0px;
    padding: 15px;
    box-shadow: none;
  }

  .bx-contact table th {
    border-bottom: none;
  }

  .c-cv01 {
    padding: 120px 0 0;
      padding-top: 120px;
    padding-top: 10%;
  }

  .p-index-news {
    padding: 0px;
  }

  .p-index-news .p-index-news__header {
    width: 100%;
    height: 10em;
  }

  .c-head02 .c-head02__en {
    font-size: 10vw;
  }

  .c-head02 {
    margin-bottom: 0px;
  }

  .c-meta01 .c-meta01__date {
    font-size: 4vw;
  }

  .c-archive02 .c-archive02__item-title {
    font-size: 4vw;
  }

  .u-txt-uppercase {
    font-size: 4vw;
  }

  .c-archive02 .c-archive02__item-link {
    padding: 30px 0;
  }

  .l-footer .l-footer__info-logo {
    width: 100px;
  }

  .l-footer .l-footer__info-copy {
    font-size: 4vw;
  }

  .l-footer .l-footer__info-add {
    font-size: 4vw;
  }

  .l-footer .l-footer__nav {
    gap: 85px;
    grid-area: 2/1/2/2;
  }

  .l-footer .l-footer__inner {
    display: block;
  }
  .swiper-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
  }

  .l-footer .l-footer__inner {
	width: 90%;
	margin: 0 auto;
	background-color: #853665;
	border-radius: 20px;
	padding: 5em 2em;
	align-items: center;
	font-size: .8em;
}

.l-footer__info .l-footer__info-logo-link {
	display: inline-block;
}

.p-service-sh {
	margin-left: 1em;
}

.custom-mobile-slider .swiper-button-next::after, .custom-mobile-slider .swiper-button-prev::after {
	font-size: 16px !important;
	position: absolute;
	top: 25%;
	left: 33%;
	margin: auto;
}

.c-cv01 .c-cv01__inner {
  width: 90%;
}

.l-footer {
  padding-top: 45px;
}
.p-home-intro .p-home-intro__inner {
	padding: 0 !important;
	width: 90% !important;
	margin-bottom: 5em !important;
margin-right: auto !important;
}
.p-home-intro .p-home-intro__txt-head {
	padding-top: 1em;
}
}


.l-footer {
  padding-bottom: 3em;
}

.p-home-intro .p-home-intro__inner {
	background-color: #8536650f;
	padding: 5em 0;
	width: 55%;
	margin-right: 10em;
	border-radius: 20px;
	margin-bottom: 0;
}

.service-detail a:hover {
	color: #50203c;
}
.service-detail a {
	font-weight: bold;
}

/* スマホ専用カスタムスライダー CSS */
@media screen and (max-width: 768px) {
  
  /* カスタムスライダーのベース設定 */
  .custom-mobile-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 15px 60px; /* 下部にインジケーター用のスペース */
    overflow: hidden;
    background: transparent;
  }
  
  /* Swiperのデフォルトスタイルをリセット */
  .custom-mobile-slider .swiper-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    transform: none !important;
    transition: none !important;
  }
  
  /* スライド要素 */
  .custom-mobile-slider .swiper-slide {
    position: relative;
    width: 100% !important;
    height: auto;
    display: none; /* デフォルトは非表示 */
    opacity: 0;
    transform: none !important;
    transition: opacity 0.3s ease;
    margin: 0;
    padding: 0;
    flex-shrink: initial;
    background: transparent;
    justify-content: center;
    align-items: center;
  }
  
  /* 最初のスライドのみ表示 */
  .custom-mobile-slider .swiper-slide:first-child {
    display: block;
    opacity: 1;
  }
  
  /* スライド内の画像 */
  .custom-mobile-slider .swiper-slide img {
    width: 85%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin: 0 auto;
  }
  
  /* ナビゲーションボタン */
  .custom-mobile-slider .swiper-button-next,
  .custom-mobile-slider .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px !important;
    height: 45px !important;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 2px solid #853665;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .custom-mobile-slider .swiper-button-next:hover,
  .custom-mobile-slider .swiper-button-prev:hover {
    background: #853665;
    transform: translateY(-50%) scale(1.1);
  }
  
  .custom-mobile-slider .swiper-button-next:hover:after,
  .custom-mobile-slider .swiper-button-prev:hover:after {
    color: white;
  }
  
  .custom-mobile-slider .swiper-button-next:after,
  .custom-mobile-slider .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
    color: #853665 !important;
  }
  
  .custom-mobile-slider .swiper-button-next {
    right: 15px;
  }
  
  .custom-mobile-slider .swiper-button-prev {
    left: 15px;
  }
  
  /* インジケーター（ドット） */
  .custom-slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
  }
  
  .indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #853665;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .indicator-dot.active {
    background: #853665;
    transform: scale(1.2);
  }
  
  .indicator-dot:hover {
    background: #853665;
    transform: scale(1.1);
  }
  
  /* モーダル用の矢印（既存のまま） */
  .custom-mobile-slider .yajirushi {
    position: absolute;
    font-size: 3.5vw;
    z-index: 10;
    bottom: 8px;
    right: 12px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }
  
  /* サービス詳細リンク */
  .custom-mobile-slider .service-detail {
    font-size: 3.5vw;
    margin-top: 15px;
    text-align: center;
  }
  
  .custom-mobile-slider .service-detail a {
    border-bottom: 2px solid #853665;
    padding: 5px 10px;
    display: inline-block;
    color: #853665;
    text-decoration: none;
  }
  
  /* タッチフィードバック */
  .custom-mobile-slider {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
  
  .custom-mobile-slider:active {
    cursor: grabbing;
  }
  
  /* サービスヘッダーの調整 */
  .p-service-sh {
    font-size: 4.5vw;
    margin: 0 0 15px 1em;
    color: #fff;
  }
  
  /* サービスコンテンツエリア */
  .p-service-content-inner {
    padding-top: 20px;
    margin-top: 20px;
  }
  
  .p-service-box {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    overflow: visible;
    position: relative;
  }
  
  /* コンテンツリスト */
  .p-service-content-list {
    display: block;
    white-space: normal;
    gap: 0;
  }
  
  /* 非表示にするSwiper関連のデフォルトスタイル */
  .custom-mobile-slider .swiper-pagination,
  .custom-mobile-slider .swiper-scrollbar {
    display: none !important;
  }
}

/* 極小画面用の調整 */
@media screen and (max-width: 480px) {
  .custom-mobile-slider {
    padding: 0 10px 50px;
  }
  
  .custom-mobile-slider .swiper-button-next,
  .custom-mobile-slider .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }
  
  .custom-mobile-slider .swiper-button-next:after,
  .custom-mobile-slider .swiper-button-prev:after {
    font-size: 16px !important;
  }
  
  .custom-mobile-slider .swiper-button-next {
    right: 10px;
  }
  
  .custom-mobile-slider .swiper-button-prev {
    left: 10px;
  }
  
  .indicator-dot {
    width: 10px;
    height: 10px;
  }
  
  .custom-slider-indicators {
    bottom: 15px;
    gap: 6px;
  }
}

/* デスクトップでは既存のSwiperスタイルを維持 */
@media screen and (min-width: 769px) {
  .custom-mobile-slider {
    /* デスクトップでは何もしない */
  }
}




.l-footer__info-logo-link img {
	margin: 0 auto;
}
.l-footer .l-footer__nav-list {
	flex-direction: row;
}
.smal_span {
	font-size: .3em;
	letter-spacing: 0.2em;
	font-weight: 700;
	display: block;
	margin-bottom: 16px;
}

@media screen and (min-width: 770px) and (max-width: 1280px) {
  .gradient-text.gradient-text2 {
	position: absolute;
	font-size: 7em;
	bottom: 0%;
	left: 5%;
}
.ttlM {
	margin-left: .5em;
}
.ttlM.ttlM_sv {
	margin-left: 3.5em;
}
.p-service-sh {
	margin-left: 6em;
}
.c-cv01 .c-cv01__areaTxt {
	width: 100%;
	height: 20em;
}
.bx-contact {
	padding-top: 5em;
}
.c-cv01 .c-cv01__inner {
	width: 90%;
}
.c-cv01 .c-cv01__btnWrap {
	width: 100%;
}
.l-footer .l-footer__inner {
	padding: 4em 20em;
}
.l-footer {
  padding-top: 45px;
}
.p-home-intro .p-home-intro__inner {
	background-color: #8536650f;
	padding: 3em 4em;
	width: 75%;
	float: right;
	margin-right: 2em;
	border-radius: 20px;
	margin-bottom: 15em;
}
}