:root {
  --color-green: #5f8f2f;
  --color-green-dark: #3A6822;
  --color-green-light: #92D050;
  --color-orange: #FF8000;
  --color-bg: #fff;
  --color-green-bg: #F1F6E6;
  --color-mv: #ecefd8;
  --color-text: #333333;
  --color-subtext: #666666;
  --color-border: #d8d8d8;
  --radius-pill: 999px;
  --container-width: 1100px;
  --header-height: 74px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
select,
button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 56px 0;
}

/* ===== header ===== */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--color-bg);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo__image {
  width: auto;
  max-width: 180px;
  height: auto;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-green);
  font-weight: 700;
  white-space: nowrap;
}

.header-contact__icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.header-contact__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-contact__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header-contact__label {
  font-size: 15px;
  color:var(--color-text);
  font-weight: 700;
}

.header-contact__number {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.02em;
  color: var(--color-green-light);
}

/* ===== mv ===== */
.mv {
  position: relative;
  overflow: hidden;
}

.mv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/mv-bg.png") center top / 100% auto no-repeat;
}

.mv__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 48px;
  padding: 48px 0 64px;
}

.mv__copy {
  max-width: 560px;
}

.mv__badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 18px;
  padding: 6px 18px;
  border: 2px solid var(--color-green-light);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  font-weight: 700;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.2;
  position: relative;
  align-items: baseline;
  font-family: "Inter", sans-serif;
}

.mv__badge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--color-green-light);
}

.mv__badge-small {
  font-size: 0.75em;
}

.mv__badge--accent {
  color: var(--color-orange);
}

.mv__title {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 57px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.mv__title .accent {
  color: var(--color-green-light);
}

/* .mv__points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1.2vw, 15px);
  margin-top: clamp(15px, 2vw, 20px);
  max-width: 640px;
} */

.mv__points {
  margin-top: clamp(15px, 2vw, 20px);
  max-width: 640px;
}

.mv__points picture {
  display: block;
}

.mv__points-image {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== contact form ===== */
.contact-box {
  position: relative;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
  width: min(100%, 390px);
}

.contact-box__bubble {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #FFD600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text);
  box-shadow: 3px 3px 0 #BA9C00;
  z-index: 2;
  padding: 6px 5px;
}

.contact-box__bubble-top {
  display: block;
  font-size: clamp(10px, 0.8vw, 12px);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-box__bubble-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  line-height: 1;
}

.contact-box__bubble-number {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 700;
  color: var(--color-orange);
  line-height: 0.9;
}

.contact-box__bubble-unit {
  display: block;
  font-size: clamp(10px, 0.8vw, 12px);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-box__panel {
  position: relative;
  border: 1px solid var(--color-green-dark);
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-bg);
}

.contact-box__head {
  background: var(--color-green-dark);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
}

.contact-form {
  padding: 14px 14px 16px;
}

.contact-form__group + .contact-form__group {
  margin-top: 10px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 700;
  color: var(--color-subtext);
}

.required {
  color: #d85151;
}

.contact-form input,
.contact-form select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--color-border);
  background: #ecece8;
  border-radius: 2px;
  padding: 0 14px;
  color: #444;
  outline: none;
  font-size: clamp(13px, 1vw, 14px);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #555 50%),
    linear-gradient(135deg, #555 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: var(--color-green-light);
  background: var(--color-bg);
  box-shadow: 0 0 0 3px rgba(156, 188, 97, 0.16);
}

.contact-box .contact-form__submit,
.contact-section__form .contact-form__submit {
  display: block;
  width: min(100%, 250px);
  margin: 14px auto 0;
  min-height: 46px;
  border: none!important;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--color-orange) 50%, #e87714 50%) !important;
  color: #fff!important;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  box-shadow: 0 5px 0 #b86318;
}

.contact-box .contact-form__submit:hover,
.contact-section__form .contact-form__submit:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #b86318;
  opacity: 1;
}

.contact-box .contact-form__submit:active,
.contact-section__form .contact-form__submit:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #b86318;
}

/* ===== nayami ===== */
.nayami {
  padding: clamp(28px, 4vw, 48px) 0;
  background: var(--color-bg);
  position: relative;
}

.nayami::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 50px solid #ffffff;
  z-index: 2;
}

.nayami .container {
  position: relative;
}

.nayami__title {
  margin: 0 0 clamp(26px, 3vw, 40px);
  text-align: center;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.nayami__title span {
  color: var(--color-green-light);
  font-size: 1.4em;
}

.nayami__box {
  position: relative;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(34px, 4vw, 48px) clamp(28px, 4vw, 52px);
  background: #ececec;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.nayami__list {
  width: min(100%, 610px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nayami__item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-left: 0;
}

.nayami__icon {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
}

.nayami__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nayami__item p {
  position: relative;
  margin: 0;
  padding: 9px;
  background: #f7f7f7;
  border-radius: 10px;
  border-left: 46px solid var(--color-green-light);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 700;
  color: var(--color-text);
  width: fit-content;
  box-sizing: border-box;
}

.nayami__item p::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 50%;
  width: 22px;
  height: 22px;
  background: url("../img/check.png") center / contain no-repeat;
  transform: translateY(-50%);
}

.nayami__image--sp {
  display: none;
}

.nayami__image--pc {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: clamp(95px, 12vw, 132px);
  z-index: 2;
}

.nayami__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .nayami__title {
    margin-bottom: 14px;
  }

  .nayami__image--pc {
    display: none;
  }

  .nayami__image--sp {
    display: block;
    width: 72px;
    margin: 0 auto;
  }

  .nayami__box {
    padding: 22px 14px 20px;
  }

  .nayami__list {
    width: 100%;
  }
}

