/* ===============================================
   SKサービス採用サイト デザイン強化CSS
   - セクション背景パターン
   - 装飾要素
   - アニメーション強化
=============================================== */

/* ===============================================
   CSS変数定義
=============================================== */
:root {
  --primary-color: #2e69a8;
  --primary-dark: #1a4a7a;
  --primary-light: #4a8bc9;
  --accent-color: #00d4aa;
  --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #00a8e8 100%);
  --bg-light: #f5f7fa;
  --bg-dark: #0a1628;
  --text-color: #333333;
  --text-light: #666666;
}

/* ===============================================
   ヒーローセクション強化
=============================================== */
.hero {
  background-image: 
    linear-gradient(135deg, rgba(26, 74, 122, 0.8) 0%, rgba(46, 105, 168, 0.75) 50%, rgba(74, 139, 201, 0.7) 100%),
    url("../img/33822772_m.jpg");
  position: relative;
  overflow: hidden;
}

/* 動くグリッド背景 */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* フローティングパーティクル */
.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  top: 20%;
  right: -100px;
  animation: float 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(-30px, 30px) scale(1.1); opacity: 0.8; }
}

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

.hero__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 212, 170, 0.2);
  border-radius: 30px;
  border: 1px solid rgba(0, 212, 170, 0.4);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* ===============================================
   About Usセクション - 斜めストライプ背景
=============================================== */
.section--about {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.section--about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(46, 105, 168, 0.03) 40px,
      rgba(46, 105, 168, 0.03) 80px
    );
  z-index: 0;
}

.section--about::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 105, 168, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.section--about .container {
  position: relative;
  z-index: 1;
}

/* テキスト装飾 */
.about__content .text {
  position: relative;
  padding: 30px;
  background: linear-gradient(135deg, rgba(230, 240, 250, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
  border-radius: 16px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 10px 40px rgba(46, 105, 168, 0.08);
}

@media (min-width: 768px) {
  .about__content .text {
    padding: 40px 50px;
    max-width: 700px;
  }
}

/* ===============================================
   Projectsセクション - テックグリッド背景
=============================================== */
.section--gray {
  position: relative;
  background: 
    linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
  overflow: hidden;
}

.section--gray::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(46, 105, 168, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}

/* コーナー装飾 */
.section--gray::after {
  content: "</>";
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-family: 'Roboto Mono', monospace;
  font-size: 80px;
  font-weight: 700;
  color: rgba(46, 105, 168, 0.05);
  z-index: 0;
}

.section--gray > .container {
  position: relative;
  z-index: 1;
}

/* カードホバー強化 */
.card {
  border: 1px solid rgba(46, 105, 168, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  border-color: rgba(46, 105, 168, 0.3);
  box-shadow: 
    0 20px 50px rgba(46, 105, 168, 0.15),
    0 0 0 1px rgba(46, 105, 168, 0.1);
}

.card__title {
  position: relative;
  display: inline-block;
}

.card__title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.card:hover .card__title::after {
  width: 100%;
}

/* ===============================================
   福利厚生セクション - グラデーションメッシュ
=============================================== */
.welfare-section {
  position: relative;
  background: 
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f0f7ff 100%);
  overflow: hidden;
}

.welfare-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 0% 0%, rgba(46, 105, 168, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(0, 212, 170, 0.06) 0%, transparent 50%);
  z-index: 0;
}

/* 波形装飾 */
.welfare-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f5f7fa' fill-opacity='0.5' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

.welfare-section .container {
  position: relative;
  z-index: 1;
}

.welfare-item {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

@media (min-width: 768px) {
  .welfare-item {
    flex-direction: row;
    gap: 60px;
  }
}

.welfare-item__image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(46, 105, 168, 0.15),
    0 0 0 1px rgba(46, 105, 168, 0.1);
  position: relative;
}

.welfare-item__image::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid rgba(0, 212, 170, 0.3);
  border-radius: 20px;
  z-index: -1;
}

.welfare-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.welfare-item__image:hover img {
  transform: scale(1.05);
}

.welfare-item__text-content {
  flex: 1;
}

.welfare-item__cat {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-gradient);
  color: #ffffff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

.welfare-item__title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .welfare-item__title {
    font-size: 32px;
  }
}

/* ===============================================
   福利厚生詳細ページ（page-welfare.php）のレイアウト修正
=============================================== */

/* 福利厚生アイテムのコンテナ */
.welfare-item__container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .welfare-item__container {
    flex-direction: row;
    min-height: 50vh;
    align-items: stretch;
  }
}

