/* ═══════════════════════════════════════════════════════════════
   Girl's Premium - Top Page Renewal CSS v2
   
   Namespace: .gp-top- (避免与Bootstrap 3.1.1 / 既存CSS冲突)
   Scope: body.gp-top-page 配下のみに適用
   
   ※ Bootstrap 3 の .container, .row, .col-* には一切触れない
   ※ CSS Custom Properties は IE11 非対応のため直書きフォールバック付き
   ═══════════════════════════════════════════════════════════════ */

/* ─── Google Fonts は default.ctp の <head> で読み込み ───
   @import は使わない（パフォーマンス理由） */

/* ─── CSS Custom Properties（モダンブラウザ用） ─── */
:root {
  --gp-white: #FFFFFF;
  --gp-ivory: #FAF8F5;
  --gp-greige: #F0ECE6;
  --gp-rose: #C4918E;
  --gp-rose-deep: #A8706D;
  --gp-rose-light: #E8D0CE;
  --gp-charcoal: #2D2D2D;
  --gp-warm-gray: #7A7067;
  --gp-light-gray: #9E968D;
  --gp-navy: #1E2A3A;
  --gp-off-white: #F5F3F0;
  --gp-border: #E8E2DA;
  --gp-gold: #C9A96E;
  --gp-gold-light: #D4BA85;
}

/* ─── Base scope ─── */
body.gp-top-page {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  color: #2D2D2D;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.gp-top-page *,
body.gp-top-page *::before,
body.gp-top-page *::after {
  box-sizing: border-box;
}

/* ─── Utility ─── */
.gp-top-container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.gp-top-section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.gp-top-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.gp-top-section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C4918E;
  display: block;
  margin-bottom: 12px;
}

.gp-top-section-title {
  font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #2D2D2D;
  line-height: 1.5;
  margin: 0;
}

.gp-top-section-subtitle {
  font-size: 14px;
  color: #7A7067;
  margin-top: 16px;
  font-weight: 300;
  line-height: 1.9;
}

.gp-top-bg-ivory { background-color: #FAF8F5; }
.gp-top-bg-white { background-color: #FFFFFF; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.gp-top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* Bootstrap modals are 1050, navbars 1030 */
  background: transparent;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.gp-top-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  padding: 10px 0;
  box-shadow: 0 1px 0 #E8E2DA;
}

/* Sub pages should show header menu by default (no first-scroll requirement). */
body.gp-top-page--subpage .gp-top-header {
  background: rgba(255,255,255,0.96);
  padding: 10px 0;
  box-shadow: 0 1px 0 #E8E2DA;
}

body.gp-top-page--subpage .gp-top-logo-main {
  color: #2D2D2D;
}

body.gp-top-page--subpage .gp-top-logo-sub {
  color: #7A7067;
}

body.gp-top-page--subpage .gp-top-nav a,
body.gp-top-page--subpage .gp-top-btn-login {
  color: #2D2D2D;
}

.gp-top-header-inner {
  position: relative;
  /* 閉じた .gp-top-mobile-nav（全画面・z-index 9998）より手前に置き、ログアウト等のクリックがヒーローに抜けないようにする */
  z-index: 10002;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

/* Logo */
.gp-top-logo {
  text-decoration: none;
}

.gp-top-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  display: block;
  line-height: 1.2;
  transition: color 0.4s ease;
}

.gp-top-header.is-scrolled .gp-top-logo-main {
  color: #2D2D2D;
}

.gp-top-logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-top: 2px;
  transition: color 0.4s ease;
}

.gp-top-header.is-scrolled .gp-top-logo-sub {
  color: #7A7067;
}

/* Nav (PC) */
.gp-top-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gp-top-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s ease;
}

.gp-top-header.is-scrolled .gp-top-nav a {
  color: #2D2D2D;
}

.gp-top-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.gp-top-nav a:hover::after {
  width: 100%;
}

/* Header actions */
.gp-top-header-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 10020;
  pointer-events: auto;
}

