.service-page {
  padding: 40px 5px;
  background: #f7efe3;
  margin: 5px auto 10px;
}

/* ナビ */
.service-nav {
  background: #7fa4cb;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin: 30px auto 20px;
  max-width: 1200px;
}

.support-facility {
  position: relative
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 10px;
}

.wave-bg-1 {
  padding-bottom: 1%;
}

.wave-bg-1::before {
  top: -10%;
}

.wave-bg-1::after {
  bottom: -7%;
}

/* =====================
   吹き出し
===================== */
.cloud-area {
  padding: 40px 5px 150px;
  background: #d9e2ec;
}

.cloud-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  max-width: 1000px;
  margin: 0 auto;
}

.cloud {
  background: url("../images/service/cloud.png") no-repeat center;
  background-size: contain;
  width: 100%;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto; 
  padding: 0;
  font-size: 14px;

  filter: drop-shadow(0 8px 15px rgba(0,0,0,0.1));
}

/* 行 */
.cloud p {
  margin: 0;
  line-height: 1.2;
}

/* 行間調整 */
.cloud p + p {
  margin-top: 6px;
}

/* 強調 */
.accent {
  color: #7ea4cb;
  font-weight: 500;
}

.service-img {
  background: url("../images/service/Servicelist.png") no-repeat center;
  background-size: contain;
}

.responcive-desion {
  display: none;
}

.service-highlight-image {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -60%);
  background: url("../images/service/Service2.png") no-repeat center;
  width: 100%;
  aspect-ratio: 4 / 1;
}

.service-highlight-responcive {
  display: none;
}

.service-highlight-responcive p {
  flex: 1;
  margin: 0 10px;
  font-size: 22px;
  color: #333333;
}

.service-highlight-responcive strong {
  color: #eeeeee;
}

.icon {
  font-size: 40px;
}

/* =====================
   詳細
===================== */
.service-detail {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 20px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.service-text {
  flex: 1;
  text-align: center;
  padding: 40px 0 10px;
  font-size: 1.2rem;
}

.underline {
  color: #7ea4cb;
  font-weight: bolder;
  text-decoration: none;

  display: inline;

  background-image: radial-gradient(
    circle,
    #7ea4cb 3px,
    transparent 3px
  );
  background-size: 10px 6px;
  background-repeat: repeat-x;
  background-position: left 100%;

  padding-bottom: 6px;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  border-radius: 10px;
}

/* =====================
   下部ボックス
===================== */
.info-box {
  background: #ffffff;
  max-width: 900px;
  margin: 60px auto;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  border-left: 0 solid #6bb38a;
  box-shadow: 0 0px 7px rgba(0,0,0,0.2);
  margin-bottom: 150px;
}

/* リボン */
.ribbon {
  display: inline-block;
  background: #8aa6c1;
  color: #ffffff;
  padding: 14px 50px;
  font-size: 16px;
  text-align: center;

  clip-path: polygon(
    0 0,                /* 左上 */
    100% 0,             /* 右上 */
    calc(100% - 10px) 50%, /* 右中央（へこみ） */
    100% 100%,          /* 右下 */
    0 100%,             /* 左下 */
    10px 50%            /* 左中央（へこみ） */
  );
}

/* =====================
   ご利用について
===================== */
.usage-card {
  background: #ffffff;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0px 7px rgba(0,0,0,0.2);
}

.usage-text,
.usage-design {
  position: relative;
  padding: 0 30px;
}

.usage-design::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0.5em;

  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 11px solid #7ea4cb;
}

/* =====================
   施設の紹介
===================== */
/* グリッド */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* =====================
   カード
===================== */
.intro-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 画像 */
.intro-card img {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto 5px;
  display: block;
  aspect-ratio: 19 / 9;
  object-fit: cover;
  object-position: bottom;
  cursor: pointer;
}

/* タイトル */
.intro-card h3 {
  margin: 5px 0;
  font-size: 18px;
}

/* 説明 */
.intro-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* =====================
   画像2枚