/* テキストエリア */
.welfare-item__container .welfare-item__content {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

@media (min-width: 768px) {
  .welfare-item__container .welfare-item__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
  }
}

/* 背景画像エリア */
.welfare-item__container .welfare-item__bg-image {
  min-height: 300px;
  position: relative;
}

@media (min-width: 768px) {
  .welfare-item__container .welfare-item__bg-image {
    width: 50%;
    min-height: auto;
  }
}

/* デフォルト：テキスト左、画像右 */
@media (min-width: 768px) {
  .welfare-item__container.welfare-item--text-left {
    flex-direction: row;
  }
  
  .welfare-item__container.welfare-item--text-left .welfare-item__content {
    order: 1;
  }
  
  .welfare-item__container.welfare-item--text-left .welfare-item__bg-image {
    order: 2;
  }
}

/* 反転：画像左、テキスト右 */
@media (min-width: 768px) {
  .welfare-item__container.welfare-item--text-right {
    flex-direction: row;
  }
  
  .welfare-item__container.welfare-item--text-right .welfare-item__bg-image {
    order: 1;
  }
  
  .welfare-item__container.welfare-item--text-right .welfare-item__content {
    order: 2;
  }
}

/* 番号装飾の修正 */
.welfare-item__number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 100px;
  font-weight: 900;
  color: rgba(46, 105, 168, 0.08);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .welfare-item__number {
    font-size: 140px;
    top: 30px;
    left: 40px;
  }
}

/* テキストコンテンツを番号の上に */
.welfare-item__content .welfare-item__cat,
.welfare-item__content .welfare-item__title,
.welfare-item__content .welfare-item__text {
  position: relative;
  z-index: 2;
}

/* カテゴリバッジのスタイル統一 */
.welfare-item__content .welfare-item__cat {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

/* タイトルスタイル */
.welfare-item__content .welfare-item__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .welfare-item__content .welfare-item__title {
    font-size: 28px;
  }
}

/* テキストスタイル */
.welfare-item__content .welfare-item__text {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
}

/* グレー背景セクションの調整 */
.welfare-item.section--gray {
  background: linear-gradient(180deg, #f5f7fa 0%, #eef2f7 100%);
}

.welfare-item.section--gray .welfare-item__content {
  background: linear-gradient(135deg, rgba(245, 247, 250, 0.95) 0%, rgba(238, 242, 247, 0.95) 100%);
}

/* ===============================================
   社員インタビューセクション - 波形背景
=============================================== */
#member.section--gray {
  background: 
    linear-gradient(180deg, #f0f4f8 0%, #e3ebf3 100%);
}

#member.section--gray::before {
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232e69a8' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.member__card {
  border: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 
    0 15px 40px rgba(46, 105, 168, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.member__card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 25px 60px rgba(46, 105, 168, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 社員名スタイル */
.member__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
}

/* セクション「もっと見る」ボタン */
.section__more {
  text-align: center;
  margin-top: 40px;
}

.member__img {
  position: relative;
}

.member__img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
}

@media (min-width: 768px) {
  .member__img::after {
    display: none;
  }
}

.member__catch {
  position: relative;
  padding-left: 20px;
}

.member__catch::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* ===============================================
   Tech Blogセクション - コードライン装飾
=============================================== */
#blog.section {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

#blog.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 79px, rgba(46, 105, 168, 0.03) 79px, rgba(46, 105, 168, 0.03) 81px, transparent 81px),
    linear-gradient(rgba(46, 105, 168, 0.02) 1px, transparent 1px);
  background-size: 100% 30px;
  z-index: 0;
}

/* サイドの装飾ライン */
#blog.section::after {
  content: "{ }";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%) rotate(-90deg);
  font-family: 'Roboto Mono', monospace;
  font-size: 100px;
  font-weight: 700;
  color: rgba(46, 105, 168, 0.03);
  z-index: 0;
}

#blog .container {
  position: relative;
  z-index: 1;
}

/* ブログカード強化 */
.blog-cards-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .blog-cards-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card-top {
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(46, 105, 168, 0.08);
}

.blog-card-top:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 30px 60px rgba(46, 105, 168, 0.12),
    0 0 0 1px rgba(46, 105, 168, 0.1);
}

.blog-card-top__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-top__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card-top:hover .blog-card-top__img img {
  transform: scale(1.08);
}

