body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #102340;
  color: #ffffff;
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3); /* 👈 半透明に！ */
  backdrop-filter: blur(4px);    /* 👈 背景ぼかしで馴染ませる（対応ブラウザのみ） */
  z-index: 9999;
  padding: 0.5em 1em;
}

.nav-container {
  display: flex;
  justify-content: flex-end; /* 👈 これで右寄せ */
  align-items: center;
  padding: 0 1.5em;
}


.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.main-nav li {
  padding: 0 0.8em;
  border-right: 1px solid #ccc;
}

.main-nav li:last-child {
  border-right: none; /* 最後だけ線を消す */
}


.main-nav a {
  font-size: 0.9rem;          /* ← 少し小さめに */
  font-weight: 300;           /* ← 細めに */
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif; /* スッキリ系日本語フォント */
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #64e9e3;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.hero-layered {
  position: relative;
  width: 100%;
  height: 700px; /* 高さはお好みで調整可能 */
  background: url('https://bo.kantool-shop.jp/img/dsHD/DS-topbg1.jpg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  animation: fadeIn 4s ease-out;
}
.hero-layered img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.layer-topbg2,
.layer-topbg3 {
  animation: spinRevealOnce 1.5s ease-out forwards;
  transform-origin: center;
  transform: scaleX(0) rotate(0deg);
}
.layer-topbg2 {
  z-index: 2;
  animation-delay: 0.3s;
}
.layer-topbg3 {
  z-index: 3;
  animation-delay: 0.6s;
}
.layer-camera {
  z-index: 4;
  width: 800px;
  height: auto;
  top: 65%;
  left: -300px;
  transform: translateY(-50%);
  opacity: 0;
  animation: cameraSlideInDiagonal 1s ease-out forwards;
  animation-delay: 0.5s;
}
.layer-topbg4 {
  z-index: 5;
  animation-delay: 1.5s;
}
.camera-mask {
  position: absolute;
  width: 600px;      /* 表示させたい範囲の幅だけに */
  height: 340px;     /* カメラが表示される高さ分だけに */
  top: 30%;
  left: 10%;
  overflow: hidden;  /* これでマスク機能が正しく働く */
  z-index: 4;
  pointer-events: none;
}

@keyframes cameraSlideInDiagonal {
  0% {
    left: -300px;
    top: 90%;
    opacity: 0;
  }
  100% {
    left: 20%;
    top: 60%;
    opacity: 1;
  }
}
@keyframes spinRevealOnce {
  0% {
    transform: scaleX(0) rotate(0deg);
    opacity: 0;
  }
  100% {
    transform: scaleX(1) rotate(180deg);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
h1, h3 {
  color: #00c6ff;
}

h2{
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  background: linear-gradient(-39deg, #B089EF 18%, #0e9ff9 31%, #64e9e3 76%, #9ffac7 81%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.section h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.section.visible h2 {
  opacity: 1;
  transform: translateY(0);
}


@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.section {
  padding: 4rem 2rem;
  background-color: #183053;
  margin: 3rem auto;
  border-radius: 20px;
  width: 90%;
  max-width: 1000px;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}
.section.visible {
  transform: scale(1);
  opacity: 1;
}

.section img {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.feature {
  background: #223c63;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}



iframe {
  border: none;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 0 20px rgba(0, 114, 255, 0.4);
}
.btn {
  background: #00c6ff;
  color: #102340;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  display: inline-block;
  margin-top: 2rem;
  transition: background 0.3s;
}
.btn:hover {
  background: #0072ff;
  color: white;
}
footer {
  background-color: #0b142f;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
}

.DS_footer-content{
  display: flex;
  flex-wrap:wrap;
  max-width:1100px;
  padding: 20px 20px 10px 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 auto;
}

.DSfc{
  margin-bottom: 10px;
}

.DSfc a {
  text-decoration: none;
  color:#ffffff;
}

.title-block {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  color: #ffffff;
  font-family: "Yu Mincho", serif;
  animation: fadeInTitle 1s ease-out forwards;
  animation-delay: 1.2s;
  opacity: 0;
  z-index: 6;
}

.subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  margin: 0 0 0.2em;
  opacity: 0.7;
}

.main-title {
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin: 0;
  background: linear-gradient(-39deg, #B089EF 18%, #0e9ff9 31%, #64e9e3 76%, #9ffac7 81%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.cta-button {
  display: inline-block;
  margin-top: 1em;
  padding: 0.5em 1.2em;
  font-size: 0.9rem;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 20px;
  text-decoration: none;
  opacity: 0;
  animation: fadeInCta 1.5s ease-out forwards;
  animation-delay: 2s; /* ← タイトル後にゆっくり出る */
}

.cta-button:hover {
  background: #ffffff;
  color: #102340;
  transform: scale(1.05);
}

/* CTAだけフェードイン */
@keyframes fadeInCta {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* フェードインアニメーション */
@keyframes fadeInTitle {
  from {
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
}


.hero-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .hero-desktop {
    display: none !important;
  }

  .hero-mobile {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; /* 👈 左端から表示させる */
    width: 100vw; /* 👈 画面全幅をカバーする */
    background: rgba(0, 0, 0, 0.6); /* 👈 半透明の黒 */
    backdrop-filter: blur(4px);    /* 👈 ぼかし効果で上質感 */
    text-align: right;
    padding: 1em 1.2em;
    box-sizing: border-box;
    z-index: 10000;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1em;
  }

  .main-nav li {
    border-right: none; /* 👈 スマホ時は｜ナシにしておくとスッキリ */
    padding: 0.5em 0;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

  .hero-mobile {
    display: block;
    position: relative;
    width: 100%;
    height: 480px; 
    overflow: hidden;
    background-color: #102340;
  }

  .hero-mobile .sp-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .hero-mobile .sp-layer {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    animation: rotateScaleIn 2s ease forwards;
    transform-origin: center;
  }

  .hero-mobile .layer2 {
    z-index: 2;
    animation-delay: 0s;
  }

  .hero-mobile .layer3 {
    z-index: 3;
    animation-delay: 0.2s;
  }

  .hero-mobile .sp-camera {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 4;
    opacity: 0;
    animation: slideUpCamera 0.8s ease-out 1s forwards;
  }

  h2{
    font-size: 1.5rem;
  }

  .title-block-sp {
    position: absolute;
    bottom: 0%;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 5;
    opacity: 0;
    animation: fadeInTitle 0.5s ease-out 1s forwards;
  }

  .title-block-sp .main-title {
    font-size: 1.8rem;
    margin: 0.5em 0 0.3em;
    background: linear-gradient(-39deg, #B089EF 18%, #0e9ff9 31%, #64e9e3 76%, #9ffac7 81%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }

  .cta-button {
    font-size: 0.8rem;
    padding: 0.4em 1em;
  }
}

@keyframes rotateScaleIn {
  0% {
    transform: rotate(0deg) scale(0);
    opacity: 0;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes slideUpCamera {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.ai-section {
  background-color: #b1d5cd;
  padding: 4rem 2rem;
  color: white;
}

.ai-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 2rem;
}

.ai-header h2 {
  font-size: 3rem;
  color: #ffffff;
  background: linear-gradient(to right, #ed20b8, #fda05e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accuracy-icon {
  height: 120px;
}

.ai-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.ai-left, .ai-right, .ai-damage-assist {
  flex: 1;
  min-width: 300px;
}

.ai-device {
  position: relative;
  text-align: left;
}

.ai-device img {
  width: 100%;
  max-width: 400px;
}

.ai-device-caption {
  position: absolute;
  top: 10%;
  left: 70%;
  text-align: right;
  font-size: 0.9rem;
}

.ai-device-caption p {
  background: rgba(255, 255, 255, 0.9);
  color: #102340;
  font-weight: bold;
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
}

.ai-device-caption img {
  margin-top: 0.5rem;
  width: 100px;
}

.ai-caption {
  margin-top: 4rem;
}

.ai-caption h3 span {
  color: #374e71;
  font-size: 1.2rem;
  font-weight: bold;
}

.ai-caption p {
  font-size: 0.95rem;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  color:#393939;
}

.sumakandsc{
  color: #374e71;
  font-size: 1.2rem;
  font-weight: bold;
}

.sumakandsc span {
  color: #19a39e;
  font-size: 2rem;
  font-weight: bold;
}

.ai-img-double,
.ai-img-judge,
.ai-img-report {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.ai-container{
  max-width:1000px;
  margin:0 auto;
}

.dshd-link {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.dshd-link a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(-39deg, #B089EF 18%, #0e9ff9 31%, #64e9e3 76%, #9ffac7 81%);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.dshd-link a:hover {
  opacity: 0.5;
  background-color: #087ec0;
}

.sumakan-link {
  text-align: center;
  margin-top: 2rem;
}

.sumakan-link a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, #ed20b8, #fda05e);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.sumakan-link a:hover {
  background-color: #087ec0;
}


.sumakan-link {
  text-align: center;
  margin-top: 2rem;
}

.sumakan-link a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, #ed20b8, #fda05e);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.sumakan-link a:hover {
  opacity: 0.7;
}

.sumakan-link {
  text-align: center;
  margin-top: 2rem;
}

.sumakan-link a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, #ed20b8, #fda05e);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.sumakan-link a:hover {
  opacity: 0.7;
}

.ai-damage-assist {
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 100%;
}

.ai-damage-assist h3 {
  font-size: 1.6rem;
  color: #087ec0;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.ai-damage-assist p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

.ai-damage-assist img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.specs-section {
  padding: 4rem 2rem;
  text-align: center;
}

.specs-section .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.specs-table {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  color: #ffffff;
  font-size: 1rem;
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  border-bottom: 1px solid #ffffff;
  text-align: left;
}

.specs-table th {
  font-weight: bold;
  width: 40%;
}


