/* =====================================
   　★★★ Security Page Styles ★★★
   ===================================== */

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", 游ゴシック体, "Yu Gothic", YuGothic, Meiryo, メイリオ, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Osaka, "MS PGothic", arial, helvetica, sans-serif;
  width: 100%;
  position: relative;
}

#contentsAll.security-page {
  background: #fff !important;
}

/* 共通：コンテンツ幅の設定（最大1200px） */
.security-page .mv-inner,
.security-page .container,
.security-page .cta-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.security-page {
  overflow-x: hidden;
}

.security-page .main-visual {
  overflow: hidden;
}

/* =============================
   メインビジュアル (MV)　新
   ============================= */

.main-visual {
  padding: 77px 0 92px;
  background: #071c94;
  position: relative;
  overflow: hidden;
}

/* 右側背景 */
.security-page .main-visual:before {
  content: "";
  position: absolute;
  width: 54%;
  height: 478px;
  top: 0;
  right: 0;
  background: url(../../img/harmony/cont03/top.png) left bottom no-repeat;
  background-size: 726px auto;
  z-index: 1;
}

/* 左側装飾 */
.security-page .main-visual:after {
  content: "";
  position: absolute;
  width: 438px;
  height: 100%;
  left: 0;
  bottom: 0;
  background: url(../../img/harmony/cont03/mv_before.png) left bottom no-repeat;
  background-size: 438px auto;
  z-index: 1;
}

/* =============================
   メインビジュアル下 　新
   ============================= */
/* セキュリティ導入 */
.security-intro {
  padding: 80px 0;
  background: #fff;
}

.security-intro .intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 60px;
}

.security-intro .intro-text {
  flex: 1.4;
}

.security-intro .lead {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
}

.security-intro .sub {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.security-intro .intro-image {
  flex: 0.8;
  max-width: 420px;
}

.security-intro .intro-image img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

/* ページ内リンク */
.security-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.security-nav li {
  flex: 0 0 auto;
}

.security-nav a {
  width: 155px;
  height: 155px;
  background: #001691;
  border-radius: 10px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.16);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #fff;
  text-decoration: none;
  text-align: center;
}

.security-nav img {
  width: 42px;
  height: auto;
}

.security-nav span {
  font-size: 14px;
  font-weight: 600;
}

.security-nav em {
  font-style: normal;
  font-size: 12px;
}

/* =============================
   各セクション共通
   ============================= */

/* タイトル */
.security-page h2 {
  color: #001691;
  font-size: 40px;
  line-height: 1.324;
  text-align: center;
  margin: 0 0 40px 0;
}

/* 英語ラベル */
.security-page .en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.security-page .en span {
  font-size: 20px;
  color: #000;
}

/* 左右の線 */
.security-page .en::before,
.security-page .en::after {
  content: "";
  width: 130px;
  height: 1px;
  background: #707070;
}

/* =============================
   不安はありませんか？
   ============================= */
.security-page .section-point {
  background: #f3f5ff;
  padding: 120px 0;
}

.security-page .pointList {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.security-page .pointList-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px 17px;
  flex: 1;
  min-width: 0;
  text-align: center;
  transition: transform 0.3s ease;
}

.security-page .pointList-item:hover {
  transform: translateY(-10px);
}

.security-page .pointList-item_img img {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.security-page .pointList-item_ttl {
  font-size: 16px;
  line-height: 1.6;
}

/* =============================
   全体像
   ============================= */

.section-trust {
  padding-top: 80px;
}

p.diagram-lead {
  margin-top: 0;
  margin-bottom: 40px;
}

.diagram-img img {
  max-width: 80%;
  height: auto;
  margin-top: 40px;
}

.section-diagram {
  padding: 80px 0;
  text-align: center;
}

.security-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  margin-top: 50px;
  padding: 0;
}

.security-icons img {
  height: 50px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.3s;
}

.security-icons img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* =============================
   7つの信頼を支える技術的根拠
   ============================= */

