@charset "utf-8";
/* CSS Document */
.main {
  background-color: #FFF8E9;
  padding-bottom: 90px;
  width: calc(100% - 270px);
  margin-left: 270px;
}
@media screen and (max-width: 1024px) {
  .main {
    width: 100%;
    margin-left: 0px;
  }
}

/* --- トップセクション --- */
.section-top__image {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url("images/contact_top2.JPG");
  background-repeat: no-repeat;
  background-position: center center;  
  background-size: cover;
  /* display:flexなどのセンタリング指定を削除 */
}
.section-top__image h2 {
  position: absolute;
  bottom: 90px; /* 下からの位置 */
  left: 60px;   /* 左からの位置 */
  font-size: 3.0rem;
  font-weight: 700;
  color: #FFF8E9;
  text-shadow: 0px 2px 4px rgba(51, 51, 51, 0.78);
  text-align: left; /* 文字を左揃えに */
}
@media screen and (max-width: 480px) {
  .section-top__image {
    height: 400px;
  }
  .section-top__image h2 {
    font-size: 2.2rem;
    left: 24px;   /* スマホ表示での左からの位置 */
    bottom: 24px; /* スマホ表示での下からの位置 */
  }
}

/* --- コンテンツエリア --- */
.services-content {
  max-width: 900px;
  padding: 80px 40px;
  margin: 0 auto;
}

.service-block {
  margin-bottom: 70px;
}

.service-block h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #D7B883;
}

.service-block p, .details-list li {
  font-size: 1.8rem;
  line-height: 2;
}

.intro-text-block {
    text-align: center;
}

/* 詳細リスト (チェックマーク風) */
.details-list {
    list-style: none;
    padding: 0;
}
.details-list li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 10px;
}
.details-list li::before {
    content: '✓';
    color: #D7B883;
    font-weight: bold;
    position: absolute;
    left: 0;
}
.notice {
    font-size: 1.5rem;
    color: #555;
    margin-top: 15px;
}

/* プラン概要セクション */
.plan-overview {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}
.plan-card {
  border: 1px solid #D7B883;
  border-radius: 8px;
  padding: 30px;
  flex: 1;
  max-width: 400px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}
.plan-card h4 {
  font-size: 2.0rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #205E91;
}
.plan-card .recommended {
    font-size: 1.4rem;
    color: #c00;
}
.plan-card ul {
  list-style: none;
  padding: 0;
}
.plan-card li {
  font-size: 1.8rem;
  padding: 15px 0;
  border-bottom: 1px dashed #ddd;
  line-height: 1.5;
}
.two-stage-price {
  display: block;
  font-size: 1.6rem;
  color: #555;
  margin-top: 5px;
  padding-left: 1em;
}
.plan-card li:last-child {
  border-bottom: none;
}
.price-highlight {
    color: #c00;
    font-weight: bold;
}

.plan-examples {
    margin-top: auto;
    padding-top: 20px;
    font-size: 1.5rem;
}
.plan-examples p {
    font-size: 1.6rem;
}
.plan-examples ul {
    list-style: none;
    padding-top: 10px;
}
.plan-examples li {
    font-size: 1.5rem;
    border: none;
    padding: 2px 0;
}

/* お問い合わせボタン */
.contact-button-area {
  text-align: center;
  margin-top: 50px;
}
.contact-button {
  display: inline-block;
  padding: 15px 60px;
  background: #205E91;
  color: #FFF8E9;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.8rem;
  border-radius: 8px;
  transition: opacity 0.3s;
}
.contact-button:hover {
  opacity: 0.8;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .services-content {
    padding: 40px 24px;
  }
  .service-block h3 {
    font-size: 2.0rem;
  }
  .service-block p, .details-list li, .plan-card li {
    font-size: 1.6rem;
  }
  .plan-overview {
    flex-direction: column;
  }
}
/* --- ご利用者様の声セクション (最終完成版) --- */
.section-voice h3 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D7B883;
}
.section-voice__container {
  width: 100%;
  background: #D7B883;
  padding: 45px 15px;
  margin: 0 auto;
}
.voice-one {
  display: flex;
  margin-bottom: 40px;
}
.voice-two {
  display: flex;
  flex-flow: row-reverse;
}
.voice-image {
  width: 65%;
}
.voice-image img {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}
.voice-image__one-pc, .voice-image__two-pc, .voice-image__two-pc2 {
  display: block;
}
.voice-image__one-sp, .voice-image__two-sp, .voice-image__two-pc2 {
  display: none;
}

.voice-one__text {
  width: 50%;
  margin: 54px 0 0 -32%;
}
.voice-two__text {
  width: 50%;
  margin: 54px -32% 0 0;
  text-align: right;
}

.voice-one__text h4, .voice-two__text h4 {
  font-size: 1.8rem !important; /* スタイルを強制適用 */
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.6;
  display: inline-block;
  padding-bottom: 5px;
}
.section-voice__lead {
  font-size: 1.5rem !important; /* スタイルを強制適用 */
  line-height: 1.7;
  margin-bottom: 15px;
}
.section-voice__name {
  font-size: 1.5rem !important; /* スタイルを強制適用 */
  text-align: right;
  white-space: nowrap;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1206px) {
  .section-voice__container {
    padding: 45px 30px;
  }
  .voice-one, .voice-two {
    display: block;
  }
  .voice-image {
    width: 100%;
    margin-bottom: 20px;
  }
  .voice-image__two-pc {
    display: none;
  }
  .voice-image__two-pc2 {
    display: block;
  }
  .voice-one__text, .voice-two__text {
    width: 90%;
    margin: 0 auto;
    text-align: left;
  }
  .section-voice__name {
      text-align: right;
  }
  .voice-one__text h4, .voice-two__text h4 {
    font-size: 1.8rem;
    line-height: 2.8rem;
  }
  .section-voice__lead, .section-voice__name {
    font-size: 1.5rem;
    line-height: 2.6rem;
  }
}

@media screen and (max-width: 732px) {
  .section-voice__container {
    padding: 34px 24px;
  }
  .voice-one {
    margin-bottom: 40px;
  }
  .voice-image {
    margin-bottom: 15px;
  }
  .voice-image__one-pc, .voice-image__two-pc2 {
    display: none;
  }
  .voice-image__one-sp, .voice-image__two-sp {
    display: block;
  }
  .voice-one__text, .voice-two__text {
    width: 100%;
    margin: 0;
  }
  .voice-one__text h4, .voice-two__text h4 {
    font-size: 1.6rem;
    line-height: 2.8rem;
  }
  .section-voice__lead, .section-voice__name {
    font-size: 1.4rem;
    line-height: 2.5rem;
  }
}
/* --- プランカードに追加した画像用のスタイル --- */
.plan-image {
  width: calc(100% + 60px); /* カードの余白分だけ画像を広げる */
  margin: -30px -30px 20px -30px; /* 画像をカードの端にぴったり合わせる */
  border-radius: 8px 8px 0 0; /* 上の角だけを丸くする */
}