@charset "UTF-8";
/* ====================================================================
   service.css — service.php 専用
   ==================================================================== */

/* ==================== Who We Support ==================== */
.support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(28px, 3.4vw, 44px);
}

.support-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px) 12px;
  background: var(--cream);
  text-align: center;
}

.support-item::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 0;
  width: clamp(36px, 5.6vw, 60px);
  aspect-ratio: 1;
  background: url("../img/dec/flower-floating.webp?20261111") no-repeat right bottom / contain;
  pointer-events: none;
}

.support-item__icon {
  display: grid;
  place-items: center;
  width: clamp(84px, 9vw, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.support-item__icon img {
  width: 62%;
}
.support-item__icon--c1 {
  background: rgba(229, 195, 60, 0.8);
}
.support-item__icon--c2 {
  background: rgba(229, 150, 60, 0.8);
}
.support-item__icon--c3 {
  background: rgba(184, 111, 111, 0.8);
}

/* ==================== How to Get Started ==================== */
.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  margin: clamp(30px, 3.6vw, 50px) 0 0;
  padding: 0;
  list-style: none;
}

.flow-item {
  position: relative;
  padding: 24px 14px;
  background: #fff;
  text-align: center;
}

/* 次のステップへの矢印 */
.flow-item:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: calc(clamp(18px, 2.2vw, 34px) * -1);
  width: clamp(18px, 2.2vw, 34px);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  transform: translateY(-50%);
}

.flow-item__no {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  background: #e5c33c;
  border-radius: 50%;
  font-family: var(--font-title);
  color: #fff;
}

.flow-item h3 {
  margin-bottom: 8px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  background: #e5c33c14;
  border-radius: 7px;
}

.flow-item p {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0.05rem;
  text-align: left;
}

/* ==================== Our Services ==================== */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  margin-top: clamp(28px, 3.4vw, 44px);
}

.service-detail {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 26px);
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--cream);
  scroll-margin-top: 20px;
}

.service-detail .service-icon {
  width: clamp(56px, 5.4vw, 76px);
}

.service-detail h3 {
  margin-bottom: 6px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.service-icon.is-solid {
  background: #e5c33c;
  border-color: #e5c33c;
  color: #fff;
}

@media (max-width: 1000px) {
  .service-icon.is-solid {
    background: #fff;
    border: 1px solid var(--line);
    color: #e5c33c;
  }
}

/* ==================== Fees ==================== */
.fees-box {
  margin-top: clamp(26px, 3.4vw, 44px);
  padding: clamp(24px, 3.4vw, 48px);
  background: #fff;
  border-top: 3px solid var(--gold);
}

.fees-box h3 {
  margin-bottom: 14px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.fees-box p + p {
  margin-top: 1em;
}
.fees-box .link-more {
  margin-top: 20px;
}

/* 料金表 */
.fees-table {
  margin-top: 20px;
}

.fees-heading {
  margin-top: clamp(36px, 4.4vw, 60px);
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  text-align: center;
}

/* ご利用例 */
.fee-example {
  margin-top: clamp(18px, 2.2vw, 28px);
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
}

.fee-example__title {
  margin: 0;
  padding: 10px clamp(18px, 2.6vw, 32px);
  background: var(--gold);
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  letter-spacing: 0.08em;
  color: #fff;
}

.fee-example__body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
  padding: clamp(18px, 2.6vw, 32px);
}

.fee-example__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fee-example__items li {
  position: relative;
  padding: 6px 1.6em 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-p);
  line-height: 1.7;
}

/* 項目の足し算を示す */
.fee-example__items li:not(:last-child)::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--gold-deep);
}

.fee-example__total {
  padding: clamp(14px, 1.8vw, 22px);
  background: var(--cream);
  border-radius: 2px;
  text-align: center;
}

.fee-example__total p + p {
  margin-top: 6px;
}

.fee-example__total strong {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.5em;
  color: var(--gold-deep);
}

.fee-example__sum {
  font-size: 1.125rem;
}
.fee-example__sum span {
  color: var(--gold-deep);
}

/* ==================== FAQ ==================== */
.faq-list {
  margin-top: clamp(26px, 3.4vw, 44px);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 40px 16px 4px;
  font-size: var(--fs-p);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--gold);
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #e5c33c;
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 400;
  color: #fff;
}

.faq-item__mark--a {
  background: #fff;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
}

.faq-item__answer {
  display: flex;
  gap: 14px;
  padding: 0 8px 18px 4px;
}

.faq-item__answer p {
  padding-top: 3px;
}

/* ==================== We Can Help ==================== */
.help-band {
  position: relative;
  padding: clamp(50px, 7vw, 110px) 0;
  overflow: hidden;
}

.help-band__photo {
  -webkit-mask-image: var(--photo-edge-fade);
  mask-image: var(--photo-edge-fade);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.help-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, #fff 0, rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, 0) 84%, #fff 100%);
}

