.top_logo {
  background: none;
}

#service_wrap .about-text {
  background: rgba(249, 239, 242, 0.7)
}

#service_wrap .about_left .about-box {
  display: flex;
  justify-content: flex-end;
}

#service_wrap .about_left .about-text {
  transform: translate(-110%, -50%);
}

#service_wrap .service-item {
  /* width: 33%; */
}

#service_wrap .text-box {
  padding: 2% 5%;
  border: 5px solid #ffcccc;
  border-radius: 10px;
}

#schedule {
  padding: 0 5%;
}

#schedule p.sub {
  text-align: center;
}

.day {}

.day ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.day ul li {
  display: flex;
  width: 50%;
  padding: 1% 2%;
}

.day ul li img {
  width: 45%;
}

.day ul li .right_box {
  width: 52%;
  padding: 2% 3%;
}

.day ul li .right_box .ttl {
  color: #35bbc9;
  font-size: 2.5rem;
  font-weight: bold;
}

.timeline-container {
  position: relative;
  width: 98%;
  height: 110px;
  margin: 0 auto;
}

.timeline-bar {
  width: 100%;
  height: 30px;
  /* タイムラインバーの高さ */
  background: linear-gradient(to right, orange, orange, yellow, #DFB017, #9B1838, #171C61);
  position: absolute;
  top: 20px;
  /* バーの位置を適宜調整 */
}

.time,
.activity {
  position: absolute;
  bottom: 18px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.time {
  bottom: 3px;
  color: white;
  font-size: 1.2rem;
}

.activity {
  color: #000;
  font-size: 1.5rem;
  font-weight: lighter;
}

.activity::before {
  content: "";
  border-left: 3px solid #35bbc9;
  width: 100%;
  height: 20px;
  display: block;
  position: absolute;
  top: -40%;
  left: 0;
  transform: translate(40%, 0%);
}

#price {
  max-width: 800px;
  margin: 150px auto 120px;
  padding: 20px;
  border: 3px solid #ccc;
  border-radius: 8px;
}

.block {
  margin-bottom: 20px;
}

table {
  width: 100%;
  margin-bottom: 20px;
}

th,
td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px dashed #35bbc9;
}

tr.last td {
  border: none;
  padding-bottom: 50px;
}

tr.all td {
  border-top: 1px dashed #35bbc9;
  border-bottom: none;

}

.faq_inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-item {
  background-color: #BFE9EC;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 10px;
  /* これは複数のFAQ項目がある場合に適用されます */
  width: 40%;
  margin-right: 10px;
}

.faq-item:nth-child(2n) {
  margin-right: 0;
}

.faq-question {
  display: flex;
  align-items: center;
}

.faq-label {
  background-color: #35bbc9;
  color: white;
  border-radius: 20px;
  padding: 5px 15px;
  margin-right: 10px;
  font-size: 0.9rem;
  min-width: 50px;
  text-align: center;
}

.question-text {
  font-size: 1.1em;
  color: #333333;
  margin: 0;
  text-align: left;
  line-height: 2.8rem;
}

.faq-answer {
  margin-top: 10px;
  color: #333333;
}

.about-box .about-img {}

@media screen and (min-width:1440px) {
  .timeline-container {
    display: none;
  }

  .timeline-bar {
    height: 2vw;
    z-index: 3;
  }

  .time {
    font-size: 0.9vw;
  }

  .activity {}

  .activity::before {
    border-left: 2px solid #35bbc9;
    top: -35%;
  }

  .about-box {
    margin-bottom: 120px;
  }

}

@media screen and (max-width:1439px) {
  #schedule .daily img {
    display: none;
  }
}


@media screen and (max-width:820px) {
  .content_inner {
    /* padding:0 5%; */
  }

  .content.sub_content section {
    /* padding:0 5%; */
  }

  section h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  #service_wrap .about_left .about-box {
    flex-wrap: wrap;
    flex-direction: column;
  }

  #service_wrap .about_left .about-img {
    width: 100%;
    order: 1;
  }

  #service_wrap .about_left .about-text {
    order: 2;
    transform: translate(0, 0);
  }

  td {
    font-size: 14px;
    padding: 4px 0;
  }

  .block p {
    font-size: 14px;
    font-weight: bold
  }

  .day ul li {
    width: 100%;
    padding: 1% 2%;
    flex-wrap: wrap;
  }

  .day ul li img {
    width: 100%;
  }

  .day ul li .right_box {
    width: 100%;
    padding: 2% 3%;
  }

  .timeline-container {
    width: 100%;
  }

  .timeline-bar {
    background: linear-gradient(to right, orange, orange, yellow, orange, #9B1838, #9B1838, #171C61);
  }

  .time {
    font-size: 0.9rem;
    bottom: 5px;
  }

  .activity {
    font-size: 1rem;
    bottom: 31px;
  }

  .activity::before {
    border-left: 2px solid #35bbc9;
    top: -45%;
    height: 12px;
  }

  #price {
    padding: 30px 13px;
    margin: 90px auto 100px;
  }

  #faq {
    padding: 0 3%;
  }

  .faq-item {
    width: 100%;
    padding: 10px 20px 10px;
    margin: 0 0 10px;
  }

  .faq-label {
    padding: 5px;
    margin-right: 5px;
    width: 52px;
    text-align: center;
  }

  .question-text {
    padding-left: 20px;
    text-align: left;
  }

  .about-text {
    top: 0;
  }


}

