:root {
  --sf-contact-ink: #202020;
  --sf-contact-navy: #10213f;
  --sf-contact-blue: #55b7e8;
  --sf-contact-blue-deep: #0878b2;
  --sf-contact-coral: #ff6f61;
  --sf-contact-yellow: #ffe600;
  --sf-contact-ivory: #fff8ef;
  --sf-contact-line: #cbd2d7;
}

body.sf-contact-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--sf-contact-ivory);
  color: var(--sf-contact-ink);
  font-family: "Noto Sans JP", sans-serif;
}

.sf-contact-main {
  overflow: hidden;
}

.sf-contact-hero {
  padding: 78px 0 84px;
  border-bottom: 3px solid var(--sf-contact-ink);
  background: var(--sf-contact-ink);
  color: #fff;
  text-align: center;
}

.sf-contact-kicker {
  margin: 0;
  color: #86d7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.5;
}

.sf-contact-hero h1 {
  margin: 15px 0 18px;
  color: #fff;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.16;
  white-space: nowrap;
}

.sf-contact-hero > .sf-e-wrap > p:last-child {
  margin: 0;
  color: #d5d5d5;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.sf-contact-body {
  padding: 82px 0 110px;
  background: var(--sf-contact-ivory);
}

.sf-contact-source {
  width: min(980px, calc(100% - 40px));
}

.sf-contact-source > article > header,
.sf-contact-source > article > p,
.sf-contact-source .main > p,
.sf-contact-source hr.t3 {
  display: none;
}