/* 7つナビ：チップ */
.trust-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

/* チップ本体 */
.trust-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid #001691;
  border-radius: 999px;
  color: #001691;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  background: #fff;
  transition: 0.25s ease;
}

/* アイコン */
.trust-nav img {
  width: 18px;
  height: 18px;
  display: block;
}

/* テキスト */
.trust-nav span {
  white-space: nowrap;
}

/* ▼ */
.trust-nav em {
  font-style: normal;
  font-size: 11px;
  margin-left: 2px;
}

/* hover */
.trust-nav a:hover {
  background: #001691;
  color: #fff;
}

/* 青白のアイコン切り替え */
.trust-nav img.white {
  display: none;
}

.trust-nav a:hover img.blue {
  display: none;
}

.trust-nav a:hover img.white {
  display: inline;
}

/* 詳細 */
.trust-detail {
  padding: 120px 0;
}

section#trust01,
section#trust03,
section#trust05,
section#trust07 {
  background-color: #f3f5ff;
}

.trust-head {
  margin-bottom: 40px;
}

.trust-label {
  display: inline-block;
  background: #001691;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
}

h3.trust-title {
  font-size: 28px;
  margin: 16px 0;
}

.trust-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

.trust-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.trust-text {
  flex: 1;
}

.trust-item {
  margin-bottom: 28px;
}

.trust-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* チェックアイコン */
.trust-item h4::before {
  content: "";
  width: 29px;
  height: 29px;
  background: url("../../img/harmony/cont03/icon/ico_check3.png") no-repeat center / contain;
  flex-shrink: 0;
}

.trust-item p {
  margin-left: 37px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.trust-image {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.trust-image img {
  width: 100%;
  height: auto;
}

/* 03と04 */
.trust-list {
  margin: 0 0 0 37px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 1.2em;
  text-indent: -1.2em;
  line-height: 1.8;
  font-size: 16px;
}

.trust-list li::before {
  content: "●";
  margin-right: 0.4em;
}

/* 05 */
.awspartnerlogo img {
  width: 25%;
  display: block;
  margin: 0 auto;
}

/*画像横並び*/
.trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.trust-row .trust-image {
  flex: 0 1 auto;
  max-width: 250px;
}

.trust-row .trust-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 画像、一部だけ画面いっぱいにする */
.image-wide {
  max-width: 1200px;
  margin: 0 auto;
}

.image-wide img {
  width: 100%;
  height: auto;
  display: block;
}

/* 画像の下の余白調整 */
.margin-b40 {
  margin-bottom: 80px;
}

/* =============================
   CTA
   ============================= */

.section-cta {
  text-align: center;
  position: relative;
  background: #1d319f;
  padding: 50px 20px 61px;
  overflow: hidden;
  margin: 80px 0;
}

.section-cta::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: -50%;
  top: 0;
  transform: skewX(-45deg);
  background: #001691;
  pointer-events: none;
}

.section-cta .cta-inner {
  position: relative;
  z-index: 1;
}

.section-cta .cta-txt {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 40px;
}

.section-cta .cta-btn {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* ボタン共通 */
#contentsAll.harmony.security-page .section-cta .btn {
  width: 300px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 45px;
  position: relative;
  top: 0;
  transition: top 0.1s ease, box-shadow 0.1s ease;
}

/* グレー */
#contentsAll.harmony.security-page .section-cta .btn {
  background: #b0b0b0;
  box-shadow: 0 6px 0 #6a6a6a;
}

/* ピンク */
#contentsAll.harmony.security-page .section-cta .btn._pink {
  background: #e8569a;
  box-shadow: 0 6px 0 #76445b;
}

/* 矢印 */
.section-cta .btn::after {
  content: "";
  width: 14px;
  height: 20px;
  background: url("../../img/harmony/arr_btn.png") no-repeat center/contain;
}

