@charset "UTF-8";
body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  background-color: #ffffff;
  color: #1e293b;
}

.quantum-light-gradient {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f8fafc 100%);
}

/* テキスト要素用のグラデーションクラス */
.accent-gradient {
  background: -webkit-gradient(linear, left top, right top, from(#0284c7), to(#4f46e5));
  background: linear-gradient(90deg, #0284c7 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 背景用のグラデーションクラス */
.bg-accent-gradient {
  background: -webkit-gradient(linear, left top, right top, from(#0284c7), to(#4f46e5));
  background: linear-gradient(90deg, #0284c7 0%, #4f46e5 100%);
}

/* ホバー時にテキストがグラデーションになるクラス */
.hover-text-gradient:hover {
  background: -webkit-gradient(linear, left top, right top, from(#0284c7), to(#4f46e5));
  background: linear-gradient(90deg, #0284c7 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* カードスタイル：境界線を排除 */
.card-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: none;
}

/* KV背景の設定 */
.hero-custom-bg {
  background-image: url(https://skillup-next.co.jp/wp-content/themes/skillupai_corp/assets/quantum_computing/img/bg_pc.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay-pattern {
  background-image: radial-gradient(circle at 2px 2px, rgba(2, 132, 199, 0.03) 1px, transparent 0);
  background-size: 40px 40px;
}

/* オーバーラップレイアウト: 左寄せイメージ、イメージ半幅から始まるテキスト枠 */
.overlap-wrapper {
  position: relative;
  padding-top: 60px;
}

.overlap-image-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  z-index: 20;
  border: 2px solid #ffffff;
}

.overlap-text-box-right {
  margin-left: 20%;
  width: 80%;
  z-index: 10;
}

.p_text_box a {
  text-decoration: underline;
}
@media (hover: hover) {
  .p_text_box a:hover {
    text-decoration: none;
  }
}

header .btn-contact {
  background: #0284C7;
  overflow: hidden;
  position: relative;
}
header .btn-contact span {
  position: relative;
  z-index: 1;
}
header .btn-contact::before {
  content: "";
  display: block;
  background: -webkit-gradient(linear, left top, right top, from(#0284C7), to(#4F46E5));
  background: linear-gradient(90deg, #0284C7 0%, #4F46E5 100%);
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transition: opacity ease 0.3s;
  transition: opacity ease 0.3s;
}
@media (hover: hover) {
  header .btn-contact:hover::before {
    opacity: 0;
  }
}

@media (max-width: 1280px) {
  #about #bg-dial {
    width: 1024px;
    height: 1024px;
    max-width: 100vw;
    max-height: 100vw;
    aspect-ratio: 1;
  }
}
@media (min-width: 769px) {
  #about .about-card {
    max-width: 29.4545454545vw;
    max-height: 29.4545454545vw;
  }
}

/* テキストが画像に被らないように内側の余白を調整 */
.overlap-inner-padding {
  padding-left: 25% !important;
}

@media (max-width: 1024px) {
  .overlap-image-left {
    width: 45%;
  }
  .overlap-text-box-right {
    margin-left: 15%;
    width: 85%;
  }
  .overlap-inner-padding {
    padding-left: 35% !important;
  }
}
@media (max-width: 768px) {
  .overlap-wrapper {
    padding-top: 0;
  }
  .overlap-image-left {
    position: relative;
    width: 100%;
    margin-bottom: -40px;
    border: none;
  }
  .overlap-text-box-right {
    margin-left: 0;
    width: 100%;
  }
  .overlap-inner-padding {
    padding-top: 5rem !important;
    padding-left: 1.5rem !important;
  }
}