/* ===========================
   SCHEDULE 共通トークン
   =========================== */
:root {
  --sched-max: 1080px;
  /* セクションの最大幅 */
  --col-gap: 48px;
  /* 左右カラム間の余白 */
  --clock-size: 64px;
  /* 時計アイコンサイズ */
  --row-gap: 44px;
  /* 時計行の縦間隔 */
  --time-font: 24px;
  /* 時刻の文字サイズ */
  --label-font: 24px;
  /* ラベル（朝食など） */
  --gray: #555;
  --brand: #59b7af;
  /* PDFのグリーンに近い */
}

/* ===========================
   1) セクション枠
   =========================== */
#schedule .content_inner {
  max-width: var(--sched-max);
  margin: 0 auto;
}

.schedule-title {
  text-align: center;
  font-size: 28px;
  color: var(--brand);
  letter-spacing: .08em;
  margin: 0 0 28px;
}

/* 2カラムレイアウト */
.sched {
  display: flex;
  /* grid-template-columns: 1fr 520px; */
  /* 左：フレキシブル / 右：固定幅（PDFの見た目寄せ） */
  gap: var(--col-gap);
  /* align-items: start; */
}


/* ===========================
   2) タイムライン
   =========================== */
.sched__left {
  padding-left: 20%;
  width: 50%;
}

/* 左余白の微調整 */

.tl {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl__row {
  display: grid;
  grid-template-columns: var(--clock-size) auto;
  column-gap: 20px;
  align-items: center;
  min-height: var(--clock-size);
}

.tl__row+.tl__dots {
  margin-top: 0;
}

/* 時計画像 */
.tl__clock {
  width: var(--clock-size);
  height: var(--clock-size);
  display: block;
}

/* テキスト（時刻＋ラベル） */
.tl__text {
  display: grid;
  grid-template-columns: 88px auto;
  column-gap: 24px;
  align-items: center;
}

.tl__time {
  font-size: var(--time-font);
  color: var(--gray);
}

.tl__label {
  font-size: var(--label-font);
  color: var(--gray);
}

/* ドット画像を直接表示する */
.tl__dots {
  /* 時計の中心に揃える */
  align-items: start;
  height: var(--row-gap);
  /* 時計と時計の間の高さ */
}

.tl__dots img {
  width: 8px;
  /* ドットの太さ */
  height: 100%;
  /* 行間いっぱいに伸ばす */
  object-fit: contain;
  /* 縦方向に繰り返しを維持 */
}


/* ===========================
   3) 右カラム（写真＋バルーン）
   =========================== */
.sched__right {
  position: relative;
  margin: 0 7% 160px;
  padding: 4%;
  width: 50%;
}

.ph {
  margin: 0;
}

.ph img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* PDFの“少しズラし”を再現 */
.ph--top {
  margin: 6px 0 24px 0;
  transform: translateX(6px);
}

.ph--bottom {
  margin: 0;
  transform: translateX(-4px);
}

/* バルーンの位置（写真の右下付近） */
.ph__balloon {
  position: absolute;
  width: 130px;
  /* 今のままでOK */
  right: -46px;
  bottom: -210px;
  /* 下に移動して画像にかぶせる */
  pointer-events: none;
}


/* ===========================
   4) 4ボックス（特徴）
   =========================== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 42px;
}

.feature {
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 18px;
  padding: 30px 16px;
  min-height: 150px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  letter-spacing: .02em;
}

.feature span {
  display: inline-block;
  font-size: 20px;
}

.feature--orange {
  background: #f3b24c;
}

.feature--pink {
  background: #f79ab1;
}

.feature--green {
  background: #5bc2a9;
}

.feature--blue {
  background: #7db6e9;
}

/* ===========================
   5) SP レスポンシブ
   既存のメディアクエリ幅に合わせて調整（例：max-width: 768px）
   =========================== */
@media (max-width: 768px) {
  .schedule-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .sched {
    grid-template-columns: 1fr;
    /* 1カラムに */
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
  }

  .sched__left {
    padding-left: 0;
    width: 100%;
    margin-left: 50%;
    transform: translate(-60%, 0);
  }

  .sched__right {
    margin: 0 7% 160px;
    padding: 4%;
    width: 100%;
  }

  /* タイムライン：時計→時刻→ラベル を1行に・行間も少し詰める */
  :root {
    --clock-size: 44px;
    --row-gap: 28px;
    --time-font: 18px;
    --label-font: 18px;
  }

  .tl__text {
    grid-template-columns: 70px auto;
    column-gap: 14px;
  }

  /* 写真は全幅、上下だけにわずかにズラし */
  .ph--top {
    transform: translateX(0);
    margin: 4px 0 14px;
  }

  .ph--bottom {
    transform: translateX(0);
  }

  .ph__balloon {
    right: 8px;
    bottom: -30px;
    width: 92px;
  }

  /* 特徴ボックス：2×2 */
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature {
    min-height: 120px;
    padding: 22px 10px;
  }

  .feature span {
    font-size: 16px;
  }
}

/* =========================================================
   SCHEDULE 強制上書きパッチ（構造・ファイル名は不問）
   ========================================================= */

/* ▼ 見出しの水色帯・影をこのセクションでは無効化 */
#schedule .schedule-title,
#schedule .content_top,
#schedule .content_top .schedule-title,
#schedule .service_title,
#schedule .section_title {
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  height: auto !important;
}