/* Form::postLink（ログアウト）がヘッダー内で縦積みにならないよう */
.gp-top-header-actions form,
.gp-top-mobile-nav form {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.gp-top-btn-login {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gp-top-header.is-scrolled .gp-top-btn-login {
  color: #2D2D2D;
}

.gp-top-btn-register {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  background: #C4918E;
  padding: 9px 22px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.gp-top-btn-register:hover {
  background: #A8706D;
  color: #fff;
  text-decoration: none;
}

/* Hamburger */
.gp-top-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
}

.gp-top-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

.gp-top-header.is-scrolled .gp-top-hamburger span {
  background: #2D2D2D;
}

.gp-top-hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
  background: #2D2D2D;
}
.gp-top-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.gp-top-hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
  background: #2D2D2D;
}

/* Mobile overlay */
.gp-top-mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 9998;
  padding-top: 90px;
  text-align: center;
}

.gp-top-mobile-nav a {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  color: #2D2D2D;
  text-decoration: none;
  padding: 14px 0;
  letter-spacing: 0.08em;
}

.gp-top-mobile-nav .gp-top-btn-register {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 40px;
  font-size: 14px;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.gp-top-hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 680px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  background: #2D2D2D; /* fallback while image loads */
}

.gp-top-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.gp-top-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.gp-top-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg,
    rgba(30,26,22,0.12) 0%,
    rgba(30,26,22,0.32) 50%,
    rgba(30,26,22,0.50) 100%);
}

.gp-top-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 760px;
}

.gp-top-hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
  display: block;
  opacity: 0;
  -webkit-transform: translateY(18px);
  transform: translateY(18px);
  -webkit-animation: gpFadeUp 0.7s 0.3s forwards;
  animation: gpFadeUp 0.7s 0.3s forwards;
}

.gp-top-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.65;
  margin: 0;
  opacity: 0;
  -webkit-transform: translateY(18px);
  transform: translateY(18px);
  -webkit-animation: gpFadeUp 0.7s 0.55s forwards;
  animation: gpFadeUp 0.7s 0.55s forwards;
}

.gp-top-hero-sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 2;
  color: rgba(255,255,255,0.82);
  margin-top: 20px;
  opacity: 0;
  -webkit-transform: translateY(18px);
  transform: translateY(18px);
  -webkit-animation: gpFadeUp 0.7s 0.8s forwards;
  animation: gpFadeUp 0.7s 0.8s forwards;
}

.gp-top-hero-cta {
  margin-top: 36px;
  opacity: 0;
  -webkit-transform: translateY(18px);
  transform: translateY(18px);
  -webkit-animation: gpFadeUp 0.7s 1.0s forwards;
  animation: gpFadeUp 0.7s 1.0s forwards;
}

.gp-top-hero-cta a {
  display: inline-block;
  background: #C4918E;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 15px 44px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gp-top-hero-cta a:hover {
  background: #A8706D;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.gp-top-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  opacity: 0;
  -webkit-animation: gpFadeUp 0.7s 1.3s forwards;
  animation: gpFadeUp 0.7s 1.3s forwards;
}

.gp-top-hero-scroll span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 8px;
}

.gp-top-hero-scroll-bar {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.25);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.gp-top-hero-scroll-bar::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.7);
  -webkit-animation: gpScrollBar 2s infinite;
  animation: gpScrollBar 2s infinite;
}

@-webkit-keyframes gpScrollBar {
  0% { top: -100%; }
  100% { top: 100%; }
}
@keyframes gpScrollBar {
  0% { top: -100%; }
  100% { top: 100%; }
}

@-webkit-keyframes gpFadeUp {
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes gpFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.gp-top-about-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -20px;
}

.gp-top-about-item {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 33.333%;
  flex: 1 1 33.333%;
  padding: 0 20px;
  text-align: center;
}

.gp-top-about-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
}

.gp-top-about-icon svg {
  width: 100%;
  height: 100%;
  stroke: #C4918E;
  stroke-width: 1.2;
  fill: none;
}

