@charset "utf-8";

/* =========================================================================
   相談者の声 (Voices Section)
========================================================================= */
.voices {
  background-color: #FAFAFA;
  padding: 80px 0;
  text-align: center;
}

.voice-category {
  font-size: 20px;
  color: #c42e48;
  margin-bottom: 20px;
}

.swiper-slide {
  height: auto !important;
  /* 高さを揃えるために必須 */
  display: flex;
  /* 追加: 子要素の高さを100%にするため */
}

.voice-card {
  width: 100%;
  /* flex子要素としての幅指定 */
  flex: 1;
  /* 追加: swiper-slideの高さいっぱいに広がるようにする */

  background: #fff;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.8;
  font-size: 15px;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  border-top: 4px solid #c42e48;
}

.voice-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  color: rgba(196, 46, 72, 0.1);
  font-family: serif;
  line-height: 1;
}

.voice-meta {
  margin-bottom: 12px;
}

.voice-attr {
  display: inline-block;
  background-color: #f2f2f2;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.voice-title {
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.voice-card p {
  color: #444;
  margin: 0;
  flex-grow: 1;
}

.swiper {
  width: 90%;
  max-width: 1100px;
  margin-bottom: 50px;
  padding-bottom: 60px !important;
}

.mySwiper2 {
  margin-bottom: 0;
}

.mt30 {
  margin-top: 30px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #c42e48 !important;
  transform: scale(0.7);
}

.swiper-pagination-bullet-active {
  background: #c42e48 !important;
}

/* =========================================================================
   アクセス (Access Section)
========================================================================= */
.access {
  text-align: center;
  padding: 80px 0;
}

.access-content {
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
}

.access-info-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 35px;
  overflow: hidden;
  border: 1px solid #eee;
}

.access-info-box dl {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.access-row {
  display: flex;
  border-bottom: 1px solid #eee;
}

.access-row:last-child {
  border-bottom: none;
}

.access-head {
  background: #FAFAFA;
  font-weight: bold;
  padding: 20px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #333;
}

.access-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #c42e48;
}

.access-text {
  padding: 20px;
  flex: 1;
  text-align: left;
  display: flex;
  align-items: center;
  font-size: 16px;
  margin: 0;
}

.map-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .access-row {
    flex-direction: column;
  }

  .access-head {
    width: auto;
    justify-content: flex-start;
    padding: 15px 20px 5px;
    background: transparent;
  }

  .access-head::before {
    top: 15px;
    bottom: auto;
    height: 20px;
  }

  .access-text {
    padding: 5px 20px 20px;
  }
}


/* =========================================================================
   お問い合わせフォーム (Contact Section)
========================================================================= */
#contact {
  padding: 100px 0;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.contact-form form dl {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}

.contact-form form dt {
  width: 100%;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-form form dt span {
  background: #c42e48;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  font-weight: normal;
}

.contact-form form dd {
  width: 100%;
  margin: 0;
}

.contact-form form input[type="text"],
.contact-form form input[type="email"],
.contact-form form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  background: #fdfdfd;
  box-sizing: border-box;
}

.contact-form form input[type="text"]:focus,
.contact-form form input[type="email"]:focus,
.contact-form form textarea:focus {
  outline: none;
  border-color: #c42e48;
  background: #fff;
}

.contact-form form textarea {
  resize: vertical;
}

.contact-form .btn {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 240px;
  padding: 10px 25px;
  color: #333;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  background: #eeee;
  border: 0.1rem solid #543618;
  box-shadow: 0.2rem 0.2rem 0px 0.1rem #cccccc;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
  font-size: 16px;
}

.contact-form .btn:hover {
  transform: translate3d(0.2rem, 0.2rem, 0);
  box-shadow: none;
  opacity: 1;
  transition: all 0.2s;
}

.contact-form .btn:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #543618;
  border-right: 3px solid #543618;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

/* =========================================================================
   フローティングボタン (Floating Button)
========================================================================= */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #c42e48;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-align: center;
  line-height: 1.4;
  transition: all 0.3s ease;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* スマホ用の調整 */
@media screen and (max-width: 768px) {
  .contact-form {
    padding: 20px;
    width: 90%;
  }

  .floating-btn {
    bottom: 20px;
    right: 15px;
    padding: 14px 22px;
    font-size: 13px;
    border-radius: 20px;
  }

  /* SP版の上下余白（padding）を70pxへ統一 */
  #support,
  #qa,
  #fee,
  #contact,
  .voices,
  .access,
  footer {
    padding: 70px 0 !important;
  }
}