/* =========================================================
  partner.css
  沖縄ビジネスサポート専用CSS
  page-partner.php 用
========================================================= */
.partner-page {
  --partner-blue: #00a6d6;
  --partner-deep-blue: #006f9a;
  --partner-orange: #f47b20;
  --partner-red: #e9342f;
  --partner-yellow: #ffd34d;
  --partner-green: #0f9b66;
  --partner-brown: #3a2414;
  --partner-cream: #fff7e8;
  --partner-soft-blue: #eaf9ff;
  --partner-shadow: 0 18px 40px rgba(20, 79, 104, .16);
  color: var(--partner-brown);
  overflow: hidden;
}

.partner-page img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.partner-page .partner-copy-card,
.partner-page .partner-hero__panel,
.partner-page .partner-anchor,
.partner-page .partner-anchor a,
.partner-page .partner-flow-item {
  border-radius: 20px;
}

.partner-label,
.partner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 15px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--partner-blue), var(--partner-deep-blue));
  color: #fff;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0, 166, 214, .22);
}

.partner-kicker {
  background: linear-gradient(90deg, var(--partner-orange), var(--partner-red));
}

.partner-label::before,
.partner-kicker::before {
  content: "✦";
  font-size: 12px;
}

/* =========================
   SUPPORT HERO
========================= */

.support-hero {
  position: relative;
  width: 100vw;
  height: clamp(600px, calc(100vw * 500 / 1440), 680px);
  min-height: 600px !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #061b28;
}

.support-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.support-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.support-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.24) 38%,
      rgba(0, 0, 0, 0.10) 72%,
      rgba(0, 0, 0, 0.02) 100%
    );
  pointer-events: none;
}

.support-hero__inner {
  position: relative;
  z-index: 2;
  display: block !important;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 0 !important;
}

.support-hero__content {
  position: absolute;
  left: 300px;
  top: 40%;
  z-index: 4;
  color: #fff;
  width: max-content;
  max-width: min(760px, 90vw);
}

.support-hero__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(180deg, #ff8a35 0%, #f25b19 100%);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.support-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(34px, 4vw, 82px);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.72),
    2px 2px 0 rgba(0, 32, 58, 0.55);
}

.support-hero__lead {
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.8;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.45),
    0 5px 12px rgba(0, 0, 0, 0.75);
}

@media (max-width: 1366px) and (min-width: 768px) {
    .support-hero,
    .support-hero__inner {
        height: 500px;
        min-height: 500px !important;
    }
}

@media (max-width: 767px) {
  .support-hero {
    height: 72svh;
    min-height: 520px !important;
  }

  .support-hero__bg img {
    object-fit: cover;
    object-position: center center;
  }

  .support-hero__inner {
    width: 100%;
    max-width: none;
  }

  .support-hero__content {
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -35%);
    z-index: 4;
    color: #fff;
    width: max-content;
    max-width: min(760px, 90vw);
  }

  .support-hero__label {
    height: 34px;
    min-height: 34px;
    margin-bottom: 14px;
    padding: 0 14px;
    font-size: 11px;
  }

  .support-hero__title {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.28;
    margin-bottom: 14px;
  }

  .support-hero__lead {
    font-size: 12px;
    line-height: 1.8;
  }
}

/* =========================
   SUPPORT INTRO
========================= */

.support-intro {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 78px;
  overflow: hidden;
  background: #fff;
}

.support-intro__flower-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 230px;
  overflow: hidden;
  pointer-events: none;
}

.support-intro__flower-bg img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center top;
}

.support-intro__flower-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 239, 0) 0%,
    rgba(255, 248, 239, 0.45) 38%,
    rgba(255, 255, 255, 0.82) 72%,
    #fff 100%
  );
}

.support-intro__inner {
  position: relative;
  z-index: 3;
  width: 1120px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding-top: 54px;
}

.support-intro__heading {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 36px;
}

.support-intro__subcopy {
  margin: 0 0 12px;
  color: #111;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.support-intro__title {
  margin: 0;
  color: #f15b1a;
  font-family: "Noto Sans", sans-serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.support-intro__content {
  position: relative;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 60px;
  align-items: start;
}

.support-intro__text {
  position: relative;
  z-index: 10;
  padding-top: 24px;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.95), -2px 2px 0 rgba(255, 255, 255, 0.95), 2px -2px 0 rgba(255, 255, 255, 0.95), -2px -2px 0 rgba(255, 255, 255, 0.95), 0 6px 10px rgba(0, 60, 90, 0.28);
}

.support-intro__text h3 {
  margin: 0 0 28px;
  color: #070707;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.support-intro__text p {
  margin: 0;
  color: #111;
  font-size: 14px;
  line-height: 2;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 右側画像グループ */
.support-intro__visual {
  position: relative;
  z-index: 8;
  width: 100%;
  height: 520px;
}

/* 共通 */
.support-intro__photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
}