.gp-top-about-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.gp-top-about-item-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C4918E;
  display: block;
  margin-bottom: 14px;
}

.gp-top-about-item p {
  font-size: 13px;
  color: #7A7067;
  line-height: 2;
  margin: 0;
}

/* ═══════════════════════════════════════
   EXPERIENCE CARDS (モニター案件)
   ═══════════════════════════════════════ */
.gp-top-cards-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -10px;
}

/* デスクトップは 3 列（6 枚なら 2 行）。6 列だとカード・文字が極端に小さく見えるため */
.gp-top-card {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.333%;
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 0 10px;
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
  display: block;
  min-width: 0;
}

.gp-top-card:hover {
  text-decoration: none;
  color: inherit;
}

.gp-top-card-img {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 — 一覧・トップで行揃え・縦長の過剰トリミングを抑える */
  background: #F0ECE6;
}

.gp-top-card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gp-top-card:hover .gp-top-card-img img {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

.gp-top-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #C4918E;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  z-index: 1;
}

.gp-top-card-body {
  padding-top: 16px;
}

.gp-top-card-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C4918E;
  display: block;
  margin-bottom: 6px;
}

.gp-top-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.55;
  margin: 0;
}

.gp-top-card-desc {
  font-size: 13px;
  color: #7A7067;
  line-height: 1.7;
  margin-top: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* トップ「注目のプレミアム案件」: ワイドでもカード・見出しが読みやすいように */
#gp-top-experiences .gp-top-container {
  max-width: min(1280px, 96vw);
}

#gp-top-experiences .gp-top-cards-row {
  margin: 0 -12px;
}

#gp-top-experiences .gp-top-card {
  padding: 0 12px;
  margin-bottom: 32px;
}

@media (min-width: 992px) {
  #gp-top-experiences .gp-top-section-label {
    font-size: clamp(12px, 1vw, 14px);
  }
  #gp-top-experiences .gp-top-section-title {
    font-size: clamp(28px, 2.6vw, 38px);
  }
  #gp-top-experiences .gp-top-section-subtitle {
    font-size: clamp(14px, 1.05vw, 17px);
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
  }
  #gp-top-experiences .gp-top-card-brand {
    font-size: clamp(11px, 0.85vw, 13px);
  }
  #gp-top-experiences .gp-top-card-title {
    font-size: clamp(15px, 1.15vw, 19px);
  }
  #gp-top-experiences .gp-top-card-desc {
    font-size: clamp(12px, 0.95vw, 15px);
    -webkit-line-clamp: 3;
  }
  #gp-top-experiences .gp-top-card-badge {
    font-size: clamp(10px, 0.8vw, 12px);
    padding: 6px 14px;
  }
}
.gp-top-more {
  text-align: center;
  margin-top: 40px;
}

.gp-top-more a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #2D2D2D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gp-top-more a:hover {
  color: #C4918E;
  text-decoration: none;
}

.gp-top-more-arrow {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s ease;
}

.gp-top-more a:hover .gp-top-more-arrow {
  width: 30px;
}

.gp-top-more-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* ═══════════════════════════════════════
   EDITORIAL (記事)
   ═══════════════════════════════════════ */
/* Editorial — ベース: 縦型1カラム（iframe/プレビュー対応） */
.gp-top-editorial-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0;
}

.gp-top-article-featured {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  padding: 0;
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 20px;
}

.gp-top-article-featured:hover { text-decoration: none; color: inherit; }

.gp-top-article-featured .gp-top-card-img {
  padding-top: 60%;
}

.gp-top-articles-side {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 0;
}

.gp-top-article-small {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 18px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #E8E2DA;
  text-decoration: none;
  color: inherit;
}

.gp-top-article-small:last-child {
  border-bottom: none;
}

.gp-top-article-small:hover { text-decoration: none; color: inherit; }

.gp-top-article-small-img {
  width: 90px;
  min-width: 90px;
  height: 90px;
  overflow: hidden;
  background: #F0ECE6;
}

.gp-top-article-small-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gp-top-article-small:hover .gp-top-article-small-img img {
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}

