@charset "utf-8";

/* ==================================================
   基本リセット & 共通スタイル
================================================== */
.news_page,
.topbtn_area,
.inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 6% 30px;
}
.news_page a {
  color: #4866b0;
  text-decoration: underline !important;
}

.topbtn_area {
  padding: 0 3.83%;
}
.topbtn_area a img {
  width: 320px;
}
@media only screen and (max-width: 768px){
  .news_page .inner {
    padding: 15px 1.825% 25px;
  }
  .topbtn_area a img {
    width: 100%;
    max-width: 688px;
  }
}

/* ==================================================
   波背景設定
================================================== */
.bg_pink_wave_bg {
  width: 100%;
  aspect-ratio: 1440 / 236; 
  background-image: url('/kids/img/bg_pink/news_bg_pink_top.webp') !important; 
  background-size: 100% 100%; 
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
  z-index: 5;
  background-color: transparent; 
  margin-top: -3vw; 
  margin-bottom: -5px; 
  vertical-align: bottom; 
  display: block;
}

.bg_pink_wave_bottom {
  width: 100%;
  aspect-ratio: 1440 / 150; 
  background-image: url('/kids/img/bg_pink/solution_bg_pink_bottom.webp') !important; 
  background-size: 100% 100%; 
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
  z-index: 5;
  background-color: #ffffff; 
  margin-top: -5px; 
  vertical-align: bottom; 
  display: block;
}
.app-lp-wave-to-white {
  margin-top: -5px;
  margin-bottom: -2px;
}

.app-lp-wave-to-pink {
  width: 100%;
  aspect-ratio: 1440 / 180; 
  background-image: url('../img/bg_pink02_top.webp') !important; 
  background-size: 100% 100%; 
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
  z-index: 5;
  background-color: transparent; 
  margin-top: -3px; 
  margin-bottom: -5px; 
  vertical-align: bottom; 
  display: block;
}

/* ==================================================
   アプリ特設LP 全体設計
================================================== */
.app-lp {
  font-family: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
}

.app-lp-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.app-lp-pink-bg {
  background-color: #ffe5d7;
  padding: 5px 0 20px;
  position: relative;
  z-index: 1;
}
.app-lp-pink-bottom-area {
  padding: 10px 0 35px;
}

.app-lp-white-bg {
  background-color: #ffffff;
  padding: 15px 0 25px;
  position: relative;
  z-index: 1;
}

.app-lp-sec {
  margin-bottom: 25px;
}
.app-lp-sec:last-child {
  margin-bottom: 5px;
}

.app-lp-sec-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 18px;
  position: relative;
  border: none;
  padding: 0;
}

/* ==================================================
   1. ファーストビュー
================================================== */
.app-lp-fv {
  background-color: #ffffff;
  padding: 40px 0 10px;
}

.app-lp-fv-container {
  display: grid;
  grid-template-columns: 1fr 310px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 16px 50px;
  max-width: 980px;
  margin: 0 auto;
}