/* 沈む */
#contentsAll.harmony.security-page .section-cta .btn:hover,
#contentsAll.harmony.security-page .section-cta .btn:active {
  top: 6px;
  box-shadow: 0 0 0 #6a6a6a;
}

#contentsAll.harmony.security-page .section-cta .btn._pink:hover,
#contentsAll.harmony.security-page .section-cta .btn._pink:active {
  box-shadow: 0 0 0 #76445b;
}

/* =============================
   ロードマップ
============================= */

.ai-roadmap {
  padding: 80px 0;
}

/* STEPカード */
.roadmap-step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: #fff;
  border: 2px solid #e3e7ef;
  border-radius: 12px;
  padding: 28px 34px;
  max-width: 900px;
  margin: 0 auto;
}

/* STEP+ICON */
.step-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-right: 22px;
  position: relative;
}

/* STEP番号 */
.step-no {
  width: 70px;
  text-align: center;
  padding-right: 22px;
  position: relative;
}

.step-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #8a94a6;
  letter-spacing: 0.08em;
}

.step-num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #001691;
  margin-top: 2px;
}

/* 薄い縦線 */
.step-head::after,
.step-no::after {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  right: 0;
  width: 2px;
  background: #e3e7ef;
}

/* ICON */
.step-icon img {
  width: 56px;
}

/* 右コンテンツ */
.step-content {
  flex: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 0;
}

.step-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* ▼ */
.step-arrow {
  text-align: center;
  font-size: 20px;
  margin: 18px 0;
  color: #001691;
}

/* =============================
   選ばれる理由
============================= */

.reason {
  padding: 80px 0;
}

.reason-cards {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}

.reason-card {
  position: relative;
  flex: 1;
  background: #f3f5ff;
  border-radius: 16px;
  padding: 40px 32px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(26, 42, 108, 0.12);
}