/* ===== factoring intro ===== */
.factoring-intro {
  padding: clamp(42px, 6vw, 80px) 0 clamp(48px, 6vw, 90px);
  background: var(--color-green-bg);
  overflow: hidden;
}

.factoring-intro__lead {
  text-align: center;
}

.factoring-intro__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 18px);
  margin: 0;
  flex-wrap: nowrap;
}

.factoring-intro__logo {
  width: clamp(110px, 10vw, 145px);
  height: auto;
  display: block;
  flex-shrink: 0;
}

.factoring-intro__top span {
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.factoring-intro__title {
  display: inline-block;
  position: relative;
  margin: clamp(10px, 1.4vw, 16px) 0 0;
  padding: 0 clamp(14px, 1.4vw, 18px) 6px;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
  background: linear-gradient(transparent 70%, #ffd600 0%);
}

.factoring-intro__title span {
  color: var(--color-green-light);
}

.factoring-intro__dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: clamp(18px, 2vw, 26px);
}

.factoring-intro__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green-light);
}

.factoring-intro__label-wrap {
  margin-top: clamp(26px, 3vw, 42px);
  text-align: center;
}

.factoring-intro__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 700px);
  padding: clamp(16px, 1.8vw, 24px);
  margin: 0;
  border-radius: var(--radius-pill);
  background: var(--color-green-light);
  color: #ffffff;
  font-size: clamp(20px, 3vw, 42px);
  line-height: 1.2;
  font-weight: 700;
}

.factoring-intro__label::before {
  content: "“";
  position: absolute;
  left: clamp(22px, 2vw, 30px);
  top: clamp(-18px, -1.6vw, -10px);
  transform: none;
  font-size: clamp(42px, 4vw, 72px);
  line-height: 1;
  color: #ffd600;
  font-weight: 700;
  -webkit-text-stroke: 10px var(--color-green-light);
  paint-order: stroke fill;
}

.factoring-intro__text {
  margin: clamp(26px, 3vw, 40px) auto 0;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.8;
  font-weight: 500;
  color: var(--color-text);
}

.factoring-intro__illust-box {
  width: min(100%, 1100px);
  margin: clamp(26px, 3vw, 38px) auto 0;
  border: 2px solid var(--color-green-light);
  border-radius: 14px;
  background: #f5f5f5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: stretch;
}

.factoring-intro__illust-main {
  padding: clamp(18px, 2vw, 28px);
  background: var(--color-bg);
}

.factoring-intro__illust-main img {
  width: 100%;
  height: auto;
  display: block;
}

.factoring-intro__merit {
  background: #edf7dd;
}

.factoring-intro__merit--pc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 2.2vw, 32px) clamp(18px, 2vw, 28px);
  border-left: 2px solid var(--color-green-light);
}

.factoring-intro__merit--sp {
  display: none;
}

.factoring-intro__merit-label {
  position: relative;
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-green-dark);
  text-align: center;
  display: inline-block;
}

.factoring-intro__merit-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: clamp(22px, 2vw, 28px);
  height: clamp(22px, 2vw, 28px);
  background: url("../img/icon-light.png") center / contain no-repeat;
  transform: translateY(-50%);
}

.factoring-intro__merit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 14px);
}

.factoring-intro__merit-list li {
  position: relative;
  margin: 0;
  padding: clamp(10px, 1vw, 14px);
  background: var(--color-bg);
  border-radius: 10px;
  border-left: 46px solid var(--color-green-light);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.4;
  font-weight: 700;
  color: #333333;
  box-sizing: border-box;
}

.factoring-intro__merit-list li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 50%;
  width: 18px;
  height: 18px;
  background: url("../img/check.png") center / contain no-repeat;
  transform: translateY(-50%);
}


/* responsive */
@media (max-width: 767px) {
  .factoring-intro {
    padding: 34px 0 48px;
  }

  .factoring-intro::before {
    border-left-width: 24px;
    border-right-width: 24px;
    border-bottom-width: 18px;
  }

  .factoring-intro__top {
    gap: 8px;
  }

  .factoring-intro__logo {
    width: 100px;
  }

  .factoring-intro__top span {
    font-size: 22px;
  }

  .factoring-intro__title {
    padding: 0 8px 4px;
    font-size: 34px;
  }

  .factoring-intro__line {
    width: 220px;
    height: 8px;
  }

  .factoring-intro__dots {
    margin-top: 14px;
    gap: 4px;
  }

  .factoring-intro__dots span {
    width: 6px;
    height: 6px;
  }

  .factoring-intro__label-wrap {
    margin-top: 22px;
  }

  .factoring-intro__merit-label {
    padding-left: 32px;
    font-size: 22px;
    display: block;
  }

  .factoring-intro__merit-label::before {
    left: 67px;
  }

  .factoring-intro__merit-list li {
    font-size: 15px;
    border-radius: 8px;
  }

  .factoring-intro__text {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.7;
  }

  .factoring-intro__illust-box {
    display: block;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    
  }

  .factoring-intro__illust-main {
    padding: 14px;
  }

  .factoring-intro__merit--pc {
    display: none;
  }

  .factoring-intro__merit--sp {
    display: block;
    padding: 16px 14px;
    border: 2px solid var(--color-green-light);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background: #edf7dd;
    border-top: none;
  }

  .factoring-intro__merit-list {
    gap: 10px;
  }

  .factoring-intro__merit-list li {
    font-size: 15px;
    border-radius: 8px;
  }

}

/* ===== cta ===== */
.cta {
  padding: clamp(36px, 5vw, 64px) 0;
}

