@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Yomogi&family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

:root {
  --bg: #fffdfd;
  --ink: #514049;
  --ink-soft: #75616b;
  --muted: #b89aa7;
  --pink: #ff96bb;
  --pink-mid: #ff78a7;
  --pink-deep: #ef5e97;
  --pink-line: #ffd8e5;
  --pink-soft: #fff4f8;
  --pink-soft-2: #ffedf4;
  --shadow: 0 14px 34px rgba(239, 94, 151, 0.1);
  --ui-sheet: url("../../public/ui-icon-sheet.png");
  --font-base: "Zen Maru Gothic", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-script: "Yomogi", "Zen Maru Gothic", cursive;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 224, 235, 0.65), transparent 24%),
    linear-gradient(180deg, #fffefe 0%, #fff9fb 36%, #ffffff 100%);
  font-family: var(--font-base);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
}

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

.container {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 216, 229, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 8px 20px rgba(255, 173, 204, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.logo-copy-top {
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.logo-copy-main {
  color: var(--pink-deep);
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  color: var(--pink-deep);
  transform: translateY(-1px);
}

.nav a::before {
  content: "";
  width: 17px;
  height: 17px;
  margin-right: 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 切れないように、各アイコンは24x24のSVGを内包(contain)で表示 */
.nav a:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v9h14v-9'/%3E%3C/svg%3E"); }
.nav a:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5c0-.6.4-1 1-1h5c1.1 0 2 .9 2 2v13c0-.8-.7-1.5-1.5-1.5H4z'/%3E%3Cpath d='M20 5c0-.6-.4-1-1-1h-5c-1.1 0-2 .9-2 2v13c0-.8.7-1.5 1.5-1.5H20z'/%3E%3C/svg%3E"); }
.nav a:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3C/svg%3E"); }
.nav a:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8l4 3 4-6 4 6 4-3-1.6 10H5.6L4 8z'/%3E%3C/svg%3E"); }
.nav a:nth-child(5)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M6 19c0-3.3 2.7-5 6-5s6 1.7 6 5'/%3E%3C/svg%3E"); }
.nav a:nth-child(6)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19l3-.8L18 8.2l-2.2-2.2L5.8 16 5 19z'/%3E%3Cpath d='M14.3 6.6l2.8 2.8'/%3E%3C/svg%3E"); }
.nav a:nth-child(7)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 18C6 15 3 12.2 3 9 3 7 4.5 5.5 6.4 5.5c1.2 0 2.3.7 3.1 1.8.8-1.1 1.9-1.8 3.1-1.8C17.5 5.5 19 7 19 9c0 3.2-3 6-6.5 9z'/%3E%3C/svg%3E"); }
.nav a:nth-child(8)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4h7l4 4v12H7z'/%3E%3Cpath d='M14 4v4h4'/%3E%3C/svg%3E"); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  box-shadow: 0 10px 22px rgba(239, 94, 151, 0.18);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.btn.outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 150, 187, 0.55);
  box-shadow: none;
  color: var(--pink-deep);
}

.home-page {
  overflow: hidden;
}

.home-hero {
  position: relative;
  padding: 0 0 20px;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 18%, rgba(255, 255, 255, 0.72) 36%, rgba(255, 255, 255, 0.18) 60%),
    url("../../public/2.png") 88% 44%/76% no-repeat;
  z-index: -2;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.94), transparent 22%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(180deg, rgba(255, 248, 252, 0.06), rgba(255, 248, 252, 0.82));
  z-index: -1;
}

.home-hero__inner {
  width: min(1480px, calc(100% - 64px));
  min-height: 700px;
  margin: 0 auto;
  padding: 58px 0 240px;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 1fr);
  gap: 34px;
  align-items: start;
}

.home-hero__copy {
  max-width: 760px;
  padding-top: 22px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  margin: 0 0 18px 56px;
  padding: 7px 28px;
  border: 1.5px solid rgba(255, 150, 187, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--pink-deep);
  font-family: var(--font-script);
  font-size: 1.22rem;
  letter-spacing: 0.04em;
  transform: rotate(-7deg);
}