/* 右上の巨大番号 */
.reason-no {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 96px;
  font-weight: 800;
  color: rgba(26, 42, 108, 0.2);
  line-height: 1;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.reason-card:hover .reason-no {
  transform: scale(1.05);
  opacity: 0.25;
}

/* ピンクラベル */
.reason-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #e8569a;
  border: 1.5px solid #e8569a;
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  background: #fff;
}
/* タイトル */
.reason-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* 説明文 */
.reason-text {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

/* =============================
   FAQ
============================= */
.faq-list {
  margin: 30px auto 0 auto;
  max-width: 900px;
}

.faq-q {
  display: flex;
  gap: 16px;
  background: #f2f5ff;
  border-radius: 29px;
  padding: 16px 26px;
  align-items: flex-start;
  margin: 0;
}

.faq-a {
  display: flex;
  gap: 16px;
  padding: 18px 26px 0 26px;
  margin: 0 0 28px 0;
}

.faq-label {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.faq-label-q {
  color: #001691;
}
.faq-label-a {
  color: #e8569a;
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
}

.faq-answer {
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

/* =============================
   共通設定
   ============================= */

section {
  scroll-margin-top: 80px;
}

/* =============================
   レスポンシブ (SP / タブレット)
   ============================= */

/* -----------------------------
   メインビジュアル（PC用）
----------------------------- */
@media screen and (min-width: 671px) {
  #contentsAll.harmony.security-page .main-visual .mv-inner {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    align-items: center;
  }
  .security-page .main-visual .txt2 {
    font-size: 40px;
    line-height: 1.35;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    z-index: 3;
    position: relative;
    text-shadow: 3px 3px black;
    transform: translateX(-220px);
  }
}

/* -----------------------------
   メインビジュアル（SP崩れ防止）
----------------------------- */
@media screen and (max-width: 670px) {
  .security-page .main-visual .mv-inner {
    display: block; /* flex解除 */
  }
  .security-page .main-visual {
    padding: 60px 0 70px;
  }

  /* 右背景 */
  .security-page .main-visual:before {
    width: 100%;
    height: 260px;
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
    right: -15vw;
  }

  /* 左装飾は非表示 */
  .security-page .main-visual:after {
    display: none;
  }

  /* テキスト位置リセット */
  .security-page .txt2 {
    line-height: 1.35;
    color: #fff;
    font-weight: 600;
    z-index: 3;
    position: relative;
    text-shadow: 3px 3px black;
    font-size: 28px;
    text-align: left;
    white-space: normal;
    margin-left: 2px;
  }

  #contentsAll.harmony.security-page .main-visual .mv-inner {
    min-width: auto;
    padding: 0 20px;
  }

  .main-visual:after {
    display: none;
  }
}

/* -----------------------------
   全体コンテナ余白 & テキスト調整
----------------------------- */
@media screen and (max-width: 768px) {
  /* コンテナ余白 */
  .security-page .mv-inner,
  .security-page .container,
  .security-page .security-intro {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* セクション内テキスト余白 */
  .trust-text,
  .diagram-lead,
  .step-desc {
    padding-left: 4px;
    padding-right: 4px;
  }

  .security-mv .txt1 {
    font-size: 1.8rem;
  }

  /* ポイントリスト縦並び */
  .security-page .pointList {
    flex-direction: column;
    align-items: center;
  }
  .security-page .pointList-item {
    width: 93%;
  }

  /* 詳細コンテンツ縦並び */
  .detail-flex,
  .detail-flex._reverse {
    flex-direction: column;
    text-align: center;
  }
  .detail-txt,
  .detail-img {
    width: 100%;
  }

  .check-list li {
    text-align: left;
  }

  /* MVボタン縦並び */
  .mv-btn {
    flex-direction: column;
    align-items: center;
  }
  .mv-btn a {
    width: 100%;
    max-width: 320px;
  }

  /* 7つのページ内リンク */
  .trust-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 10px 14px;
  }

  /* trust-body 縦並び */
  .trust-body {
    flex-direction: column;
  }

  /* trust-image フル幅 */
  .trust-image {
    width: 100%;
  }

  /*05*/
  .awspartnerlogo img {
    width: 60%;
  }

  /* 画像の下の余白調整 */
  .margin-b40 {
    margin-bottom: 40px;
  }

  /* CTAボタン縦並び */
  .section-cta .cta-btn {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .section-cta .cta-btn li {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  #contentsAll.harmony.security-page .section-cta .btn {
    width: 100%;
    max-width: 320px;
  }

  /* ページ内リンク縦並び */
  .security-intro .intro-inner {
    flex-direction: column;
    align-items: flex-end;
  }

  /* 画像中央寄せ */
  .security-intro .intro-image {
    max-width: 320px;
    margin: 0 auto;
  }

  /* ナビ折り返し中央寄せ */
  .security-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .security-nav a {
    width: 130px;
    height: 130px;
  }

  /* ロードマップ縦並び */
  .roadmap-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  p.step-desc {
    text-align: justify;
  }
  .step-head {
    justify-content: center;
    gap: 28px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }
  .step-head::after {
    display: none; /* 縦線非表示 */
  }
  .step-no {
    width: auto;
    padding-right: 50px;
  }
  .step-num {
    font-size: 32px;
  }
  .step-icon img {
    width: 72px;
  }
}

/* -----------------------------
   選ばれる理由 (レスポンシブ)
----------------------------- */
@media (max-width: 900px) {
  .reason-cards {
    flex-direction: column;
  }
}

/* -----------------------------
   ページ内リンク右の画像 (レスポンシブ)
----------------------------- */

@media (max-width: 1200px) {
  .security-intro .intro-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .security-intro .intro-image {
    margin-top: 30px;
    max-width: 420px;
    margin: 30px auto 0;
  }
}

/* ===== 他Harmonyページへの影響リセット ===== */
body:not(.security-page) #contentsAll.harmony .main-visual .mv-inner {
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body:not(.security-page) #contentsAll.harmony .main-visual {
  display: block !important;
}