.cta__inner {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.cta__microcopy {
  margin: 0 0 clamp(10px, 1.4vw, 16px);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.cta__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(72px, 8vw, 110px);
  padding: clamp(18px, 2vw, 26px) clamp(64px, 7vw, 110px) clamp(18px, 2vw, 26px) clamp(108px, 11vw, 150px);
  border-radius: var(--radius-pill);
  background: linear-gradient(to bottom, #ff8420 0 42%, #ef7618 42% 100%);
  box-shadow: 0 5px 0 #b86318;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.cta__button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #b86318;
  opacity: 1;
}

.cta__button:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #b86318;
}

.cta__badge {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(74px, 8vw, 98px);
  height: clamp(74px, 8vw, 98px);
  border-radius: 50%;
  background: #ffd600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cta__badge-top {
  display: block;
  font-size: clamp(12px, 1vw, 18px);
  line-height: 1;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.cta__badge-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  line-height: 1;
}

.cta__badge-number {
  font-family: "Inter", sans-serif;
  font-size: clamp(30px, 3vw, 50px);
  line-height: 0.9;
  font-weight: 700;
  color: var(--color-orange);
}

.cta__badge-unit {
  font-size: clamp(14px, 1.1vw, 22px);
  line-height: 1;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.cta__text {
  font-size: clamp(20px, 2.8vw, 50px);
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(140, 74, 14, 0.35),
    0 0 1px rgba(140, 74, 14, 0.2);
}

.cta__arrow {
  position: absolute;
  right: clamp(24px, 2.4vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: clamp(9px, 1vw, 14px) solid transparent;
  border-bottom: clamp(9px, 1vw, 14px) solid transparent;
  border-left: clamp(11px, 1.2vw, 18px) solid #ffffff;
}

@media (max-width: 767px) {
  .cta {
    padding: 30px 0 42px;
  }

  .cta__inner {
    width: 100%;
  }

  .cta__microcopy {
    margin-bottom: 5px;
    font-size: 18px;
  }

  .cta__button {
    min-height: 72px;
    padding: 16px 44px 16px 82px;
  }

  .cta__badge {
    left: 6px;
    width: 58px;
    height: 58px;
  }

  .cta__badge-top {
    font-size: 8px;
    margin-bottom: 1px;
  }

  .cta__badge-number {
    font-size: 22px;
  }

  .cta__badge-unit {
    font-size: 10px;
    margin-bottom: 1px;
  }

  .cta__text {
    font-size: 24px;
  }

  .cta__arrow {
    right: 18px;
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 10px;
  }
}

/* ===== reason ===== */
.reason {
  padding: clamp(40px, 6vw, 84px) 0;
  background: var(--color-green-bg);
}

.reason__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  text-align: center;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.reason__title span {
  color: var(--color-green-light);
  font-size: 1.35em;
  line-height: 1;
  vertical-align: -0.04em;
}

.reason__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.reason-card {
  grid-column: span 2;
  background: #f6f6f6;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.reason-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.reason-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.reason-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 18px);
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 22px) clamp(16px, 1.8vw, 20px);
  border-top: 8px solid var(--color-green-light);
}

.reason-card__icon {
  width: clamp(54px, 5vw, 66px);
  height: clamp(54px, 5vw, 66px);
  border-radius: 50%;
  background: #e6ebda;
  flex-shrink: 0;
  position: relative;
  display: grid;
  place-items: center;
}

.reason-card__icon img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  display: block;
}

.reason-card__heading {
  min-width: 0;
}

.reason-card__lead {
  margin: 0 0 4px;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-text);
}

.reason-card__title {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-green-dark);
}

.reason-card__body {
  border-top: 1px solid var(--color-border);
  padding: clamp(14px, 1.6vw, 20px) clamp(18px, 2vw, 22px) clamp(18px, 2vw, 24px);
}

.reason-card__body p {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.6;
  font-weight: 500;
  color: var(--color-text);
}

@media (max-width: 900px) {
  .reason__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reason-card,
  .reason-card:nth-child(4),
  .reason-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .reason {
    padding: 34px 0 48px;
  }

  .reason__title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .reason__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .reason-card,
  .reason-card:nth-child(4),
  .reason-card:nth-child(5) {
    grid-column: auto;
  }

  .reason-card {
    border-radius: 10px;
  }

  .reason-card__head {
    gap: 12px;
    padding: 16px 14px 14px;
    border-top-width: 6px;
  }

  .reason-card__icon {
    width: 52px;
    height: 52px;
  }

  .reason-card__lead {
    font-size: 14px;
  }

  .reason-card__title {
    font-size: 24px;
  }

  .reason-card__body p {
    font-size: 14px;
    line-height: 1.55;
  }
}

/* ===== comparison ===== */
.comparison {
  padding: clamp(42px, 6vw, 84px) 0;
  background: #f7f7f7;
}

.comparison__heading {
  text-align: center;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.comparison__sub {
  position: relative;
  display: inline-block;
  margin: 0 0 8px;
  padding: 0 18px;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.comparison__sub::before,
.comparison__sub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 50px;
  background: url("../img/dot@2x.png") center / contain no-repeat;
}

.comparison__sub::before {
  left: -34px;
  transform: translateY(-50%);
}

.comparison__sub::after {
  right: -34px;
  transform: translateY(-50%) scaleX(-1);
}

.comparison__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

.comparison__title span {
  color: var(--color-green-light);
}

.comparison__scroll {
  width: 100%;
}

.comparison__table-wrap {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--color-bg);
}

.comparison__table th,
.comparison__table td {
  border: 1px solid var(--color-border);
}

.comparison__head {
  padding: clamp(14px, 1.8vw, 20px) 12px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
}

.comparison__head--item {
  width: 22%;
  background: var(--color-green-bg);
  color: var(--color-text);
  text-align: left;
  padding-left: 16px;
}