.help-band__card {
  position: relative;
  z-index: 1;
  width: min(640px, 46vw); /* 右半分に収める（50vw の余白で画面外に出ないように） */
  margin: 0 0 0 50vw;
  padding: clamp(26px, 3.6vw, 52px);
  background: rgba(255, 255, 255, 0.92);
}

.help-band__card .section-heading__ja {
  margin-bottom: 14px;
}
/* 電話・メールのボタン（金色＋白いアイコン。共通の書式は common.css の .contact-buttons） */
.help-band__card .contact-buttons {
  margin-top: 26px;
}

/* ==================== Contact form ==================== */
.contact-section {
  scroll-margin-top: 0;
  overflow: hidden;
}

.contact-intro {
  margin-top: 22px;
  text-align: center;
}

@media (max-width: 700px) {
  .contact-intro p {
    text-align: left;
  }
}

.contact-form {
  margin-top: 50px;
  padding: clamp(22px, 3.6vw, 52px);
  background: #fff;
  border-top: 1px solid var(--gold);
}

/* フォーム上端の線の右端に女の子を立たせる */
.contact-form-wrap {
  position: relative;
  display: flow-root;
} /* フォームの margin-top が外へ抜けないようにする */

.contact-form__summary {
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #fff;
  border-left: 4px solid #c0392b;
  color: #a93226;
}

.contact-form__row + .contact-form__row {
  margin-top: 22px;
}

.contact-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: var(--fs-p);
  font-weight: 700;
}

.is-required,
.is-optional {
  padding: 1px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  background: #dd6b24;
}

.is-optional {
  background: #a89a7c;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--brown);
  font: inherit;
  font-size: 1rem; /* iOS のズーム防止 */
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-soft);
}

.contact-form [aria-invalid="true"] {
  border-color: #c0392b;
}

.contact-form__hint {
  margin-top: 6px;
  color: var(--brown-mid);
}

.contact-form__error {
  margin-top: 6px;
  font-weight: 700;
  color: #a93226;
}

/* 送信できないときに画面上部へ出すウィンドウ */
.contact-alert {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: 24px auto auto;
  padding: clamp(22px, 3vw, 32px);
  overflow-y: auto;
  background: #fff;
  border: 0;
  border-top: 4px solid #a93226;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.contact-alert::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.contact-alert__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #a93226;
}

.contact-alert__list {
  margin: 0 0 20px;
  padding-left: 1.2em;
  list-style: disc;
}

.contact-alert__list li + li {
  margin-top: 6px;
}

.contact-alert__close {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

/* ハニーポット：画面外へ出して人には見せない */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__action {
  margin-top: 32px;
  text-align: center;
}

/* 個人情報保護方針 */
.contact-privacy {
  margin-top: clamp(36px, 4.4vw, 60px);
  scroll-margin-top: 20px;
}

.contact-privacy__title {
  margin-bottom: 14px;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  text-align: center;
}

.contact-privacy__box {
  padding: clamp(20px, 2.8vw, 36px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.contact-privacy__box h4 {
  margin: 1.6em 0 0.4em;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
}

.contact-privacy__box ul {
  margin-top: 0.6em;
  padding-left: 1.4em;
  list-style: disc;
  font-size: var(--fs-p);
}

.contact-section__girl {
  position: absolute;
  right: 30px;
  top: 50px;
  width: clamp(40px, 4vw, 56px);
  transform: translateY(-100%);
  pointer-events: none;
}

/* ==================== Responsive ==================== */
@media (max-width: 1000px) {
  .flow-list {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
    gap: 26px;
  }

  .flow-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    text-align: left;
  }

  .flow-item__no {
    grid-row: 1 / span 2;
    margin: 0;
  }
  .flow-item h3 {
    margin-bottom: 2px;
  }

  .flow-item:not(:last-child)::after {
    content: "›";
    top: auto;
    right: auto;
    bottom: -26px;
    left: 50%;
    width: auto;
    transform: translateX(-50%) rotate(90deg);
  }

  .service-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .support-list {
    grid-template-columns: 1fr;
  }

  .fee-example__body {
    grid-template-columns: 1fr;
  }

  .help-band__card {
    width: 90%;
    margin: 0 auto;
    max-width: 450px;
  }

  .contact-form {
    padding: clamp(22px, 3.6vw, 52px) 0;
  }
}

/* ==================== 角丸の統一 ==================== */
.support-item,
.flow-item,
.service-detail,
.fees-box,
.help-band__card,
.contact-form,
.contact-form__summary,
.contact-privacy__box,
.is-required,
.is-optional {
  border-radius: 2px;
}

/* ==================== 電話 ==================== */
.contact-intro__urgent {
  margin-top: 10px;
}

.contact-intro__urgent a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
