/* ==============================
   スマホサイズ時 .en 見出し小さく
============================== */
@media (max-width: 600px) {
  .en {
    font-size: 1.2rem !important;
    margin-top: 2em !important;
  }
}
/* ==============================
   ヒーローセクション（背景＋モーション）
============================== */
.strength-header {
  position: relative;
  height: 440px;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  background: url("../images/strength/services4-1.png") center/cover no-repeat;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,20,60,0.2), rgba(0,10,25,0.3));
  z-index: 1;
}
.strength-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(at 60% 40%, rgba(102,0,255,0.15), transparent 60%),
              radial-gradient(at 30% 70%, rgba(0,204,255,0.12), transparent 60%);
  animation: gradientMove 10s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes gradientMove {
  0% { background-position: 40% 30%, 70% 60%; }
  100% { background-position: 70% 60%, 30% 30%; }
}

.strength-header .container {
  position: relative;
  z-index: 3;
}

.strength-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 6px 12px rgba(0,0,0,0.6);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.strength-header p {
  font-size: 1.1rem;
  color: #eef2ff;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
  opacity: 0;
  animation: fadeIn 1.4s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}
/* ===== 理念の言葉（企業理念風センター表示） ===== */
.vision-quote {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 60px auto 40px;
  line-height: 1.8;
  width: 90%;
  color: #5a3dcf;
  background: linear-gradient(90deg, #8ca0fa 0%, #a476fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 3px 8px rgba(100, 80, 200, 0.25);
  font-family: "Noto Sans JP", sans-serif; /* ← 当社の強みと統一 */
  border-top: 1px solid rgba(150, 130, 230, 0.2);
  border-bottom: 1px solid rgba(150, 130, 230, 0.2);
  padding: 20px 0;
}

/* スマホ時は少し小さく */
@media (max-width: 768px) {
  .vision-quote {
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 40px auto 30px;
  }
}
/* ==============================
   理念の言葉（中央寄せ・独立表示）
============================== */
/* 理念文をより大きく印象的に */
.vision-quote {
  font-size: 1.6rem; /* ★ 少し小さく調整 */
  font-weight: 700;
  text-align: center;
  line-height: 1.8;
  color: #5a3dcf;
  background: linear-gradient(90deg, #7c6cf5 0%, #b97cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 70px auto 50px;
  letter-spacing: 0.06em;
  font-family: "Noto Sans JP", sans-serif;
  text-shadow: 0 4px 10px rgba(90, 60, 207, 0.15);
}

/* 小画面用：少し控えめに */
@media (max-width: 768px) {
  .vision-quote {
    font-size: 1.3rem;
    line-height: 1.7;
    margin: 50px auto 40px;
  }
}

/* ==============================
   強みメッセージセクション（左右バランス調整版）
============================== */
.strength-message-inner {
  display: flex;
  align-items: center;          /* ★ 縦位置を中央で合わせる */
  justify-content: center;      /* ★ セクション中央で揃える */
  gap: 45px;                    /* ★ 左右の間隔を広めにとる */
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;              /* ★ セクション全体に余白を追加 */
  flex-wrap: nowrap;
}

/* 左：文章 */

.message-text {
  flex: 1 1 55%;
  line-height: 1.9;
  color: #333;
  font-size: 1rem;
  margin-left: 60px; /* ★ 右に40px移動 */
}

/* 右：写真 */
.message-photo {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;      /* ★ 右写真を中央寄せ */
  align-items: center;
  position: relative;
}

/* 写真：やや小さめ＋中心配置＋バランス補正 */
.message-photo img {
  width: 65%;                   /* ★ 画面の約1/3強に収まるサイズ */
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.message-photo img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
}

/* ==============================
   スマホ対応
============================== */
@media (max-width: 900px) {
  .strength-message-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 40px 0;
  }

  .message-photo img {
    width: 60%;
  }
}
/* ==============================
   社長写真と名前を縦配置にする
============================== */
.message-photo {
  flex: 1 1 42%;
  display: flex;
  flex-direction: column;  /* ★ ここを追加：縦並びに変更 */
  justify-content: center;
  align-items: center;
}

.message-photo img {
  width: 55%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 18px; /* ★ 写真と文字の間に余白 */
}

.message-photo img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* 署名部分（前回と同じ） */
.president-info {
  text-align: center;
}

.president-info .title {
  font-size: 1rem;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.04em;
}

.president-info .name {
  font-size: 1.4rem;
  font-family: "Great Vibes", "Noto Serif JP", cursive;
  font-weight: 600;
  color: #4c3ad6;
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-shadow: 0 2px 6px rgba(100, 80, 200, 0.25);
}

/* Google Fonts署名風フォント */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
/* ==============================
   社長肩書＋名前（横並び配置）
============================== */
.president-info {
  text-align: center;
  margin-top: 12px;
}

.president-info p {
  display: inline-flex;
  align-items: baseline;
  gap: 12px; /* 肩書と名前の間の間隔 */
}

.president-info .title {
  font-size: 1rem;
  color: #333;
  font-family: "Noto Sans JP", sans-serif; /* サイト全体と統一 */
  letter-spacing: 0.04em;
}

.president-info .name {
  font-size: 1.4rem;
  font-family: "Great Vibes", "Noto Serif JP", cursive; /* 署名風フォント */
  font-weight: 600;
  color: #4c3ad6;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 6px rgba(100, 80, 200, 0.25);
}

/* Google Fonts 読み込み */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* ==============================
   当社の強み 見出しセクション（背景文字付き）
============================== */
.strength-heading {
  position: relative;
  text-align: center;
  margin: 40px auto 30px;
  padding: 60px 0; /* ★ 余白を縮小 */
  overflow: visible; /* ★ 文字切れ防止 */
}
/* 日本語見出し */
/* 変更点 1: セレクタを h2 から p.strength-subhead に変更 */
.strength-heading p.strength-subhead {
  font-size: 2.0rem; /* ★ サイズを縮小 */
  font-weight: 800;  /* 太字で存在感を強調 */
  letter-spacing: 0.06em;
  margin: 0;
  background: linear-gradient(90deg, #4c6ef5 0%, #9a5ef5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 4px 12px rgba(100, 80, 200, 0.3); /* 光沢強め */
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  z-index: 2;
  display: inline-block;
  padding-bottom: 12px;
  transition: transform 0.4s ease;
}

/* Hover時：微妙に拡大して浮く印象 */
/* 変更点 2: セレクタを h2:hover から p.strength-subhead:hover に変更 */
.strength-heading p.strength-subhead:hover {
  transform: scale(1.02);
}


/* 背景英語 Our Strength */
.strength-heading .en {
  position: absolute;
  top: 55%; /* ★ ほんの少し下げて中央バランスを取る */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6.5rem; /* ★ 少し大きくしても切れない */
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(90, 60, 207, 0.08);
  letter-spacing: 0.1em;
  white-space: nowrap;
  font-family: "Antonio", "Nunito Sans", sans-serif;
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: 1;
}
/* スマホ対応 */
@media (max-width: 768px) {
  .strength-heading .en {
    font-size: 3rem;
    top: 52%;
    color: rgba(90, 60, 207, 0.1);
  }
  /* 変更点 3: セレクタを h2 から p.strength-subhead に変更 */
  .strength-heading p.strength-subhead {
    font-size: 1.6rem;
  }
}
/* 理念と当社の強みの間の余白を最適化 */
.vision-quote {
  margin-bottom: 40px !important; /* 下の余白を少し詰める */
}

.strength-heading {
  margin-top: 20px !important; /* 上の余白を小さくして自然に続ける */
}
.vision-quote {
  border-bottom: 1px solid rgba(180, 160, 255, 0.15);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

/* ==============================
   強みグリッドカード
============================== */
.strength-section {
  padding: 100px 20px 60px; /* ← 下を100px→60pxに変更 */
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.strength-card {
  background: linear-gradient(
    135deg,
    rgba(192, 210, 255, 0.3) 0%,   /* 淡いブルー透明30% */
    rgba(224, 207, 255, 0.3) 100%  /* 淡いパープル透明30% */
  );
  border: 1px solid rgba(255, 255, 255, 0.8); /* ← 白い枠線を半透明で追加 */
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
  color: #333;
  -webkit-backdrop-filter: blur(6px); /* Safari対応 */
  backdrop-filter: blur(6px); /* ← 背景を柔らかくぼかすことでガラス感を演出 */
}


/* hover効果を完全停止 */
.strength-card:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* アイコンの統一調整 */
.strength-card .icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  opacity: 0.9;
  flex-shrink: 0;
}
/* ===== h3 (旧h2) 前にチェックアイコンを追加 ===== */
/* 変更点 4: セレクタを h2::before から h3::before に変更 */
.strength-card h3::before {
  content: "✔"; /* または "\2713" */
  font-size: 1.2rem;
  color: #4c6ef5; /* ブランドブルー系で上品に */
  margin-right: 8px;
  vertical-align: middle;
  text-shadow: 0 0 4px rgba(76,110,245,0.3);
}

/* 変更点 5: セレクタを h2 から h3 に変更 */
.strength-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 10px 0 18px;
  background: linear-gradient(90deg, #4c6ef5 0%, #9a5ef5 50%, #6c5ce7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 2px 8px rgba(100, 100, 180, 0.25); /* 柔らかい光沢の影 */
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

/* 見出し下のラインを光沢に */
/* 変更点 6: セレクタを h2::after から h3::after に変更 */
.strength-card h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, rgba(76,110,245,0.6), rgba(154,94,245,0.6));
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(120, 90, 255, 0.4);
}


.strength-card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  flex-grow: 1; /* ★ テキスト領域を伸縮させて高さ統一 */
  display: flex;
  align-items: flex-start; /* 上詰め配置 */
  text-align: justify;
}

/* 区切りライン */
.strength-section::after {
  content: "";
  display: block;
  width: 60%;
  height: 1px;
  margin: 100px auto 0;
  background: linear-gradient(90deg, transparent, rgba(0,51,102,0.4), transparent);
}

/* ==============================
   CTAセクション
============================== */
.cta-section {
  text-align: center;
  background: linear-gradient(90deg, #4c6ef5, #9a5ef5);
  color: #fff;
  padding: 100px 20px 40px;
  margin-bottom: 0;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cta-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 36px;
  background: #fff;
  color: #003366;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #dce5f8;
  transform: translateY(-3px);
}

/* ==============================
   スマホ対応
============================== */
@media (max-width: 768px) {
  .strength-header { height: 320px; }
  .strength-header h1 { font-size: 2rem; }
  .strength-header p { font-size: 0.95rem; }
  .strength-section { padding: 60px 20px; }
  .strength-card { padding: 28px 20px; }
  .cta-section { padding: 60px 20px; }
}
/* ==============================
   当社の強みページ専用：フッター上の余白を削除
============================== */
.strength-page .site-footer {
  margin-top: 0 !important;
}
/* ==============================
   Hoping PRセクション（理念・強み訴求）
============================== */
.strength-message {
  padding: 80px 20px 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  text-align: left;
  line-height: 1.9;
}

.strength-message h2 {
  font-size: 1.8rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 40px;
  color: #003366;
  letter-spacing: 0.05em;
  position: relative;
}

.strength-message h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #4c6ef5, #9a5ef5);
  border-radius: 2px;
}

.strength-message p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 24px;
  text-align: justify;
}