.comparison__head--ours {
  width: 26%;
  background: var(--color-orange);
  color: #ffffff;
}

.comparison__head--bank,
.comparison__head--other {
  width: 26%;
  background: #cfcfcf;
  color: var(--color-text);
}

.comparison__rowhead {
  background: #f3f3f3;
  padding: clamp(16px, 1.8vw, 24px) 16px;
  text-align: left;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.4;
  font-weight: 700;
  color: #333333;
}

.comparison__table tbody tr:nth-child(even) .comparison__rowhead {
  background: var(--color-bg);
}

.comparison__cell {
  position: relative;
  padding: clamp(16px, 1.8vw, 24px) 16px;
  text-align: center;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.5;
  font-weight: 700;
  color: #8a8a8a;
  background: #f9f9f9;
  overflow: hidden;
  isolation: isolate;
}

.comparison__table tbody tr:nth-child(even) .comparison__cell {
  background: var(--color-bg);
}

.comparison__cell--ours {
  color: var(--color-orange);
  background: #f7f2ed!important;
}

/* 薄い背景記号 */
.comparison__cell::before,
.comparison__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* 二重丸 */
.comparison__cell--double::before {
  width: 54px;
  height: 54px;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 196, 120, 0.28);
  border-radius: 50%;
}

.comparison__cell--double::after {
  width: 40px;
  height: 40px;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 196, 120, 0.28);
  border-radius: 50%;
}

/* 丸 */
.comparison__cell--circle::before {
  width: 42px;
  height: 42px;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(181, 205, 122, 0.26);
  border-radius: 50%;
}

/* 三角 */
.comparison__cell--triangle::before,
.comparison__cell--triangle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.comparison__cell--triangle::before {
  transform: translate(-50%, -46%);
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-bottom: 40px solid rgba(167, 212, 244, 0.32);
}

.comparison__cell--triangle::after {
  transform: translate(-50%, -43%);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 34px solid #f9f9f9;
}

.comparison__cell--triangle.comparison__cell--ours::after {
  border-bottom-color: #f7f2ed;
}

/* ===== sp scroll ===== */
@media (max-width: 767px) {
  .comparison {
    padding: 34px 0 52px;
  }

  .comparison__heading {
    margin-bottom: 18px;
  }

  .comparison__sub {
    font-size: 20px;
    padding: 0 14px;
  }

  .comparison__sub::before,
  .comparison__sub::after {
    font-size: 24px;
    width: 20px;
  }

  .comparison__title {
    font-size: 30px;
    line-height: 1.3;
  }

  .comparison__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .comparison__scroll::-webkit-scrollbar {
    height: 6px;
  }

  .comparison__scroll::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
  }

  .comparison__table-wrap {
    width: 920px;
  }

  .comparison__table {
    min-width: 920px;
  }

  .comparison__head {
    font-size: 14px;
    padding: 14px 10px;
  }

  .comparison__rowhead {
    font-size: 14px;
    padding: 14px 10px;
  }

  .comparison__cell {
    font-size: 14px;
    padding: 14px 10px;
    line-height: 1.45;
  }

  .comparison__cell--double::before {
    width: 42px;
    height: 42px;
  }

  .comparison__cell--double::after {
    width: 30px;
    height: 30px;
  }

  .comparison__cell--circle::before {
    width: 30px;
    height: 30px;
  }

  .comparison__cell--triangle::before {
    border-left-width: 18px;
    border-right-width: 18px;
    border-bottom-width: 30px;
  }
  
  .comparison__cell--triangle::after {
    border-left-width: 15px;
    border-right-width: 15px;
    border-bottom-width: 25px;
  }
}

/* ===== cta green ===== */
.cta--green {
  padding: clamp(28px, 4vw, 42px) 0;
  background: var(--color-green-dark);
}

.cta--green .cta__inner {
  width: min(100%, 820px);
}

.cta--green .cta__microcopy {
  margin: 0 0 clamp(8px, 1vw, 12px);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
}

.cta--green .cta__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(82px, 8vw, 116px);
  padding: clamp(18px, 2vw, 24px) clamp(58px, 6vw, 90px) clamp(18px, 2vw, 24px) clamp(118px, 12vw, 150px);
  border-radius: var(--radius-pill);
  background: linear-gradient(to bottom, #ffffff 50%, #f5f5f5 50%);
  box-shadow: 0 5px 0 #7ebc45;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.cta--green .cta__button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #7ebc45;
  opacity: 1;
}

.cta--green .cta__button:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #7ebc45;
}

.cta--green .cta__badge {
  left: 8px;
  width: clamp(78px, 8vw, 102px);
  height: clamp(78px, 8vw, 102px);
  background: #ffd600;
}

.cta--green .cta__badge-top {
  font-size: clamp(11px, 0.95vw, 16px);
  color: var(--color-text);
}

.cta--green .cta__badge-number {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 0.9;
  font-weight: 700;
  color: var(--color-orange);
}

.cta--green .cta__badge-unit {
  font-size: clamp(13px, 1vw, 20px);
  color: var(--color-text);
  margin-bottom: 3px;
}

.cta--green .cta__text {
  font-size: clamp(16px, 2.4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-green-dark);
  text-shadow: none;
}

.cta--green .cta__arrow {
  right: clamp(22px, 2.2vw, 34px);
  border-top: clamp(10px, 1vw, 15px) solid transparent;
  border-bottom: clamp(10px, 1vw, 15px) solid transparent;
  border-left: clamp(11px, 1.2vw, 17px) solid var(--color-green-dark);
}

