@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


  @import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&family=M+PLUS+Rounded+1c:wght@400;700&display=swap');

  * { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --pink: #FF6B9D;
    --pink-light: #FFE0EE;
    --pink-pale: #FFF5F9;
    --purple: #B06FD8;
    --purple-light: #F0E0FF;
    --yellow: #FFD93D;
    --sky: #6EC6FF;
    --sky-light: #E0F4FF;
    --mint: #5ECFB1;
    --mint-light: #E0FAF4;
    --text: #3D2B4F;
    --text-sub: #8A7A9B;
    --bg: #FFF8FC;
    --card-bg: #FFFFFF;
    --border: #F0D6E8;
    --radius: 16px;
    --shadow: 0 4px 20px rgba(176,111,216,0.10);
  }

  body {
    font-family: 'Zen Maru Gothic', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
  }

  /* NAV */
  .nav {
    background: #fff;
    border-bottom: 2px solid var(--pink-light);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--pink);
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav-logo span { font-size: 22px; }
  .nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .nav-btn {
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-sub);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
  }
  .nav-btn:hover, .nav-btn.active {
    background: var(--pink-light);
    border-color: var(--pink);
    color: var(--pink);
  }

  /* PAGE SYSTEM */
  .page { display: none; }
  .page.active { display: block; }

  /* HERO */
  .hero {
    background: linear-gradient(135deg, #FFE0EE 0%, #F0E0FF 50%, #E0F4FF 100%);
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦';
    position: absolute;
    top: 12px;
    left: 0; right: 0;
    font-size: 10px;
    color: rgba(176,111,216,0.3);
    letter-spacing: 8px;
  }
  .hero h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--pink);
  }
  .hero p {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-sub);
  }
  .hero-badges {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .badge {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
  }
  .badge-pink { background: var(--pink); color: #fff; }
  .badge-purple { background: var(--purple); color: #fff; }
  .badge-sky { background: var(--sky); color: #fff; }

  /* SECTION */
  .section { padding: 1.5rem 1.25rem; }
  .section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
  }
  .section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: var(--pink);
    border-radius: 2px;
  }

  /* COSTUME CARD */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  .costume-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .costume-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
  .card-img {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
  }
  .card-img-label {
    position: absolute;
    bottom: 6px;
    left: 6px;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
  }
  .label-limited { background: #FFD93D; color: #3D2B4F; }
  .label-regular { background: #5ECFB1; color: #fff; }
  .label-event { background: #6EC6FF; color: #fff; }
  .card-body { padding: 8px 10px 10px; }
  .card-name { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.4; }
  .card-idol { font-size: 11px; color: var(--text-sub); margin-top: 2px; }

  /* UNIT CHIPS */
  .unit-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  .chip {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.15s;
  }
  .chip-all { background: var(--pink); color: #fff; }
  .chip-illumin { background: var(--purple-light); color: var(--purple); border-color: var(--purple); }
  .chip-illumin.sel { background: var(--purple); color: #fff; }
  .chip-alst { background: var(--sky-light); color: #1a7ab0; border-color: var(--sky); }
  .chip-alst.sel { background: var(--sky); color: #fff; }
  .chip-stri { background: var(--mint-light); color: #0e7a60; border-color: var(--mint); }
  .chip-stri.sel { background: var(--mint); color: #fff; }
  .chip-noctch { background: #FFF3E0; color: #b06020; border-color: #FFB74D; }
  .chip-noctch.sel { background: #FFB74D; color: #fff; }

  /* DETAIL PAGE */
  .detail-hero {
    background: linear-gradient(135deg, #FFE0EE, #F0E0FF);
    padding: 2rem 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
  .detail-img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    flex-shrink: 0;
    border: 2px solid rgba(255,107,157,0.3);
  }
  .detail-info { flex: 1; }
  .detail-info h2 { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.3; }
  .detail-info p { font-size: 12px; color: var(--text-sub); margin-top: 4px; }

  .info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }
  .info-table tr { border-bottom: 1px solid var(--border); }
  .info-table td:first-child {
    color: var(--text-sub);
    padding: 10px 0;
    width: 35%;
    font-size: 12px;
  }
  .info-table td:last-child {
    padding: 10px 0;
    font-weight: 700;
    color: var(--text);
  }

  .desc-box {
    background: var(--pink-pale);
    border-left: 3px solid var(--pink);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text);
  }

  /* VIDEO */
  .video-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
    margin-bottom: 12px;
  }
  .video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2D1B5E, #1a1035);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255,255,255,0.8);
    position: relative;
    cursor: pointer;
  }
  .play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255,107,157,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .video-note {
    font-size: 10px;
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: rgba(255,255,255,0.5);
  }
  .video-body { padding: 10px 14px 14px; }
  .video-title { font-size: 14px; font-weight: 700; color: var(--text); }
  .video-sub { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
  .video-links {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .video-link-chip {
    padding: 4px 12px;
    background: var(--pink-light);
    color: var(--pink);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }
  .video-link-chip:hover { background: var(--pink); color: #fff; }

  /* ABOUT */
  .about-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 1.25rem;
    margin-bottom: 12px;
  }
  .about-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .about-text { font-size: 13px; line-height: 1.8; color: var(--text); }
  .yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 20px;
    background: #FF0000;
    color: #fff;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
  }

  /* NEW BADGE */
  .new-badge {
    background: var(--pink);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 4px;
  }

  /* BACK BTN */
  .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-sub);
    cursor: pointer;
    font-family: inherit;
    margin: 1rem 1.25rem 0;
  }
  .back-btn:hover { border-color: var(--pink); color: var(--pink); }

  /* FOOTER */
  .footer {
    background: var(--text);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 11px;
    line-height: 1.8;
    margin-top: 2rem;
  }
  .footer a { color: var(--pink); text-decoration: none; }

  /* AD PLACEHOLDER */
  .ad-placeholder {
    background: repeating-linear-gradient(45deg, #f9f0fb, #f9f0fb 5px, #f4e8fa 5px, #f4e8fa 10px);
    border: 1.5px dashed var(--purple);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    color: var(--text-sub);
    font-size: 11px;
    margin: 1rem 0;
  }

  .related-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .related-scroll::-webkit-scrollbar { height: 4px; }
  .related-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  .related-scroll .costume-card { min-width: 130px; }
