/* ========================================
   LP: LINEミニアプリ開発 | Emposy
   Design source: wp/.ai/LPデザイン/
   ======================================== */

/* ---------- Reset & Base ---------- */
html:root {
  margin-top: 0 !important;
}

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

.lp-app {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lp-app img {
  height: auto;
  display: block;
}

.lp-app a {
  text-decoration: none;
  color: inherit;
}

.lp-app ul {
  list-style: none;
  height: 81px;
}

/* Utility */
.sp-only {
  display: none;
}

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

  .pc-only {
    display: none;
  }
}

/* ---------- HEADER ---------- */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  height: 72px;
  overflow: hidden;
}

.lp-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-header__logo {
  display: flex;
  align-items: center;
}

.lp-header__logo img {
  height: 56px;
}

.lp-header__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.lp-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-header__phone {
  text-align: right;
  margin-right: 8px;
}

.lp-header__phone-number {
  display: block;
  font-size: 25.5px;
  font-weight: 900;
  color: #333;
  letter-spacing: .5px;
  line-height: 1.2;
  text-align: center;
}

.lp-header__phone-hours {
  display: block;
  font-size: 11.2px;
  color: #888;
  text-align: center;
}

.lp-header__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .2s;
  color: #fff !important;
}

.lp-header__btn:hover {
  opacity: .85;
}

.lp-header__btn--consult {
  background: #1a2e5a;
  color: #fff;
  border-radius: 8px;
  border-radius: 100px;
}

.lp-header__btn--download {
  background: #E91E8C;
  color: #fff;
  border-radius: 60px;
}

.lp-header__btn-badge-rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #E91E8C;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.lp-header__btn-arrow {
  font-size: 18px;
  margin-left: 2px;
}

/* ---------- HERO ---------- */
.lp-hero {
  background: #06C755;
  padding-top: 72px;
  /* header height */
}

.lp-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.lp-hero__text {
  flex: 1;
  padding-bottom: 58px;
}

.lp-hero__bubbles {
  width: auto;
  max-width: 450px;
  height: auto;
  margin-bottom: 20px;
}

.lp-hero__title {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.lp-hero__subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 32px;
}

.lp-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #E91E8C;
  color: #fff !important;
  font-size: 20px;
  font-weight: 900;
  padding: 16px 40px;
  border-radius: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
  transition: transform .2s, box-shadow .2s;
}

.lp-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}

.lp-hero__cta-badge-rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #E91E8C;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.lp-hero__cta-arrow {
  font-size: 24px;
}

.lp-hero__phones {
  flex-shrink: 0;
  width: 480px;
}

.lp-hero__phones img {
  width: 100%;
  height: auto;
}

/* ---------- 導入企業続々！ ---------- */
.lp-logos {
  padding: 56px 24px 40px;
  background: #fff;
}

.lp-logos__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.lp-logos__heading {
  font-size: 28px;
  font-weight: 900;
  color: #06C755;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lp-logos__deco {
  font-size: 28px;
  color: #06C755;
  font-weight: 900;
}

.lp-logos__deco--left,
.lp-logos__deco--right {
  display: inline-block;
  font-style: italic;
}

.lp-logos__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.lp-logos__item {
  background: #f0f0f0;
  border-radius: 6px;
  padding: 20px 12px;
  font-size: 14px;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- LINEミニアプリなら ---------- */
.lp-merits {
  padding: 56px 24px 64px;
  background: #fff;
}

.lp-merits__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.lp-merits__balloon {
  display: inline-block;
  background: #06C755;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  padding: 14px 48px;
  border-radius: 60px;
  position: relative;
  margin-bottom: 28px;
}

.lp-merits__balloon::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 16px solid #06C755;
}

.lp-merits__title {
  font-size: 28px;
  font-weight: 900;
  color: #06C755;
  margin-bottom: 40px;
  line-height: 1.5;
}