@media (max-width: 767px) {
  .cta--green {
    padding: 24px 0 30px;
  }

  .cta--green .cta__inner {
    width: 100%;
  }

  .cta--green .cta__microcopy {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
  }

  .cta--green .cta__button {
    min-height: 68px;
    padding: 14px 30px 14px 60px;
    box-shadow: 0 4px 0 #7ebc45;
  }

  .cta--green .cta__badge {
    left: 6px;
    width: 54px;
    height: 54px;
  }

  .cta--green .cta__badge-top {
    font-size: 8px;
    margin-bottom: 1px;
  }

  .cta--green .cta__badge-number {
    font-size: 20px;
  }

  .cta--green .cta__badge-unit {
    font-size: 9px;
    margin-bottom: 1px;
  }

  .cta--green .cta__arrow {
    right: 14px;
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 9px;
  }
}

/* ===== flow ===== */
.flow {
  padding: clamp(42px, 6vw, 84px) 0;
  background: #f7f7f7;
}

.flow__heading {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.flow__sub {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 42px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.flow__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-green-light);
}

.flow__list {
  width: min(100%, 980px);
  margin: 0 auto;
}

.flow__item {
  display: grid;
  grid-template-columns: clamp(92px, 10vw, 110px) minmax(0, 1fr);
  align-items: stretch;
}

.flow__step {
  background: var(--color-green-light);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(18px, 2vw, 26px) 8px;
}

.flow__step--last {
  background: var(--color-orange);
}

.flow__step-label {
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.flow__step-number {
  font-family: "Inter", sans-serif;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 0.95;
  font-weight: 400;
}

.flow__content {
  display: grid;
  grid-template-columns: clamp(120px, 16vw, 170px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.8vw, 40px);
  background: #eef2e3;
}

.flow__content--last {
  background: #f4ece6;
}

.flow__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(90px, 10vw, 120px);
}

.flow__image img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  display: block;
}

.flow__text {
  min-width: 0;
}

.flow__item-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.6vw, 48px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-green-dark);
}

.flow__item-title--last {
  color: var(--color-orange);
}

.flow__text p {
  margin: 0;
  font-size: clamp(16px, 1.45vw, 26px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--color-text);
}

.flow__arrow {
  width: 0;
  height: 0;
  margin: 0 auto clamp(10px, 1.4vw, 16px);
  border-left: clamp(24px, 2.6vw, 34px) solid transparent;
  border-right: clamp(24px, 2.6vw, 34px) solid transparent;
  border-top: clamp(18px, 2vw, 28px) solid var(--color-green-light);
}