/* ▼ タイムライン1行分の縦間隔（PC） */
#schedule {
  --row-gap: 36px;
}

/* ▼ 時計〜テキスト行（命名違いを拾う） */
#schedule .timeline-item,
#schedule .tl__row {
  display: grid;
  grid-template-columns: 64px 90px 1fr;
  /* 時計 / 時刻 / ラベル */
  align-items: center;
  column-gap: 20px;
  min-height: 64px;
  margin-top: 5px;
}

/* ▼ 時刻とラベル（命名違い吸収） */
#schedule .time,
/* 例: .time */
#schedule .tl__time {
  font-size: 24px;
  color: #555;
}

#schedule .label,
/* 例: .label */
#schedule .tl__label {
  font-size: 24px;
  color: #555;
}

/* ▼ ドット（背景repeat型・img型どちらも拾う） */
/* <img src="dotted.png"> を使っている場合の見た目合わせ */
#schedule img[src*="dotted"] {
  display: block;
  width: 8px;
  height: var(--row-gap);
  object-fit: contain;
  margin: 0px 0px 0px 30px;
  filter: none;
}

/* 最終行のドットは不要 */
#schedule .timeline-item:last-of-type+*,
#schedule .tl__row:last-of-type+.tl__dots {
  display: none !important;
}

/* ▼ 右カラム写真の“ちょいズレ”＆間隔 */
#schedule .photo--top,
#schedule .ph--top {
  margin: 6px 0 16px 0;
  transform: translateX(0px);
}

#schedule .photo--bottom,
#schedule .ph--bottom {
  margin: 0;
  transform: translateX(-45px);
}

/* ▼ life_icon の被せ位置（命名違いを拾う） */
#schedule .life_icon,
#schedule .ph__balloon,
#schedule img[src*="life_icon"] {
  position: absolute;
  right: -70px;
  bottom: -210px;
  /* 下の写真にしっかり被る */
  width: 128px;
  pointer-events: none;
  z-index: 2;
}

/* ------- SP (～768px) ------- */
@media (max-width: 768px) {
  #schedule {
    --row-gap: 26px;
  }

  #schedule .timeline-item,
  #schedule .tl__row {
    grid-template-columns: 44px 70px 1fr;
    min-height: 44px;
    column-gap: 14px;
  }

  #schedule .time,
  #schedule .tl__time,
  #schedule .label,
  #schedule .tl__label {
    font-size: 18px;
  }

  #schedule img[src*="dotted"] {
    width: 7px;
    height: var(--row-gap);
    margin-left: calc((44px - 7px)/2);
  }

  #schedule .photo--top,
  #schedule .ph--top {
    margin: 4px 0 42px;
    transform: translateX(26px);
  }

  #schedule .photo--bottom,
  #schedule .ph--bottom {
    transform: translateX(-25px);
  }

  #schedule .life_icon,
  #schedule .ph__balloon,
  #schedule img[src*="life_icon"] {
    right: -34px;
    bottom: -210px;
    width: 96px;
  }
}

.tl__text {
  grid-template-columns: 88px minmax(6em, auto);
  /* ラベル側に最小幅を付与 */
  column-gap: 24px;
  align-items: center;
}