.lp-merits__title .lp-merits__title-marker {
  background-image: linear-gradient(transparent 60%, #b6f5c8 60%);
  padding-bottom: 2px;
}

.lp-merits__grid {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.lp-merits__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 220px;
  position: relative;
}

.lp-merits__item-label {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #333;
  position: absolute;
  top: 11%;
}

.lp-merits__item-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lp-merits__item-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- 導入事例 ---------- */
.lp-cases {
  background: #06C755;
  padding: 64px 24px 72px;
}

.lp-cases__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.lp-cases__heading {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 40px;
  background-image: linear-gradient(transparent 60%, rgba(255, 255, 255, .4) 60%);
  display: inline-block;
  padding-bottom: 2px;
}

.lp-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lp-cases__card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
}

.lp-cases__card-title {
  font-size: 28px;
  font-weight: 900;
  color: #06C755;
  text-align: center;
  padding-bottom: 12px;
}

.lp-cases__card-section {
  margin-bottom: 16px;
}

.lp-cases__card-section:first-of-type {
  background: #f5f5f5;
  border-radius: 200px;
  padding: 12px 16px;
}

.lp-cases__card-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
  text-align: center;
}

.lp-cases__card-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  text-align: center;
}

.lp-cases__card-list {
  padding: 0;
}

.lp-cases__card-list li {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  padding-left: 22px;
  text-align: left;
  position: relative;
  font-weight: 700;
}

.lp-cases__card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #06C755;
  font-weight: 700;
}

.lp-cases__card-list li strong {
  color: #06C755;
  font-weight: 900;
}

.lp-cases__card-photo {
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
}

.lp-cases__card-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.lp-cases__card-quote {
  position: relative;
  padding: 20px 24px;
  margin-top: 16px;
}

.lp-cases__card-quote::before,
.lp-cases__card-quote::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 100%;
  border: 2px solid #06C755;
}

.lp-cases__card-quote::before {
  left: 0;
  top: 0;
  border-right: none;
  border-radius: 4px 0 0 4px;
}

.lp-cases__card-quote::after {
  right: 0;
  top: 0;
  border-left: none;
  border-radius: 0 4px 4px 0;
}

.lp-cases__card-quote p {
  font-size: 18px;
  color: #06C755;
  line-height: 1.5;
  text-align: center;
  font-weight: 900;
}

/* ---------- LINEミニアプリとは？ ---------- */
.lp-about {
  padding: 72px 24px;
  background: #fff;
}

.lp-about__inner {
  max-width: 900px;
  margin: 0 auto;
}

.lp-about__heading {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #06C755;
  margin-bottom: 12px;
}

.lp-about__heading-marker {
  background-image: linear-gradient(transparent 60%, #b6f5c8 60%);
  padding-bottom: 2px;
}

.lp-about__lead {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 48px;
  line-height: 1.8;
}

.lp-about__features {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.lp-about__feature {
  display: flex;
  align-items: center;
  gap: 40px;
}

.lp-about__feature--reverse {
  flex-direction: row-reverse;
}

.lp-about__feature-text {
  flex: 1;
  display: flex;
  gap: 10px;
}

.lp-about__feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #e8e8e8;
  color: #06C755;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lp-about__feature-title {
  font-size: 22px;
  font-weight: 900;
  color: #06C755;
  margin-bottom: 16px;
  line-height: 1.4;
}

.lp-about__feature-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 8px;
}

.lp-about__feature-img {
  flex-shrink: 0;
  width: 280px;
}

.lp-about__feature-img img {
  width: 100%;
  height: auto;
}

/* ---------- 資料ダウンロード ---------- */
.lp-form {
  padding: 72px 24px;
  background: #f0f0f0;
}

.lp-form__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.lp-form__heading {
  font-size: 28px;
  font-weight: 900;
  color: #06C755;
  margin-bottom: 16px;
  text-align: center;
}

