:root {
  --yellow: #fccf00;
  --ink: #231815;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: 'Yu Gothic', '游ゴシック', 'YuGothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 700;
  line-height: 1.85;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.site-wrap {
  padding: 88px 24px 80px;
}
.site-header {
  display: flex;
  justify-content: center;
  margin-bottom: 155px;
}
.site-logo {
  width: min(400px, 70vw);
}

.page-card {
  position: relative;
  max-width: 1030px;
  margin: 0 auto;
  padding: 60px 72px 55px;
  border-radius: 38px;
  background: #fff;
}

.opening-badge {
  position: absolute;
  z-index: 1;
  top: -46px;
  left: -61px;
  display: grid;
  place-items: center;
  width: 232px;
  aspect-ratio: 1;
  border: 9px solid #fff;
  border-radius: 50%;
  background: var(--yellow);
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.38;
  transform: rotate(-17deg);
}

.thank-you {
  margin: 0 0 70px 140px;
  font-size: 20px;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 155px;
  align-items: center;
  column-gap: 20px;
  min-height: 260px;
  margin-bottom: 45px;
}
.hero-art-left {
  position: relative;
  left: -40px;
  width: 290px;
  max-width: none;
}
.hero-art-right {
  width: 155px;
  justify-self: end;
}
.hero h1 {
  margin: 0;
  font-size: clamp(37px, 3.3vw, 49px);
  line-height: 1.7;
  letter-spacing: 0.025em;
  white-space: nowrap;
  margin-left: 20px;
}

.lead {
  margin: 0 0 55px 190px;
  font-size: 21px;
  line-height: 2.15;
}
.about {
  margin-bottom: 49px;
}
.section-kicker {
  margin: 0 0 15px;
  padding-bottom: 3px;
  border-bottom: 6px solid var(--yellow);
  font-size: 20px;
  line-height: 1.5;
}
.about h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: 0.035em;
}
.about-copy {
  font-size: 17px;
  letter-spacing: 0.015em;
  line-height: 2.35;
}
.about-copy p {
  margin: 0;
}

