@charset "UTF-8";

/* --- 変数定義 (色の管理) --- */
:root {
  --primary-color: #c72937;
  /* メインカラー (赤系) */
  --secondary-color: #09244B;
  /* サブカラー (青系) */
  --bg-color: #f4f6f8;
  /* 背景色 */
  --text-color: #333;
  /* 基本テキスト色 */
  --subtext-color: #666;
  /* サブテキスト色 */
  --border-color: #eaeaea;
  /* 境界線 */
  --card-bg: #ffffff;
  /* カード背景色 */
  --card-img-bg: #f0f2f5;
  /* カード背景色 */
}

/* --- 基本設定 --- */
.l-wrap_notice {
  background-color: var(--bg-color);
}

.ptxt_note {
  font-size: 1rem;
}

.header_notice {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

.header_notice_left_btn {
  padding: 10px 0 0;
}

.pageheading_notice {
  font-size: .8rem;
  padding: 10px 0 0;
}

/* --- 全体コンテナ --- */
.container_notice {
  width: 100%;
  max-width: 960px;
  margin: 20px auto 0;
  overflow: hidden;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
}

@media (min-width: 768px) {
  .container_notice {
    width: 90%;
  }
}


/* --- ヘッダーエリア --- */
.update-header {
  background: var(--primary-color);
  color: white;
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 40px;
}


.update-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .update-header h1 {
    font-size: 2.5rem;
    /* 40px */
  }
}

.update-header p {
  font-size: 1.2rem;
  margin: 0;
}

/* --- セクション --- */
.update-section {
  padding: 0 12px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 30px;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap-reverse;
}

.section-title_ko {
  font-size: 1rem;
  font-weight: normal;
  color: var(--subtext-color);
}

/* --- 改善点カード (H3以下のまとまり) --- */
.feature-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* カード内のテキストエリア */
.feature-text {
  padding: 20px;
  flex-basis: 55%;
  box-sizing: border-box;
}

.feature-text h3 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-text p {
  font-size: 1.2rem;
  margin: 0;
}

@media (min-width: 768px) {

  /* カードを横並びにする */
  .feature-card {
    flex-direction: row;
    min-height: 400px;
  }

  .feature-text {
    padding: 40px;
  }

  /* 偶数番目のカードは画像とテキストを反転 */
  .feature-card:nth-of-type(even) {
    flex-direction: row-reverse;
  }
}

/* カード内の画像エリア */
.feature-image {
  flex-basis: 45%;
  /* PC表示時の幅の割合 */
  background-color: var(--card-img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
  min-height: 350px;
  /* モバイルでの最低限の高さを確保 */
}

@media (min-width: 768px) {
  .feature-image {
    padding: 40px;
    min-height: auto;
    /* 高さをリセット */
  }
}

/* --- スマホフレーム（キャプチャ用）--- */
.smartphone-frame {
  width: 100%;
  max-width: 280px;
  /* スマホの横幅 */
  height: auto;
  /* スマホの縦幅 */
  background-color: #222;
  /* 画像が読み込めない時の背景色 */
  border: 12px solid #222;
  border-radius: 36px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 0 2px #fff;
  position: relative;
  overflow: hidden;
  /* ★重要：中の画像をフレームの角丸に合わせて切り取る */
}

.smartphone-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* 画像のアスペクト比を保ったままフレーム全体を埋める */
  display: block;
  /* imgタグ特有の余白を消す */
}

/* スマホのノッチ（上部の切り欠き） */
.smartphone-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background-color: #222;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 10;
}

/* スマホのホームバー（下部の線） */
/* .smartphone-frame::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ccc;
    border-radius: 2px;
  } */

.feature-image_me {
  padding: 0;
}

.smartphone-frame_me {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.smartphone-frame_me img {
  width: 100%;
  height: auto;
}

.update-box {
  background-color: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 40px;
  padding: 20px;
  margin-top: 80px;
  background: #efefef;
  font-size: 1rem;
}