.lp-form__heading-underline {
  background-image: linear-gradient(transparent 60%, #b6f5c8 60%);
  padding-bottom: 2px;
}

.lp-form__lead {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
  text-align: center;
}

.lp-form__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.lp-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-form__row {
  display: flex;
  gap: 16px;
}

.lp-form__group--half {
  flex: 1;
}

.lp-form__label {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.lp-form__input {
  padding: 16px 20px;
  border: none;
  border-radius: 60px;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.lp-form__input:focus {
  outline: 2px solid #06C755;
}

.lp-form__agree {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lp-form__cf7-wrapper .wpcf7-form .lp-form__agree label {
  display: flex;
  align-items: center;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  white-space: nowrap;
}

.lp-form__agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #06C755;
  margin-right: 4px;
}

.lp-form__submit {
  background: #E91E8C;
  color: #fff;
  border: none;
  border-radius: 60px;
  padding: 20px 60px;
  font-size: 18px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  margin: 8px auto 0;
  display: inline-block;
  max-width: 420px;
  width: auto;
}

.lp-form__submit:hover {
  opacity: .85;
  transform: translateY(-1px);
}

/* ---------- CF7 Form Override ---------- */
.lp-form__cf7-wrapper .wpcf7-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  text-align: left !important;
}

.lp-form__cf7-wrapper .wpcf7-form p {
  margin: 0 !important;
}

.lp-form__cf7-wrapper .wpcf7-form label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #333 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
}

.lp-form__cf7-wrapper .wpcf7-form label br {
  display: none !important;
}

/* Make the input wrap take full width on its own line */
.lp-form__cf7-wrapper .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  flex-basis: 100% !important;
}

.lp-form__cf7-wrapper .required {
  display: inline-block !important;
  background: #E91E8C !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  margin-left: 4px !important;
  vertical-align: middle !important;
  width: auto !important;
  height: auto !important;
  flex-shrink: 0 !important;
}

