/* ネクストキャリアコンサルティング カスタムスタイル */

/* ===== モダンなテキストロゴ ===== */

/* ヘッダーロゴエリアの幅を確保 */
.header .header--logo {
  max-width: none !important;
  width: auto !important;
  flex-shrink: 0 !important;
  min-width: 280px !important;
  padding-right: 20px !important;
}

.header--logo a.modern-logo {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  position: relative !important;
  text-decoration: none !important;
}

.header--logo .logo-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

.header--logo .logo-next {
  font-size: 24px !important;
  color: #2563EB !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  margin-bottom: -2px !important;
  display: block !important;
}

.header--logo .logo-career {
  font-size: 24px !important;
  background: linear-gradient(90deg, #2563EB, #10B981) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  display: block !important;
}

.header--logo a .logo-tagline {
  position: absolute !important;
  top: 0 !important;
  left: 110px !important;
  font-size: 8px !important;
  color: #6B7280 !important;
  margin: 0 !important;
  letter-spacing: 0.02em !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  display: block !important;
  line-height: 1.3 !important;
  width: auto !important;
  max-width: 150px !important;
  opacity: 1 !important;
}

.header--logo a:hover .logo-next {
  color: #1D4ED8 !important;
  transition: color 0.3s ease;
}

.header--logo a:hover .logo-career {
  background: linear-gradient(90deg, #1D4ED8, #059669) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media screen and (max-width: 67.5625em) {
  .header .header--logo {
    min-width: 240px !important;
    padding-right: 15px !important;
  }

  .header--logo .logo-next,
  .header--logo .logo-career {
    font-size: 20px !important;
    letter-spacing: 0.13em !important;
  }

  .header--logo a .logo-tagline {
    font-size: 7px !important;
    margin-top: 5px !important;
  }
}

@media screen and (max-width: 47.9375em) {
  .header .header--logo {
    min-width: 200px !important;
    padding-right: 10px !important;
  }

  .header--logo .logo-next,
  .header--logo .logo-career {
    font-size: 16px !important;
    letter-spacing: 0.12em !important;
  }

  .header--logo a .logo-tagline {
    font-size: 6px !important;
    margin-top: 4px !important;
  }
}

/* ===== モダンなサービスカードデザイン ===== */

/* 元の円形スライダーを完全に非表示 */
.circle--slider,
.circle--rotate,
.rotate--circle {
  display: none !important;
}

.modern-services {
  padding: 80px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15), 0 20px 40px rgba(16, 185, 129, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-card-header {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
}

.service-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #2563EB, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 2;
  opacity: 0.9;
}

.service-icon-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image {
  transform: scale(1.08);
}

.service-card-body {
  padding: 32px 28px 28px;
  background: #FFFFFF;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 16px;
  line-height: 1.4;
}

.service-description {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 400;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563EB;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
  border: 1px solid transparent;
}

.service-link:hover {
  gap: 12px;
  background: linear-gradient(90deg, #2563EB, #10B981);
  color: #FFFFFF;
  border-color: #2563EB;
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 600px;
  }

  .service-card-header {
    height: 240px;
  }
}

@media screen and (max-width: 47.9375em) {
  .modern-services {
    padding: 60px 0;
  }

  .service-grid {
    gap: 24px;
    margin-top: 40px;
    grid-template-columns: 1fr;
  }

  .service-card-header {
    height: 200px;
  }

  .service-number {
    font-size: 36px;
    top: 16px;
    left: 16px;
  }

  .service-card-body {
    padding: 24px 20px 20px;
  }

  .service-title {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .service-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .service-link {
    font-size: 14px;
    padding: 8px 14px;
  }
}

/* ===== 元サイトの装飾を全て非表示 ===== */

/* 背景のSVG装飾を全て非表示 */
.hero .deco1,
.hero .deco2,
.home_service .bg,
.home_service .bg2,
.home_service .deco1,
.home_service .deco2,
.home_service .deco3,
.home_works .deco1,
.home_works .deco2,
.footer_cta .deco1,
.footer_cta .deco2,
img[src*="bg-logo"],
img[src*="seivice-bg"],
img[src*="service-bg"],
img[src*="works-bg"],
img[src*="hero-bg"],
img[src*="hero-ill"],
img[src*="fv-bg"],
img[src*="company-bg"],
img[src*="rectuit-bg"] {
  display: none !important;
}

/* 背景の装飾ロゴも非表示 */
.bg-logo,
.bg-pt {
  display: none !important;
}

/* SVGマスクも非表示 */
.hero .mask {
  display: none !important;
}

/* ===== 背景ラインのカスタマイズ ===== */

/* 細いライン - 太さと向きを変更 */
.line {
  width: 5px; /* 4px → 5px に変更 */
  height: 400px; /* 365px → 400px に変更 */
  transform: rotate(-40deg); /* 55deg → -40deg に変更（逆向き） */
}

/* 太いライン - 太さと向きを変更 */
.line-b {
  width: 28px; /* 24px → 28px に変更 */
  height: 120px; /* 100px → 120px に変更 */
  transform: rotate(-40deg); /* 55deg → -40deg に変更（逆向き） */
  opacity: 0.5; /* 0.4 → 0.5 に変更 */
}

.line-b.sm {
  transform: scale(0.6, 0.6) rotate(-40deg); /* スケールも調整 */
}

/* カラーテーマ変更 - ブランドカラーに合わせる */

/* プライマリカラー (青系) */
.line.pk::before,
.line-b.pk::before {
  background: linear-gradient(0deg, #2563EB, #60A5FA); /* 青のグラデーション */
}

/* セカンダリカラー (緑系) */
.line.bl::before {
  background: linear-gradient(0deg, #10B981, #34D399); /* 緑のグラデーション */
}

/* アクセントカラー (オレンジ・紫系) */
.line.pp::before,
.line-b.pp::before {
  background: linear-gradient(0deg, #F59E0B, #FBBF24); /* オレンジのグラデーション */
}

/* アニメーション速度を少し変更 */
@keyframes scroll_line {
  0% {
    transform: translateY(100%);
  }
  45% {
    transform: translateY(0);
  }
  85% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

.line::before {
  animation: scroll_line 3.5s cubic-bezier(0.87, 0, 0.13, 1) infinite; /* 3s → 3.5s */
}

.line-b::before {
  animation: scroll_line 5.5s cubic-bezier(0.87, 0, 0.13, 1) infinite; /* 5s → 5.5s */
}

/* ===== メインカラーテーマの変更 ===== */

/* ヘッダー・ボタンなどのアクセントカラー */
.cta_contact a,
.hero--contact a {
  background: linear-gradient(90deg, #2563EB, #1D4ED8) !important; /* ブルー系に変更 */
}

.cta_contact a:hover,
.hero--contact a:hover {
  background: linear-gradient(90deg, #1D4ED8, #1E40AF) !important;
}

.cta_recruit a {
  background: linear-gradient(90deg, #10B981, #059669) !important; /* グリーン系に変更 */
}

.cta_recruit a:hover {
  background: linear-gradient(90deg, #059669, #047857) !important;
}

/* タイトルのアクセントカラー */
.ttl .color {
  color: #2563EB !important;
}

/* リンクカラー */
a:hover {
  color: #2563EB !important;
}

/* ボタン */
.btn a,
.btn-2 a {
  color: #1F2937 !important;
  border-color: transparent !important;
  background: transparent !important;
}

.btn a:hover,
.btn-2 a:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1)) !important;
  color: #2563EB !important;
}

/* ===== 全体的なモダンデザインの改善 ===== */

/* ヘッダーのモダン化 */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  overflow: visible !important; /* サブメニューがヘッダー外に表示されるように */
}

.header .inner {
  overflow: visible !important; /* innerもoverflowをvisibleに */
}

.header .gnav {
  overflow: visible !important; /* gnavもoverflowをvisibleに */
}

.header .gnav--menu {
  overflow: visible !important; /* gnav--menuもoverflowをvisibleに */
}

/* ===== サブメニュー機能 ===== */

/* サブメニューを持つメニュー項目 */
.menu-item-has-children {
  position: relative;
}

/* サブメニューをデフォルトで非表示 */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  min-width: 220px;
  padding: 12px 0;
  margin-top: 10px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border: 1px solid rgba(37, 99, 235, 0.1);
  list-style: none;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

/* ホバー時にサブメニューを表示 */
.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* サブメニュー項目のスタイル */
.sub-menu li {
  padding: 0;
  margin: 0;
  display: block !important;
  list-style: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

.sub-menu-link {
  display: block;
  padding: 10px 24px;
  color: #1F2937 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sub-menu-link:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
  color: #2563EB !important;
  padding-left: 28px;
}

/* サブメニューの矢印（オプション） */
.sub-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(37, 99, 235, 0.1);
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  transform: translateX(-50%) rotate(45deg);
}

/* レスポンシブ対応 - タブレット以下 */
@media screen and (max-width: 67.5625em) {
  .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
    box-shadow: none;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    padding: 8px 0;
  }

  .sub-menu::before {
    display: none;
  }

  .sub-menu-link {
    padding: 8px 20px;
    font-size: 13px;
  }

  .sub-menu-link:hover {
    padding-left: 24px;
  }
}

/* ヘッダー内部のレイアウト調整 */
.header .inner {
  gap: 30px !important;
}

/* メニューボタンエリアの調整 */
.header .gnav_btn {
  flex-shrink: 0 !important;
}

/* ヒーローセクションのモダン化 */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero_slides {
  position: relative;
  z-index: 2;
}

/* ヒーロースライドの画像に丸みを追加 */
.hero_slide-pc .img-trim,
.hero_slide-sp .img-trim {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ヒーローセクションのスクロールテキストを下に移動して表示範囲内に */
.hero--scroll-txt {
  bottom: 80px !important; /* 下に移動 */
  overflow: visible !important; /* 表示されるように変更 */
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  position: absolute !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

/* スクロールテキストのループアニメーション - JavaScriptを無効化してCSSアニメーション */
.scroll-txt {
  animation: none !important; /* JavaScriptのアニメーションを使用 */
  width: max-content !important;
  position: absolute !important;
  display: block !important;
}

.scroll-txt--cont {
  display: flex !important;
  gap: 80px !important; /* テキスト間の間隔 */
  align-items: center !important;
}

.scroll-txt--cont span {
  white-space: nowrap !important;
  display: inline-block !important;
  font-size: 80px !important;
  font-weight: 800 !important;
  color: rgba(236, 122, 155, 0.15) !important; /* ピンク色で薄く */
  text-transform: uppercase !important;
}

@media screen and (max-width: 47.9375em) {
  .hero--scroll-txt {
    bottom: 60px !important;
  }

  .scroll-txt--cont span {
    font-size: 40px !important;
  }
}

/* セクションタイトルのモダン化 */
.ttl-01 {
  position: relative;
  padding-left: 24px;
}

.ttl-01::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 80%;
  background: linear-gradient(180deg, #2563EB, #10B981);
  border-radius: 3px;
}

.ttl-01 .jp {
  background: linear-gradient(135deg, #1F2937, #374151);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Aboutセクションのモダン化 */
.home_about {
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  position: relative;
}

/* Visionセクションのモダン化 */
.home_vision {
  background: linear-gradient(135deg, #F8FAFF 0%, #F0FDF9 100%);
  position: relative;
}

.home_vision .catch {
  font-size: 32px;
  line-height: 1.6;
  color: #1F2937;
}

/* ワークスセクションのモダン化 */
.home_works {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}

.works_item {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.works_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12), 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* フッターのモダン化 */
.footer {
  background: linear-gradient(180deg, #1F2937 0%, #111827 100%);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB 0%, #10B981 50%, #F59E0B 100%);
}

/* CTAボタンのモダン化 */
.footer_cta {
  position: relative;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
  padding: 80px 0;
}

.footer--contact a,
.footer--recruit a {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.footer--contact a:hover,
.footer--recruit a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* モダンなセクション間のスペーシング */
section {
  position: relative;
}

/* ===== WORKSセクションのカード幅調整 ===== */

/* WORKSスライダー全体を中央揃え */
.works_slider {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.works_slider .slick-track {
  display: flex !important;
  justify-content: center !important;
}

/* カードの幅を調整 */
.works_slider li {
  width: 800px !important; /* 横幅を広げる */
  max-width: 800px !important;
  padding-left: 1.2vw !important;
  padding-right: 1.2vw !important;
}

@media screen and (max-width: 67.5625em) {
  .works_slider li {
    width: 600px !important;
    max-width: 600px !important;
  }
}

@media screen and (max-width: 47.9375em) {
  .works_slider li {
    width: 90vw !important;
    max-width: 90vw !important;
  }
}

/* 画像の最適化 */
.img-cover {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

/* サービスセクションの画像を丸く */
.circle--rotate .icon img {
  border-radius: 50%;
  object-fit: cover;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* モダンなリンクホバーエフェクト */
a {
  transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media screen and (max-width: 47.9375em) {
  .line {
    width: 3px;
    height: 220px;
  }

  .line-b {
    width: 16px;
    height: 60px;
  }

  .ttl-01 {
    padding-left: 20px;
  }

  .ttl-01::before {
    width: 5px;
  }

  .hero_slide-pc .img-trim,
  .hero_slide-sp .img-trim {
    border-radius: 16px;
  }
}

/* ===== ページタイトルセクションのカスタマイズ ===== */

/* ページタイトルセクション全体をヘッダー分下にずらす */
.page_ttl {
  padding-top: 120px !important;
  min-height: 400px !important;
}

/* ページタイトルの英語テキストを下に移動 */
.page_ttl-en {
  margin-bottom: 50px !important;
  padding-top: 20px !important;
}

/* ページタイトルの日本語テキスト */
.page_ttl-jp {
  margin-bottom: 40px !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 47.9375em) {
  .page_ttl {
    padding-top: 100px !important;
    min-height: 350px !important;
  }

  .page_ttl-en {
    margin-bottom: 30px !important;
    padding-top: 10px !important;
  }

  .page_ttl-jp {
    margin-bottom: 20px !important;
  }
}

/* ===== FEATUREセクションの横スクロールレイアウト ===== */

/* FEATUREセクション全体のパディング調整 */
.home_feature {
  overflow: visible !important;
  padding-top: 40px !important; /* Serviceセクションと同じ高さに */
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  width: 90% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* innerを左側に固定配置 */
.home_feature > .inner {
  width: 480px !important;
  min-width: 480px !important;
  max-width: 480px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-right: 60px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0 !important;
}

/* innerの中のテキストコンテンツエリア */
.home_feature > .inner > * {
  flex-shrink: 0 !important;
}

.home_feature > .inner .ttl-01 {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 2rem !important;
}

.home_feature > .inner .catch {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 2.5rem !important;
}

.home_feature > .inner .txt {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 4rem !important;
}

.home_feature > .inner .btn-2 {
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* innerの中の装飾画像を非表示 */
.home_feature > .inner .deco {
  display: none !important;
}

/* feature_gridを右側に配置 */
.feature_grid {
  position: relative !important;
  left: auto !important;
  top: 0 !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  list-style: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  flex: 1 !important;
  min-width: 0 !important;
  align-items: flex-start !important;
}

/* スクロールバーを非表示 */
.feature_grid::-webkit-scrollbar {
  display: none !important;
}

.feature_grid {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.feature_grid > li {
  flex: 1 1 auto !important;
  min-width: 340px !important;
  max-width: none !important;
  display: block !important;
  height: auto !important;
}

/* レスポンシブ - タブレット */
@media screen and (max-width: 67.5625em) {
  .home_feature {
    gap: 30px !important;
  }

  .home_feature > .inner {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    padding-right: 30px !important;
  }

  .feature_grid {
    gap: 20px !important;
  }

  .feature_grid > li {
    flex: 1 1 0 !important;
    min-width: 280px !important;
  }
}

/* レスポンシブ - スマホ */
@media screen and (max-width: 47.9375em) {
  .home_feature {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .home_feature > .inner {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
  }

  .feature_grid {
    gap: 20px !important;
    flex-direction: column !important;
  }

  .feature_grid > li {
    flex: none !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  .home_feature > .inner .ttl-01 {
    font-size: 24px !important;
  }

  .home_feature > .inner .catch {
    font-size: 18px !important;
  }

  .home_feature > .inner .txt {
    font-size: 13px !important;
  }
}

.feature_item {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(37, 99, 235, 0.1);
  height: auto !important;
  min-height: auto !important;
  display: flex;
  flex-direction: column;
}

.feature_item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15), 0 20px 40px rgba(16, 185, 129, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.feature_item .img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
}

.feature_item:hover .img {
  transform: scale(1.05);
}

.feature_item .txtarea {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  width: 100%;
  border-radius: 0 0 20px 20px;
}

.feature_item .en {
  font-size: 20px;
  color: #2563EB;
  margin-bottom: 10px;
  font-weight: 800;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature_item .ttl {
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature_item .txt {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.65;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.feature_item .txt strong {
  font-size: 13.5px;
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 67.5625em) {
  .feature_grid > li {
    flex: 0 0 400px !important;
    min-width: 400px !important;
    max-width: 400px !important;
  }
}

@media screen and (max-width: 47.9375em) {
  .feature_grid {
    gap: 20px !important;
    margin-top: 30px !important;
  }

  .feature_grid > li {
    flex: 0 0 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
  }

  .feature_item .img {
    height: 220px;
  }

  .feature_item .txtarea {
    padding: 24px 20px 20px;
  }

  .feature_item .en {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .feature_item .ttl {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .feature_item .txt {
    font-size: 14px;
  }

  .feature_grid::-webkit-scrollbar {
    height: 8px;
  }
}


/* フッターのテキストロゴ（2026-10-09 他社ロゴ画像から差し替え） */
.footer--logo .footer-logo-text{display:flex;flex-direction:column;line-height:1;font-weight:800;font-size:22px;letter-spacing:.15em;color:#fff}
.footer--logo .footer-logo-text span+span{margin-top:2px}
@media screen and (max-width:47.9375em){.footer--logo .footer-logo-text{font-size:18px}}

/* スマホのヘッダーはロゴ＋MENUだけ（2026-10-09 ボタン見切れ・タグライン重なり対策） */
@media screen and (max-width: 47.9375em) {
  .header .gnav--cta-pc,
  .header .gnav--cta-sp_fixed { display: none !important; }
  .header .header--logo a .logo-tagline { display: none !important; }
}
/* タブレット以下：backdrop-filterがfixedメニューの基準をヘッダー枠に変えて全画面メニューが潰れるため外す */
@media screen and (max-width: 67.5em) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header .gnav { overflow-y: auto !important; }
}

/* スマホ：MENUボタンを右端へ／会社概要テーブルのラベル列を詰める（2026-10-09） */
@media screen and (max-width: 47.9375em) {
  .header .gnav_btn { left: auto !important; right: 16px !important; }
  .company-table th { width: 90px !important; padding: 16px 12px !important; }
  .company-table td { padding: 16px 12px !important; }
}

/* お問い合わせフォーム（2026-10-09） */
.contact-wrap { max-width: 760px; margin: 0 auto; }
.contact-lead { margin-bottom: 32px; line-height: 1.9; }
.contact-form .cf-row { display: block; margin-bottom: 24px; }
.contact-form .cf-label { display: block; margin-bottom: 8px; font-weight: 600; color: #1F2937; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; font-size: 16px; font-family: inherit;
  border: 1px solid #D1D5DB; border-radius: 8px; background: #fff; color: #111827;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid #2563EB; outline-offset: 1px; border-color: #2563EB; }
.req { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: 12px; border-radius: 4px; background: #2563EB; color: #fff; vertical-align: 1px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-note { margin: 8px 0 24px; font-size: 13px; color: #6B7280; }
.cf-submit { display: block; width: 100%; max-width: 320px; margin: 0 auto; padding: 18px; border: 0; border-radius: 50px; cursor: pointer;
  background: linear-gradient(90deg, #2563EB, #10B981); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .1em; }
.cf-submit:disabled { opacity: .6; cursor: default; }
.contact-msg { margin-bottom: 32px; padding: 18px 20px; border-radius: 8px; line-height: 1.8; }
.contact-msg--ok { background: rgba(16,185,129,.1); color: #065F46; }
.contact-msg--ng { background: rgba(239,68,68,.1); color: #991B1B; }
