.header_sun{
  width: 300px;
}
.title-area {
    background-image: url('./../img/common/line_blue.png');
}

.service-box{
  position: relative;
  padding-bottom: 60px; /* 画像が重ならないよう下に余白 */
}

#soundBtn1{
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  background-color: #0000;
  background-size: cover;
  background-position: center;
  background-image:url('./../img/top/vol_off.png');
}

#soundBtn2{
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  background-color: #0000;
  background-size: cover;
  background-position: center;
  background-image:url('./../img/top/vol_on.png');
}

/* イラストを配置 */
.service-img {
  position: absolute;
  bottom: 0px;
  padding: 10px;
}

/* 画像サイズ調整（必要に応じて） */
.service-img-img {
  width: 100%;
  height: auto;
  pointer-events: none;
}

#service .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  justify-content: center;
  padding: 20px;
}

/* --- 共通タイトルスタイル --- */
.custom-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 30px;
}

/* --- 共通本文スタイル --- */
.custom-text {
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
  height: 200px;
  text-align: left;
}

/* --- 個別色設定 --- */
.lifeplan {
  box-shadow: 0 0 4px 8px #FF8C66,
  inset 0 0 3px 3px #fba88d;
}

.lifeplan .custom-title {
  color: #F27751;
}

.spot {
  box-shadow: 0 0 4px 8px #8EE285,
  inset 0 0 3px 3px #c9f6c4;
}

.spot .custom-title {
  color: #69BE5F;
}

.seminar {
  box-shadow: 0 0 4px 8px #F0B7FD,
  inset 0 0 3px 3px #f0c7f9;
}

.seminar .custom-title {
  color: #C371D4;
}
.custom-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 24px;
  max-width: 330px;
  height: 500px;
  text-align: center;
}

/* 外側に光を出す */
.custom-card::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 1rem;
    z-index: -1;
}

.custom-card .row a {
  position: absolute;
  bottom: 2em;
  left: 6rem;
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
}

/* スマホ表示 */
@media (max-width: 768px) {
  .site-header {
    height: auto;
  }
}

@media (max-width: 768px) {
  .client-card, .jisseki-card {
    max-width: 90%;
    height: auto;
  }
}
@media (max-width: 350px) {
  .header_sun{
    width: 200px;
  }
}