.contact-box {
  padding: 17px 24px 27px;
  border: 6px solid var(--yellow);
  border-radius: 28px;
  text-align: center;
  font-size: 19px;
}
.contact-heading {
  margin: 0 0 18px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 18px;
  text-align: left;
}
.contact-links a {
  display: flex;
  align-items: center;
  min-height: 38px;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.contact-links a:hover {
  opacity: 0.62;
}
.contact-links img {
  width: 18px;
  height: 22px;
  object-fit: contain;
}
.phone-line {
  margin: 0 0 10px;
  font-size: 17px;
}
.phone-line a {
  margin-left: 14px;
  text-decoration: none;
  font-size: 21px;
  letter-spacing: 0.09em;
  white-space: nowrap;
}
.phone-line small {
  font-size: 15px;
  white-space: nowrap;
}
.company {
  margin: 0;
  font-size: 17px;
}

@media (min-width: 480px) {
  .sp480 {
    display: none;
  }
}

@media (max-width: 1050px) {
  .page-card {
    max-width: 900px;
    padding-right: 5%;
    padding-left: 5%;
  }
  .opening-badge {
    left: -24px;
    width: 190px;
    font-size: 17px;
  }
  .thank-you {
    margin-left: 140px;
    font-size: 18px;
  }
  .hero {
    grid-template-columns: 26% minmax(0, 1fr) 17%;
    gap: 18px;
  }
  .hero-art-left {
    left: -14%;
    width: 114%;
  }
  .hero h1 {
    font-size: clamp(30px, 4.25vw, 45px);
    margin-left: 0;
  }
  .lead {
    margin-left: 20%;
  }
  .about-copy {
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .site-wrap {
    padding: 42px 16px 45px;
  }
  .site-header {
    margin-bottom: 116px;
  }
  .site-logo {
    width: min(270px, 66vw);
  }
  .page-card {
    padding: 109px 24px 32px;
    border-radius: 26px;
  }
  .opening-badge {
    top: -74px;
    left: 50%;
    width: 154px;
    border-width: 6px;
    font-size: 16px;
    transform: translateX(-50%) rotate(0deg);
  }
  .thank-you {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    white-space: normal;
    text-align: center;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 10px;
    min-height: 0;
    margin-bottom: 29px;
  }
  .hero-art-left {
    left: auto;
    width: min(205px, 59%);
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(26px, 7vw, 38px);
    line-height: 1.65;
    text-align: center;
    white-space: normal;
  }
  .hero-art-right {
    width: min(105px, 31%);
    justify-self: center;
    margin-top: 7px;
  }
  .lead {
    margin: 0 0 44px;
    font-size: 16px;
    line-height: 2;
    text-align: center;
  }
  .lead br {
    display: none;
  }
  .section-kicker {
    margin-bottom: 12px;
    font-size: 15px;
    border-bottom-width: 4px;
  }
  .about h2 {
    font-size: clamp(21px, 5.7vw, 29px);
  }
  .about-copy {
    font-size: 16px;
    line-height: 2;
  }
  .about-copy p + p {
    margin-top: 9px;
  }
  .desktop-break {
    display: none;
  }
  .about {
    margin-bottom: 36px;
  }
  .contact-box {
    padding: 22px 15px;
    border-width: 4px;
    border-radius: 21px;
    font-size: 16px;
  }
  .contact-heading {
    margin-bottom: 18px;
  }
  .contact-links {
    gap: 7px;
    margin-bottom: 22px;
  }
  .contact-links a {
    gap: 7px;
    min-height: 31px;
  }
  .contact-links img {
    width: 13px;
    height: 17px;
  }
  .phone-line {
    font-size: 15px;
    line-height: 1.8;
  }
  .phone-line a {
    display: block;
    margin: 2px 0 0;
    font-size: 22px;
  }
  .phone-line small {
    display: block;
    font-size: 15px;
  }
  .company {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .site-wrap {
    padding-right: 10px;
    padding-left: 10px;
  }
  .page-card {
    padding-right: 19px;
    padding-left: 19px;
  }
}

/* お問い合わせフォーム：LPの末尾に配置 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lp-form-section {
  background: #fff;
  color: var(--ink);
  padding-bottom: 105px;
  scroll-margin-top: 0;
}
.lp-form-band {
  height: 180px;
  background: var(--yellow);
}
.lp-form-wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-form-logo {
  width: min(400px, 75vw);
  margin: -130px auto 103px;
  position: relative;
}
.lp-form-inner {
  max-width: 900px;
  margin: 0 auto;
}
.lp-form-intro {
  margin: 0 0 48px;
  font-size: 19px;
  line-height: 2.15;
  letter-spacing: 0.035em;
}
.lp-form-inner form {
  margin: 0;
}
.lp-field {
  margin-bottom: 29px;
}
.lp-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 19px;
  line-height: 1.5;
}
.lp-field label small {
  color: #a23039;
  font-size: 0.8em;
}
.lp-field input,
.lp-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font:
    500 18px/1.5 'Yu Gothic',
    '游ゴシック',
    'YuGothic',
    sans-serif;
  padding: 12px 15px;
}
.lp-field input {
  min-height: 55px;
}
.lp-field textarea {
  height: 300px;
  min-height: 200px;
  resize: vertical;
}
.lp-field input::placeholder,
.lp-field textarea::placeholder {
  color: #aaa;
  opacity: 1;
}
.lp-field input:focus-visible,
.lp-field textarea:focus-visible {
  outline: 2px solid #cba800;
  outline-offset: 1px;
}
.lp-field [aria-invalid='true'] {
  border-color: #a23039;
}
.lp-error {
  display: block;
  color: #a23039;
  font-size: 14px;
  line-height: 1.5;
}
.lp-error:empty {
  display: none;
}
.lp-approval {
  margin: 42px 0 30px;
  font-size: 19px;
}
.lp-approval label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.lp-approval input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--yellow);
}
.lp-submit {
  text-align: center;
}
.lp-submit .lp-error {
  margin-bottom: 10px;
}
.lp-submit button {
  width: min(260px, 100%);
  min-height: 55px;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  font:
    700 20px/1.5 'Yu Gothic',
    '游ゴシック',
    'YuGothic',
    sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
.lp-submit button:hover {
  opacity: 0.75;
}
.lp-submit button:disabled {
  cursor: wait;
  opacity: 0.6;
}
@media (max-width: 700px) {
  .lp-form-section {
    padding-bottom: 65px;
  }
  .lp-form-band {
    height: 104px;
  }
  .lp-form-wrap {
    padding: 0 22px;
  }
  .lp-form-logo {
    width: min(260px, 67vw);
    margin: -85px auto 68px;
  }
  .lp-form-intro {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 38px;
  }
  .lp-form-intro br {
    display: none;
  }
  .lp-field {
    margin-bottom: 23px;
  }
  .lp-field label {
    font-size: 16px;
  }
  .lp-field input,
  .lp-field textarea {
    font-size: 16px;
    padding: 10px 12px;
  }
  .lp-field input {
    min-height: 51px;
  }
  .lp-field textarea {
    height: 240px;
  }
  .lp-approval {
    margin-top: 30px;
    font-size: 15px;
  }
  .lp-submit button {
    font-size: 18px;
  }
}