.tl__label {
  white-space: nowrap;
  /* 2文字でも改行させない */
}


/* =====================
 Services
===================== */
.services h2 {
  text-align: center;
  color: #35bbc9;
  margin-bottom: 30px;
  font-size: 28px;
}

.services-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 25px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 30px;
  /* margin: 20px 70px 60px; */
}

.service-item img {
  width: 40%;
  flex-shrink: 0;
}

.service-item h3 {
  color: #35bbc9;
  font-size: 30px;
  margin-bottom: 18px;
  line-height: 1.2;
  width: 100%;
  text-align: left;
}

.service-item p {
  width: 100%;
  font-size: 2rem;
  line-height: 1.6;
}

/* === 料金セクション全体 === */
.price {
  margin-top: 60px;
}

.content.sub_content section.price {
  padding: 0;
  /* section に効いている 0 10% をリセット */
  max-width: 820px;
  /* 固定幅 */
  margin: 60px auto 100px;
  /* 上に余白・中央寄せ */
}

.price__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #319e99;
  margin-bottom: 20px;
}

/* === 1ブロック（家賃/食費/合計…） === */
.price-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  /* ラベル列 + 内容列 */
  column-gap: 20px;
  padding: 12px 0 16px;
}

/* 各ブロック下に点線（ラベルから円の末尾まで通す） */
.price-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: repeating-linear-gradient(to right,
      #666 0 3px,
      transparent 3px 6px);
  z-index: 0;
}

/* ラストブロックは点線なし */
.price-item:last-of-type::after {
  content: none;
}

.price-item__label {
  font-size: 2.2rem;
  font-weight: 700;
  color: #35bbc9;
  line-height: 1.5;
}

.price-item__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 任意に調整する列幅と列間 */
:root {
  --col-w: 260px;
  /* 左列(A/C)・右列(B/D)の幅 */
  --col-gap: 48px;
  /* A↔B / C↔D の間隔 */
}

/* 行：左右2カラムを固定幅で並べる */
.price-row {
  display: flex;
  justify-content: flex-start;
  /* 左揃え */
  align-items: baseline;
  gap: var(--col-gap);
  max-width: calc(var(--col-w) * 2 + var(--col-gap));
  /* 行全体の幅を統一 */
}

/* 金額チップ：列の“セル”として同じ幅にする */
.chip {
  display: inline-block;
  width: var(--col-w);
  /* ←コレでB/Dの開始位置が全行で揃う */
  min-width: 0;
  /* min-widthは不要 */
  padding: 0 4px;
  border-radius: 2px;
  font-size: 2.2rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  text-align: left;
  /* 左揃えで統一 */
}

.chip--right {
  text-align: left;
}




/* === 家賃補助 === */
.price-support {
  margin-top: 20px;
}

.price-support__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #35bbc9;
  margin-bottom: 4px;
}

.price-support__desc {
  font-size: 2.2rem;
  line-height: 1.4;
  color: #333;
}


/* SPは幅を落として崩れないように */
@media (max-width: 820px) {
  :root {
    --col-w: 200px;
    --col-gap: 28px;
  }

  .chip {
    font-size: 1.5rem;
    width: 45%;
  }

  .content.sub_content section.price {
    padding: 0;
    /* section に効いている 0 10% をリセット */
    max-width: fit-content;
    /* 固定幅 */
    width: 100%;
    margin: 0 auto 50px;
    /* 上に余白・中央寄せ */
    padding: 0 15px 0;
  }

  .price-row {
    gap: 12%;
  }

  .price-item {
    grid-template-columns: 120px 1fr;
    column-gap: 20px;
  }

  .price-item__label {
    font-size: 18px;
  }

  .price-support__title {
    font-size: 18px;
  }

  .price-support__desc {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .price-row {
    gap: 19%;
  }

  .price-item {
    grid-template-columns: 70px 1fr;
    column-gap: 20px;
  }

  .price-item__label {
    font-size: 18px;
  }

  .price-support__title {
    font-size: 18px;
  }

  .price-support__desc {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .chip {
    font-size: 1.3rem;
    width: 38%;
  }

  .price-row {
    gap: 21%;
  }

  .price-item {
    grid-template-columns: 50px 1fr;
    column-gap: 10px;
  }

  .price-item__label {
    font-size: 15px;
  }

  .price-support__title {
    font-size: 15px;
  }

  .price-support__desc {
    font-size: 14px;
  }
}


/* =====================
 SP Responsive
===================== */
@media screen and (max-width:820px) {
  .life-layout {
    flex-direction: column;
    align-items: center;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .services-box {
    grid-template-columns: 1fr;
  }
}