/* ===== sp ===== */
@media (max-width: 767px) {
  .flow {
    padding: 34px 0 48px;
  }

  .flow__heading {
    margin-bottom: 22px;
  }

  .flow__sub {
    font-size: 20px;
  }

  .flow__title {
    font-size: 30px;
  }

  .flow__list {
    width: 100%;
  }

  .flow__item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .flow__step {
    padding: 16px 4px;
  }

  .flow__step-label {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .flow__step-number {
    font-size: 26px;
  }

  .flow__content {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 12px;
  }

  .flow__image {
    min-height: 56px;
  }

  .flow__image img {
    max-height: 52px;
  }

  .flow__item-title {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .flow__text p {
    font-size: 12px;
    line-height: 1.5;
  }

  .flow__arrow {
    border-left-width: 18px;
    border-right-width: 18px;
    border-top-width: 14px;
  }
}

/* ===== case ===== */
.case {
  padding: clamp(42px, 6vw, 84px) 0;
  background: #edf0de;
  overflow: hidden;
}

.case__title {
  margin: 0 0 clamp(24px, 3vw, 38px);
  text-align: center;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

.case__title span {
  color: var(--color-green-light);
}

.case__slider {
  margin: 0 -14px;
}

.case__slider .slick-list {
  overflow: hidden;
}

.case__slider .slick-track {
  display: flex !important;
  gap:10px;
}

.case__slider .slick-slide {
  height: auto !important;
}


.case-card {
  height: 100%;
  min-height: 360px;
  background: #f7f7f7;
  border-radius: 14px;
  border-top: 8px solid var(--color-green-light);
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.case-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.case-card__name {
  margin: 0;
  padding-top: 10px;
  font-size: clamp(18px, 1.5vw, 28px);
  line-height: 1.45;
  font-weight: 700;
  color: var(--color-green-dark);
}

.case-card__icon {
  flex-shrink: 0;
  width: clamp(68px, 6vw, 86px);
  height: clamp(68px, 6vw, 86px);
}

.case-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.case-card__comment {
  flex: 1;
  background: #efefef;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
}

.case-card__comment p {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.8;
  font-weight: 700;
  color: var(--color-text);
}

/* slick arrows */
.case .slick-prev,
.case .slick-next {
  width: 46px;
  height: 46px;
  z-index: 5;
}

.case .slick-prev:before,
.case .slick-next:before {
  content: "";
  display: none;
}

.case .slick-prev {
  left: -24px;
}

.case .slick-next {
  right: -24px;
}

.case .slick-prev,
.case .slick-next {
  border-radius: 50%;
  background: var(--color-green-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.case .slick-prev:hover,
.case .slick-next:hover,
.case .slick-prev:focus,
.case .slick-next:focus,
.case .slick-prev:active,
.case .slick-next:active {
  border-radius: 50%;
  background: var(--color-green-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.case .slick-prev:before,
.case .slick-next:before,
.case .slick-prev:hover:before,
.case .slick-next:hover:before,
.case .slick-prev:focus:before,
.case .slick-next:focus:before {
  opacity: 1;
  color: transparent;
}

.case .slick-prev::after,
.case .slick-next::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.case .slick-prev::after {
  border-right: 12px solid #ffffff;
  margin-left: -2px;
}

.case .slick-next::after {
  border-left: 12px solid #ffffff;
  margin-left: 2px;
}

/* dots */
.case .slick-dots {
  bottom: -34px;
}

.case .slick-dots li button:before {
  font-size: 10px;
  color: var(--color-green-light);
  opacity: 0.35;
}

.case .slick-dots li.slick-active button:before {
  color: var(--color-green-light);
  opacity: 1;
}

.slick-dots li{
  margin: 0!important;
}

@media (max-width: 767px) {
  .case {
    padding: 34px 0 54px;
  }

  .case__title {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .case__slider {
    margin: 0 -8px;
  }

  .case-card {
    min-height: 300px;
    padding: 14px 12px 12px;
    border-top-width: 6px;
    border-radius: 10px;
  }

  .case-card__head {
    margin-bottom: 10px;
    gap: 10px;
  }

  .case-card__name {
    padding-top: 6px;
    font-size: 18px;
    line-height: 1.4;
  }

  .case-card__icon {
    width: 56px;
    height: 56px;
  }

  .case-card__comment {
    padding: 14px 14px;
    border-radius: 14px;
  }

  .case-card__comment p {
    font-size: 13px;
    line-height: 1.8;
  }

  .case .slick-prev {
    left: -3px;
  }

  .case .slick-next {
    right: -3px;
  }

  .case .slick-prev,
  .case .slick-next {
    width: 30px;
    height: 30px;
  }

  .case .slick-prev::after,
  .case .slick-next::after {
    border-top-width: 8px;
    border-bottom-width: 8px;
  }

  .case .slick-prev::after {
    border-right-width: 10px;
  }

  .case .slick-next::after {
    border-left-width: 10px;
  }
}

/* ===== faq ===== */
.faq {
  padding: clamp(42px, 6vw, 84px) 0;
  background: #f7f7f7;
}

.faq__title {
  margin: 0 0 clamp(24px, 3vw, 38px);
  text-align: center;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

.faq__list {
  width: min(100%, 920px);
  margin: 0 auto;
}

.faq__item + .faq__item {
  margin-top: 10px;
}

.faq__question {
  width: 100%;
  border: none;
  background: #eef2e3;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.faq__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.faq__icon--q {
  background: var(--color-green-light);
  color: #ffffff;
}

.faq__icon--a {
  background: var(--color-bg);
  color: var(--color-green-light);
  border: 2px solid var(--color-green-light);
}

.faq__question-text {
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-text);
}

.faq__toggle {
  position: relative;
  width: 24px;
  height: 24px;
  justify-self: end;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--color-green-light);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.faq__toggle::before {
  width: 24px;
  height: 2px;
}

.faq__toggle::after {
  width: 2px;
  height: 24px;
}

.faq__item.is-open .faq__toggle::after {
  opacity: 0;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  background: var(--color-bg);
  padding: 0 18px;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
  padding: 12px 18px 18px;
}

.faq__answer-inner {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  overflow: hidden;
}

.faq__answer p {
  margin: 8px 0 0;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--color-text);
}

@media (max-width: 767px) {
  .faq {
    padding: 34px 0 48px;
  }

  .faq__title {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .faq__list {
    width: 100%;
  }

  .faq__item + .faq__item {
    margin-top: 8px;
  }

  .faq__question {
    padding: 12px 12px;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 10px;
  }

  .faq__icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .faq__question-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .faq__toggle {
    width: 20px;
    height: 20px;
  }

  .faq__toggle::before {
    width: 20px;
  }

  .faq__toggle::after {
    height: 20px;
  }

  .faq__answer {
    padding: 0 12px;
  }

  .faq__item.is-open .faq__answer {
    padding: 10px 12px 14px;
  }

  .faq__answer-inner {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
  }

  .faq__answer p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ===== contact section ===== */
.contact-section {
  padding: clamp(42px, 6vw, 84px) 0;
  background: var(--color-green-bg);
}

.contact-section__inner {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-section__heading {
  text-align: center;
  margin-bottom: clamp(20px, 2.6vw, 32px);
}

.contact-section__sub {
  margin: 0 0 6px;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.4;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--color-green-light);
  color: #fff;
  display: inline-block;
  padding: 0.5em;
}

.contact-section__title {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

.contact-section__form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 18px);
}

.contact-section__group label {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-subtext);
}

.contact-section__form input,
.contact-section__form select {
  width: 100%;
  height: 50px;
  border: 1px solid var(--color-border)!important;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 0 14px;
  font-size: clamp(14px, 1.1vw, 15px);
  color: var(--color-text);
  outline: none;
  box-sizing: border-box;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.contact-section__form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #555 50%),
    linear-gradient(135deg, #555 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.contact-section__form input:focus,
.contact-section__form select:focus {
  background: var(--color-bg);
  border-color: var(--color-green-light);
  box-shadow: 0 0 0 3px rgba(143, 209, 79, 0.15);
}

.contact-section__submit {
  display: block;
  width: min(100%, 320px);
  min-height: 54px;
  margin: clamp(8px, 1vw, 12px) auto 0;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(to bottom, #ff8420 0 42%, #ef7618 42% 100%);
  color: #ffffff;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 0 rgba(180, 82, 8, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-section__submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.contact-section__submit:active {
  transform: translateY(1px);
}

@media (max-width: 767px) {
  .contact-section {
    padding: 34px 0 48px;
  }

  .contact-section__inner {
    width: 100%;
    border-radius: 12px;
    padding: 20px 14px;
  }

  .contact-section__heading {
    margin-bottom: 18px;
  }

  .contact-section__sub {
    font-size: 14px;
  }

  .contact-section__title {
    font-size: 28px;
  }

  .contact-section__form {
    gap: 12px;
  }

  .contact-section__group label {
    font-size: 14px;
  }

  .contact-section__form input,
  .contact-section__form select {
    height: 46px;
    border-radius: 6px;
    font-size: 14px;
  }

  .contact-section__submit {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
}

/* ===== company ===== */
.company {
  padding: clamp(42px, 6vw, 84px) 0;
  background: var(--color-green-light);
}

.company__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44%;
  gap: clamp(28px, 3vw, 46px);
  align-items: start;
}

.company__info,
.company__map {
  min-width: 0;
}

.company__table {
  margin: 0;
}

.company__row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(8px, 1vw, 14px) 0;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
}

.company__row:last-child {
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}

.company__row dt,
.company__row dd {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.7;
  font-weight: 700;
  color: #ffffff;
}

.company__row dt {
  text-align: center;
  white-space: nowrap;
}

.company__row dd a {
  color: inherit;
  text-decoration: none;
}

.company__map-frame {
  background: var(--color-bg);
}

.company__map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(360px, 34vw, 520px);
  border: 0;
}

/* ===== sp ===== */
@media (max-width: 767px) {
  .company {
    padding: 34px 0 48px;
  }

  .company__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .company__row {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-top-width: 1px;
  }

  .company__row:last-child {
    border-bottom-width: 1px;
  }

  .company__row dt,
  .company__row dd {
    font-size: 13px;
    line-height: 1.6;
  }

  .company__row dt {
    text-align: left;
  }

  .company__map-frame iframe {
    height: 300px;
  }
}

/* ===== footer ===== */
.site-footer {
  background: var(--color-green-dark);
  padding: clamp(18px, 2.2vw, 28px) 0;
}

.site-footer__copy {
  margin: 0;
  text-align: center;
  font-size: clamp(13px, 1.1vw, 18px);
  line-height: 1.6;
  font-weight: 500;
  color: #ffffff;
}

@media (max-width: 767px) {
  .site-footer {
    padding: 16px 0;
  }

  .site-footer__copy {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* ===== utility ===== */
.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;
}

/* ===== responsive ===== */

@media (max-width: 980px) {
  .mv__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-box {
    width: min(100%, 520px);
    margin: 0 auto;
  }
}

@media (max-width: 580px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(100% - 24px, var(--container-width));
  }

  .site-header__inner {
    min-height: auto;
    gap: 14px;
    padding: 10px 0;
  }

  .site-logo__image {
    max-width: 130px;
  }

  .header-contact {
    gap: 8px;
  }

  .header-contact__icon {
    width: 32px;
    height: 32px;
  }

  .header-contact__label {
    font-size: 10px;
  }

  .mv__inner {
    padding: 28px 0 44px;
  }

  .mv__badge {
    margin-bottom: 14px;
    padding: 6px 14px;
    font-size: 16px;
  }

  .mv__title {
    font-size: 38px;
  }

  .contact-box__bubble {
    width: 78px;
    height: 78px;
    top: -18px;
    left: -8px;
    font-size: 11px;
  }

  .contact-box__bubble strong {
    font-size: 28px;
  }

  .contact-box__head {
    font-size: 22px;
    padding: 13px 16px;
  }

  .contact-form {
    padding: 16px 14px 18px;
  }

  .contact-form input,
  .contact-form select {
    height: 46px;
  }

  .contact-form__submit {
    min-height: 50px;
    width: 100%;
    font-size: 18px;
  }

  .section-heading {
    margin-bottom: 22px;
    font-size: 28px;
  }

}

@media (max-width: 420px) {
  .mv__title {
    font-size: 32px;
  }

  .mv__badge {
    font-size: 14px;
  }
}



/* ===== contact confirm ===== */
.contact-confirm {
  border-top: 1px solid var(--color-border);
}

.contact-confirm__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border-bottom: 1px solid var(--color-border);
}

.contact-confirm__label,
.contact-confirm__value {
  margin: 0;
  padding: 16px 18px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.7;
}

.contact-confirm__label {
  background: var(--color-green-bg);
  color: var(--color-text);
  color: #333;
}

.contact-confirm__value {
  background: var(--color-bg);
  color: var(--color-text);
}

.contact-confirm__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.contact-section__form .contact-confirm__button {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 46px;
  padding: 12px 24px;
  border: none!important;
  border-radius: var(--radius-pill);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.contact-section__form .contact-confirm__button--back {
  background: linear-gradient(to bottom, #ffffff 50%, #efefef 50%)!important;
  color: var(--color-green-dark)!important;
  box-shadow: 0 5px 0 #7ebc45!important;
  border: 1px solid #ddd;
}

.contact-section__form .contact-confirm__button--submit {
  background: linear-gradient(180deg, var(--color-orange) 50%, #e87714 50%)!important;
  color: #fff!important;
  box-shadow: 0 5px 0 #b86318!important;
}

.contact-section__form .contact-confirm__button--back:hover,
.contact-section__form .contact-confirm__button--submit:hover {
  transform: translateY(2px);
  opacity: 1;
}

.contact-section__form .contact-confirm__button--back:hover {
  box-shadow: 0 3px 0 #7ebc45;
}

.contact-section__form .contact-confirm__button--submit:hover {
  box-shadow: 0 3px 0 #b86318;
}

.contact-section__form .contact-confirm__button--back:active,
.contact-section__form .contact-confirm__button--submit:active {
  transform: translateY(4px);
}

.contact-section__form .contact-confirm__button--back:active {
  box-shadow: 0 1px 0 #7ebc45;
}

.contact-section__form .contact-confirm__button--submit:active {
  box-shadow: 0 1px 0 #b86318;
}

@media (max-width: 767px) {
  .contact-confirm__row {
    grid-template-columns: 1fr;
  }

  .contact-confirm__label,
  .contact-confirm__value {
    padding: 12px 14px;
    font-size: 14px;
  }

  .contact-confirm__label {
    padding-bottom: 6px;
  }

  .contact-confirm__button,
  .contact-form__submit {
    width: 100%;
    min-width: 0;
  }
}

/* ===== thanks page ===== */
.thanks-page {
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 90px);
  background: var(--color-bg);
}

.thanks-page__inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.thanks-page__card {
  background: #f4f8ea;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px) clamp(18px, 3vw, 40px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.thanks-page__status {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 8px 28px;
  border-radius: var(--radius-pill);
  background: var(--color-green-light);
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 36px);
  line-height: 1.2;
  font-weight: 700;
}

.thanks-page__title {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.thanks-page__subtitle {
  margin: 8px 0 0;
  text-align: center;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-green-dark);
}

.thanks-page__lead {
  margin-top: clamp(26px, 3vw, 38px);
}

.thanks-page__lead p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  color: var(--color-text);
  text-align: center;
}

.thanks-page__lead strong {
  color: var(--color-orange);
}

.thanks-page__contact-box {
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(20px, 2.6vw, 30px);
  border: 2px solid var(--color-green-dark);
  border-radius: 18px;
  background: var(--color-bg);
}

.thanks-page__box-title {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 3px dotted var(--color-green-dark);
  text-align: center;
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-green-dark);
}

.thanks-page__box-text {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.8;
  font-weight: 700;
  color: var(--color-text);
}

.thanks-page__tel {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-green-dark);
  position: relative;
  display: table;
  margin: 16px auto 0;
  padding-left: 48px;
}

.thanks-page__tel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  background: url("../img/icon-phone-green.png") center / contain no-repeat;
}

.thanks-page__box-note {
  margin: 18px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  font-weight: 700;
  color: var(--color-text);
}

.thanks-page__box-note span {
  background: #e5efd6;
  color: var(--color-green-dark);
  padding: 2px 6px;
}

/* docs */
.thanks-docs {
  margin-top: clamp(42px, 6vw, 68px);
}

.thanks-docs__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-green-dark);
}

.thanks-docs__box {
  position: relative;
  width: min(100%, 700px);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) clamp(18px, 2.6vw, 28px);
  border: 2px solid var(--color-green-dark);
  border-radius: 18px;
  background: var(--color-bg);
}

.thanks-docs__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: docs;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: calc(100% - 220px);
}

.thanks-docs__list li {
  position: relative;
  margin: 0;
  padding-left: 48px;
  font-size: clamp(18px, 1.6vw, 30px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--color-text);
}

.thanks-docs__list li::before {
  counter-increment: docs;
  content: counter(docs);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-green-light);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.thanks-docs__image {
  position: absolute;
  right: 18px;
  bottom: -15px;
  width: 170px;
}

.thanks-docs__image img {
  width: 100%;
  height: auto;
  display: block;
}

.thanks-docs__note {
  margin: 28px auto 0;
  max-width: 920px;
  text-align: center;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  color: var(--color-text);
}

.thanks-docs__note strong {
  color: var(--color-green-dark);
}

/* back */
.thanks-page__back {
  text-align: center;
  margin-top: clamp(34px, 5vw, 52px);
}

.thanks-page__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 56px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(to bottom, #ffffff 50%, #efefef 50%);
  color: var(--color-green-dark);
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 0 #7ebc45;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  border: 1px solid #ddd;
}

.thanks-page__back-link:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #7ebc45;
  opacity: 1;
}