.app-lp-fv-headings {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}
.app-lp-main-copy {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}
.copy-sub { color: #333333; }
.copy-main { color: #d90940; font-size: 48px; }

.app-lp-lead-date {
  line-height: 1.45;
  margin-bottom: 0;
}
.date-txt {
  font-size: 28px;
  font-weight: 700;
  color: #d90940;
  display: inline-block;
  margin-bottom: 6px;
}
.u-marker-yellow {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  background: linear-gradient(transparent 52%, #ffe2ad 52%);
  padding: 0 4px;
  display: inline-block;
}

.app-lp-fv-desc {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}
.app-lp-lead-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #333333;
  margin: 0;
}

.app-lp-fv-mock {
  grid-column: 2;
  grid-row: 1 / 3;
  text-align: center;
}
.app-lp-phone-frame {
  width: 280px;
  margin: 0 auto;
  display: block;
}
.app-lp-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================================================
   2. イマドコサーチアプリでできること
================================================== */
.app-lp-feature-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.app-lp-feature-card {
  flex: 1;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-img-wrap {
  width: 100%;
  height: auto;
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #ffe5d7;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 16px 0;
  box-sizing: border-box;
}
.card-img-wrap img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 16px 16px 0 0;
  margin: 0 auto -8px;
  display: block;
}

.card-body {
  padding: 18px 20px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.card-num {
  font-size: 24px;
  font-weight: 700;
  color: #9b1b22;
  line-height: 1;
  flex-shrink: 0;
}
.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #003a66;
  margin: 0;
  line-height: 1.4;
}
.card-desc {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.65;
  margin: 0;
}
.card-note {
  font-size: 12px;
  color: #888888;
  margin-top: 8px;
  line-height: 1.4;
}

/* ==================================================
   3. 通知機能に関するご注意事項（タイムライン）
================================================== */
.app-lp-notice-section {
  max-width: 900px;
  margin: 0 auto;
  color: #333333;
}

.app-lp-notice-title {
  font-size: 24px;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
  margin-bottom: 12px;
  text-align: left;
}
.app-lp-notice-title .asterisk {
  font-size: 12px;
  font-weight: normal;
  color: #555;
  margin: 0 4px;
}
.app-lp-notice-note {
  font-size: 13px;
  color: #555;
  margin-bottom: 40px;
}

.app-lp-red-lead {
  font-size: 19px;
  font-weight: 700;
  color: #c90016;
  margin-bottom: 12px;
}
.app-lp-red-lead-sub {
  font-size: 17px;
  font-weight: 700;
  color: #333333;
  margin-top: 60px;
  margin-bottom: 24px;
}
.app-lp-sub-desc {
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
}

/* タイムライン全体の上下余白調整 */
.app-lp-timeline-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px; 
  margin-bottom: 40px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.app-lp-timeline-wrap::-webkit-scrollbar {
  display: none;
}
.app-lp-timeline-inner {
  min-width: 720px;
  position: relative;
  padding-top: 35px;
  padding-bottom: 10px;
}

/* 横線ベース */
.tl-base-line {
  position: absolute;
  top: 85px; 
  left: 20px;
  right: 20px;
  height: 2px;
  background-color: #999;
  z-index: 1;
}

.tl-point {
  position: absolute;
  top: 78px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  transform: translateX(-50%);
}

/* 縦線の描画 */
.tl-vertical-line {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 85px; 
  background-color: #999;
  z-index: -1;
}

.tl-date {
  position: absolute;
  bottom: 24px; 
  text-align: center;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  font-weight: 700;
}

/* カラー定義 */
.text-blue { color: #1b65b0; }
.text-red { color: #d90940; }
.text-gray { color: #777777; font-weight: normal; }

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.dot-blue { background-color: #1b65b0; }
.dot-red { background-color: #d90940; position: relative; }
.dot-gray { background-color: #999999; }

/* 期間バーのコンテナ */
.tl-bars {
  position: relative;
  margin-top: 65px; 
  padding-left: 20px;
  padding-right: 20px;
}
.flex-bars {
  display: flex;
  align-items: flex-start; 
  gap: 0; 
}

/* ★タイムライン帯：2行になっても大きく読みやすく */
.tl-bar {
  font-size: 16px !important; 
  line-height: 1.4;
  height: auto !important; 
  min-height: 28px;
  padding: 8px 12px !important; 
  border-radius: 8px; 
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

/* 1つ目のタイムライン用バー（並列スタイル） */
.tl-bars-parallel {
  display: flex;
  flex-direction: column;
  gap: 12px; 
}
.bar-gray-parallel {
  background-color: #aeb4b8;
  width: 100%;
}
.bar-red-parallel {
  background-color: #d90940;
  width: 35%;
  margin-left: auto;
}

/* 2つ目のタイムライン（段違い切り替えスタイル） */
.tl-bar-group {
  width: calc(65% - 40px);
  position: relative;
  z-index: 1;
}
.bar-blue-orange {
  background-color: #004d80;
  border: none;
  width: 100%; 
  border-radius: 8px;
}

/* 「×」マークと「2/8 受信終了」の配置 */
.tl-cross-mark {
  position: absolute;
  left: calc(63% - 32px); 
  top: 14px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}
.cross-icon {
  font-size: 24px;
  font-weight: 900;
  color: #111;
  transform: translateY(-50%); 
  line-height: 1;
}
.cross-text {
  font-size: 11px;
  color: #555555;
  text-align: center;
  line-height: 1.3;
  margin-top: -6px; 
  white-space: nowrap; 
}

/* 赤バー：一段下がる */
.bar-red-flex {
  background-color: #d90940;
  width: calc(35% - 20px); 
  margin-left: auto; 
  border-radius: 8px; 
  margin-top: 38px; 
}

/* --------------------------------------------------
   ★ 構成整理後のデザイン適用（comottoアクション）
-------------------------------------------------- */

/* 見出しらしいデザインへ（薄グレー背景＋太い左線） */
.app-lp-comotto-target-heading {
  font-size: 19px;
  font-weight: 700;
  color: #003a66;
  background-color: #f4f7fb; 
  border-left: 6px solid #003a66; 
  padding: 12px 16px; 
  margin-top: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-lp-comotto-target-heading::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url('../img/icon_caution.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 切り出したテキストリンク */
.app-lp-comotto-link-outside {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #004d80;
  text-decoration: underline; 
  margin-bottom: 25px;
  margin-left: 17px; 
  transition: opacity 0.2s;
}
.app-lp-comotto-link-outside::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23004d80'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
  background-size: contain;
}
.app-lp-comotto-link-outside:hover {
  opacity: 0.7;
}

/* 対応内容を目立たせるアクションボックス */
.app-lp-action-box {
  background-color: #fff5f5 !important;
  border: 2px solid #ffcccc !important;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 30px;
  margin-top: 15px;
}
.app-lp-action-box .action-title {
  font-weight: 700;
  color: #c90016;
  margin-bottom: 8px;
  font-size: 16px;
  display: block;
}
.app-lp-action-box .action-desc {
  color: #333333;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}


/* ==================================================
   4. ダウンロードとアプリ設定について
================================================== */
.download-desc {
  text-align: center;
  font-size: 14.5px;
  margin-bottom: 12px;
}
.app-lp-comingsoon-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 2px dashed #d99153;
  max-width: 720px;
  margin: 0 auto;
}
.comingsoon-badge {
  display: inline-block;
  background: #9b1b22;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 3px 16px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.comingsoon-date {
  font-size: 20px;
  font-weight: 700;
  color: #003a66;
  margin: 0;
}

/* ==================================================
   5. FAQ（アコーディオン）
================================================== */
.faq-grid {
  display: flex;
  gap: 20px;
}
.faq-col { flex: 1; }

.faq-item {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.faq-q-wrap { margin: 0; }
.faq-q {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
  box-sizing: border-box;
}
.faq-q:hover { background-color: #fafbfc; }

.faq-num {
  flex: 0 0 24px;
  height: 24px;
  background: #003a66;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-right: 10px;
}
.faq-txt {
  flex: 1;
  font-size: 13.5px;
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
  padding-right: 10px;
}
.acc_icon {
  flex: 0 0 14px;
  height: 14px;
  position: relative;
}
.acc_icon::before,
.acc_icon::after {
  content: "";
  position: absolute;
  background-color: #9b1b22;
  transition: transform 0.25s ease;
}
.acc_icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.acc_icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
.acc_icon.is-open::after,
.faq-q.is-open .acc_icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  padding: 14px 18px 16px 50px;
  border-top: 1px solid #f0f0f0;
  background: #fafbfc;
  margin: 0;
}
.faq-a p {
  margin: 0;
  font-size: 13px;
  color: #555555;
  line-height: 1.65;
}

/* ==================================================
   ★ スマホ向けレスポンシブ（768px以下） ★
================================================== */
@media screen and (max-width: 768px) {
  .app-lp-fv {
    padding-top: 75px;
    padding-bottom: 10px;
  }
  .app-lp-fv-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  .app-lp-fv-headings { width: 100%; display: block !important; }
  .app-lp-main-copy { display: block !important; font-size: 28px; margin-bottom: 12px; }
  .copy-main { font-size: 30px; }
  .app-lp-lead-date { display: block !important; margin-bottom: 4px; }
  .date-txt { font-size: 20px; margin-bottom: 4px; }
  .u-marker-yellow { font-size: 20px; }
  
  .app-lp-phone-frame { width: 220px; margin: 8px auto; }
  .app-lp-fv-desc { width: 100%; margin-top: 4px; }
  .app-lp-lead-desc { font-size: 13.5px; text-align: center; }

  .bg_pink_wave_bg { margin-top: -5vw; }
  .app-lp-wave-to-white { margin-top: -5px; margin-bottom: -3px; }
  .app-lp-wave-to-pink { margin-top: -3px; margin-bottom: -5px; }

  .app-lp-white-bg { padding: 20px 0 25px; }
  .app-lp-pink-bg { padding: 10px 0 20px; }
  .app-lp-sec-title { font-size: 20px; margin-bottom: 16px; }

  .app-lp-feature-cards { flex-direction: column; gap: 16px; }
  .card-img-wrap { height: auto; padding: 20px 16px 0; align-items: flex-start; }
  .card-img-wrap img { max-width: 240px; margin: 0 auto -8px; }
  .card-body { padding: 16px 16px 30px; }
  .card-num { font-size: 20px; }
  .card-title { font-size: 20px; }

  /* ------------------------------------------------
     タイムライン＆comottoセクション（SP調整）
  ------------------------------------------------- */
  .app-lp-notice-title { font-size: 20px; }
  .app-lp-red-lead { font-size: 17px; margin-bottom: 8px; }
  .app-lp-red-lead-sub { font-size: 16px; margin-top: 40px; margin-bottom: 16px; }

  /* スマホ版の見出しとアクションボックス調整 */
  .app-lp-comotto-target-heading {
    font-size: 16px;
    margin-top: 10px;
    padding: 10px 12px;
  }
  .app-lp-comotto-link-outside {
    font-size: 13px;
    margin-left: 12px;
  }
  .app-lp-action-box {
    padding: 16px;
  }
  .app-lp-action-box .action-title {
    font-size: 15px;
  }
  .app-lp-action-box .action-desc {
    font-size: 13.5px;
  }

  .app-lp-timeline-wrap { overflow-x: visible; margin-top: 15px; margin-bottom: 30px; }
  .app-lp-timeline-inner { min-width: 100%; padding-top: 35px; padding-bottom: 10px; }

  .tl-base-line { top: 75px; left: 10px; right: 10px; }
  .tl-point { top: 68px; }
  
  /* 切り替えポイントを58%に設定し、青バーと×印のスペースを確保 */
  .tl-point[style*="left: 15%"] { left: 14% !important; } 
  .tl-point[style*="left: 65%"] { left: 58% !important; }

  .tl-date { font-size: 12px; bottom: 20px; }
  .tl-vertical-line { height: 96px; }
  
  .tl-bars { margin-top: 60px; padding: 0 10px; }
  
  /* ★スマホ版のタイムライン帯フォントサイズ大幅拡大 */
  .tl-bar {
    font-size: 13.5px !important; 
    height: auto !important; 
    min-height: 28px;
    padding: 8px 10px !important;
    border-radius: 8px; 
    white-space: normal !important; /* 確実に折り返し許可 */
    line-height: 1.35;
    letter-spacing: -0.02em; 
  }

  /* 青バーの幅：少しだけ横幅を広げて「アプリで」まで1行に収める */
  .tl-bar-group { width: calc(58% - 31px) !important; }
  .bar-blue-orange { width: 100% !important; border-radius: 8px !important; text-align: left; letter-spacing: -0.05em; }
  
  .bar-red-parallel { width: 42% !important; border-radius: 8px !important; text-align: left; }
  
  /* 赤バーの幅と配置：少しだけ左に広げて「通知を受信」まで1行に収める */
  .bar-red-flex { width: calc(42% - 5px) !important; margin-left: auto !important; border-radius: 8px !important; margin-top: 46px !important; text-align: left; letter-spacing: -0.05em; }

  /* 「×」と「2/8 受信終了」：縦線に「了」が触れないよう3px左へ移動 */
  .tl-cross-mark { 
    right: auto !important; 
    left: calc(58% - 33px) !important; 
    top: 16px !important; 
  }
  .cross-icon { font-size: 16px; text-shadow: none; }
  .cross-text { font-size: 8.5px; margin-top: 1px; font-weight: 700; background-color: transparent; padding: 0; line-height: 1.25; }

  .faq-grid { flex-direction: column; gap: 0; }
  .faq-a { padding-left: 16px; }
}

/* ==================================================
   ★ 最終デザイン用：ピンクカード枠と内部余白の調整
================================================== */
.app-lp-notice-card {
  background-color: #fff4f4; /* 薄いピンク背景 */
  border-radius: 20px;
  padding: 32px 36px 28px;
  margin-bottom: 30px;
  box-sizing: border-box;
}
.app-lp-notice-card:last-child {
  margin-bottom: 0;
}

/* カード内の見出し・リード文・リンクの余白調整 */
.app-lp-notice-card .app-lp-comotto-target-heading {
  margin-top: 0;
  margin-bottom: 20px;
}
.app-lp-notice-card .app-lp-red-lead {
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.6;
}
.app-lp-comotto-link-wrap {
  margin: 0 0 10px;
}
.app-lp-notice-card .app-lp-comotto-link-outside {
  margin-left: 0;
  margin-bottom: 0;
}
.app-lp-notice-card .app-lp-timeline-wrap {
  margin-top: 15px;
  margin-bottom: 0;
}

/* スマホ版（768px以下）のカード余白調整 */
@media screen and (max-width: 768px) {
  .app-lp-notice-card {
    border-radius: 16px;
    padding: 22px 14px 20px;
    margin-bottom: 24px;
  }
  .app-lp-notice-card .app-lp-comotto-target-heading {
    margin-bottom: 16px;
  }
  .app-lp-notice-card .app-lp-red-lead {
    font-size: 15.5px;
    margin-bottom: 14px;
  }
  .app-lp-notice-card .app-lp-comotto-link-outside {
    margin-left: 0;
    font-size: 13.5px;
  }
  .app-lp-notice-card .app-lp-timeline-wrap {
    margin-top: 10px;
    margin-bottom: 0;
  }
}

/* タイムライン画像表示用 */
.app-lp-timeline-img-wrap {
  margin-top: 20px;
}
.app-lp-timeline-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .app-lp-timeline-img-wrap {
    margin-top: 16px;
  }
}

/* FAQカテゴリ見出し（シンプル・主張しすぎないデザイン） */
.faq-cat-title {
  font-size: 15px;
  font-weight: 700;
  color: #003a66;
  margin: 24px 0 10px;
  padding: 0 0 6px 8px;
  border-left: 3px solid #9b1b22;
  border-bottom: 1px solid rgba(0, 58, 102, 0.15);
  line-height: 1.4;
}
.faq-col > .faq-cat-title:first-child {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  .faq-cat-title {
    font-size: 14.5px;
    margin: 22px 0 10px;
  }
  /* スマホで1列になった際、2列目の先頭（見守り通知）にも上余白をつける */
  .faq-col:nth-child(2) > .faq-cat-title:first-child {
    margin-top: 22px;
  }
}