/*
Theme Name: Luminous
Theme URI: https://wakayama-chatlady.com/
Author: BANRI LLC
Author URI: https://wakayama-chatlady.com/
Description: 和歌山ノンアダルト通勤チャットレディ情報メディア「ルミナス」専用テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: luminous
*/

/* ========================================
   RESET
======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: #2a2a2a;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ========================================
   VARIABLES
======================================== */
:root {
  --pink: #c4909e;
  --pink-dark: #a87080;
  --pink-light: #e8c4cc;
  --pink-pale: #f5eef0;
  --white: #ffffff;
  --bg: #f5f5f5;
  --text: #2a2a2a;
  --text-sub: #666;
  --text-light: #999;
  --border: #eee;
  --line-green: #06C755;
  --radius: 0;
}

/* ========================================
   HEADER
======================================== */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.l-header__logo {
  display: block;
}

.l-header__logo-main {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.l-header__logo-sub {
  display: block;
  font-size: 9px;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 2px;
}

/* Hamburger */
.l-header__menu-btn {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.l-header__menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.l-header__menu-btn.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.l-header__menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.l-header__menu-btn.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav */
.l-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.l-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.l-nav__link {
  display: block;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.l-nav__link:hover {
  color: var(--pink);
}

/* ========================================
   HERO SLIDER
======================================== */
.c-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.c-hero__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.c-hero__slide {
  min-width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 600px;
  position: relative;
  overflow: hidden;
}

.c-hero__slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.c-hero__slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-hero__slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 100px 20px 48px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
  color: #fff;
}

.c-hero__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 5px 16px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  margin-bottom: 14px;
}

.c-hero__slide-content h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.c-hero__number {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.c-hero__number-unit {
  font-size: 22px;
  font-weight: 700;
}

.c-hero__slide-content p {
  font-size: 14px;
  opacity: 0.92;
  line-height: 1.7;
}

.c-hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.c-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.c-hero__dot.is-active {
  background: #fff;
  width: 28px;
  border-radius: 4px;
}

/* ========================================
   TRUST STRIP
======================================== */
.c-trust {
  display: flex;
  justify-content: space-around;
  padding: 22px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.c-trust__item {
  text-align: center;
}

.c-trust__num {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.c-trust__unit {
  font-size: 13px;
  font-weight: 700;
}

.c-trust__label {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ========================================
   SECTION
======================================== */
.l-section {
  padding: 32px 0;
}

.l-section--gray {
  background: var(--bg);
}

.l-section__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  padding: 0 0 0 12px;
  margin-bottom: 4px;
  border-left: 3px solid var(--pink);
}

.l-section__sub {
  font-size: 12px;
  color: var(--text-light);
  padding-left: 16px;
  margin-bottom: 16px;
}

/* ========================================
   FIXED CONTENT CARDS
======================================== */
.c-fixed-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.c-fixed-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  display: block;
}

.c-fixed-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.c-fixed-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.c-fixed-card:active .c-fixed-card__img img,
.c-fixed-card:active .c-fixed-card__img {
  transform: scale(1.05);
}

.c-fixed-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.05) 60%);
}

.c-fixed-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  color: #fff;
}

.c-fixed-card__num {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.7;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

.c-fixed-card__content h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 3px;
}

.c-fixed-card__content p {
  font-size: 11px;
  opacity: 0.85;
  line-height: 1.4;
}

.c-fixed-card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 2 / 1;
}

/* ========================================
   CATEGORY NAV
======================================== */
.c-cat-nav {
  padding: 20px 0 8px;
  overflow: hidden;
}

.c-cat-nav__scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 12px;
}

.c-cat-nav__scroll::-webkit-scrollbar {
  display: none;
}

.c-cat-nav__tag {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  white-space: nowrap;
  transition: all 0.2s;
}

.c-cat-nav__tag:hover,
.c-cat-nav__tag.is-active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

/* ========================================
   POST CARD (新着記事)
======================================== */
.c-post-cards {
  display: flex;
  flex-direction: column;
}

.c-post-card {
  display: block;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.c-post-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.c-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.c-post-card:hover .c-post-card__thumb img {
  transform: scale(1.03);
}

.c-post-card__body {
  padding: 14px 16px 18px;
}

.c-post-card__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-pale);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.c-post-card__body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
}

.c-post-card__excerpt {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-light);
}

.c-post-card__read {
  color: var(--pink);
  font-weight: 600;
  font-size: 12px;
}

/* ========================================
   POPULAR POSTS (人気記事)
======================================== */
.c-popular {
  display: flex;
  flex-direction: column;
}

.c-popular__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.c-popular__item:last-child {
  border-bottom: none;
}