.sf-contact-source > article,
.sf-contact-source .main,
.sf-contact-source .main > .inner,
.sf-contact-source .main > div > .inner {
  width: auto;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.sf-contact-source .main {
  display: grid;
  gap: 34px;
}

.sf-contact-source .note2 {
  border: 3px solid var(--sf-contact-ink);
  border-radius: 26px;
  background: #ffe2de;
  box-shadow: 0 8px 0 var(--sf-contact-ink);
  overflow: hidden;
}

.sf-contact-source .note2 .inner {
  padding: 34px 38px 38px;
}

.sf-contact-source .note2 dl,
.sf-contact-source .note2 dd {
  margin: 0;
}

.sf-contact-source .note2 dt {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 22.4px;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.4;
}

.sf-contact-source .note2 dt::before {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 2px solid var(--sf-contact-ink);
  border-radius: 11px;
  background: var(--sf-contact-coral);
  box-shadow: 0 4px 0 var(--sf-contact-ink);
  content: "!";
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.sf-contact-source .note2 p {
  margin: 0;
  color: #4c4c4c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.sf-contact-source .note2 strong {
  color: var(--sf-contact-ink);
  font-weight: 900;
}

.sf-contact-source .note2 ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.sf-contact-source .note2 li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 15px 15px 15px 45px;
  border: 2px solid var(--sf-contact-ink);
  border-radius: 15px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.sf-contact-source .note2 li::before {
  position: absolute;
  top: 50%;
  left: 15px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid var(--sf-contact-ink);
  border-radius: 5px;
  background: var(--sf-contact-yellow);
  content: "×";
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.sf-contact-source .form {
  padding: 40px;
  border: 3px solid var(--sf-contact-ink);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 9px 0 var(--sf-contact-ink);
}

.sf-contact-source .form > h2 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: var(--sf-contact-ink);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1.25;
}

.sf-contact-source .form > .inner > p:first-child {
  margin: 0 0 28px;
  color: #5d5d5d;
  font-size: 16px;
  line-height: 1.8;
}

.sf-contact-source .form a {
  color: var(--sf-contact-blue-deep);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color .2s ease, text-shadow .2s ease;
}

.sf-contact-source .form a:hover,
.sf-contact-source .form a:focus-visible {
  color: #d16500;
  outline: none;
  text-shadow: 0 0 12px rgba(255, 230, 0, .7);
}

.sf-contact-source .sf-staging-form-placeholder {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sf-contact-source .sf-staging-form-notice {
  margin: 0 0 26px !important;
  padding: 16px 18px;
  border: 2px solid var(--sf-contact-ink);
  border-radius: 14px;
  background: #fff2ad;
  color: var(--sf-contact-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.7;
}

.sf-contact-source .hidden-fields-container,
.sf-contact-source .akismet-fields-container,
.sf-contact-source .wpcf7-response-output {
  display: none !important;
}

.sf-contact-source .form table {
  display: table;
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.sf-contact-source .form table + table {
  margin-top: 18px;
}

.sf-contact-source .form tbody,
.sf-contact-source .form tr {
  width: 100%;
}

.sf-contact-source .form tr {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  overflow: hidden;
  border: 2px solid var(--sf-contact-ink);
  border-radius: 20px;
  background: #f7fbfd;
}

.sf-contact-source .form th,
.sf-contact-source .form td {
  width: auto;
  padding: 28px;
  border: 0;
  text-align: left;
  vertical-align: top;
}

.sf-contact-source .form th {
  border-right: 2px solid var(--sf-contact-ink);
  background: var(--sf-contact-blue);
}

.sf-contact-source .form h3 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sf-contact-ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.45;
}

.sf-contact-source .form h3::before {
  content: none;
}

.sf-contact-source .form h5 {
  margin: 0 0 9px;
  color: var(--sf-contact-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.sf-contact-source .form td > p {
  margin: 0 0 20px;
}

.sf-contact-source .form td > p:last-child {
  margin-bottom: 0;
}

.sf-contact-source .wpcf7-form-control-wrap {
  display: block;
}

.sf-contact-source input[type="text"],
.sf-contact-source input[type="email"],
.sf-contact-source input[type="tel"],
.sf-contact-source textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  border: 2px solid var(--sf-contact-ink);
  border-radius: 12px;
  background: #fff;
  color: var(--sf-contact-ink);
  font: inherit;
  opacity: 1;
  resize: vertical;
}

.sf-contact-source textarea {
  min-height: 190px;
}

.sf-contact-source input:disabled,
.sf-contact-source textarea:disabled {
  cursor: not-allowed;
  -webkit-text-fill-color: var(--sf-contact-ink);
}

.sf-contact-source .submit {
  margin: 36px 0 0;
  text-align: center;
}

.sf-contact-source .submit > p {
  margin: 0;
}

.sf-contact-source .submit .wpcf7-submit {
  display: block;
  box-sizing: border-box;
  width: min(100%, 420px);
  min-height: 72px;
  margin: 0 auto;
  padding: 18px 24px;
  border: 3px solid var(--sf-contact-ink);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--sf-contact-blue-deep);
  box-shadow: 0 7px 0 var(--sf-contact-ink);
  color: #fff;
  -webkit-text-fill-color: currentColor;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sf-contact-source .submit .wpcf7-submit:not(:disabled):hover,
.sf-contact-source .submit .wpcf7-submit:not(:disabled):focus-visible {
  background: var(--sf-contact-yellow);
  color: var(--sf-contact-ink);
  box-shadow: 0 9px 0 var(--sf-contact-ink), 0 0 22px rgba(255, 230, 0, .5);
  transform: translateY(-2px);
}

.sf-contact-source .submit .wpcf7-submit:focus-visible {
  outline: 3px solid var(--sf-contact-blue-deep);
  outline-offset: 5px;
}

.sf-contact-source .submit .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.sf-contact-source .submit .wpcf7-spinner {
  display: block;
  margin: 14px auto 0;
}

.sf-contact-preview-submit {
  display: inline-flex;
  width: min(100%, 420px);
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 3px solid var(--sf-contact-ink);
  border-radius: 999px;
  background: var(--sf-contact-blue-deep);
  box-shadow: 0 7px 0 var(--sf-contact-ink);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  opacity: 1;
}

.sf-contact-source .inner-pd {
  padding: 32px 36px;
  border: 3px solid var(--sf-contact-ink);
  border-radius: 24px;
  background: var(--sf-contact-navy);
  box-shadow: 0 8px 0 var(--sf-contact-ink);
  color: #fff;
}

.sf-contact-source .tpl1 {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.sf-contact-source .tpl1 figure {
  grid-row: 1 / span 3;
  margin: 0;
}

.sf-contact-source .tpl1 img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #fff;
  border-radius: 16px;
  background: #fff;
}

.sf-contact-source .tpl1 p {
  margin: 0;
  color: #e8eef5;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.sf-contact-source .tpl1 strong {
  color: #fff;
  font-weight: 900;
}

.sf-contact-source .toggle-t2 {
  margin: 6px 0 -34px;
  text-align: center;
  transform: translateY(0);
}

.sf-contact-source .toggle-t2 .inner {
  margin: 0;
}

.sf-contact-source .toggle-t2 a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 3px solid var(--sf-contact-ink);
  border-radius: 999px;
  background: var(--sf-contact-yellow);
  box-shadow: 0 6px 0 var(--sf-contact-ink);
  color: var(--sf-contact-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  pointer-events: none;
}

.sf-contact-source .note1 {
  padding: 60px 36px 36px;
  border: 3px solid var(--sf-contact-ink);
  border-radius: 26px;
  background: #dff4ff;
  box-shadow: 0 8px 0 var(--sf-contact-ink);
}

.sf-contact-source .note1 > .inner > p {
  max-width: 720px;
  margin: 0 auto 26px;
  color: #4f4f4f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

.sf-contact-source .note1 > .inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sf-contact-source .note1 > .inner > p {
  grid-column: 1 / -1;
}

.sf-contact-source .note1 .box {
  padding: 26px;
  border: 2px solid var(--sf-contact-ink);
  border-radius: 19px;
  background: #fff;
}

.sf-contact-source .note1 h4 {
  margin: 0 0 19px;
  color: var(--sf-contact-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.sf-contact-source .note1 ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  counter-reset: sf-contact-step;
  list-style: none;
}

.sf-contact-source .note1 li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  counter-increment: sf-contact-step;
}

.sf-contact-source .note1 li::before {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid var(--sf-contact-ink);
  border-radius: 9px;
  background: var(--sf-contact-blue);
  content: counter(sf-contact-step);
  color: var(--sf-contact-ink);
  font-weight: 900;
  line-height: 1;
}

.sf-contact-source .note1 li > span,
.sf-contact-source .note1 li > p {
  display: none;
}

.sf-contact-source .note1 li > div {
  padding-top: 4px;
}

@media (max-width: 760px) {
  .sf-contact-hero {
    padding: 52px 0 56px;
  }

  .sf-contact-hero h1 {
    margin: 12px 0 14px;
    font-size: 32px;
    line-height: 1.22;
  }

  .sf-contact-hero > .sf-e-wrap > p:last-child {
    font-size: 15px;
  }

  .sf-contact-body {
    padding: 48px 0 78px;
  }

  .sf-contact-source {
    width: min(100% - 28px, 980px);
  }

  .sf-contact-source .main {
    gap: 26px;
  }

  .sf-contact-source .note2,
  .sf-contact-source .form,
  .sf-contact-source .inner-pd,
  .sf-contact-source .note1 {
    border-radius: 21px;
    box-shadow: 0 7px 0 var(--sf-contact-ink);
  }

  .sf-contact-source .note2 .inner {
    padding: 26px 21px 29px;
  }

  .sf-contact-source .note2 dt {
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 20px;
  }

  .sf-contact-source .note2 dt::before {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .sf-contact-source .note2 p br {
    display: none;
  }

  .sf-contact-source .note2 ul {
    grid-template-columns: 1fr;
  }

  .sf-contact-source .note2 li {
    min-height: 0;
  }

  .sf-contact-source .form {
    padding: 27px 20px 30px;
  }

  .sf-contact-source .form > h2 {
    margin-bottom: 14px;
    font-size: 32px;
  }

  .sf-contact-source .form > .inner > p:first-child {
    font-size: 15px;
  }

  .sf-contact-source .form tr {
    grid-template-columns: 1fr;
    border-radius: 17px;
  }

  .sf-contact-source .form th,
  .sf-contact-source .form td {
    padding: 21px 18px;
  }

  .sf-contact-source .form th {
    border-right: 0;
    border-bottom: 2px solid var(--sf-contact-ink);
  }

  .sf-contact-source textarea {
    min-height: 150px;
  }

  .sf-contact-preview-submit {
    min-height: 58px;
  }

  .sf-contact-source .submit {
    margin-top: 30px;
  }

  .sf-contact-source .submit .wpcf7-submit {
    min-height: 64px;
    padding: 15px 18px;
    font-size: 18px;
  }

  .sf-contact-source .inner-pd {
    padding: 25px 22px;
  }

  .sf-contact-source .tpl1 {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .sf-contact-source .tpl1 figure {
    grid-row: 1;
  }

  .sf-contact-source .tpl1 p {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .sf-contact-source .tpl1 figure + p {
    grid-column: 2;
  }

  .sf-contact-source .toggle-t2 {
    margin-bottom: -29px;
  }

  .sf-contact-source .toggle-t2 a {
    min-height: 50px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .sf-contact-source .note1 {
    padding: 54px 20px 27px;
  }

  .sf-contact-source .note1 > .inner {
    grid-template-columns: 1fr;
  }

  .sf-contact-source .note1 > .inner > p {
    grid-column: auto;
    font-size: 15px;
    text-align: left;
  }

  .sf-contact-source .note1 .box {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-contact-source a,
  .sf-contact-source button,
  .sf-contact-source .submit .wpcf7-submit {
    transition: none !important;
  }
}