.support-intro__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 上のランタン画像 */
.support-intro__photo--lantern {
  right: 90px;
  top: 25px;
  z-index: 4;
  width: 450px;
  height: 310px;

  border-radius: 20px;
}

/* 左下の丸画像 */
.support-intro__photo--kimono {
  right: 300px;
  top: 310px;
  z-index: 6;
  width: 250px;
  height: 250px;

  border-radius: 50%;
  overflow: hidden;
}


/* 右下の街並み画像 */
.support-intro__photo--street {
  right: 0;
  top: 54%;
  z-index: 5;
  width: 340px;
  height: 270px;
  border-radius: 20px;
  overflow: hidden;
}

/* 赤い花 */
.support-intro__flower {
  right: -8%;
  top: 20%;
  z-index: 9;
  width: 160px;
  height: auto;

  overflow: visible;
  pointer-events: none;
}

.support-intro__flower img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================
   SUPPORT SERVICE CARDS
========================= */

.support-service-cards {
  grid-column: 1 / -1;
  position: relative;
  z-index: 9;
  width: 100%;
  margin: 24px auto 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-service-card {
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(60, 45, 35, 0.16);
}

.support-service-card__image {
  width: 100%;
  aspect-ratio: 340 / 205;
  margin: 0;
  overflow: hidden;
}

.support-service-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-service-card__body {
  padding: 22px 22px 24px;
}

.support-service-card__body h3 {
  margin: 0 0 14px;
  color: #2b1b14;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.support-service-card__body p {
  margin: 0 0 18px;
  color: #222;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 700;
}

.support-service-card__body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-service-card__body li {
  position: relative;
  padding-left: 18px;
  color: #111;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}

.support-service-card__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: #00a7c8;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .support-intro {
    padding-bottom: 40px;
  }

  .support-intro__flower-bg,
  .support-intro__flower-bg img {
    height: 230px;
  }

  .support-intro__inner {
    width: 100%;
    max-width: none;
    padding: 44px 20px 0;
    box-sizing: border-box;
  }

  .support-intro__heading {
    margin-bottom: 28px;
  }

  .support-intro__subcopy {
    font-size: 20px;
    line-height: 1.5;
  }

  .support-intro__title {
    font-size: 26px;
  }

  .support-intro__content {
    display: block;
  }

  .support-intro__text {
    padding-top: 0;
  }

  .support-intro__text h3 {
    font-size: 24px;
    line-height: 1.45;
    margin-bottom: 22px;
  }

  .support-intro__text p {
    font-size: 14px;
    line-height: 1.9;
  }

  .support-intro__visual {
    height: 390px;
    margin-top: 34px;
  }

  .support-intro__photo--lantern {
    left: 0;
    right: auto;
    top: -20px;
    width: 80%;
    height: 50%;
    aspect-ratio: 335 / 170;
  }

  .support-intro__photo--kimono {
    left: 4px;
    top: 165px;
    width: 165px;
    height: 165px;
  }

  .support-intro__photo--street {
    right: 0;
    top: 150px;
    width: 220px;
    height: 170px;
  }

  .support-intro__flower {
    right: -10px;
    top: 45px;
    width: 110px;
  }
  .support-service-cards {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: -35px;
  }

  .support-service-card {
    border-radius: 10px;
  }

  .support-service-card__image {
    aspect-ratio: 335 / 190;
  }

  .support-service-card__body {
    padding: 20px 20px 24px;
  }

  .support-service-card__body h3 {
    font-size: 22px;
  }

  .support-service-card__body p,
  .support-service-card__body li {
    font-size: 12px;
  }
}

/* =========================
   SUPPORT CTA
========================= */

.support-cta {
  position: relative;
  display: grid;
  place-items: center;

  width: 100vw;
  min-height: 230px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 20px 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff8ef;
}

.support-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.support-cta__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.support-cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.support-cta__inner {
  position: relative;
  z-index: 3;
  width: 1120px;
  max-width: calc(100% - 48px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.support-cta__title {
  margin: 0 0 18px;
  color: #111;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.support-cta__lead {
  margin: 0;
  color: #111;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.sp-only-br {
  display: none;
}

@media (max-width: 767px) {
  .support-cta {
    min-height: 210px;
  }

  .support-cta__inner {
    width: 100%;
    max-width: none;
    min-height: 210px;
    padding: 36px 9px;
  }

  .support-cta__title {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .support-cta__lead {
    font-size: 12px;
    line-height: 1.9;
  }

  .sp-only-br {
    display: block;
  }
}