
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
}

.section-title {
  text-align: center;
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-color);

}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
}

:root {
  --bg-color: #ffffff;
  --text-color: #333;
  --accent-color: #004c97;
}

/* スクリーンリーダーのみが読み取る隠しテキスト用 */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* キーボード操作で表示されるスキップリンク */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--accent-color);
  transform: translateY(-100%);
  transition: transform 0.3s;
  z-index: 1000;
}
.skip-link:focus {
  transform: translateY(0);
}


.hero {
  position: relative;
  height: 70vh;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* Ensure hero headings are not hidden behind the fixed navbar */
.hero-contact .container,
.hero-pricing .container,
.hero-download .container,
.hero-faq .container {
  padding-top: 4rem;
}

.hero h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Improve readability of lead text over hero backgrounds */
.hero .lead {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* 手書き風の蛍光ペン風ハイライト */
.hand-marker {
  position: relative;
  display: inline-block;
}

.hand-marker::before {
  content: '';
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.1em;
  height: 0.5em;
  background: rgba(255, 255, 0, 0.8);
  transform: rotate(-2deg);
  z-index: -1;
  border-radius: 0.2em;
  filter: blur(1px);
}

/* 価格ページ用ヒーロー */
.hero-pricing {
  height: 30vh;
  background-image: linear-gradient(rgba(0, 76, 151, 0.6), rgba(0, 76, 151, 0.6)),
                    url('/sftp_files/png/PricePageBackground.png');
  background-repeat: repeat;
  background-position: center;
}

/* お問い合わせページ用ヒーロー */
.hero-contact {
  height: 30vh;
  background-image: linear-gradient(rgba(0, 76, 151, 0.7), rgba(0, 76, 151, 0.7)),
                    url('/sftp_files/png/ContactPageBackground.png');
  background-repeat: repeat;
  background-position: center;
}

/* FAQページ用ヒーロー */
.hero-faq {
  height: 30vh;
  background-image: linear-gradient(rgba(0, 76, 151, 0.7), rgba(0, 76, 151, 0.7)),
                    url('/sftp_files/png/ContactPageBackground.png');
  background-repeat: repeat;
  background-position: center;
}

@media (max-width: 768px) {
  .hero-pricing {
    height: 30vh;
  }
  .hero-contact {
    height: 30vh;
  }
  .hero-faq {
    height: 30vh;
  }
}

.section-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* アクセントカラーを活かした装飾 */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: color-mix(in srgb, var(--accent-color) 80%, black);
  border-color: color-mix(in srgb, var(--accent-color) 80%, black);
}

/* ダウンロードボタン用の拡大スタイル */
.download-btn {
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
}

.nav-link:hover,
.nav-link:focus {
  color: color-mix(in srgb, var(--accent-color) 80%, black);
}

.nav-link {
  transition: color 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
  color: var(--accent-color);
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: color-mix(in srgb, var(--accent-color) 80%, black);
}

.logo {
  width: 24px;
  height: 24px;
}

.hero-video {
  position: absolute;
  top: 0px; /* ヒーロー動画の下部を少し隠す */
  left: 0;
  width: 100%;
  height: calc(100% + 30px);
  object-fit: cover;
  z-index: 0;
}

.hero-logo {
  width: 80px;
  height: 80px;
}

/* 特徴リスト用スタイル */
.text-accent {
  color: var(--accent-color);
}

.feature-list .feature-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  padding: 1rem;
  height: 100%;
}

.feature-icon {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-right: 0.5rem;
}

.catch-copy {
  color: var(--accent-color);
  font-size: 1.3rem;
  font-weight: 600;
}

/* 価格表示用スタイル */
.pricing-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}
.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
}
.price-note {
  font-size: 1.2rem;
  color: #666;
}
.license-list {
  list-style: disc;
  padding-left: 1.2rem;
}

/* ダウンロードページ用ヒーロー */
.hero-download {
  height: 40vh;
  background: linear-gradient(rgba(0, 76, 151, 0.6), rgba(0, 76, 151, 0.6)),
              url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

@media (max-width: 768px) {
  .hero-download {
    height: 30vh;
  }
}

/* ダウンロードページ用カード */
.download-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: 100%;
}

.download-card .bi {
  font-size: 2rem;
  color: var(--accent-color);
}

.download-step {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg,
              var(--accent-color),
              color-mix(in srgb, var(--accent-color) 70%, white));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

}

.download-buttons .btn {
  width: 220px;
}

.license-buttons .btn {
  width: 220px;
}

/* お問い合わせフォームの幅を広げる */
#contact-form {
  max-width: 800px;
}

/* スマートフォン向けの調整 */
@media (max-width: 576px) {
  body {
    font-size: 1.0rem;
  }
  .hero {
    /* 十分な高さを確保し、ボタンや文字が収まるよう調整 */
    height: 68vh;
    margin-bottom: 3rem;
  }

  .hero-pricing,
  .hero-contact,
  .hero-faq {
    /* 見出しのみのページでは高さを抑える */
    height: 25vh;
  }
  .hero-logo {
    /* スマートフォンではロゴを非表示にする */
    display: none;
  }
  .section-title {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    padding: 0 !important;
  }
  .download-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .download-buttons .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .license-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .license-buttons .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .pricing-card {
    margin-top: 0.5rem;
    margin-bottom: -1.5rem;
  }
  .mb-3 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .py-5 {
    padding-top: 0rem !important;
  }
  #about {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
  }
  .form-control{
    margin-bottom: 1rem;
  }
  
}
@media (min-width: 768px) {
  /* FAQページでは画像を元のサイズで中央寄せ */
  .faq-page .section-image.w-100 {
    width: auto !important;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .faq-page .section-image.w-80 {
    width: auto !important;
    max-width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
