/* 共通変数 */
:root {
  --primary-orange: #f09400;
  --primary-orange-light: #edb964;
  --gray: #293733;
  --gray-dark: #d9d9d9;
  --gray-light: #e8e6e6;
  --gray-lighter: #ececec;
  --qr-black: #17160c;
  --green: #e9f1ee;
  --green02: #064d41;
  --green-dark: rgba(14, 100, 70, 0.23);
  --green-more-dark: #0e6446;
  --beige: #fff5dc;
  --container-width: 1260px;
  --container-md-width: 1010px;
  --container-sm-width: 750px;
  --container-xs-width: 640px;
  /* 余白を設定 */
  --section-padding-pc: 100px 0;
  --section-padding-sp: 50px 0;
}

/* 共通変数 */
:root {
  --primary-orange: #f09400;
  --primary-orange-light: #edb964;
  --gray: #293733;
  --gray-light: #e8e6e6;
  --container-width: 1260px;
  --container-md-width: 1010px;
  --container-sm-width: 750px;
  --section-padding: 100px 0; /* PCデフォルト */
  --headline-font-size: 2.5rem;
  --btn-font-size: clamp(16px, 2vw, 32px);
}

@media (max-width: 767px) {
  :root {
    --container-width: 100vw;
    --container-md-width: 100vw;
    --container-sm-width: 100vw;
    --section-padding: 50px 0; /* SP用 */
    --headline-font-size: 1.75rem;
    --btn-font-size: 0.95rem;
  }
}

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

/* ===== development共通：セクション見出し ===== */
.dev-section-headline-wrap {
  text-align: center;
  position: relative;
}
.dev-section-headline {
  position: relative;
  display: block;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto;
}
.dev-section-headline {
  position: relative;
  display: block;
  font-size: var(--headline-font-size);
  font-weight: bold;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .dev-section-headline {
    font-size: 2.5rem;
  }
}
.dev-section-headline-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1.2;
}
.dev-section-headline-underline {
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 18px;
  background: linear-gradient(90deg, #f09400 0%, #ffd580 58%, transparent 98%);
  pointer-events: none;
  display: block;
  z-index: 1;
}
.dev-section-headline-img-wrap {
  position: absolute;
  top: 0;
  right: -45px;
  transform: translateY(-50%) rotate(5deg);
  width: 65px;
  z-index: -1;
}
@media (max-width: 767px) {
  .dev-section-headline-img-wrap {
    right: 0;
    width: 40px;
    transform: translateY(60%) rotate(5deg);
  }
}

/* 共通ボタン */
.ec-btn {
  display: block;
  background: var(--gray);
  color: #fff;
  font-weight: 600;
  font-size: var(--btn-font-size);
  padding: 12px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
  margin-left: 0;
  border: 2px solid #fff;
  text-align: center;
}
.ec-btn:hover {
  filter: brightness(110%);
  color: #fff;
}

/* QR */
.qr-btn {
  display: block;
  padding: 12px 24px;
  background-color: var(--beige);
  color: var(--green02);
  font-weight: bold;
  font-size: var(--btn-font-size);
  border: 1px solid var(--qr-black);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0px 4px 4px 0 rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s ease;
  transition: 0.3s;
}
.qr-btn:hover {
  color: var(--green02);
  background-color: var(--green);
  box-shadow: 0px 6px 12px 0 rgba(0, 0, 0, 0.18);
  border-color: var(--green02);
}

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}

/* サンクスページ（お問い合わせ完了） */
.development-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.development-thanks {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 0 16px;
}
.development-thanks img {
  width: 78px;
  margin: auto;
}
.development-thanks h2 {
  font-size: 40px;
  text-align: center;
  margin: 10px 0 114px;
}
.development-thanks p {
  margin-bottom: 0;
  line-height: 1.8;
  font-size: 20px;
}
@media (max-width: 767px) {
  .development-thanks {
    text-align: left;
  }
  .development-thanks img {
    width: 60px;
  }
  .development-thanks h2 {
    font-size: 28px;
    margin: 10px 0 60px;
  }
  .development-thanks p {
    font-size: 16px;
  }
}

/* QRトップボタン */
.qr-mainvisual-btn-wrap {
  max-width: 500px;
  width: 90%;
  margin: 0 auto;
}
.qr-top-btn-caption img {
  margin-bottom: 8px;
  width: 100%;
  max-width: 210px;
}
.qr-top-btn {
  display: inline-block;
  background-color: #ffd200;
  border: 10px solid #ffe987;
  color: black;
  font-weight: bold;
  font-size: var(--btn-font-size);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 210, 0, 0.3);
}

.qr-top-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

.qr-top-btn:hover {
  color: black;
  background-color: #ffdd33;
  border-color: #ffec9a;
  box-shadow: 0 8px 25px rgba(255, 210, 0, 0.5), 0 0 20px rgba(255, 210, 0, 0.3);
}

.qr-top-btn:hover::before {
  left: 100%;
}

.qr-top-btn:active {
  transition: all 0.1s;
}

/* ctaボタン */
.qr-contact-btn {
  color: #fff;
  background-color: #f09400;
  border: 10px solid #fff;
  max-width: 630px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 28px 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.qr-contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.qr-contact-btn:hover {
  color: #fff;
  background-color: #f09400;
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(240, 148, 0, 0.25),
    0 0 10px rgba(240, 148, 0, 0.15);
}

.qr-contact-btn:hover::before {
  left: 100%;
}

.qr-contact-btn:active {
  transition: all 0.1s;
}
@media (max-width: 767px) {
  .qr-contact-btn {
    padding: 13px 10px;
  }
}