.c-popular__rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.c-popular__item:nth-child(1) .c-popular__rank { background: var(--text); color: #fff; }
.c-popular__item:nth-child(2) .c-popular__rank { background: #555; color: #fff; }
.c-popular__item:nth-child(3) .c-popular__rank { background: #888; color: #fff; }
.c-popular__item:nth-child(n+4) .c-popular__rank { background: var(--border); color: var(--text-sub); }

.c-popular__thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

.c-popular__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-popular__body {
  flex: 1;
  min-width: 0;
}

.c-popular__body h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-popular__views {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
}

/* ========================================
   CTA BANNER
======================================== */
.c-cta {
  position: relative;
  overflow: hidden;
}

.c-cta__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.c-cta__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-cta__content {
  padding: 28px 20px 32px;
  text-align: center;
  background: var(--white);
}

.c-cta__content h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 10px;
}

.c-cta__content p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

.c-cta__btn {
  display: block;
  background: var(--text);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 15px 0;
  border-radius: 28px;
  text-align: center;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.c-cta__btn:active {
  opacity: 0.85;
}

/* ========================================
   FLOATING LINE BUTTON
======================================== */
.c-floating-line {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 24px 12px 12px;
  background: linear-gradient(to top, rgba(255,255,255,1) 50%, rgba(255,255,255,0));
  pointer-events: none;
}

.c-floating-line__btn {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--line-green);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 16px 0;
  border-radius: 30px;
  box-shadow: 0 4px 24px rgba(6,199,85,0.35);
  letter-spacing: 0.04em;
  transition: transform 0.2s;
}

.c-floating-line__btn:active {
  transform: scale(0.97);
}

.c-floating-line__btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ========================================
   FOOTER
======================================== */
.l-footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 32px 16px 110px;
  text-align: center;
}

.l-footer__logo {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.l-footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.l-footer__links a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.l-footer__links a:hover {
  color: rgba(255,255,255,0.8);
}

.l-footer__copy {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

/* ========================================
   SINGLE POST
======================================== */
.s-post__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.s-post__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-post__header {
  padding: 20px 16px 16px;
}

.s-post__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-pale);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.s-post__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 8px;
}

.s-post__meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  gap: 16px;
}

.s-post__content {
  padding: 0 16px 40px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

.s-post__content h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 36px 0 16px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--pink);
}

.s-post__content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--pink);
}

.s-post__content p {
  margin-bottom: 20px;
}

.s-post__content ul,
.s-post__content ol {
  margin: 0 0 20px 20px;
}

.s-post__content li {
  margin-bottom: 8px;
  list-style: disc;
}

.s-post__content ol li {
  list-style: decimal;
}

.s-post__content img {
  margin: 20px 0;
  width: 100%;
}

.s-post__content blockquote {
  margin: 20px 0;
  padding: 16px;
  background: var(--bg);
  border-left: 3px solid var(--pink-light);
  font-size: 14px;
  color: var(--text-sub);
}

.s-post__content a {
  color: var(--pink-dark);
  text-decoration: underline;
}

/* Related Posts */
.c-related {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.c-related__title {
  font-size: 16px;
  font-weight: 800;
  padding-left: 12px;
  margin-bottom: 16px;
  border-left: 3px solid var(--pink);
}

/* ========================================
   ARCHIVE
======================================== */
.a-archive__header {
  padding: 28px 16px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.a-archive__title {
  font-size: 22px;
  font-weight: 800;
}

.a-archive__desc {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 6px;
}

/* Pagination */
.c-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 16px;
}

.c-pagination a,
.c-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.c-pagination .current {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.c-pagination a:hover {
  background: var(--bg);
}

/* ========================================
   PAGE - OFFICE
======================================== */
.p-office__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.p-office__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-office__header {
  padding: 24px 16px 16px;
}

.p-office__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
}

.p-office__lead {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.p-office__section {
  padding: 28px 16px;
  border-top: 1px solid var(--border);
}

.p-office__section-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--pink);
}

.p-office__map {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: none;
}

.p-office__info-table {
  width: 100%;
  font-size: 14px;
}

.p-office__info-table th {
  padding: 12px 0;
  font-weight: 600;
  color: var(--text);
  width: 100px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.p-office__info-table td {
  padding: 12px 0;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border);
}

/* Steps */
.c-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-step {
  display: flex;
  gap: 14px;
}

.c-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.c-step__body h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.c-step__body p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Office CTA */
.p-office__cta {
  padding: 32px 16px;
  text-align: center;
  background: var(--pink-pale);
}

.p-office__cta h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.5;
}

.p-office__cta p {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.p-office__cta-btn {
  display: block;
  background: var(--line-green);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 16px 0;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(6,199,85,0.3);
}

/* ========================================
   BREADCRUMB
======================================== */
.c-breadcrumb {
  padding: 10px 16px;
  font-size: 11px;
  color: var(--text-light);
  background: var(--bg);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.c-breadcrumb a {
  color: var(--text-light);
  text-decoration: underline;
}

.c-breadcrumb span {
  margin: 0 6px;
}

/* ========================================
   404
======================================== */
.p-404 {
  padding: 60px 16px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.p-404__num {
  font-size: 80px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

.p-404__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.p-404__text {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.p-404__btn {
  display: inline-block;
  background: var(--text);
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
}

/* ========================================
   UTILITY
======================================== */
.u-mb0 { margin-bottom: 0 !important; }
.u-pt0 { padding-top: 0 !important; }