.blog-card-top__cat {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  background: rgba(46, 105, 168, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.blog-card-top__body {
  padding: 25px;
}

.blog-card-top__date {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
}

.blog-card-top__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

/* ===============================================
   Newsセクション - アクセント装飾
=============================================== */
#news.section--gray {
  background: 
    linear-gradient(180deg, #f5f7fa 0%, #edf2f7 100%);
}

#news.section--gray::before {
  background: none;
}

#news.section--gray::after {
  content: "NEWS";
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Roboto', sans-serif;
  font-size: 120px;
  font-weight: 900;
  color: rgba(46, 105, 168, 0.03);
  letter-spacing: 0.2em;
  z-index: 0;
}

.news__list {
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 30px;
  box-shadow: 0 10px 40px rgba(46, 105, 168, 0.06);
  border: none;
}

.news__item {
  border-color: rgba(46, 105, 168, 0.1);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.news__item:hover {
  padding-left: 15px;
  background: linear-gradient(90deg, rgba(46, 105, 168, 0.03) 0%, transparent 100%);
}

.news__item:first-child {
  border-top: none;
}

.news__date {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: var(--primary-color);
  background: rgba(46, 105, 168, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
}

.news__link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.news__link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* ===============================================
   CTAセクション強化
=============================================== */
.cta {
  background: 
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  z-index: 1;
}

.cta__content {
  position: relative;
  z-index: 3;
  border-radius: 20px;
  padding: 50px 40px;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  overflow: hidden; /* beforeがはみ出さないように */
}

.cta__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 20px 20px 0 0; /* 親要素の角丸に合わせる */
}

/* ===============================================
   セクションヘッダー強化
=============================================== */
.section__header {
  position: relative;
  margin-bottom: 60px;
}

.section__en {
  font-weight: 800;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__jp {
  position: relative;
  display: inline-block;
}

.section__jp::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* ===============================================
   ボタン強化
=============================================== */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  box-shadow: 0 10px 30px rgba(46, 105, 168, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 15px 40px rgba(46, 105, 168, 0.4);
  transform: translateY(-3px);
}

.btn--outline {
  border-width: 2px;
  position: relative;
  z-index: 1;
}

.btn--outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: inherit;
}

.btn--outline:hover {
  color: #ffffff;
  border-color: transparent;
}

.btn--outline:hover::after {
  opacity: 1;
}

/* ===============================================
   スクロールアニメーション強化
   ※ セクション背景は固定、コンテンツのみアニメーション
=============================================== */

/* セクション自体はアニメーションさせない（背景固定） */
.section.animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

/* コンテンツ要素のみアニメーション */
.animate-on-scroll:not(.section) {
  opacity: 0;
  transform: translateY(40px);
  transition: 
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll:not(.section).is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* セクション内のコンテンツアニメーション用クラス */
.content-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: 
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* スタガード（ずらし）アニメーション */
.card-grid .card:nth-child(1) { transition-delay: 0.1s; }
.card-grid .card:nth-child(2) { transition-delay: 0.2s; }
.card-grid .card:nth-child(3) { transition-delay: 0.3s; }

.blog-cards-top .blog-card-top:nth-child(1) { transition-delay: 0.1s; }
.blog-cards-top .blog-card-top:nth-child(2) { transition-delay: 0.2s; }
.blog-cards-top .blog-card-top:nth-child(3) { transition-delay: 0.3s; }

/* ===============================================
   テキストリンク強化
=============================================== */
.text-link {
  position: relative;
  color: var(--primary-color);
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light)) no-repeat right bottom;
  background-size: 0 2px;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.text-link:hover {
  background-size: 100% 2px;
  background-position: left bottom;
}

/* ===============================================
   フッター強化
=============================================== */
.footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

/* ===============================================
   レスポンシブ調整
=============================================== */
@media (max-width: 767px) {
  .section__jp::after {
    width: 40px;
    height: 3px;
    bottom: -10px;
  }
  
  .welfare-item__title {
    font-size: 22px;
  }
  
  .news__list {
    padding: 10px 20px;
  }
  
  .cta__content {
    padding: 30px 20px;
  }
}

/* ===============================================
   追加のユーティリティ
=============================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* パルスアニメーション（CTAボタン用） */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 105, 168, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(46, 105, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 105, 168, 0); }
}

.btn--primary.pulse {
  animation: pulse 2s infinite;
}

/* ===============================================
   インタビューページ - 詳細ページ
=============================================== */

/* ヒーローエリア */
.interview-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  overflow: hidden;
}

