/* ==========================================================================
   Animations & Motion
   ========================================================================== */

/* ---- AOS Custom Overrides ---- */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background-color var(--transition-base),
                padding var(--transition-base),
                box-shadow var(--transition-base);
}

.site-header--scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header__logo-img {
    height: 40px;
    width: auto;
    transition: height var(--transition-base);
}

.site-header--scrolled .site-header__logo-img {
    height: 32px;
}

.site-header__logo-text {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

/* ---- Navigation ---- */
.site-header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.site-header__menu a {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.1em;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.site-header__menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-base);
}

.site-header__menu a:hover {
    color: var(--color-gold);
}

.site-header__menu a:hover::after {
    width: 100%;
}

.site-header__cta {
    padding: 10px 28px;
    font-size: 0.8125rem;
}

/* ---- Hamburger ---- */
.site-header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.site-header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-base);
    transform-origin: center;
}

.site-header__hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.site-header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    z-index: 999;
}

.mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu__nav li {
    margin-bottom: 32px;
}

.mobile-menu__nav a {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-menu__nav a:hover {
    color: var(--color-gold);
}

.mobile-menu__cta {
    margin-top: 40px;
}

/* ---- Hero (レイヤー合成) ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-black);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero__emomo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.hero__emomo-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero__victory-img {
    max-width: 500px;
    width: 60vw;
    height: auto;
}

.hero__tagline {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: var(--color-gray-200);
    letter-spacing: 0.05em;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero__tagline-sub {
    font-size: clamp(0.7rem, 1.5vw, 0.875rem);
    color: var(--color-gray-300);
}

.hero__logo-img {
    max-width: 200px;
    width: 30vw;
    height: auto;
    margin: 8px 0;
}

.sp-only {
    display: none;
}

/* ---- Section Title Image ---- */
.section-title__img {
    display: block;
    max-height: 60px;
    width: auto;
    margin: 0 auto 40px;
    opacity: 0.85;
}

/* Hero scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero__scroll-indicator span {
    font-family: var(--font-accent);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    color: var(--color-gray-400);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-gray-600);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { top: -100%; }
    50%  { top: 0; }
    100% { top: 100%; }
}

/* ---- Page Header ---- */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
}

.page-header__bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--color-purple-glow);
    filter: blur(120px);
    opacity: 0.3;
}

.page-header__title {
    position: relative;
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin: 0 0 8px;
}

.page-header__subtitle {
    position: relative;
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    margin: 0 0 24px;
}

.page-header__breadcrumb {
    position: relative;
    font-family: var(--font-accent);
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.page-header__breadcrumb a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.page-header__breadcrumb a:hover {
    color: var(--color-gold);
}

.page-header__breadcrumb span {
    margin: 0 8px;
}

/* ---- Top About ---- */
.top-about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.top-about__image img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.top-about__heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 24px;
    line-height: 1.5;
}

.top-about__text p {
    margin-bottom: 32px;
}

/* ---- Features / Target ---- */
.top-features__image img,
.top-target__image img,
.about-features__image img,
.about-philosophy__image img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    border-radius: var(--border-radius-md);
}

/* ---- Flow Steps ---- */
.top-flow__steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.flow-step__number {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gold);
    min-width: 60px;
    line-height: 1;
}

.flow-step__content {
    flex: 1;
}

.flow-step__content img {
    width: 100%;
    border-radius: var(--border-radius-md);
}

/* ---- Liver Grid ---- */
.liver-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.liver-grid--full {
    grid-template-columns: repeat(4, 1fr);
}

.liver-card {
    text-decoration: none;
}

.liver-card .card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark-card);
    color: var(--color-gray-500);
    font-size: 0.875rem;
    aspect-ratio: 1 / 1;
}

/* ---- News List ---- */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.news-item:hover {
    background-color: var(--color-purple-subtle);
}

.news-item__date {
    font-family: var(--font-accent);
    font-size: 0.8125rem;
    color: var(--color-gray-400);
    min-width: 90px;
}

.news-item__tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-purple-glow);
    border: 1px solid var(--color-royal-purple);
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-purple-light);
    white-space: nowrap;
}

.news-item__title {
    color: var(--color-white);
    font-size: 0.9375rem;
    flex: 1;
}

/* ---- News Tags ---- */
.news-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-tags__item {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--color-gray-400);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.news-tags__item:hover,
.news-tags__item.is-active {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: var(--color-gold-glow);
}

/* ---- News Single ---- */
.news-single {
    max-width: 800px;
    margin: 0 auto;
}

.news-single__header {
    margin-bottom: 40px;
}

.news-single__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.news-single__date {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

.news-single__tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-purple-glow);
    border: 1px solid var(--color-royal-purple);
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-purple-light);
    text-decoration: none;
}

.news-single__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.5;
    margin: 0;
}

.news-single__thumbnail {
    margin-bottom: 40px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.news-single__thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.news-single__content {
    color: var(--color-gray-200);
    line-height: 2;
}

.news-single__content h2,
.news-single__content h3,
.news-single__content h4 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.news-single__content p {
    margin-bottom: 24px;
}

.news-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
}