.gp-top-article-cat {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C4918E;
  display: block;
  margin-bottom: 6px;
}

.gp-top-article-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  transition: color 0.3s ease;
}

.gp-top-article-small:hover .gp-top-article-title,
.gp-top-article-featured:hover .gp-top-card-title {
  color: #C4918E;
}

.gp-top-article-date {
  font-size: 12px;
  color: #9E968D;
  margin-top: 8px;
  display: block;
}

/* ═══════════════════════════════════════
   MEMBERSHIP
   ═══════════════════════════════════════ */
.gp-top-membership {
  background: linear-gradient(135deg, #FAF8F5 0%, #fff 50%, #F0ECE6 100%);
}

.gp-top-membership-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -16px;
}

.gp-top-membership-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  padding: 0 16px;
  text-align: center;
}

.gp-top-membership-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: #C4918E;
  line-height: 1;
  margin-bottom: 6px;
}

.gp-top-membership-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
}

.gp-top-membership-item p {
  font-size: 13px;
  color: #7A7067;
  line-height: 1.9;
  margin: 0;
}

.gp-top-cta-center {
  text-align: center;
  margin-top: 44px;
}

/* Primary Button */
.gp-top-btn-primary {
  display: inline-block;
  background: #C4918E;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
  padding: 15px 44px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gp-top-btn-primary:hover {
  background: #A8706D;
  color: #fff;
  text-decoration: none;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   VOICES
   ═══════════════════════════════════════ */
.gp-top-voices-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -16px;
}

.gp-top-voice-card {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.333%;
  flex: 0 0 33.333%;
  padding: 0 16px;
}

.gp-top-voice-inner {
  background: #fff;
  padding: 36px 28px;
  height: 100%;
}

.gp-top-voice-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  color: #E8D0CE;
  line-height: 1;
  margin-bottom: 12px;
}

.gp-top-voice-text {
  font-size: 14px;
  line-height: 2;
  margin: 0 0 20px;
}

.gp-top-voice-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.gp-top-voice-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #F0ECE6;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: #7A7067;
}

.gp-top-voice-name {
  font-size: 13px;
  font-weight: 400;
}

.gp-top-voice-meta {
  font-size: 11px;
  color: #9E968D;
}

/* ═══════════════════════════════════════
   NUMBERS
   ═══════════════════════════════════════ */
.gp-top-numbers {
  padding: 72px 0;
}

.gp-top-numbers-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
}

.gp-top-numbers-item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 20px;
}

.gp-top-numbers-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 300;
  color: #2D2D2D;
  line-height: 1;
}

.gp-top-numbers-value span {
  font-size: 22px;
}

.gp-top-numbers-bar {
  width: 24px;
  height: 1px;
  background: #C4918E;
  margin: 12px auto;
}

.gp-top-numbers-label {
  font-size: 13px;
  color: #7A7067;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════
   NEWS
   ═══════════════════════════════════════ */
.gp-top-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gp-top-news-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #E8E2DA;
}

.gp-top-news-item:last-child {
  border-bottom: none;
}

.gp-top-news-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: #9E968D;
  letter-spacing: 0.06em;
  min-width: 100px;
}

.gp-top-news-title {
  font-size: 14px;
  line-height: 1.7;
}

.gp-top-news-title a {
  color: #2D2D2D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gp-top-news-title a:hover {
  color: #C4918E;
}

/* ═══════════════════════════════════════
   BUSINESS (企業向け)
   ═══════════════════════════════════════ */
.gp-top-business {
  background: #1E2A3A;
  color: #F5F3F0;
}

.gp-top-business .gp-top-section-label {
  color: #C9A96E;
}

.gp-top-business .gp-top-section-title {
  color: #F5F3F0;
}

.gp-top-business-intro {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
  font-size: 14px;
  line-height: 2.2;
  color: rgba(245,243,240,0.75);
}

.gp-top-business-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -16px 48px;
}

.gp-top-business-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.333%;
  flex: 0 0 33.333%;
  padding: 0 16px;
  text-align: center;
}

