/* ======================================================
   top.css（トップページ専用）
====================================================== */

/* --------------------------------
   ヘッダー見出し
-------------------------------- */
h2 { text-align:left; }

/* TOP用 h3：ライン＋頭文字アクセント */
.h3-blue-initial {
  font-size: 23px;
  font-weight: 700;
  color: #003357;
  margin: 48px 0 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid #0074D9;
  letter-spacing: 0.02em;
}

.h3-blue-initial::first-letter {
  font-size: 1.15em;
  color: #0074D9;
  margin-right: 0.05em;
}

/* --------------------------------
   Hero（トップ画像）セクション
-------------------------------- */

.top-visual {
  width: 100%;
  margin: 0;
  padding: 0;
}

.top-visual-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;   /* 縦の上限 */
  overflow: hidden;
}

/* 画像 */
.top-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   文字レイヤー
========================= */

.top-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 縦中央 */
  align-items: center;     /* 横中央 */
  text-align: center;
  max-width: 90%;
  margin: auto;
  pointer-events: none;
}

/* 装飾ライン */
.catch-line {
  width: 75%;
  height: 3px;
  background: rgba(255,255,255,0.85);
  margin: 10px auto;
  box-shadow:
  /* くっきり縁取り */
  0 0 2px rgba(0,0,0,0.5),
  0 0 4px rgba(0,0,0,0.4),

  /* 立体の奥行き */
  0 2px 0 rgba(0,0,0,0.3),
  0 4px 8px rgba(0,0,0,0.25),

  /* わずかな発光 */
  0 0 10px rgba(255,255,255,0.4);
}

/* 小見出し */
.catch-small {
  font-size: clamp(16px, 3vw, 36px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: #fff;
  /*text-shadow: 0 4px 12px rgba(0,0,0,0.8);*/
  text-shadow:
    /* くっきり縁取り */
    0 0 2px rgba(0,0,0,0.7),
    0 0 4px rgba(0,0,0,0.6),

    /* 立体の奥行き */
    0 2px 0 rgba(0,0,0,0.6),
    0 4px 8px rgba(0,0,0,0.7),

    /* わずかな発光 */
    0 0 10px rgba(255,255,255,0.4);

  /* 背景で文字を浮かせる */
  background-color: rgba(0,0,0,0.05);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* メインコピー */
.catch-main {
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  /*text-shadow: 0 4px 12px rgba(0,0,0,0.8);*/
  text-shadow:
    /* くっきり縁取り */
    0 0 2px rgba(0,0,0,0.7),
    0 0 4px rgba(0,0,0,0.6),

    /* 立体の奥行き */
    0 2px 0 rgba(0,0,0,0.6),
    0 4px 8px rgba(0,0,0,0.7),

    /* わずかな発光 */
    0 0 10px rgba(255,255,255,0.4);

  /* 追加：背景で文字を浮かせる */
  background-color: rgba(0,0,0,0.05);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}
/* --------------------------------
   PR動画セクション
-------------------------------- */
.pv-wrap {
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.pv-block { width:100%; max-width:400px; }

.pv-header {
  display:flex;
  align-items:center;
  font-size:18px;
  gap:6px;
  margin-bottom:10px;
}

.pv-header img,
.pv-thumb-wrap img {
  width:100%;
  max-width:400px;
  height:auto;
  display:block;
  margin:0 auto;
}

.pv-thumb-wrap img { border-radius:8px; }

.pv-links {
  list-style:none;
  padding:0;
  margin-top:10px;
}

.pv-links li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
  padding: 4px 0;
}

.pv-links li a {
  text-decoration:underline;
  font-weight:700;
  line-height:1.4;
  color:#0E1A29;
}

.pv-links .material-icons { 
  font-size: 20px;
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pv-links a {
  display: block;
}

/* ==============================
   トップ 特徴リスト
============================== */
.toppage-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toppage-feature-list li {
  display: flex;
  align-items: center;
  gap: 20px;

  font-size: 18px;
  font-weight: 700;
  color: #003357;

  padding: 10px 0 6px;
  margin-bottom: 0px;

}

/* アイコン */
.toppage-feature-list .material-icons {
  font-size: 22px;
  color: #0074D9;
  flex-shrink: 0;
}

/* テキスト */
.toppage-feature-list .feature-text {
  letter-spacing: 0.02em;
  line-height: 1.4;
}



/* --------------------------------
   Responsive
-------------------------------- */
@media screen and (min-width: 1025px) {
  .catch-small { font-size: clamp(32px, 3vw, 42px); }
  .catch-main  { font-size: clamp(36px, 4vw, 48px); }

}
@media screen and (max-width:1024px) and (min-width:769px){

  .catch-small{ font-size:clamp(18px,3vw,28px); }
  .catch-main { font-size:clamp(24px,4vw,36px); }
}

@media screen and (max-width:768px){
  .catch-small{ font-size:clamp(14px,4vw,20px); }
  .catch-main { font-size:clamp(18px,5vw,28px); }

  .top-visual {
    margin: 0;
    padding: 0;
    width: 100%;        /* ← vw を使わない */
  }

  .top-visual-inner {
  width: 100%;
  height: 55vh;      /* 親の高さ */
  overflow: hidden;
  position: relative;
  }

  .top-visual-inner::before {
    content: "";
    position: absolute;
    inset: 0;                  /* 親にフィットさせる */
    background-color: rgba(0,0,0,0.07); /* 半透明の黒 */
    z-index: 1;                /* 文字より下に */
  }

  .top-img {
  width: 100%;           /* 幅を画面いっぱいに */
  height: 100%;          /* 高さを親に合わせる */
  object-fit: cover;     /* 画面を覆うように拡大・トリミング */
  object-position: right bottom;  /* 右下寄せ */
  }

  .top-text {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
    z-index: 2;
    color: #fff;
  }


  .pv-thumb-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .pv-thumb-wrap img {
    width: 100%;
  }
}