.news-single__tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-single__tag-link {
    font-size: 0.8125rem;
    color: var(--color-gray-400);
}

.news-single__tag-link:hover {
    color: var(--color-gold);
}

/* ---- News Nav ---- */
.news-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-nav__prev,
.news-nav__next {
    min-height: 60px;
}

.news-nav__next {
    text-align: right;
}

.news-nav a {
    display: block;
    text-decoration: none;
}

.news-nav__label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-bottom: 4px;
}

.news-nav__title {
    color: var(--color-gray-300);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.news-nav a:hover .news-nav__title {
    color: var(--color-gold);
}

/* ---- About Message ---- */
.about-message__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-message__image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-message__text p {
    margin-bottom: 20px;
    line-height: 2;
}

.about-message__quote {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gold) !important;
    text-align: center;
    padding: 24px 0;
    margin: 32px 0 !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.about-message__signature {
    margin-top: 40px;
    text-align: right;
}

.about-message__role {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-gray-400);
}

.about-message__name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

/* ---- About Office / Label Tables ---- */
.about-office__table,
.about-label__table {
    max-width: 700px;
    margin: 0 auto;
}

.about-office__table table,
.about-label__table table {
    width: 100%;
    border-collapse: collapse;
}

.about-office__table tr,
.about-label__table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-office__table th,
.about-label__table th {
    text-align: left;
    padding: 20px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold);
    white-space: nowrap;
    width: 180px;
}

.about-office__table td,
.about-label__table td {
    padding: 20px 24px;
    font-size: 0.9375rem;
    color: var(--color-gray-200);
}

/* ---- About Label ---- */
.about-label__content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.about-label__logo img {
    width: 100%;
    border-radius: var(--border-radius-md);
}

.about-label__name {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 16px;
}

.about-label__description {
    color: var(--color-gray-300);
    margin-bottom: 32px;
}

/* ---- Liver Profile (Single) ---- */
.liver-profile__content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.liver-profile__image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.liver-profile__name-en {
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin: 0 0 4px;
}

.liver-profile__name {
    font-size: 2rem;
    margin: 0 0 12px;
}

.liver-profile__catchphrase {
    font-size: 1.0625rem;
    color: var(--color-gray-300);
    margin: 0 0 24px;
    font-style: italic;
}

.liver-profile__description {
    color: var(--color-gray-200);
    line-height: 2;
    margin-bottom: 24px;
}

.liver-profile__debut {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    margin-bottom: 24px;
}

.liver-profile__sns {
    display: flex;
    gap: 12px;
}

.liver-profile__sns-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gray-300);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.liver-profile__sns-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.liver-profile__content-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-gray-200);
    line-height: 2;
}

/* ---- CTA Section ---- */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--color-purple-glow);
    filter: blur(120px);
    opacity: 0.4;
}

.cta-section__inner {
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0 0 16px;
}

.cta-section__title-en {
    display: block;
    font-family: var(--font-accent);
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.cta-section__text {
    color: var(--color-gray-300);
    margin-bottom: 40px;
}

/* ---- Footer ---- */
.site-footer {
    background-color: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 60px 0 32px;
}

.site-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__logo-img {
    height: 32px;
    width: auto;
    opacity: 0.7;
}

.site-footer__logo-text {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-400);
}

.site-footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 32px;
}

.site-footer__nav a {
    font-family: var(--font-accent);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-400);
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.site-footer__nav a:hover {
    color: var(--color-gold);
}

.site-footer__sub ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__sub a {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

.site-footer__sub a:hover {
    color: var(--color-gray-300);
}

.site-footer__copyright {
    padding-top: 24px;
    text-align: center;
}

.site-footer__copyright p {
    font-size: 0.75rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* ---- Legal Content (Privacy Policy) ---- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-gray-200);
    line-height: 2;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin: 48px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-content h3 {
    font-size: 1.125rem;
    margin: 32px 0 12px;
}

.legal-content p {
    margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--color-gray-300);
}

/* ---- FAQ Accordion ---- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item__question {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--color-gold);
}

.faq-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-purple);
    color: var(--color-white);
    font-family: var(--font-accent);
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-item__icon--a {
    background: var(--gradient-gold);
    color: var(--color-black);
}

.faq-item__q-text {
    flex: 1;
    font-weight: 500;
}

.faq-item__toggle {
    font-size: 1.5rem;
    color: var(--color-gray-500);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item__question[aria-expanded="true"] .faq-item__toggle {
    transform: rotate(45deg);
}

.faq-item__answer {
    display: none;
    padding: 0 0 24px 0;
    align-items: flex-start;
    gap: 16px;
}

.faq-item__answer.is-open {
    display: flex;
}

.faq-item__a-text {
    color: var(--color-gray-300);
    line-height: 1.8;
    margin: 0;
    padding-top: 6px;
}

/* ---- Pagination ---- */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    color: var(--color-gray-400);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.nav-links .current {
    background: var(--gradient-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
    font-weight: 700;
}