.gp-top-business-item-inner {
  border: 1px solid rgba(245,243,240,0.1);
  padding: 32px 20px;
  height: 100%;
}

.gp-top-business-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: #C9A96E;
  margin-bottom: 8px;
}

.gp-top-business-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
  color: #F5F3F0;
}

.gp-top-business-item p {
  font-size: 13px;
  color: rgba(245,243,240,0.6);
  line-height: 1.9;
  margin: 0;
}

.gp-top-business .gp-top-btn-primary {
  background: #C9A96E;
  color: #1E2A3A;
}

.gp-top-business .gp-top-btn-primary:hover {
  background: #D4BA85;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.gp-top-footer {
  background: #2D2D2D;
  color: #F5F3F0;
  padding: 72px 0 36px;
}

.gp-top-footer-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -20px;
}

.gp-top-footer-brand {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 35%;
  flex: 0 0 35%;
  padding: 0 20px;
}

.gp-top-footer-col {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 21.666%;
  flex: 0 0 21.666%;
  padding: 0 20px;
}

.gp-top-footer-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C9A96E;
  margin: 0 0 18px;
}

.gp-top-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gp-top-footer-links li {
  margin-bottom: 10px;
}

.gp-top-footer-links a {
  font-size: 13px;
  color: rgba(245,243,240,0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gp-top-footer-links a:hover {
  color: #F5F3F0;
}

.gp-top-footer-brand-desc {
  font-size: 13px;
  color: rgba(245,243,240,0.5);
  line-height: 2;
  margin-top: 14px;
}

.gp-top-footer-social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.gp-top-footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(245,243,240,0.18);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.gp-top-footer-social a:hover {
  border-color: #C9A96E;
}

/* Instagram brand color */
.gp-top-footer-social a[aria-label="Instagram"] svg {
  fill: #E4405F;
}
.gp-top-footer-social a[aria-label="Instagram"] {
  border-color: rgba(228,64,95,0.4);
}
.gp-top-footer-social a[aria-label="Instagram"]:hover {
  border-color: #E4405F;
}
.gp-top-footer-social a[aria-label="Instagram"]:hover svg {
  fill: #ff6680;
}

/* X (Twitter) brand color */
.gp-top-footer-social a[aria-label="X (Twitter)"] svg {
  fill: #ffffff;
}
.gp-top-footer-social a[aria-label="X (Twitter)"] {
  border-color: rgba(255,255,255,0.4);
}
.gp-top-footer-social a[aria-label="X (Twitter)"]:hover {
  border-color: #ffffff;
}
.gp-top-footer-social a[aria-label="X (Twitter)"]:hover svg {
  fill: #ffffff;
}

/* LINE brand color */
.gp-top-footer-social a[aria-label="LINE"] svg {
  fill: #06C755;
}
.gp-top-footer-social a[aria-label="LINE"] {
  border-color: rgba(6,199,85,0.4);
}
.gp-top-footer-social a[aria-label="LINE"]:hover {
  border-color: #06C755;
}
.gp-top-footer-social a[aria-label="LINE"]:hover svg {
  fill: #08e862;
}

.gp-top-footer-social svg {
  width: 15px; height: 15px;
  fill: rgba(245,243,240,0.55);
}

.gp-top-footer-bottom {
  border-top: 1px solid rgba(245,243,240,0.08);
  margin-top: 52px;
  padding-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.gp-top-footer-copy {
  font-size: 12px;
  color: rgba(245,243,240,0.35);
}

.gp-top-footer-legal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}

.gp-top-footer-legal a {
  font-size: 12px;
  color: rgba(245,243,240,0.35);
  text-decoration: none;
}

.gp-top-footer-legal a:hover {
  color: rgba(245,243,240,0.7);
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */
.gp-top-reveal {
  opacity: 0;
  -webkit-transform: translateY(24px);
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.gp-top-reveal.is-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.gp-top-reveal-d1 { transition-delay: 0.1s; }
.gp-top-reveal-d2 { transition-delay: 0.2s; }
.gp-top-reveal-d3 { transition-delay: 0.3s; }
.gp-top-reveal-d4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   DESKTOP ONLY - Editorial 2カラム復活
   ※ ベースは縦型1カラム（iframe/プレビュー対応）
   ※ 992px以上でのみ横型2カラムに切り替え
   ═══════════════════════════════════════ */
@media (min-width: 992px) {
  .gp-top-editorial-grid {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -16px;
  }
  .gp-top-article-featured {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding: 0 16px;
    margin-bottom: 0;
  }
  .gp-top-article-featured .gp-top-card-img {
    padding-top: 130%;
  }
  .gp-top-articles-side {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding: 0 16px;
  }
  .gp-top-article-small-img {
    width: 110px;
    min-width: 110px;
    height: 110px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE - Tablet
   ═══════════════════════════════════════ */
@media (max-width: 991px) {
  .gp-top-container { padding-left: 24px; padding-right: 24px; }
  .gp-top-header-inner { padding: 0 24px; }
  .gp-top-section { padding-top: 80px; padding-bottom: 80px; }

  .gp-top-hero-title { font-size: 32px; }
  .gp-top-about-item { -ms-flex: 1 1 33.333%; }
  .gp-top-card {
    -ms-flex: 0 0 33.333%;
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .gp-top-membership-item { -ms-flex: 0 0 50%; flex: 0 0 50%; margin-bottom: 28px; }
  .gp-top-voice-card { -ms-flex: 0 0 50%; flex: 0 0 50%; margin-bottom: 24px; }
  .gp-top-footer-brand { -ms-flex: 0 0 100%; flex: 0 0 100%; margin-bottom: 32px; }
  .gp-top-footer-col { -ms-flex: 0 0 33.333%; flex: 0 0 33.333%; }
}

/* ═══════════════════════════════════════
   RESPONSIVE - Mobile
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
  .gp-top-container { padding-left: 20px; padding-right: 20px; }
  .gp-top-header-inner { padding: 0 20px; }
  .gp-top-section { padding-top: 60px; padding-bottom: 60px; }
  .gp-top-section-header { margin-bottom: 36px; }
  .gp-top-section-title { font-size: 22px; }

  /* Header */
  .gp-top-nav { display: none; }
  .gp-top-header-actions .gp-top-btn-login,
  .gp-top-header-actions .gp-top-btn-register {
    display: none;
  }
  .gp-top-hamburger { display: block; }

  /* 閉じているときはレイヤー自体を出さない（display:block + 透明の全画面がクリックを奪うのを防ぐ） */
  .gp-top-mobile-nav {
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }
  .gp-top-mobile-nav.is-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10005;
    padding-top: 90px;
    text-align: center;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Hero */
  .gp-top-hero { height: 60vh; min-height: 360px; }
  .gp-top-hero-title { font-size: 24px; }
  .gp-top-hero-sub { font-size: 13px; }
  .gp-top-hero-cta a { padding: 13px 32px; font-size: 13px; }
  .gp-top-hero-scroll { display: none; }

  /* About */
  .gp-top-about-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    margin-bottom: 24px;
  }

  /* Cards - 2x3 grid on mobile */
  .gp-top-cards-row {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -6px;
  }

  #gp-top-experiences .gp-top-cards-row {
    margin: 0 -6px;
  }

  #gp-top-experiences .gp-top-card {
    padding: 0 6px;
    margin-bottom: 16px;
  }

  .gp-top-card {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 6px;
    margin-bottom: 16px;
    min-width: 0;
  }

  .gp-top-card-img {
    padding-top: 100%;
  }

  .gp-top-card-body {
    padding-top: 10px;
  }

  .gp-top-card-title {
    font-size: 12px;
    line-height: 1.5;
  }

  .gp-top-card-desc {
    font-size: 10px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
  }

  .gp-top-card-brand {
    font-size: 9px;
  }

  .gp-top-card-badge {
    font-size: 9px;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
  }

  /* Editorial */
  .gp-top-editorial-grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .gp-top-article-featured,
  .gp-top-articles-side {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .gp-top-article-featured { margin-bottom: 20px; }
  .gp-top-article-featured .gp-top-card-img { padding-top: 60%; }

  .gp-top-article-small-img {
    width: 90px; min-width: 90px; height: 90px;
  }

  /* Membership */
  .gp-top-membership-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    margin-bottom: 20px;
  }
  .gp-top-membership-num { font-size: 26px; }

  /* Voices - horizontal scroll */
  .gp-top-voices-grid {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 0 20px;
  }
  .gp-top-voices-grid::-webkit-scrollbar { display: none; }
  .gp-top-voices-grid { -ms-overflow-style: none; scrollbar-width: none; }
  .gp-top-voice-card {
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    min-width: 260px;
    scroll-snap-align: start;
  }

  /* Numbers */
  .gp-top-numbers-grid {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .gp-top-numbers-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    margin-bottom: 16px;
  }
  .gp-top-numbers-value { font-size: 34px; }

  /* News */
  .gp-top-news-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
  }

  /* Business */
  .gp-top-business-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    margin-bottom: 16px;
  }

  .gp-top-business-intro br { display: none; }

  /* Footer */
  .gp-top-footer-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    margin-bottom: 24px;
  }
  .gp-top-footer-bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .gp-top-footer-legal {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════
   TABS (カテゴリタブ)
   ═══════════════════════════════════════ */
.gp-top-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 40px;
}

.gp-top-tab {
  background: none;
  border: 1px solid #E8E2DA;
  color: #7A7067;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gp-top-tab:hover {
  border-color: #C4918E;
  color: #C4918E;
}

.gp-top-tab.is-active {
  background: #C4918E;
  border-color: #C4918E;
  color: #fff;
}

/* Article transition for tab filter */
.gp-top-article-featured,
.gp-top-article-small {
  transition: opacity 0.35s ease;
}

/* ═══════════════════════════════════════
   CTA BANNER (登録促進帯)
   ═══════════════════════════════════════ */
.gp-top-cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, #F0ECE6 0%, #FAF8F5 50%, #F0ECE6 100%);
}

