html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background-color: #9b8e491a;
  color: #403d3c;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
}

.sf-phrase {
  display: inline-block;
}

.sf-page {
  min-width: 320px;
}

.sf-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-right: 5.128%;
  padding-left: 5.128%;
}

.sf-narrow {
  max-width: 900px;
}

.sf-header {
  padding: 34px 0 18px;
}

.sf-logo {
  width: min(220px, 62vw);
  margin: 0 auto;
}

.sf-logo img {
  display: block;
}

.sf-hero {
  padding: 26px 0 58px;
}

.sf-eyebrow,
.sf-service-name,
.sf-section-label {
  margin: 0;
  color: #3f7e6b;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.sf-eyebrow .sf-phrase + .sf-phrase,
.sf-service-name .sf-phrase + .sf-phrase,
.sf-hero-title .sf-phrase + .sf-phrase,
.sf-section-title .sf-phrase + .sf-phrase {
  margin-left: 0.12em;
}

.sf-service-name {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 14px;
  color: #403d3c;
  background: #fff;
  border-left: 4px solid #d6b400;
}

.sf-hero-title {
  margin: 18px 0 0;
  font-size: clamp(2rem, 8vw, 4.25rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.sf-hero-lead {
  max-width: 820px;
  margin: 20px 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
}

.sf-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.sf-cta-center {
  align-items: center;
}

.sf-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  width: 100%;
  max-width: 320px;
  padding: 12px 22px;
  border: 2px solid #403d3c;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.sf-button:hover {
  opacity: 0.7;
}

.sf-button-primary {
  color: #fff;
  background-color: #403d3c;
}

.sf-button-secondary {
  color: #403d3c;
  background-color: #fff;
}

.sf-hero-visual {
  margin-top: 34px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(214, 180, 0, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(63, 126, 107, 0.12), transparent 72%),
    #fff;
  border: 1px solid rgba(64, 61, 60, 0.12);
  border-radius: 8px;
}

.sf-visual-main {
  display: flex;
  align-items: center;
  min-height: 150px;
  padding: 22px;
  color: #403d3c;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.4;
  background-color: rgba(255, 255, 255, 0.75);
  border-left: 5px solid #d6b400;
}

.sf-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.sf-visual-grid span {
  display: block;
  padding: 10px;
  color: #3f7e6b;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  background-color: #fff;
  border: 1px solid rgba(63, 126, 107, 0.2);
  border-radius: 6px;
}

.sf-section {
  padding: 58px 0;
}

.sf-section-white {
  background-color: #fff;
}

.sf-section-head {
  margin-bottom: 28px;
}

.sf-section-title {
  margin: 8px 0 0;
  font-size: clamp(1.55rem, 6vw, 2.5rem);
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: balance;
}

.sf-section-lead {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.sf-text-block p {
  margin: 0;
}

.sf-text-block p + p {
  margin-top: 1.2em;
}

.sf-grid-2,
.sf-card-grid,
.sf-plan-grid {
  display: grid;
  gap: 14px;
}

.sf-check-list,
.sf-service-list,
.sf-chip-list,
.sf-simple-list,
.sf-plan-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sf-check-list li,
.sf-service-list li,
.sf-simple-list li {
  position: relative;
  padding: 14px 14px 14px 36px;
  background-color: #fff;
  border: 1px solid rgba(64, 61, 60, 0.1);
  border-radius: 8px;
}

.sf-check-list li::before,
.sf-service-list li::before,
.sf-simple-list li::before {
  content: "";
  position: absolute;
  top: 1.45em;
  left: 16px;
  width: 7px;
  height: 7px;
  background-color: #d6b400;
  border-radius: 50%;
}

.sf-section-white .sf-check-list li,
.sf-section-white .sf-service-list li,
.sf-section-white .sf-simple-list li {
  background-color: #9b8e4912;
}

.sf-service-list {
  display: grid;
  gap: 12px;
}

.sf-note {
  margin: 24px 0 0;
  padding: 18px;
  font-weight: 700;
  background-color: #fff;
  border-left: 4px solid #3f7e6b;
  border-radius: 8px;
}

.sf-summary {
  padding-top: 52px;
  padding-bottom: 52px;
}

.sf-summary-grid {
  display: grid;
  gap: 12px;
}

.sf-summary-grid article {
  padding: 18px;
  background-color: #9b8e4912;
  border: 1px solid rgba(64, 61, 60, 0.1);
  border-radius: 8px;
}

.sf-summary-grid h3 {
  margin: 0;
  color: #3f7e6b;
  font-size: 1rem;
  line-height: 1.5;
}

.sf-summary-grid p {
  margin: 8px 0 0;
  font-size: 0.925rem;
}

.sf-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sf-chip-list li {
  padding: 9px 13px;
  color: #403d3c;
  font-size: 0.875rem;
  font-weight: 700;
  background-color: #9b8e4912;
  border: 1px solid rgba(63, 126, 107, 0.18);
  border-radius: 999px;
}

.sf-card,
.sf-plan-card {
  padding: 22px;
  background-color: #fff;
  border: 1px solid rgba(64, 61, 60, 0.1);
  border-radius: 8px;
}

.sf-section-white .sf-card,
.sf-section-white .sf-plan-card {
  background-color: #9b8e4912;
}

.sf-card h3 {
  margin: 0;
  padding-left: 12px;
  color: #403d3c;
  font-size: 1.125rem;
  line-height: 1.5;
  border-left: 4px solid #d6b400;
}

.sf-card p {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.sf-plan-grid {
  gap: 18px;
}

.sf-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sf-plan-featured {
  border-top: 5px solid #3f7e6b;
}

.sf-plan-name {
  margin: 0;
  color: #3f7e6b;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.sf-price {
  margin: 8px 0 0;
  color: #403d3c;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
}

.sf-plan-term {
  margin: 4px 0 0;
  color: #8a7620;
  font-weight: 700;
}

.sf-plan-desc {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.sf-plan-card ul {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(64, 61, 60, 0.14);
}

.sf-plan-card li {
  position: relative;
  padding-left: 18px;
  font-size: 0.925rem;
}

.sf-plan-card li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #d6b400;
  border-radius: 50%;
}

.sf-other-card h3 {
  border-left-color: #3f7e6b;
}

.sf-text-link {
  display: inline-block;
  margin-top: 14px;
  color: #3f7e6b;
  font-weight: 700;
  text-underline-offset: 4px;
}

.sf-related-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(64, 61, 60, 0.14);
}

.sf-related-links a {
  color: #403d3c;
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sf-notice-box {
  padding: 18px;
  background-color: #fff;
  border: 1px solid rgba(64, 61, 60, 0.12);
  border-radius: 8px;
}

.sf-faq-list {
  display: grid;
  gap: 14px;
}

.sf-faq-item {
  padding: 20px;
  background-color: #9b8e4912;
  border: 1px solid rgba(64, 61, 60, 0.1);
  border-radius: 8px;
}

.sf-faq-item h3 {
  margin: 0;
  padding-left: 12px;
  color: #403d3c;
  font-size: 1.0625rem;
  line-height: 1.5;
  border-left: 4px solid #3f7e6b;
}

.sf-faq-item p {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.sf-contact-form {
  margin-top: 34px;
  padding: 22px;
  background-color: #9b8e4912;
  border: 1px solid rgba(64, 61, 60, 0.1);
  border-radius: 8px;
}

.sf-form-grid {
  display: grid;
  gap: 16px;
}

.sf-contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.sf-contact-form span {
  font-size: 0.925rem;
}

.sf-contact-form input,
.sf-contact-form select,
.sf-contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: #403d3c;
  font: inherit;
  line-height: 1.5;
  background-color: #fff;
  border: 1px solid rgba(64, 61, 60, 0.24);
  border-radius: 6px;
}

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

.sf-contact-form input:focus,
.sf-contact-form select:focus,
.sf-contact-form textarea:focus {
  outline: 3px solid rgba(214, 180, 0, 0.24);
  border-color: #d6b400;
}

.sf-form-submit {
  margin: 24px auto 0;
  border: 0;
}

@media (min-width: 640px) {
  .sf-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sf-cta-center {
    justify-content: center;
  }

  .sf-button {
    width: auto;
    min-width: 230px;
  }

  .sf-grid-2,
  .sf-service-list,
  .sf-card-grid,
  .sf-summary-grid,
  .sf-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-form-wide {
    grid-column: 1 / -1;
  }

  .sf-related-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .sf-section-title {
    font-size: 1.45rem;
  }

  .sf-eyebrow .sf-phrase,
  .sf-service-name .sf-phrase,
  .sf-hero-title .sf-phrase,
  .sf-section-title .sf-phrase {
    display: block;
  }

  .sf-eyebrow .sf-phrase + .sf-phrase,
  .sf-service-name .sf-phrase + .sf-phrase,
  .sf-hero-title .sf-phrase + .sf-phrase,
  .sf-section-title .sf-phrase + .sf-phrase {
    margin-left: 0;
  }

  .sf-button {
    max-width: 100%;
  }
}

@media (min-width: 860px) {
  .sf-header {
    padding-top: 50px;
  }

  .sf-logo {
    width: 250px;
  }

  .sf-hero {
    padding-bottom: 78px;
  }

  .sf-hero-lead,
  .sf-section-lead {
    font-size: 1.125rem;
  }

  .sf-hero-visual {
    padding: 30px;
  }

  .sf-visual-main {
    min-height: 190px;
    font-size: 2rem;
  }

  .sf-visual-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sf-section {
    padding: 82px 0;
  }

  .sf-section-head {
    margin-bottom: 34px;
  }

  .sf-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-other-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