.interview-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  /* 縦長画像対応: 最小幅を確保 */
  min-width: 100%;
  min-height: 100%;
}

.interview-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.95) 0%,
    rgba(10, 22, 40, 0.7) 40%,
    rgba(10, 22, 40, 0.3) 100%
  );
}

.interview-hero__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
}

.interview-hero__label {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 8px 20px;
  background: var(--accent-gradient);
  border-radius: 30px;
  margin-bottom: 20px;
}

.interview-hero__catch {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 25px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .interview-hero__catch {
    font-size: 42px;
  }
}

.interview-hero__info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.interview-hero__role {
  font-size: 14px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.interview-hero__name {
  font-size: 18px;
  font-weight: 700;
}

/* メインレイアウト */
.interview-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .interview-layout {
    flex-direction: row;
    gap: 60px;
  }
}

/* サイドバー */
.interview-sidebar {
  width: 100%;
}

@media (min-width: 992px) {
  .interview-sidebar {
    width: 300px;
    flex-shrink: 0;
  }
}

/* プロフィールカード */
.profile-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(46, 105, 168, 0.1);
  position: sticky;
  top: 100px;
}

.profile-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}

.profile-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card__body {
  padding: 25px;
}

.profile-card__name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--text-color);
}

.profile-card__role {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.profile-card__info {
  margin: 0;
}

.profile-card__info-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
}

.profile-card__info-item:last-child {
  border-bottom: none;
}

.profile-card__info-item dt {
  font-size: 13px;
  color: #888;
}

.profile-card__info-item dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}

.profile-card__tech {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.profile-card__tech-title {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: linear-gradient(135deg, #e6f0fa 0%, #dbe9f8 100%);
  color: var(--primary-color);
  border-radius: 6px;
}

/* インタビューコンテンツ */
.interview-content {
  flex: 1;
  min-width: 0;
}

/* Q&A形式 */
.interview-qa {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.interview-qa:last-of-type {
  border-bottom: none;
}

.interview-qa__question {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.interview-qa__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
}

.interview-qa__question h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.5;
  padding-top: 10px;
}

@media (min-width: 768px) {
  .interview-qa__question h3 {
    font-size: 22px;
  }
}

.interview-qa__answer {
  padding-left: 65px;
}

.interview-qa__answer p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
}

/* メッセージ（特別スタイル） */
.interview-qa--message {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
  padding: 30px;
  border-radius: 16px;
  border: none;
  margin-top: 20px;
}

.interview-qa--message .interview-qa__icon {
  background: var(--accent-gradient);
}

/* 追加コンテンツ */
.interview-additional {
  margin-top: 40px;
  padding: 30px;
  background: #f8fafc;
  border-radius: 16px;
}

.interview-additional p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
}

/* 1日のスケジュール */
.daily-schedule {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #eee;
}

.schedule-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  gap: 30px;
  position: relative;
  padding-bottom: 40px;
}

.schedule-item:last-child {
  padding-bottom: 0;
}

/* タイムライン線 */
.schedule-item::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 30px;
  bottom: -10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), #e6f0fa);
}

.schedule-item:last-child::before {
  display: none;
}

.schedule-item__time {
  flex-shrink: 0;
  width: 80px;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  padding-top: 5px;
  position: relative;
}

/* タイムラインドット */
.schedule-item__time::after {
  content: '';
  position: absolute;
  right: -19px;
  top: 10px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
}

.schedule-item__content {
  flex: 1;
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(46, 105, 168, 0.08);
}

.schedule-item__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
}

.schedule-item__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* ===============================================
   インタビューページ - 一覧ページ
=============================================== */

/* グリッドレイアウト */
.interview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .interview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* 一覧カード（大） */
.interview-card-large {
  display: block;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(46, 105, 168, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.interview-card-large:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(46, 105, 168, 0.15);
}

.interview-card-large:hover .interview-card-large__img img {
  transform: scale(1.08);
}

.interview-card-large:hover .interview-card-large__overlay {
  opacity: 1;
}

.interview-card-large__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.interview-card-large__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.interview-card-large__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(46, 105, 168, 0.9) 0%,
    rgba(46, 105, 168, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.interview-card-large__view {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  padding: 12px 30px;
  border: 2px solid #ffffff;
  border-radius: 30px;
}

.interview-card-large__body {
  padding: 30px;
}

.interview-card-large__role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: 20px;
  margin-bottom: 15px;
}

.interview-card-large__catch {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .interview-card-large__catch {
    font-size: 22px;
  }
}

.interview-card-large__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #888;
  font-size: 14px;
}

