/* ============ メイン ============ */
.main-contents { padding: 16px 0 18px; }
section { margin-bottom: 40px; }

/* ============ 常設おすすめバナー ============ */
.banner-slider { margin: 0 0 26px; }

.banner-track {
  display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  border-radius: 20px;
}

.banner-track::-webkit-scrollbar { display: none; }

.banner-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-height: 196px;
  display: flex; align-items: center;
  padding: 22px 24px;
  position: relative; overflow: hidden; color: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(180,120,70,0.16);
}

.banner-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.26), transparent 26%),
    linear-gradient(90deg, rgba(0,0,0,0.38), rgba(0,0,0,0.08) 70%);
  pointer-events: none;
}

.banner-slide .banner-copy { position: relative; z-index: 2; max-width: 70%; }

.banner-slide .banner-kicker {
  display: inline-block;
  background: rgba(255,255,255,0.92); color: var(--ink);
  font-family: var(--font-round); font-size: 11px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 8px;
}

.banner-slide h3 {
  font-family: var(--font-round); font-size: 22px; font-weight: 800; line-height: 1.28;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2); margin-bottom: 7px;
}

.banner-slide .banner-lead {
  font-size: 12px; line-height: 1.55; font-weight: 700;
  text-shadow: 0 1px 7px rgba(0,0,0,0.18);
  margin-bottom: 11px;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}

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

.banner-meta span {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.38);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px; font-weight: 800;
}

.banner-slide .banner-cta {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; color: var(--primary-orange);
  font-family: var(--font-round); font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.banner-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.banner-dots { display: flex; justify-content: center; gap: 7px; margin-top: 13px; }

.banner-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e2d9d0; border: 0; padding: 0; transition: width .25s, background .25s;
}

.banner-dots button.active { width: 24px; border-radius: 999px; background: var(--primary-orange); }

/* ============ 検索 ============ */
.searchForm {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 16px; padding: 6px 6px 6px 18px;
  border: 2px solid var(--line);
  border-radius: 999px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.searchForm:focus-within { border-color: var(--primary-amber); box-shadow: 0 0 0 4px rgba(252,178,66,0.14); }
.searchForm__icon { width: 19px; height: 19px; fill: var(--text-light); flex-shrink: 0; }

.searchForm__input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 9px 0; font-size: 16px;
  font-family: inherit; background: transparent; color: var(--ink);
}

.searchForm__input::placeholder { color: var(--text-light); }

.searchForm__submit {
  border: 0; flex-shrink: 0;
  background: var(--primary-orange); color: #fff;
  font-family: var(--font-round); font-weight: 700; font-size: 13px;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  transition: background .15s;
}

.searchForm__submit:hover { background: var(--primary-orange-dark); }

/* ============ タグ（塗りチップ） ============ */
.tag-block { margin-bottom: 34px; }
.tag-block.bottom { margin: 24px 0 8px; }

.tag-heading {
  font-family: var(--font-round);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-gray);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.taglist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.taglist a {
  display: inline-block;
  padding: 7px 14px; border-radius: 12px;
  font-family: var(--font-round); font-size: 12.5px; font-weight: 700;
  background: var(--amber-light); color: #C77A1E;
  transition: transform .15s, background .15s, color .15s;
}

.taglist a:hover { background: var(--primary-amber); color: #fff; transform: translateY(-2px); }

.taglist.trend a {
  background: #fff;
  color: var(--primary-orange);
  border: 1px solid rgba(250,83,47,0.18);
}

.taglist.trend a:hover {
  background: var(--primary-orange);
  color: #fff;
  border-color: var(--primary-orange);
}

/* ============ ポータル説明 ============ */
.portal-about {
  margin: 28px 0 34px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.portal-about-title {
  font-family: var(--font-round);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.portal-about-text {
  color: var(--text-gray);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.9;
}

/* ============ セクション区切り ============ */
.section-break {
  margin: 30px 0 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250,83,47,0.18), transparent);
}

/* ============ セクション見出し（左寄せ・アイコン付き） ============ */
.sec-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }

.sec-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-orange-light);
  overflow: hidden;
}

.sec-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-head .sec-texts { flex: 1; min-width: 0; }

.sec-title {
  font-family: var(--font-round); font-size: 18px; font-weight: 800;
  color: var(--ink); line-height: 1.2;
}

.sec-sub { font-size: 11.5px; color: var(--text-gray); font-weight: 500; margin-top: 1px; }

.sec-more {
  font-family: var(--font-round); font-size: 12px; font-weight: 700;
  color: var(--primary-orange); white-space: nowrap; flex-shrink: 0;
}

.sec-more:hover { text-decoration: underline; }

/* ============ 人気の診断（2列タイル） ============ */
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.tile {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(180,120,70,0.14); border-color: transparent; }

.tile-thumb {
  position: relative; aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  overflow: hidden;
}