.lp-form__cf7-wrapper input[type="text"],
.lp-form__cf7-wrapper input[type="email"],
.lp-form__cf7-wrapper input[type="tel"] {
  width: 100% !important;
  padding: 16px 20px !important;
  border: none !important;
  border-radius: 60px !important;
  background: #fff !important;
  font-size: 15px !important;
  font-family: inherit !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.lp-form__cf7-wrapper input[type="text"]:focus,
.lp-form__cf7-wrapper input[type="email"]:focus,
.lp-form__cf7-wrapper input[type="tel"]:focus,
.lp-form__cf7-wrapper select:focus {
  outline: 2px solid #06C755 !important;
}

.lp-form__cf7-wrapper select {
  width: 100% !important;
  padding: 16px 20px !important;
  border: none !important;
  border-radius: 60px !important;
  background: #fff !important;
  font-size: 15px !important;
  font-family: inherit !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  cursor: pointer !important;
  color: #333 !important;
}

.lp-form__cf7-wrapper input[type="submit"],
.lp-form__cf7-wrapper .wpcf7-submit {
  background: #E91E8C !important;
  color: #fff !important;
  border: none !important;
  border-radius: 60px !important;
  padding: 20px 60px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: opacity .2s, transform .2s !important;
  margin: 8px auto 0 !important;
  display: block !important;
  max-width: 420px !important;
  width: auto !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.lp-form__cf7-wrapper input[type="submit"]:hover,
.lp-form__cf7-wrapper .wpcf7-submit:hover {
  opacity: .85 !important;
  transform: translateY(-1px) !important;
}

.lp-form__cf7-wrapper .wpcf7-spinner {
  display: none !important;
}

.lp-form__cf7-wrapper .wpcf7-response-output {
  text-align: center !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
}

.lp-form__cf7-wrapper .screen-reader-response {
  display: none !important;
}

.lp-form__cf7-wrapper .wpcf7-not-valid-tip {
  font-size: 12px !important;
  color: #e74c3c !important;
  margin-top: 4px !important;
  padding-left: 20px !important;
}

.lp-form__cf7-wrapper .hidden-fields-container {
  display: none !important;
}

/* ---------- FOOTER ---------- */
.lp-footer {
  background: #06C755;
  padding: 24px;
  text-align: center;
}

.lp-footer__copy {
  color: #fff;
  font-size: 13px;
}

/* ---------- SP固定CTA ---------- */
.lp-sp-cta {
  display: none;
}

/* ==============================
   RESPONSIVE: SP (max-width: 767px)
   ============================== */
@media (max-width: 767px) {

  /* Header */
  .lp-header {
    height: 56px;
  }

  .lp-header__inner {
    padding: 0 12px;
  }

  .lp-header__logo-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .lp-header__logo-text {
    font-size: 16px;
  }

  .lp-header__logo img {
    height: 50px;
    padding-top: 4px;
  }

  .lp-header__phone {
    display: none;
  }

  .lp-header__btn--consult {
    display: none;
  }

  .lp-header__btn--download {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 100px;
    gap: 4px;
  }

  .lp-header__btn-badge-rect {
    padding: 1px 6px;
    font-size: 9px;
  }

  /* Hero */
  .lp-hero {
    padding-top: 56px;
  }

  .lp-hero__inner {
    flex-direction: column;
    padding: 24px 20px 0;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .lp-hero__text {
    order: 1;
    padding-bottom: 0;
  }

  .lp-hero__bubbles {
    max-width: 360px;
    margin: 0 auto 12px;
  }

  .lp-hero__phones {
    order: 2;
    width: 85%;
    max-width: 360px;
  }

  .lp-hero__title {
    font-size: 28px;
  }

  .lp-hero__subtitle {
    font-size: 15px;
  }

  .lp-hero__cta {
    font-size: 16px;
    padding: 10px 28px;
    margin-bottom: 0;
  }

  .lp-hero__cta-badge {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  /* Logos */
  .lp-logos {
    padding: 36px 16px 28px;
  }

  .lp-logos__heading {
    font-size: 22px;
  }

  .lp-logos__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .lp-logos__item {
    padding: 14px 8px;
    font-size: 12px;
  }

  /* Merits */
  .lp-merits {
    padding: 40px 16px 48px;
  }

  .lp-merits__balloon {
    font-size: 20px;
    padding: 12px 36px;
  }

  .lp-merits__title {
    font-size: 22px;
  }

  .lp-merits__grid {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .lp-merits__item {
    max-width: 260px;
  }

  .lp-merits__item-circle {
    width: 200px;
    height: 200px;
  }


  /* Cases */
  .lp-cases {
    padding: 48px 16px 56px;
  }

  .lp-cases__heading {
    font-size: 26px;
  }

  .lp-cases__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lp-cases__card {
    padding: 24px 16px;
  }

  .lp-cases__card-title {
    font-size: 18px;
  }

  .lp-cases__card-subtitle {
    font-size: 16px;
    margin-bottom: 0;
  }

  .lp-cases__card-quote p {
    font-size: 15px;
  }

  /* About */

  .lp-about__feature-text {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .lp-about {
    padding: 48px 16px;
  }

  .lp-about__heading {
    font-size: 22px;
  }

  .lp-about__lead {
    font-size: 14px;
  }

  .lp-about__feature {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .lp-about__feature--reverse {
    flex-direction: column;
  }

  .lp-about__feature-img {
    width: 200px;
    margin: 0 auto;
  }

  .lp-about__feature-title {
    font-size: 20px;
  }

  .lp-about__feature-desc {
    font-size: 13px;
  }

  /* Form */
  .lp-form {
    padding: 48px 16px;
  }

  .lp-form__heading {
    font-size: 22px;
  }

  .lp-form__row {
    flex-direction: column;
    gap: 20px;
  }

  .lp-form__submit {
    width: 100%;
    max-width: 100%;
  }

  /* SP CTA */
  .lp-sp-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .1);
  }

  .lp-sp-cta__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    background: #333;
    color: #fff !important;
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 700;
  }

  .lp-sp-cta__download {
    flex: 1;
    background: #E91E8C;
    color: #fff !important;
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }

  /* Body padding for fixed CTA */
  .lp-footer {
    padding-bottom: 60px;
    padding-top: 10px;
  }
}

/* ==============================
   WordPress overrides
   ============================== */
.lp-app #wpadminbar {
  display: none !important;
}

.lp-app .wp-block-group {
  padding: 0;
}

body.lp-app {
  margin: 0;
  padding: 0;
}