.thanks-page__back-link:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #7ebc45;
}

.sp-br{
  display: none;
}

@media (max-width: 767px) {
  .thanks-page {
    padding: 30px 0 48px;
  }

  .thanks-page__card {
    border-radius: 16px;
    padding: 22px 14px;
  }

  .thanks-page__status {
    margin-bottom: 14px;
    padding: 8px 20px;
    font-size: 20px;
  }

  .thanks-page__title {
    font-size: 26px;
  }

  .thanks-page__subtitle {
    font-size: 18px;
  }

  .thanks-page__lead p,
  .thanks-page__box-text,
  .thanks-page__box-note,
  .thanks-docs__note {
    font-size: 14px;
  }

  .thanks-page__contact-box {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .thanks-page__box-title {
    font-size: 22px;
  }

  .thanks-page__tel {
    font-size: 28px;
  }

  .thanks-docs__title {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .thanks-docs__box {
    min-height: auto;
    padding: 16px 14px 140px;
    border-radius: 14px;
  }

  .thanks-docs__list {
    width: 100%;
  }

  .thanks-docs__image {
    right: 50%;
    bottom: -12px;
    transform: translateX(50%);
    width: 130px;
  }

  .thanks-docs__list li {
    font-size: 16px;
    padding-left: 40px;
  }

  .thanks-docs__list li::before {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .thanks-page__back-link {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    font-size: 16px;
  }

  .sp-br{
  display: block;
  }

  .thanks-page__tel {
    padding-left: 34px;
  }

  .thanks-page__tel::before {
    width: 24px;
    height: 24px;
  }
}

.contact-section__inner {
  position: relative;
}

.wpcf7-spinner {
  position: absolute!important;
  bottom: 10px;
  right: 10px;
  margin: 0!important;
}

.contact-form .wpcf7-not-valid-tip,
.contact-section__inner .wpcf7-not-valid-tip {
    display: block !important;
}

/* 送信処理中のボタンを半透明にし、クリックを無効化する */
.wpcf7 form.submitting .wpcf7-submit {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}