.tile-thumb .diag-img,
.list-thumb .diag-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.tile-rank {
  position: absolute; top: 8px; left: 8px;
  width: 27px; height: 27px; border-radius: 9px;
  display: grid; place-items: center;
  font-family: var(--font-round); font-weight: 800; font-size: 14px;
  color: #fff; background: #cfc7bf;
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.tile-rank.r1 { background: linear-gradient(135deg,#FFD75E,#F5A623); }
.tile-rank.r2 { background: linear-gradient(135deg,#D7DCE3,#A8B2BE); }
.tile-rank.r3 { background: linear-gradient(135deg,#F0B27A,#D07C3D); }

.diag-cover {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.diag-cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.72) 0 10px, transparent 11px),
    radial-gradient(circle at 84% 26%, rgba(255,255,255,0.5) 0 15px, transparent 16px),
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  z-index: -2;
}

.diag-cover::after {
  content: ""; position: absolute; width: 92px; height: 92px;
  right: -24px; bottom: -28px; border-radius: 28px;
  background: rgba(255,255,255,0.34);
  transform: rotate(18deg);
  z-index: -1;
}

.cover-icon {
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 8px 12px rgba(80,45,20,0.18));
  transform: translateY(-4px);
}

.cover-label {
  position: absolute; left: 10px; right: 10px; bottom: 8px;
  font-family: var(--font-round); font-size: 10px; font-weight: 800;
  color: rgba(60,40,30,0.78);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 999px;
  padding: 4px 8px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.cover-psycho { background: linear-gradient(135deg,#FFF1DC,#FCB242); }
.cover-love { background: linear-gradient(135deg,#FFE3EE,#FF8AB5); }
.cover-animal { background: linear-gradient(135deg,#E0F5FF,#7FD8FF); }
.cover-work { background: linear-gradient(135deg,#FFEADB,#FA9B6B); }
.cover-history { background: linear-gradient(135deg,#E0F5FF,#A8CDE8); }
.cover-marriage { background: linear-gradient(135deg,#FCEEEB,#F5B5A5); }
.cover-oshi { background: linear-gradient(135deg,#EFE9FF,#A98EF5); }
.cover-ghibli { background: linear-gradient(135deg,#FFE3EE,#FF8AB5); }
.cover-life { background: linear-gradient(135deg,#FFF1DC,#F5C66B); }
.cover-sidejob { background: linear-gradient(135deg,#E0F5FF,#7BB3DD); }
.cover-green { background: linear-gradient(135deg,#E0F6EC,#62D4A8); }
.cover-blue { background: linear-gradient(135deg,#E0F5FF,#4DC9FF); }
.cover-yellow { background: linear-gradient(135deg,#FFF4D8,#FCC766); }
.cover-purple { background: linear-gradient(135deg,#EFE9FF,#A98EF5); }
.cover-orange { background: linear-gradient(135deg,#FFEADB,#FA8051); }
.cover-pink { background: linear-gradient(135deg,#FFE3EE,#F472B6); }
.cover-mint { background: linear-gradient(135deg,#E0F6EC,#34D399); }
.tile-body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }

.cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.tile-cat {
  font-family: var(--font-round); font-size: 10px; font-weight: 700;
  color: var(--primary-orange); background: var(--primary-orange-light);
  padding: 2px 8px; border-radius: 6px;
}

.tile-title {
  font-size: 14.5px; font-weight: 800; color: var(--ink); line-height: 1.4;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}

.tile-desc {
  font-size: 11.5px; color: var(--text-gray); font-weight: 500; line-height: 1.55;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}

/* ============ 新着の診断（リスト） ============ */
.list { display: flex; flex-direction: column; gap: 10px; }

.list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.list-row:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(180,120,70,0.13); border-color: transparent; }

.list-thumb {
  position: relative;
  width: 116px; aspect-ratio: 16 / 10; flex-shrink: 0;
  border-radius: 12px; display: grid; place-items: center; overflow: visible;
}

.list-thumb .diag-img {
  border-radius: 12px;
}

.list-thumb .cover-icon { font-size: 34px; transform: translateY(-3px); }
.list-thumb .cover-label { left: 7px; right: 7px; bottom: 6px; font-size: 8.5px; padding: 3px 6px; }
.list-thumb .diag-cover::after { width: 62px; height: 62px; right: -18px; bottom: -22px; border-radius: 20px; }

.list-new {
  position: absolute; top: -10px; left: -8px;
  background: var(--primary-orange); color: #fff;
  font-family: var(--font-round); font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 7px; letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(250,83,47,0.35);
  z-index: 2;
}

.list-info { flex: 1; min-width: 0; }

.list-cat {
  display: inline-block;
  font-family: var(--font-round); font-size: 10px; font-weight: 700;
  color: #C77A1E; background: var(--amber-light);
  padding: 2px 8px; border-radius: 6px;
}

.list-title {
  font-size: 14.5px; font-weight: 800; color: var(--ink); line-height: 1.4;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}

.list-desc {
  font-size: 11.5px; color: var(--text-gray); font-weight: 500; line-height: 1.5; margin-top: 3px;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}

.list-meta {
  font-size: 11px; color: var(--text-gray); font-weight: 700; margin-top: 3px;
  display: flex; gap: 10px;
}

.list-meta .fire { color: var(--primary-orange); }
.list-arrow { flex-shrink: 0; color: var(--text-light); font-size: 20px; font-weight: 700; }

/* もっと見る */
.morebox { margin: 22px 0 0; display: flex; justify-content: center; }

.button_more {
  font-family: var(--font-round); font-weight: 700; font-size: 13.5px;
  color: var(--primary-orange); background: #fff;
  border: 2px solid var(--primary-orange);
  border-radius: 999px; padding: 11px 36px;
  transition: background .15s, color .15s;
}

.button_more:hover { background: var(--primary-orange); color: #fff; }

.footer-nav a:hover { color: var(--primary-orange); }
.footer-legal a:hover { color: var(--primary-orange); }

/* ============ Responsive ============ */
@media (max-width: 380px) {
  .tile-grid { gap: 10px; }
  .banner-slide { min-height: 210px; padding: 20px; }
  .banner-slide .banner-copy { max-width: 82%; }
  .banner-slide h3 { font-size: 18px; }
}
