@charset "utf-8";
/* CSS Document */
/* =========================================================
   特徴セクション
   ========================================================= */
.features-section {
  position: relative;
  width: 100%;
  background-image: url("../images/sub/feature-bgwebp.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  /* 背景をしっかり見せるための高さ設定 */
  min-height: 1500px; /* PCでの最低の高さ（画像に合わせて調整） */
  height: 65vw; 
  display: flex;
  flex-direction: column;
}

/* 2行に分けたコンテナ */
.features-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.features-section .section-title {
    display: table;
    margin: 0 auto 40px;
}
.features-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* --- 上段（大きい丸3つ） --- */
.features-row.is-top {
  gap: 50px; /* 横の隙間 */
}
.features-row.is-top .feature-item {
  width: 260px;
}

/* --- 下段（小さい丸4つ） --- */
.features-row.is-bottom {
  gap: 30px;
  margin-top: 10px;
}
.features-row.is-bottom .feature-item {
  width: 200px;
}

.feature-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- スマホ対応：並びを維持しつつ縮小 --- */
@media (max-width: 1000px) {
  .features-section {
        min-height: 750px;
        height: auto;
  }

  .features-row.is-top { gap: 5px; }
  .features-row.is-top .feature-item { width: 40%; } /* 画面幅に対して3分割 */

  .features-row.is-bottom { gap: 10px; }
  .features-row.is-bottom .feature-item { width: 22%; } /* 画面幅に対して4分割 */
}

/* =========================================================
   ご入居対象者セクション
   ========================================================= */
.target-section {
  /* 重要：うねうね画像（SVG）の塗りつぶし色と同じにする */
  background-color: var(--color-bg-yellow); 
  padding: 60px 0 150px;
  margin-top: -2px; /* 隙間防止 */
	transform: translateY(1px);
	
}

.target-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.target-text {
  flex: 1;
}

.target-section .ribbon-right::after {
 background-color: var(--color-bg-yellow);
}

.target-text p {
  font-weight: 700;
  margin-bottom: 10px;
}

.target-note {
  color: var(--color-green);
  font-size: 0.9rem ;
  margin-bottom: 30px !important;
}
.target-section .btn-main {
  margin-left: auto; /* 左側の余白を自動で最大化＝右寄せ */
  margin-right: 0;
  width: fit-content; /* 中身に合わせて幅を縮める */
}
.target-image {
  flex: 1;
}

.target-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* =========================================================
   スマホ対応
   ========================================================= */
@media (max-width: 768px) {
  .feature-item {
    width: 140px;
    height: auto;
  }
  .feature-item span {
    font-size: 0.8rem;
  }
  .target-flex {
    flex-direction: column;
  }

}
/* =========================================================
   受け入れ可能な医療処置セクション
   ========================================================= */
.section-title-wrapper{
margin-bottom: 30px;
}
.medical-section{
padding-bottom: 400px;
}
/* --- 医療処置リスト（ドット枠） --- */
.medical-list-container {
  border-top: 2px dotted var(--color-orange);
  border-bottom: 2px dotted var(--color-orange);
  padding: 40px 30px;
  margin-bottom: 60px;
}

.medical-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 10px;
  list-style: none;
  padding: 0;
}

.medical-list li {
  position: relative;
  padding-left: 25px;
  font-weight: 700;
  color: var(--color-brown);
}

.medical-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: var(--color-orange);
  border-radius: 50%;
}

/* --- 円形画像カード --- */
.medical-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}

.medical-card {
  width: 280px;
  height: auto;
}

.medical-card img {
  width: 100%;
  height: auto;
}

/* --- 別表7エリア --- */
.appendix-box {
  background-color: #fff5f2; /* 薄いピンク */
  border-radius: 15px;
  padding: 40px 50px;
}

.appendix-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.appendix-badge {
  background-color: #ff7bac; /* ピンクバッジ */
  color: #fff;
  padding: 4px 15px;
  border-radius: 8px;
  font-weight: 700;
}

.appendix-title {
  color: #ff7bac;
  font-weight: 700;
  font-size: 1.1rem;
}

.appendix-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 12px 20px;
  list-style: none;
  padding: 0;
}

.appendix-list li {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-brown);
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.appendix-list li .num {
  color: #333;
  flex-shrink: 0;
}

/* --- レスポンシブ --- */
@media (max-width: 1000px) {
  .medical-list { grid-template-columns: repeat(2, 1fr); }
  .appendix-list { grid-template-columns: repeat(2, 1fr); }
  .medical-card { width: 30%; }
}

@media (max-width: 768px) {
  .medical-cards { flex-direction: column; align-items: center; }
  .medical-card { width: 80%; max-width: 300px; }
  .appendix-list { grid-template-columns: 1fr; }
  .appendix-header { flex-direction: column; align-items: flex-start; }
  .appendix-box { padding: 25px; }
  .medical-list-container {
    padding: 40px 0px;
}
}