.hero-title {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(4.2rem, 6.2vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  font-weight: 700;
  white-space: nowrap;
}

.hero-title__pink,
.hero-title__accent {
  color: var(--pink-deep);
}

.hero-title__pink {
  font-family: var(--font-script);
  font-weight: 400;
}

.hero-ribbon {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 18px 8px 28px;
  background: linear-gradient(135deg, #ff8cb7 0%, #ef5e97 100%);
  clip-path: polygon(0 0, 97% 0, 100% 50%, 97% 100%, 0 100%, 2.5% 50%);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-description {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.8;
}

.hero-description strong {
  color: var(--pink-deep);
}

.home-hero__aside {
  position: relative;
  min-height: 100%;
}

.hero-float-heart {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  mix-blend-mode: multiply;
  opacity: 0.95;
}

.hero-float-heart--a {
  top: 116px;
  left: -18px;
  width: 46px;
  height: 50px;
  background-image: url("../../public/ui/heart-outline-1.png");
  opacity: 0.8;
}

.hero-float-heart--b {
  top: 192px;
  left: 28px;
  width: 16px;
  height: 18px;
  background-image: url("../../public/ui/heart-outline-2.png");
  opacity: 0.75;
}

.hero-float-heart--c {
  top: 132px;
  right: 30px;
  width: 26px;
  height: 30px;
  background-image: url("../../public/ui/heart-outline-1.png");
  opacity: 0.72;
}

.hero-float-heart--d {
  top: 398px;
  right: 28px;
  width: 68px;
  height: 54px;
  background-image: url("../../public/ui/heart-outline-4.png");
  opacity: 0.82;
}

.hero-side-note {
  position: absolute;
  top: 66px;
  right: -210px;
  width: 318px;
  height: 120px;
  background-image: url("../../public/ui/aside-note-clean.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  z-index: 2;
}

.hero-stamp {
  position: absolute;
  right: -54px;
  bottom: -390px;
  width: 255px;
  height: 255px;
  background-image: url("../../public/ui/stamp-love-clean.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
}

.hero-diagnosis {
  position: relative;
  z-index: 2;
  margin-top: -180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-deco {
  width: 648px;
  max-width: 100%;
  margin: 0 0 14px;
  color: var(--pink-deep);
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  line-height: 1.2;
  text-align: left;
}

.diag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  max-width: 880px;
}

/* トップのヒーロー診断は6枚を1列で表示（PC） */
.hero-diagnosis .diag-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1060px;
}

.diag-card {
  min-height: 168px;
  padding: 14px 12px 16px;
  border: 1px solid rgba(255, 216, 229, 0.96);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 252, 0.96));
  box-shadow: 0 8px 22px rgba(239, 94, 151, 0.08);
  text-align: center;
}

.diag-art {
  width: 78px;
  height: 78px;
  margin: 2px auto 10px;
  border-radius: 18px;
  background-image: var(--ui-sheet);
  background-repeat: no-repeat;
}

.diag-art--person {
  width: 74px;
  height: 78px;
  background-size: 790px 527px;
  background-position: -28px -118px;
}

.diag-art--love {
  width: 70px;
  height: 70px;
  background-size: 768px 512px;
  background-position: -131px -120px;
}

.diag-art--compat {
  width: 72px;
  height: 71px;
  background-size: 737px 492px;
  background-position: -225px -112px;
}

.diag-art--kompleks {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #caa6e6, #9466c9);
}

.diag-art--dame {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #ff8fb0, #e23e72);
}

.diag-art--numa {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #8e9bd6, #4a5aa0);
}

.diag-art--check {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M20 20l-5-5'/%3E%3C/svg%3E") center/46% no-repeat,
    linear-gradient(135deg, #ff9ac1, #d94f86);
}

.diag-art--dep {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #ff9a8b, #ff5e8a);
}

.diag-art--line {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M5 4h14a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-7l-4 4v-4H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center/46% no-repeat,
    linear-gradient(135deg, #8fd6a0, #4cae7a);
}

.diag-art--honmei {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #ff7eae, #c0306a);
}

.diag-art--ex {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3Cpath d='M12 7.5l0 6' stroke='%23b6a0c8' stroke-width='1.4'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #b6a0c8, #7a6b9e);
}

.diag-art--jirai {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3Cpath d='M12 8.5v4' stroke='%23e8324f' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='15.4' r='0.9' fill='%23e8324f'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #ff8f6b, #e8324f);
}

.diag-art--kuro {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #9b6a9e, #4f2a56);
}

.diag-art--nogashi {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #f6a9c0, #c98aa8);
}

.diag-art--stalker {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M20 20l-5-5'/%3E%3Cpath d='M10.5 8.3c.9-1 2.4-.6 2.4.6 0 1-1.2 1.1-1.2 2'/%3E%3C/svg%3E") center/48% no-repeat,
    linear-gradient(135deg, #bba0d6, #6b4f9e);
}

.diag-art--jealousy {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3Cpath d='M9 9c1 2 5 2 6 0' stroke='%23e84a6f' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") center/44% no-repeat,
    linear-gradient(135deg, #ff7a9c, #b32a55);
}

/* 恋愛腹黒度：白ハート＋小さな黒ハート（小悪魔）×ダークプラム */
.diag-art--haraguro {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3Cpath fill='%232b1830' d='M12 15.6c-1.9-1.5-3.4-2.9-3.4-4.5 0-.9.7-1.6 1.6-1.6.6 0 1.2.35 1.5.9.3-.55.9-.9 1.5-.9.9 0 1.6.7 1.6 1.6 0 1.6-1.5 3-3.4 4.5z'/%3E%3C/svg%3E") center/46% no-repeat,
    linear-gradient(135deg, #b86fae, #45204f);
}

/* 根にもつ度：白ハート＋鍵穴（閉じ込める）×インディゴ */
.diag-art--grudge {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3Ccircle cx='12' cy='10.6' r='1.5' fill='%234a5085'/%3E%3Cpath d='M11.3 11.4h1.4l-.4 2.4h-.6z' fill='%234a5085'/%3E%3C/svg%3E") center/46% no-repeat,
    linear-gradient(135deg, #8e95c6, #3c4170);
}

/* 恋愛満足度：白ハート＋チェック×明るいハッピーピンク */
.diag-art--satisfaction {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3Cpath d='M9.4 11.2l1.7 1.7 3.4-3.4' fill='none' stroke='%23ff6fa3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/46% no-repeat,
    linear-gradient(135deg, #ffb0cb, #ff7aaf);
}

/* 恋愛コンプレックス：白ハート＋ひび（鏡）×やさしいモーヴ */
.diag-art--complex {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 21C7 17 3 13.4 3 9.2 3 6.9 4.9 5 7.2 5c1.6 0 3 .9 3.8 2.2C12 5.9 13.2 5 14.8 5 17.1 5 19 6.9 19 9.2c0 4.2-4 7.8-7 11.8z'/%3E%3Cpath d='M12 6.5l-1.4 4 2.2 1.3-1.6 4.2' fill='none' stroke='%23c98ab8' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E") center/46% no-repeat,
    linear-gradient(135deg, #d29ac4, #8a5a86);
}

/* 求めすぎ度：白い王冠×ローズ */
.diag-art--expectation {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M4 8l3 3 5-5 5 5 3-3v8.5c0 .8-.7 1.5-1.5 1.5h-13C4.7 17.5 4 16.8 4 16z'/%3E%3Ccircle cx='4' cy='7' r='1.3'/%3E%3Ccircle cx='20' cy='7' r='1.3'/%3E%3Ccircle cx='12' cy='4.5' r='1.3'/%3E%3C/svg%3E") center/48% no-repeat,
    linear-gradient(135deg, #ff9bbb, #d65f8f);
}

/* 恋愛フェロモン：白ハート＋きらめき×ローズレッド（色気） */
.diag-art--pheromone {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 20.5C7.5 17 4 13.7 4 9.9 4 7.8 5.7 6 7.9 6c1.5 0 2.8.8 3.5 2 .7-1.2 2-2 3.5-2C17.1 6 18.8 7.8 18.8 9.9c0 3.8-3.5 7.1-6.8 10.6z'/%3E%3Cpath d='M18.5 4l.6 1.6L20.7 6l-1.6.6-.6 1.6-.6-1.6L16.3 6l1.6-.4z'/%3E%3C/svg%3E") center/46% no-repeat,
    linear-gradient(135deg, #ff6f9a, #c02b5e);
}

/* 恋愛支配欲：白い鍵×ロイヤルピンク（主導権） */
.diag-art--control {
  width: 74px;
  height: 78px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8.5' r='3.6'/%3E%3Cpath d='M11 11l6 6'/%3E%3Cpath d='M14.5 14.5l2 2'/%3E%3Cpath d='M16.5 16.5l1.6 1.6'/%3E%3C/svg%3E") center/48% no-repeat,
    linear-gradient(135deg, #e87bb0, #9b3a72);
}

/* LINE風 吹き出しデモ */
.line-demo { display: flex; flex-direction: column; gap: 7px; max-width: 320px; margin: 4px 0 16px; }
.line-bubble { max-width: 80%; padding: 9px 14px; border-radius: 16px; font-size: 0.88rem; line-height: 1.5; }
.line-them { align-self: flex-start; background: #fff; border: 1.5px solid var(--pink-line); border-bottom-left-radius: 4px; color: var(--ink); }
.line-me { align-self: flex-end; background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff; border-bottom-right-radius: 4px; }
.line-note { align-self: flex-end; font-size: 0.74rem; color: var(--muted); }

/* 好き避け度・依存度メーター */
.result-meterlabel { font-weight: 800; color: var(--ink-soft); font-size: 0.82rem; margin: 4px 0 2px; }
.suki-meter { height: 11px; max-width: 280px; margin: 4px auto 14px; border-radius: 999px; background: var(--pink-soft-2); overflow: hidden; }
.suki-meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--pink), var(--pink-deep)); }

/* 診断メニュー（diagnosis.html）と「すべての診断を見る」リンク */
.diag-grid--menu { margin: 8px auto 0; max-width: 940px; }

/* 診断一覧のカテゴリ分け */
.diag-cat { margin: 0 0 28px; }
.diag-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: var(--pink-deep);
  font-weight: 900;
  font-size: 1.18rem;
}
.diag-cat-title::before { content: '✦'; color: var(--pink); font-size: 0.95rem; }
.diag-cat-sub { margin: 0 0 14px; color: var(--muted); font-size: 0.85rem; }
.diag-cat .diag-grid--menu { margin: 0; max-width: none; }
.diag-grid--menu .diag-card h2 { margin-bottom: 8px; }
.diag-desc { font-size: 0.78rem; color: var(--muted); margin: 0 0 12px; line-height: 1.45; }
.diag-alllink { margin: 14px 0 0; }
.diag-alllink .more { font-size: 0.95rem; }

.diag-card h2 {
  margin: 0 0 12px;
  color: var(--pink-deep);
  font-size: 1rem;
  line-height: 1.45;
}

.home-dashboard {
  padding: 0 0 36px;
}

.dashboard {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.board {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 216, 229, 0.96);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 249, 252, 0.95));
  box-shadow: 0 8px 22px rgba(239, 94, 151, 0.06);
}

.board-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px dotted rgba(255, 185, 212, 0.82);
  color: var(--pink-deep);
  font-size: 0.95rem;
  font-weight: 700;
}

.board-head .bi {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--pink-deep);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.board-btn {
  margin-top: auto;
  padding-top: 10px;
}

.board .btn {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.rank-list,
.col-list,
.thumb-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 26px;
}

.rank-num {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  box-shadow: 0 3px 8px rgba(239, 94, 151, 0.28);
}

.rank-num--1 { background: linear-gradient(135deg, #ffcb5e, #f59a2e); }
.rank-num--2 { background: linear-gradient(135deg, #ff9cc2, #ff78a7); }
.rank-num--3 { background: linear-gradient(135deg, #ffabcb, #ff8bb4); }
.rank-num--4 { background: linear-gradient(135deg, #ffbcd5, #ff9ec1); }
.rank-num--a { background: linear-gradient(135deg, #ffccdf, #ffadcb); }

.rank-list a,
.col-list a,
.thumb-list a,
.avatar-item {
  color: var(--ink);
  text-decoration: none;
}

.rank-list a:hover,
.col-list a:hover,
.thumb-list a:hover,
.avatar-item:hover {
  color: var(--pink-deep);
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px 0;
  justify-items: center;
}

.avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  grid-column: span 2; /* 各アイテムは6カラム中2カラム分 → 1段目は3個均等 */
}

/* 2段目（4・5番目）を中央2トラックへ寄せて中央揃え */
.avatar-item:nth-child(4) { grid-column: 2 / span 2; }
.avatar-item:nth-child(5) { grid-column: 4 / span 2; }

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: 140%;
  background-color: #ffe3ee;
  box-shadow: 0 8px 16px rgba(239, 94, 151, 0.12);
}

/* 各タイプは元画像の顔位置が違うため、縦位置を個別調整して中央に揃える */
.avatar--intp { background-image: url("../../public/ui/type-intp-face.png"); background-position: center 34%; }
.avatar--intj { background-image: url("../../public/ui/type-intj-face.png"); background-position: center 30%; }
.avatar--entj { background-image: url("../../public/type-entj-face.png"); background-position: center; background-size: cover; }
.avatar--istj { background-image: url("../../public/type-istj-face.png"); background-position: center; background-size: cover; }
.avatar--infp { background-image: url("../../public/ui/type-infp-face.png"); background-position: center 32%; }

.avatar-cap {
  color: var(--ink-soft);
  font-size: 0.67rem;
  line-height: 1.35;
}

.avatar-cap b {
  display: block;
  color: var(--pink-deep);
  font-size: 0.84rem;
}

.col-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.col-list a {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.88rem;
}

.col-list a::before {
  content: "♥";
  color: var(--pink-mid);
  font-size: 0.75rem;
  line-height: 1.7;
}

.thumb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumb-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.thumb {
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(255, 216, 229, 0.95);
  border-radius: 12px;
  background-image: var(--ui-sheet);
  background-repeat: no-repeat;
}

.thumb--1 { background-size: 468px 312px; background-position: -187px -214px; }
.thumb--2 { background-size: 468px 312px; background-position: -241px -214px; }
.thumb--3 { background-size: 468px 312px; background-position: -296px -214px; }
.thumb--4 { background-size: 468px 312px; background-position: -351px -214px; }
.thumb--5 { background-size: 468px 312px; background-position: -406px -214px; }

.thumb-list a {
  font-size: 0.78rem;
  line-height: 1.45;
}

.section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h3,
.section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
}

.more {
  color: var(--pink-deep);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.page-title {
  margin: 16px 0 8px;
  color: var(--pink-deep);
  font-size: 2rem;
  font-weight: 900;
}

.lead {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

/* ===== コラム記事（読み物）レイアウト ===== */
/* 1. 本文幅を狭くして読みやすく */
.col-article { max-width: 960px; margin-left: auto; margin-right: auto; }
.col-article > .article-meta,
.col-article > .page-title,
.col-article > .article-lead,
.col-article > .article { max-width: 860px; margin-left: auto; margin-right: auto; }

.article-meta { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; color: var(--muted); font-size: 0.82rem; }

/* 2. 導入文を目立たせる */
.article-lead {
  position: relative;
  margin: 0 0 28px;
  padding: 22px 22px 22px 54px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff2f8, #ffffff);
  border: 1px solid var(--pink-line);
  box-shadow: 0 8px 24px rgba(255, 138, 180, 0.14);
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 2.05;
}
.article-lead::before {
  content: '❝';
  position: absolute;
  left: 16px;
  top: 12px;
  color: var(--pink);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.article { line-height: 1.95; }

/* 3. 見出しデザイン強化 */
.article h2 {
  margin: 42px 0 16px;
  padding: 4px 0 4px 16px;
  border-left: 6px solid var(--pink);
  color: var(--pink-deep);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.5;
}
.article p { margin: 0 0 14px; color: var(--ink); }

/* 4. 箇条書きをカード化 */
.article ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.article ul li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 38px;
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(255, 138, 180, 0.08);
  color: var(--ink);
  font-size: 0.95rem;
}
.article ul li::before {
  content: '♡';
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--pink);
  font-size: 0.9rem;
}

/* 5. 16タイプ別解説をグリッド化 */
.mbti-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 6px 0 18px;
}
.mbti-card {
  background: linear-gradient(180deg, #ffffff, #fff8fb);
  border: 1px solid var(--pink-line);
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: 0 2px 8px rgba(255, 138, 180, 0.08);
}
.mbti-name { margin: 0 0 6px; font-weight: 900; color: var(--pink-deep); font-size: 0.96rem; }
.mbti-name::before { content: '♡ '; color: var(--pink); }
.mbti-desc { margin: 0; font-size: 0.9rem; line-height: 1.75; color: var(--ink); }

/* 注意喚起カラム */
.article-callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff0f6;
  border: 1px dashed var(--pink);
  color: var(--ink);
}

/* 7. 関連診断・記事カードを整理（コラム内のみ） */
.col-article .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-article .cards .card { display: flex; flex-direction: column; }
.col-article .cards .card p { font-size: 0.86rem; }
.col-article .cards .card .btn { margin-top: auto; }

/* 8. 下部CTAエリア */
.col-cta {
  max-width: 860px;
  margin: 34px auto 8px;
  padding: 24px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffe1ee, #fff3f8);
  border: 1px solid var(--pink-line);
  box-shadow: 0 10px 28px rgba(255, 138, 180, 0.18);
  text-align: center;
}
.col-cta h3 { margin: 0 0 6px; color: var(--pink-deep); font-size: 1.16rem; font-weight: 900; }
.col-cta p { margin: 0 0 16px; color: var(--ink-soft); font-size: 0.9rem; }
.col-cta .cta-btns { display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 0 auto; }
.col-cta .cta-btns .btn { width: 100%; }

@media (min-width: 560px) {
  .mbti-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .col-article .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .mbti-grid { grid-template-columns: repeat(3, 1fr); }
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: 18px;
  border: 1px solid rgba(255, 216, 229, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 252, 0.95));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.6;
}

.card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.card .price {
  color: var(--pink-deep);
  font-weight: 900;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff0f6;
  color: var(--pink-deep);
  font-size: 0.72rem;
  font-weight: 700;
}

.type-card-lg {
  padding: 20px;
}

.type-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.type-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.type-label {
  color: var(--ink);
  font-weight: 700;
}

.type-attrs {
  margin: 0 0 14px;
  border-top: 1px solid rgba(255, 216, 229, 0.95);
}

.type-attrs > div {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #fff0f6;
}

.type-attrs dt {
  flex: 0 0 38%;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.type-attrs dd {
  flex: 1;
  margin: 0;
  font-size: 0.86rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cat {
  display: block;
  padding: 16px 12px;
  border: 1px solid rgba(255, 216, 229, 0.95);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8fb 0%, #fff3f8 100%);
  color: var(--pink-deep);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-footer {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 216, 229, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 248, 0.92));
}

.site-footer .container {
  padding: 28px 0 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.site-name {
  margin: 0;
  color: var(--pink-deep);
  font-size: 1.1rem;
  font-weight: 900;
}

.footer-desc,
.footer-links {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links a {
  color: var(--pink-deep);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .container,
  .home-hero__inner,
  .dashboard {
    width: min(100% - 32px, 1180px);
  }

  .home-hero__inner {
    min-height: unset;
    padding: 34px 0 194px;
    grid-template-columns: 1fr;
  }

  .home-hero__aside {
    min-height: 220px;
  }

  .hero-side-note {
    top: 10px;
    right: -18px;
    transform: scale(0.92);
    transform-origin: top right;
  }

  .hero-stamp {
    right: 10px;
    bottom: -54px;
    transform: scale(0.88);
    transform-origin: bottom right;
  }

  .dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header .container {
    min-height: unset;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .home-hero::before {
    background: linear-gradient(180deg, var(--pink-soft-2) 0%, var(--pink-soft) 46%, #fff 100%);
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 18px 0 16px;
    gap: 14px;
  }

  .home-hero__aside {
    display: none;
  }

  .hero-note {
    margin-left: 0;
    font-size: 1.08rem;
  }

  .hero-title {
    line-height: 1.05;
  }

  .cards,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .diag-grid,
  .hero-diagnosis .diag-grid {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    max-width: none;
    width: 100%;
  }

  .diag-card {
    min-height: auto;
  }

  .section-deco {
    width: 100%;
  }

  .avatar-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-diagnosis {
    margin-top: 6px;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .container,
  .home-hero__inner,
  .dashboard {
    width: min(100% - 24px, 100%);
  }

  .logo-icon {
    width: 46px;
    height: 46px;
  }

  .logo-copy-main {
    font-size: 1.45rem;
  }

  .nav {
    gap: 6px 14px;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .home-hero::before {
    background: linear-gradient(180deg, var(--pink-soft-2) 0%, var(--pink-soft) 46%, #fff 100%);
  }

  .home-hero__inner {
    padding: 12px 0 12px;
  }

  .hero-title {
    white-space: normal;
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .hero-mini-brand {
    display: none;
  }

  .hero-ribbon {
    font-size: 0.87rem;
    line-height: 1.45;
  }

  .hero-title {
    white-space: normal;
  }

  .home-hero__aside {
    min-height: 176px;
  }

  .hero-side-note {
    right: -8px;
    width: 232px;
    height: 90px;
    transform: none;
  }

  .hero-stamp {
    right: 2px;
    bottom: -18px;
    width: 124px;
    height: 124px;
    transform: none;
  }

  .hero-float-heart--d {
    right: 8px;
    width: 58px;
    height: 46px;
  }

  .section-deco {
    font-size: 1.5rem;
  }
}

/* ===== MBTIタイプ表記（日本語名称・グループ色） ===== */
.type-name { color: var(--pink-deep); font-weight: 800; margin-right: 5px; }
.type-badge.mbti-NT { background: linear-gradient(135deg, #b6a4e0, #8f7ac6); }
.type-badge.mbti-NF { background: linear-gradient(135deg, #8ed4be, #57b394); }
.type-badge.mbti-SJ { background: linear-gradient(135deg, #9fc6ef, #6ea2d9); }
.type-badge.mbti-SP { background: linear-gradient(135deg, #f1c889, #e3a557); }
.avatar-cap b { line-height: 1.2; }
.avatar-cap .mbti-jp { display: block; font-size: 0.62rem; color: var(--muted); }

/* ===== 診断ページのバナー画像 ===== */
.diag-banner {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 18px auto 10px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(239, 94, 151, 0.16);
}

/* ===== 相性診断（compat.html） ===== */
.compat-form {
  background: #fff;
  border: 1.5px solid var(--pink-line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  margin: 0 0 22px;
}
.compat-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.compat-field label {
  display: block;
  font-weight: 700;
  color: var(--pink-deep);
  font-size: 0.92rem;
  margin-bottom: 7px;
}
.compat-field select {
  width: 100%;
  padding: 12px 38px 12px 14px;
  border: 1.5px solid var(--pink-line);
  border-radius: 12px;
  background-color: var(--pink-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef5e97' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  -webkit-appearance: none;
  appearance: none;
}
.compat-field select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 150, 187, 0.25);
}
.compat-submit { width: 100%; min-height: 50px; font-size: 1rem; }
.compat-hint { color: var(--pink-deep); font-weight: 700; text-align: center; margin: 10px 0; }

.compat-result { margin-top: 6px; }
.result-card {
  background: linear-gradient(180deg, #fff, var(--pink-soft));
  border: 1.5px solid var(--pink-line);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 18px;
}
.result-pair { font-weight: 800; color: var(--ink-soft); font-size: 0.95rem; margin: 0; letter-spacing: 0.04em; }
.result-pair span { color: var(--pink); margin: 0 4px; }
.result-title {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--pink-deep);
  margin: 6px 0 12px;
  line-height: 1.4;
}
.score { display: inline-flex; align-items: baseline; gap: 2px; margin: 0 0 14px; }
.score-num {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.score-unit { font-size: 1.2rem; font-weight: 800; color: var(--pink-deep); }
.result-feature { color: var(--ink); font-size: 0.95rem; margin: 0; text-align: left; }
.compat-caution {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #fff6fa;
  border: 1px dashed var(--pink);
  border-radius: 12px;
  color: var(--pink-deep);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
}
.result-block {
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.result-block h3 { font-size: 1rem; color: var(--pink-deep); margin: 0 0 8px; font-weight: 800; }
.result-block ul { margin: 0; padding-left: 1.2em; }
.result-block li { font-size: 0.92rem; color: var(--ink); margin-bottom: 5px; }
.relate-head { font-size: 1.05rem; color: var(--pink-deep); font-weight: 800; margin: 22px 0 12px; }
.compat-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 18px 0 0; }

@media (max-width: 560px) {
  .compat-selects { grid-template-columns: 1fr; }
  .result-title { font-size: 1.3rem; }
  .score-num { font-size: 3rem; }
}

/* ===== 恋愛タイプ診断（love-type.html） ===== */
.result-block p { margin: 0; font-size: 0.92rem; color: var(--ink); }
.result-catch { font-size: 1.05rem; color: var(--pink-deep); font-weight: 800; margin: 0 0 12px; }

.quiz { display: flex; flex-direction: column; gap: 14px; margin: 0 0 20px; }
.quiz-q {
  background: #fff;
  border: 1.5px solid var(--pink-line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 16px rgba(239, 94, 151, 0.05);
}
.quiz-q-title { font-weight: 800; color: var(--ink); font-size: 0.98rem; margin: 0 0 12px; }
.quiz-q-title .qnum {
  display: inline-block;
  min-width: 1.7em;
  color: var(--pink-deep);
  font-weight: 900;
}
.quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1.5px solid var(--pink-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.quiz-opt:hover { background: var(--pink-soft); }
.quiz-opt input { accent-color: var(--pink-deep); width: 18px; height: 18px; flex: none; margin: 0; }
.quiz-opt span { font-size: 0.92rem; color: var(--ink); }
.quiz-opt:has(input:checked) { background: var(--pink-soft); border-color: var(--pink); }

.lovetype-submit { width: 100%; min-height: 50px; font-size: 1rem; }
.lovetype-retry { width: 100%; margin-top: 4px; }
.result-lead { font-weight: 800; color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 4px; letter-spacing: 0.04em; }

/* ===== note記事一覧カード（アイキャッチ付き） ===== */
.note-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.note-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--pink-line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(239, 94, 151, 0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.note-card:hover { box-shadow: 0 10px 24px rgba(239, 94, 151, 0.13); transform: translateY(-1px); }
.note-thumb {
  flex: 0 0 38%;
  max-width: 150px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--pink-soft);
  display: block;
}
.note-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.note-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.note-body .tag { align-self: flex-start; }
.note-body h4 { margin: 0; font-size: 0.95rem; line-height: 1.45; font-weight: 800; }
.note-body h4 a {
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.note-body h4 a:hover { color: var(--pink-deep); }
.note-body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 720px) {
  .note-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .note-card { gap: 10px; padding: 10px; }
  .note-body h4 { font-size: 0.9rem; }
  .note-body p { display: none; }
}

/* ===== コラム アイキャッチ & 一覧サムネイル ===== */
.article-eyecatch {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 8px auto 24px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--pink-soft);
  box-shadow: 0 10px 28px rgba(255, 138, 180, 0.18);
}
.article-eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* コラム一覧：サムネイル付きカード */
.col-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.col-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--pink-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(239, 94, 151, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.col-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(239, 94, 151, 0.14); }
.col-thumb { aspect-ratio: 16 / 9; background: var(--pink-soft); overflow: hidden; display: block; }
.col-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.col-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.col-card-body .tag { align-self: flex-start; }
.col-card-body h4 { margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 800; }
.col-card-body p { margin: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.6; flex: 1; }
.col-card-body .btn { align-self: flex-start; margin-top: 4px; }

@media (min-width: 560px) {
  .col-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .col-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ===== トップ フッター：他サイト診断バナー ===== */
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer-main { flex: 1 1 300px; min-width: 260px; }
.footer-promos { display: flex; gap: 12px; flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; }
.promo-card {
  position: relative;
  display: block;
  width: 208px;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1420;
  box-shadow: 0 8px 22px rgba(239, 94, 151, 0.16);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(239, 94, 151, 0.26); }
.promo-card img { width: 100%; height: auto; display: block; }
.promo-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 12px 9px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}
@media (max-width: 720px) {
  .footer-promos { width: 100%; }
  .promo-card { flex: 1 1 0; width: auto; }
}
@media (max-width: 400px) {
  .footer-promos { flex-direction: column; }
  .promo-card { width: 100%; }
}

/* フッターバナー：薄いオーバーレイで馴染ませる（ホバーでくっきり） */
.promo-card img { filter: saturate(0.82) brightness(0.92); transition: filter 0.2s ease; }
.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 246, 250, 0.34), rgba(255, 233, 243, 0.30));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s ease;
}
.promo-card .promo-cap { z-index: 2; }
.promo-card:hover img { filter: none; }
.promo-card:hover::after { opacity: 0; }

/* フッターバナー：サイトのピンク基調に馴染ませる（上書き） */
.promo-card { border: 1px solid var(--pink-line); background: #fff2f8; }
.promo-card img { filter: saturate(0.6) brightness(1.02) contrast(0.95); }
.promo-card::after {
  background: linear-gradient(180deg, rgba(255, 209, 228, 0.44), rgba(255, 186, 214, 0.40));
  mix-blend-mode: normal;
}
.promo-card .promo-cap {
  background: linear-gradient(transparent, rgba(239, 94, 151, 0.82));
  text-shadow: 0 1px 3px rgba(150, 30, 80, 0.5);
}
.promo-card:hover img { filter: saturate(0.9) brightness(1); }

/* フッターバナー：スマホで潰れる不具合を修正（幅ベースに変更） */
@media (max-width: 720px) {
  .footer-inner { flex-direction: column; }
  .footer-promos { width: 100%; justify-content: center; }
  .promo-card { flex: 0 1 calc(50% - 6px); width: auto; }
}
@media (max-width: 440px) {
  .footer-promos { flex-direction: column; align-items: stretch; }
  .promo-card { flex: 0 0 auto; width: 100%; }
}