@media (max-width: 768px) {
  .strength-message {
    padding: 60px 16px;
  }
  .strength-message h2 {
    font-size: 1.4rem;
  }
  .strength-message p {
    font-size: 0.95rem;
  }
}
/* 濃い紫テキスト強調 */
.text-strong-purple {
  color: #003366; /* インディゴ系の深い紫 */
  font-weight: 600;
}
/* ====== 背景アイコン入りカード ====== */
.strength-card {
  position: relative;
  overflow: hidden; /* 背景画像のはみ出し防止 */
}

.strength-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%; /* 大きめに配置 */
  opacity: 0.05; /* ★ 薄く見えるように */
  z-index: 0; /* 背景として最背面 */
  transition: opacity 0.3s ease;
}

.strength-card * {
  position: relative;
  z-index: 1; /* テキストやアイコンを前面に */
}

/* 各カード専用背景アイコン設定 */
.strength-card:nth-child(1)::before {
  background-image: url("../images/strength/icon-code.png");
}
.strength-card:nth-child(2)::before {
  background-image: url("../images/strength/icon-java.png");
}
.strength-card:nth-child(3)::before {
  background-image: url("../images/strength/icon-network.png");
}
.strength-card:nth-child(4)::before {
  background-image: url("../images/strength/icon-security.png");
}
.strength-card:nth-child(5)::before {
  background-image: url("../images/strength/icon-database.png");
}
.strength-card:nth-child(6)::before {
  background-image: url("../images/strength/icon-costdown1.png");
}
/* ==================================
   理念と強みの間のグラデーション帯
================================== */
.section-divider {
  width: 100%;
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(240, 236, 255, 0) 0%,
    rgba(220, 215, 255, 0.4) 50%,
    rgba(240, 236, 255, 0) 100%
  );
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 強みメッセージセクション：シャドウ＋角丸で目立たせる */
.strength-message-highlight {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(80, 80, 120, 0.13);
  padding: 32px 28px;
  margin-bottom: 36px;
  transition: box-shadow 0.3s, background 0.3s;
}
@media (max-width: 768px) {
  .message-text {
    margin-left: 0;
    text-align: left;
  }
}
@media (max-width: 768px) {
  .message-text {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    width: 100% !important;
  }

  .message-text p {
    margin: 0 !important;
    text-align: left !important;
  }
}
/* スマホ向け CTA 見出し調整 */
@media (max-width: 600px) {
  .cta-section h2 {
    font-size: 1.3rem;
  }
}
/* ==============================
   スマホサイズ時の強みカード調整
============================== */
@media (max-width: 768px) {
  /* カード自体を少し小さく（前にお伝えした内容＋α） */
  .strength-card {
    padding: 28px 18px;      /* 40px → 28px など、少しコンパクトに */
  }

  .strength-card h3 {
    font-size: 1.05rem;
  }

  .strength-card p,
  .strength-card li {
    font-size: 0.95rem;
  }

  /* ★ 背景のうすいアイコンを小さくする */
  .strength-card::before {
    background-size: 55%;    /* PCでは 80% なので、スマホだけ少し小さめに */
    /* 必要なら、さらに薄くしたければ opacity も少し下げられます
       opacity: 0.04;
    */
  }
}