===================== */
.intro-image-row {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.intro-image-row img {
  width: 50%;
  aspect-ratio: unset;
}

/* =====================
   サービスカード
===================== */
.intro-service {
  text-align: left;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ← 2列 */
  gap: 10px 0;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

/* 各項目 */
.service-list li {
  font-size: 14px;
  position: relative;
  padding-left: 12px;
}

/* ・を自作 */
.service-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #333333;
}

/* 強調 */
.service-list span {
  color: #7ea4cb;
  font-weight: bold;
  margin-right: 6px;
}

/* その他 */
.intro-other {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

.intro-other-list {
  margin: 10px 5px;
}

/* 1行 */
.intro-other-list .list-row {
  display: flex;
  margin-bottom: 10px;
}

/* 項目 */
.intro-other-list dt {
  min-width: 90px;
  font-weight: bold;
}

/* ：を追加 */
.intro-other-list dt::after {
  content: "：";
}

/* 内容 */
.intro-other-list dd {
  margin: 0;
}

/* 行事 */
/* 外枠 */
.intro-event {
  border: 3px solid #7ea4cb;
  border-radius: 20px;
  padding: 40px 30px 30px;
  background: #f7f7f7;
  max-width: 800px;
  margin: 40px auto;
  position: relative;
}

/* タイトル帯 */
.intro-event-title {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 80%;
  transform: translateX(-50%);

  background: #7ea4cb;
  color: #ffffff;

  padding: 5px 10px;
  border-radius: 6px;

  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

/* 本文 */
.intro-event p {
  font-size: 14px;
  line-height: 1.8;
  color: #555555;
  margin: 10px 0 5px;
}

/* 概要 */
.summary {
  max-width: 1000px;
  margin: 0 auto;
}

/* タイトル */
.summary-title {
  background: #cfcfcf;
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* テーブル */
.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* 左側（項目） */
.summary-table th {
  background: #7ea4cb;
  color: #fff;
  width: 120px;
  padding: 12px;
  text-align: center;
}

/* 右側（内容） */
.summary-table td {
  background: #f5f5f5;
  padding: 12px;
}

/* 線 */
.summary-table tr {
  border-bottom: 1px solid #ddd;
}

/* =====================
   レスポンシブ
===================== */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .cloud-list {
    display: block;
  }

  .cloud {
    background: unset;
    height: unset;
    align-items: unset;
    font-size: 18px;
    margin: 0 10px;
    padding: 10px;
  }

  .noEntry {
    display: none;
  }

  .responcive-desion {
    display: block;
    background: url("../images/service/Servicelist-res.png") no-repeat center;
    margin-top: 0px;
    height: 270px;
  }

  .service-detail {
    flex-direction: column;
  }

  .service-highlight-image {
    display: none;
  }

  .service-highlight-responcive {
    background: #5dae8b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0 0;
  }

  .service-highlight-responcive-img {
    background: url("../images/service/Service2-res.png") no-repeat center;
    margin-top: 0px;
    width: 100%;
    aspect-ratio: 1 / 0.6;
  }

  .info-box {
    padding: 20px 50px;
    box-shadow: none;
    border: #7fa4cb 3px solid;
    border-radius: 25px;
  }

  .ribbon {
    clip-path: none;
    background: unset;
    color: #7fa4cb;
    font-size: 1.3rem;
  }

  /* 1列に */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* カード */
  .intro-card {
    padding: 20px 15px;
  }

  /* 画像 */
  .intro-card img {
    max-width: 350px;
  }

  /* 画像2枚 → 縦に */
  .intro-image-row {
    gap: 5px;
    align-items: center;
  }

  .intro-image-row img {
    width: 50%;
    margin: 0 0;
  }

  /* サービス一覧 → 1列 */
  .service-list {
    grid-template-columns: 1fr;
  }

  /* その他（項目：内容）縦並び */
  .intro-other-list .list-row {
    flex-direction: column;
  }

  .intro-other-list dt {
    margin-bottom: 5px;
  }

  /* 行事ボックス */
  .intro-event {
    padding: 25px 15px 15px;
    margin: 30px 15px;
  }

  .intro-event-title {
    width: 90%;
    font-size: 14px;
  }

  /* 概要テーブル → カード風に */
  .summary-table th,
  .summary-table td {
    display: block;
    width: 100%;
  }

  .summary-table tr {
    display: block;
    margin-bottom: 15px;
  }

  .summary-table th {
    text-align: left;
  }

}