/* ------------------------------
   基本設定
------------------------------ */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  color: #222;
  line-height: 1.8;
  background-color: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: 0.02em;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
a:hover {
  opacity: 0.8;
}
/* ------------------------------
   カラー定義
------------------------------ */
:root {
  --main-red: #e60012;
  --accent-red: #ff4b55;
  --light-gray: #fafafa;
  --dark-gray: #333;
}
/* ------------------------------
   セクション共通
------------------------------ */
section {
  padding: 100px 0;
}
section:nth-child(even) {
  background-color: var(--light-gray);
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 60px;
}
/* ------------------------------
   ヘッダー
------------------------------ */
header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand img {
  height: 40px;
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: #222;
  margin: 0 10px;
}
.navbar-nav .nav-link:hover {
  color: var(--main-red);
}
/* ------------------------------
   ヒーローセクション
------------------------------ */
.hero {
  background: linear-gradient(120deg, var(--main-red), var(--accent-red));
  color: #fff;
  text-align: center;
  padding: 140px 20px;
}
.hero h1 {
  font-size: 2.8rem;
  line-height: 1.4;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}
.btn-pink {
  background-color: #f43252;
  color: #fff;
  transition: 0.3s;
}
.btn-pink:hover {
  background-color: #e6396a;
  color: #fff;
}
.title-color {
  color:#f43252;
}
.underline-red {
  color: #000; /* 文字は黒 */
  text-decoration-line: underline; /* 下線をつける */
  text-decoration-color: #F43252; /* 下線の色を赤に */
  text-decoration-thickness: 2px; /* 下線の太さ */
  text-underline-offset: 4px; /* 下線と文字の距離 */
}
.pink-title {
  font-size: 11pt;
  line-height: 20px;
}
.three-coloms {
  border:#fab3b8,3px,solid; 
}
.coloms-width {
  width: 100%;
}
@media (max-width: 767px) {
.coloms-width {
  width: 30%;
}
}
.shadow-colom {
  box-shadow: -5px -5px 0px 0 rgb(227, 227, 227);
}
/* ------------------------------
   Lexicaはこうして解決します
------------------------------ */
.background-color-navy {
  background-color: #152f44;
}
.fs-title{
  font-size: 13pt;
}
/* ------------------------------
   開発したきっかけ
------------------------------ */
.background-color-white {
  background-color: #fff;
}
/* ------------------------------
   コンテンツカード
------------------------------ */
.card-style {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 40px 30px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-style:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.card-style img {
  width: 60px;
  margin-bottom: 20px;
}
.card-style h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--main-red);
}
 /* cards hover */
  .card-feature:hover{ transform: translateY(-6px); transition: .25s; box-shadow: 0 18px 40px rgba(19,39,54,0.08); }
/* ------------------------------
   Lexicaが選ばれる３つの理由
------------------------------ */
.background-color-red {
  background-color:#f97f88;
}
.lexica-size {
  width: 25%;
}
@media (max-width: 767px) {
.lexica-size {
 width: 50%;
}
}
/* ------------------------------
   セキュリティ診断の実施
------------------------------ */
.icon-size {
  width: 10%;
}
@media (max-width: 767px) {
.icon-size {
 width: 25%;
}
}/* ------------------------------
   料金プラン
------------------------------ */
.plan {
  border:#152f44,3px,solid; 
}
/* ------------------------------
   CTAセクション
------------------------------ */
.cta {
  background: linear-gradient(90deg, var(--main-red), var(--accent-red));
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
/* ------------------------------
   よくある質問
------------------------------ */
.q-size {
  width: 70%;
}
@media (max-width: 767px) {
.q-size {
 width: 15%;
}
}
.a-size {
  width: 20%;
}
@media (max-width: 767px) {
.a-size {
 width: 15%;
}
}
.display {
  display: block;
}
@media (max-width: 767px) {
.display {
  display: inline;
}
}
/* ------------------------------
   フッター
------------------------------ */
footer {
  background-color: #111;
  color: #ccc;
  padding: 60px 20px;
  text-align: center;
  font-size: 0.9rem;
}
footer a {
  color: #ccc;
}
footer a:hover {
  color: var(--main-red);
}
/* ------------------------------
   アニメーション
------------------------------ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-left {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}
/* ------------------------------
   レスポンシブ
------------------------------ */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2rem;
  }
  section {
    padding: 80px 0;
  }
}
@media (max-width: 576px) {
  .hero {
    padding: 100px 20px;
  }
  .card-style {
    padding: 30px 20px;
  }
}
/* 共通：画像は親幅に合わせる */
.hero-appearance {
  max-width: 100%;
  height: auto;
}
/* スマホ専用調整 */
@media (max-width: 767px) {
  .hero-section .container {
    overflow-x: hidden;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-section .hero-text {
    margin-left: 0 !important;
  }
  /* スマホでの画像サイズと余白調整 */
  .hero-appearance {
    width: 90%;
    margin: 0 auto 1.5rem;
  }
  /* 見出しの間隔をコンパクトに */
  .hero-section h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  /* テキスト整列 */
  .hero-section p {
    text-align: center;
  }
}
/* ページ全体の横スクロールを防止 */
html, body {
  overflow-x: hidden;
}
/* スマホテーブル文字を少し大きく */
  @media (max-width: 767px) {
    .table td, .table th {
      font-size: 14px;
      padding: 0.5rem;
    }
  }