.interview-card-large__name {
  font-weight: 600;
  color: var(--text-color);
}

.interview-card-large__year {
  padding-left: 15px;
  border-left: 1px solid #ddd;
}

/* カードグリッド（他のインタビュー） */
.interview-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .interview-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* 小さいカード */
.interview-card {
  display: block;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(46, 105, 168, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.interview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(46, 105, 168, 0.12);
}

.interview-card:hover .interview-card__img img {
  transform: scale(1.05);
}

.interview-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}

.interview-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.interview-card__body {
  padding: 20px;
}

.interview-card__role {
  display: block;
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.interview-card__catch {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 12px;
}

.interview-card__name {
  font-size: 13px;
  color: #888;
}

/* リード文 */
.section__lead {
  font-size: 16px;
  line-height: 2;
  color: var(--text-light);
}

/* PC用改行 */
@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}

/* ===============================================
   プロジェクト詳細ページ
=============================================== */

/* ヒーローエリア */
.project-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .project-hero {
    min-height: 60vh;
  }
}

.project-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
}

.project-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.95) 0%,
    rgba(10, 22, 40, 0.6) 50%,
    rgba(10, 22, 40, 0.3) 100%
  );
}

.project-hero__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
}

.project-hero__label {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 8px 20px;
  background: var(--accent-gradient);
  border-radius: 30px;
  margin-bottom: 20px;
}

.project-hero__title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .project-hero__title {
    font-size: 36px;
  }
}

.project-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-hero__cat {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.project-hero__tech {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(0, 212, 170, 0.3);
  border: 1px solid rgba(0, 212, 170, 0.5);
  border-radius: 20px;
}

/* メインレイアウト */
.project-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .project-layout {
    flex-direction: row;
    gap: 60px;
  }
}

/* サイドバー */
.project-sidebar {
  width: 100%;
}

@media (min-width: 992px) {
  .project-sidebar {
    width: 280px;
    flex-shrink: 0;
  }
}

/* プロジェクト情報カード */
.project-info-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 50px rgba(46, 105, 168, 0.1);
  position: sticky;
  top: 100px;
}

.project-info-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
}

.project-info-card__list {
  margin: 0;
}

.project-info-card__item {
  display: flex;
  flex-direction: column;
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
}

.project-info-card__item:last-child {
  border-bottom: none;
}

.project-info-card__item dt {
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-info-card__icon {
  font-size: 14px;
}

.project-info-card__item dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
}

/* プロジェクトコンテンツ */
.project-content {
  flex: 1;
  min-width: 0;
}

/* プロジェクトセクション */
.project-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.project-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.project-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.project-section__icon {
  font-size: 24px;
}

.project-section__body p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
}

/* ハイライトセクション */
.project-section--highlight {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
  padding: 30px;
  border-radius: 16px;
  border: none;
}

/* 担当工程タグ */
.process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.process-tag {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: 8px;
}

/* 技術タグ（大きめ） */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag--large {
  padding: 10px 18px;
  font-size: 14px;
}

/* プロジェクトカードグリッド */
.project-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .project-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* ===============================================
   プロジェクト一覧ページ（新デザイン）
=============================================== */

.project-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .project-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1200px) {
  .project-grid-new {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 新プロジェクトカード */
.project-card-new {
  display: block;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(46, 105, 168, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(46, 105, 168, 0.15);
}

.project-card-new:hover .project-card-new__img img {
  transform: scale(1.08);
}

.project-card-new:hover .project-card-new__overlay {
  opacity: 1;
}

.project-card-new__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-card-new__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card-new__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(46, 105, 168, 0.9) 0%,
    rgba(46, 105, 168, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card-new__view {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  padding: 12px 30px;
  border: 2px solid #ffffff;
  border-radius: 30px;
}

.project-card-new__cat {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: 20px;
  z-index: 2;
}

.project-card-new__body {
  padding: 25px;
}

.project-card-new__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 15px;
}

.project-card-new__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #888;
}

.project-card-new__industry,
.project-card-new__duration {
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-card-new__meta .icon {
  font-size: 14px;
}

.project-card-new__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card-new__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  background: linear-gradient(135deg, #e6f0fa 0%, #dbe9f8 100%);
  color: var(--primary-color);
  border-radius: 6px;
}

.project-card-new__tag--more {
  background: #f5f5f5;
  color: #888;
}