.gp-top-cta-banner-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.gp-top-cta-banner-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C4918E;
  display: block;
  margin-bottom: 16px;
}

.gp-top-cta-banner-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.65;
  color: #2D2D2D;
  margin: 0 0 18px;
}

.gp-top-cta-banner-text {
  font-size: 14px;
  color: #7A7067;
  line-height: 2;
  margin: 0 0 32px;
}

/* ═══════════════════════════════════════
   SP/PC Display Utilities
   ═══════════════════════════════════════ */
.gp-top-sp-only { display: none; }
.gp-top-pc-only { display: inline; }

@media (max-width: 767px) {
  .gp-top-sp-only { display: inline; }
  .gp-top-pc-only { display: none; }

  /* CTA Banner mobile */
  .gp-top-cta-banner { padding: 64px 0; }
  .gp-top-cta-banner-title { font-size: 20px; }
  .gp-top-cta-banner-text br { display: none; }

  /* Tabs scroll on mobile */
  .gp-top-tabs {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-bottom: 8px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .gp-top-tabs::-webkit-scrollbar { display: none; }
  .gp-top-tabs { -ms-overflow-style: none; scrollbar-width: none; }
  .gp-top-tab { white-space: nowrap; flex-shrink: 0; }
}

@media (max-width: 991px) {
  .gp-top-cta-banner-title { font-size: 22px; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Selection */
body.gp-top-page ::selection {
  background: #E8D0CE;
  color: #2D2D2D;
}

/* ═══════════════════════════════════════
   PRINT
   ═══════════════════════════════════════ */
@media print {
  .gp-top-header,
  .gp-top-hero-scroll,
  .gp-top-hamburger,
  .gp-top-mobile-nav { display: none !important; }
  .gp-top-hero { height: auto; min-height: 0; max-height: none; }
  .gp-top-reveal { opacity: 1 !important; transform: none !important; }
}
