/**
 * スタリハ® 相談ガイド本文専用スタイル。
 * すべての規則を .stareha-contact-guide 配下へ限定します。
 */
.stareha-contact-guide {
  --stareha-contact-sky: #00a0e9;
  --stareha-contact-sky-text: #007db8;
  --stareha-contact-sky-border: #79ccef;
  --stareha-contact-pale: #f5fbfd;
  --stareha-contact-soft: #e6f6fc;
  --stareha-contact-navy: #172a86;
  --stareha-contact-navy-hover: #10206f;
  --stareha-contact-text: #252525;
  --stareha-contact-muted: #4c5660;
  --stareha-contact-white: #ffffff;
  --stareha-contact-line: #d9e4ea;
  --stareha-contact-warning: #fff8df;
  --stareha-contact-warning-line: #efc856;
  --stareha-contact-alert: #c8323c;
  --stareha-contact-font: -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo",
    sans-serif;
  position: relative;
  width: 100%;
  color: var(--stareha-contact-text);
  font-family: var(--stareha-contact-font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.stareha-contact-guide,
.stareha-contact-guide *,
.stareha-contact-guide *::before,
.stareha-contact-guide *::after {
  box-sizing: border-box;
}

.stareha-contact-guide h2,
.stareha-contact-guide h3,
.stareha-contact-guide h4,
.stareha-contact-guide p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.stareha-contact-guide .stareha-contact-guide__shell {
  position: relative;
  left: 50%;
  width: min(calc(100vw - 64px), 1180px);
  max-width: none;
  margin: 0;
  padding: 40px 0 42px;
  background: var(--stareha-contact-white);
  transform: translateX(-50%);
}

.stareha-contact-guide .stareha-contact-guide__hero {
  display: grid;
  min-width: 0;
  min-height: 250px;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 38px;
  padding: 34px 48px;
  border: 2px solid var(--stareha-contact-sky);
  border-radius: 14px;
  background: var(--stareha-contact-pale);
}

.stareha-contact-guide .stareha-contact-guide__hero-copy {
  min-width: 0;
}

.stareha-contact-guide .stareha-contact-guide__eyebrow {
  margin-bottom: 7px;
  color: var(--stareha-contact-sky-text);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stareha-contact-guide .stareha-contact-guide__hero h2 {
  margin-bottom: 16px;
  color: var(--stareha-contact-navy);
  font-size: clamp(36px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.stareha-contact-guide .stareha-contact-guide__hero-lead {
  margin-bottom: 11px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.stareha-contact-guide .stareha-contact-guide__hero-note {
  color: var(--stareha-contact-muted);
  font-size: 16px;
  line-height: 1.75;
}

.stareha-contact-guide .stareha-contact-guide__hero-visual {
  display: block;
  width: 154px;
  margin: 0 auto;
  color: var(--stareha-contact-navy);
}

.stareha-contact-guide .stareha-contact-guide__hero-visual svg,
.stareha-contact-guide .stareha-contact-guide__topic-icon svg,
.stareha-contact-guide .stareha-contact-guide__notice-icon svg,
.stareha-contact-guide .stareha-contact-guide__reply-icon svg,
.stareha-contact-guide .stareha-contact-guide__link-icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.stareha-contact-guide .stareha-contact-icon__line,
.stareha-contact-guide .stareha-contact-icon__surface,
.stareha-contact-guide .stareha-contact-icon__white-surface,
.stareha-contact-guide .stareha-contact-icon__white-sky,
.stareha-contact-guide .stareha-contact-icon__soft-sky,
.stareha-contact-guide .stareha-contact-icon__soft-fill {
  stroke: var(--stareha-contact-navy);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stareha-contact-guide .stareha-contact-icon__line {
  fill: none;
}

.stareha-contact-guide .stareha-contact-icon__surface {
  fill: var(--stareha-contact-pale);
}

.stareha-contact-guide .stareha-contact-icon__white-surface {
  fill: var(--stareha-contact-white);
}

.stareha-contact-guide .stareha-contact-icon__white-sky {
  fill: var(--stareha-contact-white);
  stroke: var(--stareha-contact-sky);
}

.stareha-contact-guide .stareha-contact-icon__soft-sky {
  fill: var(--stareha-contact-soft);
  stroke: var(--stareha-contact-sky);
}

.stareha-contact-guide .stareha-contact-icon__soft-fill {
  fill: var(--stareha-contact-soft);
}

.stareha-contact-guide .stareha-contact-icon__sky-line,
.stareha-contact-guide .stareha-contact-icon__pale-line {
  fill: none;
  stroke: var(--stareha-contact-sky);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stareha-contact-guide .stareha-contact-icon__pale-line {
  stroke: var(--stareha-contact-sky-border);
}

.stareha-contact-guide .stareha-contact-icon__line--wide {
  stroke-width: 5;
}

.stareha-contact-guide .stareha-contact-icon__line--hero {
  stroke-width: 4;
}

.stareha-contact-guide .stareha-contact-icon__sky-fill {
  fill: var(--stareha-contact-sky);
}

.stareha-contact-guide .stareha-contact-icon__navy-fill {
  fill: var(--stareha-contact-navy);
}

.stareha-contact-guide .stareha-contact-icon__warning-surface {
  fill: var(--stareha-contact-white);
  stroke: var(--stareha-contact-alert);
  stroke-width: 4;
  stroke-linejoin: round;
}

.stareha-contact-guide .stareha-contact-icon__warning-line {
  fill: none;
  stroke: var(--stareha-contact-alert);
  stroke-width: 5;
  stroke-linecap: round;
}

.stareha-contact-guide .stareha-contact-icon__warning-fill {
  fill: var(--stareha-contact-alert);
}

.stareha-contact-guide .stareha-contact-guide__topics {
  margin-top: 34px;
}

.stareha-contact-guide .stareha-contact-guide__topics > h3,
.stareha-contact-guide .stareha-contact-guide__section-heading h3,
.stareha-contact-guide .stareha-contact-guide__reply h3 {
  margin-bottom: 14px;
  color: var(--stareha-contact-navy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
}

.stareha-contact-guide .stareha-contact-guide__topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stareha-contact-guide .stareha-contact-guide__topic-card {
  display: flex;
  min-width: 0;
  min-height: 228px;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  border: 2px solid var(--stareha-contact-sky-border);
  border-radius: 12px;
  background: var(--stareha-contact-white);
  text-align: center;
}

.stareha-contact-guide .stareha-contact-guide__topic-icon {
  display: block;
  width: 62px;
  margin-bottom: 12px;
  color: var(--stareha-contact-navy);
}

.stareha-contact-guide .stareha-contact-guide__topic-card h4 {
  margin-bottom: 9px;
  color: var(--stareha-contact-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.stareha-contact-guide .stareha-contact-guide__topic-card p {
  font-size: 16px;
  line-height: 1.7;
}

.stareha-contact-guide .stareha-contact-guide__notice {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-top: 34px;
  padding: 27px 30px;
  border: 2px solid var(--stareha-contact-warning-line);
  border-radius: 14px;
  background: var(--stareha-contact-warning);
}

.stareha-contact-guide .stareha-contact-guide__notice-icon {
  display: block;
  width: 64px;
  margin-top: 4px;
  color: var(--stareha-contact-alert);
}

.stareha-contact-guide .stareha-contact-guide__notice h3 {
  margin-bottom: 12px;
  color: var(--stareha-contact-navy);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
}

.stareha-contact-guide .stareha-contact-guide__notice p {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.75;
}

.stareha-contact-guide .stareha-contact-guide__notice p:last-child {
  margin-bottom: 0;
}

.stareha-contact-guide .stareha-contact-guide__notice strong {
  color: var(--stareha-contact-navy);
  font-weight: 800;
}

.stareha-contact-guide .stareha-contact-guide__form-section {
  margin-top: 38px;
}

.stareha-contact-guide .stareha-contact-guide__section-heading p {
  font-size: 16px;
  line-height: 1.7;
}

.stareha-contact-guide .stareha-contact-guide__form-frame {
  width: 100%;
  min-width: 0;
  margin-top: 17px;
  padding: 16px;
  overflow: hidden;
  border: 2px solid var(--stareha-contact-sky);
  border-radius: 14px;
  background: var(--stareha-contact-pale);
}

.stareha-contact-guide .stareha-contact-guide__form-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 2400px;
  border: 0;
  border-radius: 8px;
  background: var(--stareha-contact-white);
}

.stareha-contact-guide .stareha-contact-guide__form-unavailable {
  min-height: 96px;
  padding: 28px 24px;
  border: 1px solid var(--stareha-contact-sky-border);
  border-radius: 8px;
  color: var(--stareha-contact-navy);
  background: var(--stareha-contact-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.stareha-contact-guide .stareha-contact-guide__reply {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 28px 32px;
  border: 2px solid var(--stareha-contact-sky-border);
  border-radius: 14px;
  background: var(--stareha-contact-pale);
}

.stareha-contact-guide .stareha-contact-guide__reply-icon {
  display: block;
  width: 88px;
  color: var(--stareha-contact-navy);
}

.stareha-contact-guide .stareha-contact-guide__reply h3 {
  margin-bottom: 10px;
}

.stareha-contact-guide .stareha-contact-guide__reply p {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.75;
}

.stareha-contact-guide .stareha-contact-guide__reply p:last-child {
  margin-bottom: 0;
}

.stareha-contact-guide .stareha-contact-guide__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stareha-contact-guide .stareha-contact-guide__links > a {
  display: grid;
  min-width: 0;
  min-height: 96px;
  grid-template-columns: 44px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid var(--stareha-contact-sky-border);
  border-radius: 10px;
  color: var(--stareha-contact-navy);
  background: var(--stareha-contact-white);
  text-decoration: none;
}

.stareha-contact-guide .stareha-contact-guide__links > a:hover {
  border-color: var(--stareha-contact-navy);
  background: var(--stareha-contact-pale);
}

.stareha-contact-guide .stareha-contact-guide__links > a:focus-visible {
  outline: 4px solid var(--stareha-contact-navy);
  outline-offset: 3px;
}

.stareha-contact-guide .stareha-contact-guide__link-icon {
  display: block;
  width: 44px;
  color: var(--stareha-contact-navy);
}

.stareha-contact-guide .stareha-contact-guide__link-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.stareha-contact-guide .stareha-contact-guide__link-copy strong {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.stareha-contact-guide .stareha-contact-guide__link-copy small {
  color: var(--stareha-contact-muted);
  font-size: 16px;
  line-height: 1.5;
}

.stareha-contact-guide .stareha-contact-guide__link-arrow {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--stareha-contact-white);
  background: var(--stareha-contact-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1080px) {
  .stareha-contact-guide .stareha-contact-guide__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .stareha-contact-guide .stareha-contact-guide__shell {
    width: calc(100vw - 48px);
  }

  .stareha-contact-guide .stareha-contact-guide__hero {
    grid-template-columns: minmax(0, 1fr) 148px;
    gap: 24px;
    padding: 32px 36px;
  }

  .stareha-contact-guide .stareha-contact-guide__hero-visual {
    width: 138px;
  }

  .stareha-contact-guide .stareha-contact-guide__topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stareha-contact-guide .stareha-contact-guide__topic-card {
    min-height: 205px;
  }

  .stareha-contact-guide .stareha-contact-guide__form-iframe {
    height: 2612px;
  }
}

@media (max-width: 780px) {
  .stareha-contact-guide .stareha-contact-guide__hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 20px;
    padding: 30px 28px;
  }

  .stareha-contact-guide .stareha-contact-guide__hero-visual {
    width: 120px;
  }

  .stareha-contact-guide .stareha-contact-guide__pc-break {
    display: none;
  }

  .stareha-contact-guide .stareha-contact-guide__reply {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 22px;
    padding: 26px;
  }

  .stareha-contact-guide .stareha-contact-guide__reply-icon {
    width: 76px;
  }
}

@media (max-width: 640px) {
  .stareha-contact-guide .stareha-contact-guide__shell {
    width: calc(100vw - 32px);
    padding: 28px 0 36px;
  }

  .stareha-contact-guide .stareha-contact-guide__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 26px 22px;
  }

  .stareha-contact-guide .stareha-contact-guide__hero h2 {
    margin-bottom: 14px;
    font-size: 34px;
  }

  .stareha-contact-guide .stareha-contact-guide__hero-lead {
    font-size: 17px;
  }

  .stareha-contact-guide .stareha-contact-guide__hero-visual {
    width: 112px;
    justify-self: center;
  }

  .stareha-contact-guide .stareha-contact-guide__topics,
  .stareha-contact-guide .stareha-contact-guide__notice,
  .stareha-contact-guide .stareha-contact-guide__reply {
    margin-top: 28px;
  }

  .stareha-contact-guide .stareha-contact-guide__topics > h3,
  .stareha-contact-guide .stareha-contact-guide__section-heading h3,
  .stareha-contact-guide .stareha-contact-guide__reply h3 {
    font-size: 24px;
  }

  .stareha-contact-guide .stareha-contact-guide__topic-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .stareha-contact-guide .stareha-contact-guide__topic-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .stareha-contact-guide .stareha-contact-guide__topic-card h4 {
    font-size: 19px;
  }

  .stareha-contact-guide .stareha-contact-guide__topic-card p,
  .stareha-contact-guide .stareha-contact-guide__notice p,
  .stareha-contact-guide .stareha-contact-guide__section-heading p,
  .stareha-contact-guide .stareha-contact-guide__reply p,
  .stareha-contact-guide .stareha-contact-guide__form-unavailable {
    font-size: 16px;
  }

  .stareha-contact-guide .stareha-contact-guide__notice {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 23px 20px;
  }

  .stareha-contact-guide .stareha-contact-guide__notice-icon {
    width: 54px;
    margin: 0 auto;
  }

  .stareha-contact-guide .stareha-contact-guide__notice h3 {
    font-size: 24px;
  }

  .stareha-contact-guide .stareha-contact-guide__form-section {
    margin-top: 30px;
  }

  .stareha-contact-guide .stareha-contact-guide__form-frame {
    padding: 8px;
    border-radius: 12px;
  }

  .stareha-contact-guide .stareha-contact-guide__form-iframe {
    height: 2800px;
    border-radius: 6px;
  }

  .stareha-contact-guide .stareha-contact-guide__reply {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 24px 20px;
  }

  .stareha-contact-guide .stareha-contact-guide__reply-icon {
    width: 76px;
    margin: 0 auto;
  }

  .stareha-contact-guide .stareha-contact-guide__links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .stareha-contact-guide .stareha-contact-guide__shell {
    width: calc(100vw - 24px);
  }

  .stareha-contact-guide .stareha-contact-guide__hero {
    padding: 24px 18px;
  }

  .stareha-contact-guide .stareha-contact-guide__hero h2 {
    font-size: 32px;
  }

  .stareha-contact-guide .stareha-contact-guide__form-frame {
    padding: 6px;
  }

  .stareha-contact-guide .stareha-contact-guide__form-iframe {
    height: 3000px;
  }

  .stareha-contact-guide .stareha-contact-guide__links > a {
    padding-right: 11px;
    padding-left: 11px;
  }
}
