/*
Theme Name: Cocoon Child
Template: cocoon-master
Version: 1.0.0
*/

/* =========================
   Base
========================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: #111;
    background: #fff;
    line-height: 1.9;
    padding-top: 88px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.font-serif {
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.04em;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

p {
    word-break: break-word;
}

.content,
#main {
    background: transparent;
}

/* =========================
   Header
========================= */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}

#site-header.is-scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo a {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: #111;
}

.global-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.global-nav a {
    text-decoration: none;
    color: #111;
    font-size: 12px;
    letter-spacing: 0.18em;
    transition: opacity .25s ease;
}

.global-nav a:hover {
    opacity: 0.6;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    width: 28px;
    height: 22px;
    cursor: pointer;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: #111;
    position: absolute;
    left: 0;
    transition: .25s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}
.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* =========================
   Footer
========================= */

#site-footer {
    background: #0c0c0c;
    color: #fff;
    padding: 110px 20px 60px;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.footer-project h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 30px;
    letter-spacing: 0.16em;
    margin-bottom: 24px;
}

.footer-project p {
    max-width: 620px;
    margin: 0 auto 54px;
    font-size: 14px;
    line-height: 2.1;
    color: rgba(255,255,255,0.72);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 54px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.18em;
    transition: opacity .25s ease;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.footer-org p {
    font-size: 12px;
    line-height: 2;
    color: rgba(255,255,255,0.5);
}

/* =========================
   Interview Article
========================= */

.interview-article {
    background: #fff;
}

.interview-hero {
    padding: 160px 20px 80px;
    text-align: center;
}

.interview-hero h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    line-height: 1.5;
    font-weight: 600;
    max-width: 920px;
    margin: 0 auto 20px;
}

.interview-date {
    font-size: 13px;
    letter-spacing: 0.15em;
    color: #777;
}

.interview-thumbnail {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.interview-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.interview-content {
    max-width: 760px;
    margin: 140px auto;
    padding: 0 24px;
    font-size: 17px;
    line-height: 2.2;
    color: #1a1a1a;
}

.interview-content p {
    margin: 0 0 28px;
}

.interview-content h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 30px;
    line-height: 1.6;
    margin-top: 110px;
    margin-bottom: 34px;
    letter-spacing: 0.04em;
}

.interview-content strong {
    font-weight: 600;
}

.interview-content figure,
.interview-content .wp-block-image {
    margin: 80px 0;
}

.interview-content figure img,
.interview-content .wp-block-image img {
    width: 100%;
    display: block;
}

.interview-content .wp-block-image {
    margin-left: 0;
    margin-right: 0;
}

.interview-content > p:first-child {
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #666;
}

/* =========================
   Structured Interview Data
========================= */

.interview-data-section {
    max-width: 820px;
    margin: 140px auto 0;
    padding: 0 24px;
}

.interview-data-block {
    border-top: 1px solid #e6e6e6;
    padding: 44px 0;
}

.interview-data-block h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 26px;
    line-height: 1.6;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.interview-data-block p {
    font-size: 16px;
    line-height: 2.1;
    color: #222;
    white-space: pre-wrap;
}

/* =======================
   Alliance Section
======================= */

.alliance-section {
    background: #f7f7f7;
    padding: 140px 20px;
    margin-top: 160px;
}

.alliance-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 60px;
}

.alliance-box {
    background: #fff;
    padding: 60px;
    border: 1px solid #e5e5e5;
}

.alliance-box h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    margin-bottom: 30px;
    letter-spacing: 0.08em;
}

.alliance-box p {
    font-size: 16px;
    line-height: 2;
}

/* =======================
   Relay Section
======================= */

.relay-section {
    background: #0c0c0c;
    color: #fff;
    padding: 180px 20px;
    text-align: center;
}

.relay-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #888;
}

.relay-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    margin-bottom: 40px;
}

.relay-comment {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 2;
}

.relay-name a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.45);
    transition: .25s;
}

.relay-name a:hover {
    border-bottom-color: #fff;
}

/* =================================
   Interview Archive
================================= */

.interview-archive-hero {
    padding: 150px 20px 100px;
    background: #f7f7f5;
    border-bottom: 1px solid #e8e8e3;
}

.interview-archive-hero-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.archive-eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
    color: #777;
    margin-bottom: 24px;
}

.interview-archive-hero h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 56px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 28px;
    letter-spacing: .04em;
}

.archive-lead {
    font-size: 16px;
    line-height: 2;
    color: #444;
}

.interview-archive-list {
    padding: 90px 20px 140px;
    background: #fff;
}

.interview-archive-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.interview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 38px;
}

.interview-card-link {
    display: block;
    text-decoration: none;
    color: #111;
}

.interview-card-image {
    overflow: hidden;
    background: #ecece8;
    aspect-ratio: 4 / 3;
    margin-bottom: 22px;
}

.interview-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.interview-card:hover .interview-card-image img {
    transform: scale(1.04);
}

.interview-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 26px;
    color: #888;
}

.interview-card-date {
    font-size: 12px;
    letter-spacing: .15em;
    color: #7d7d7d;
    margin-bottom: 14px;
}

.interview-card-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    line-height: 1.7;
    margin: 0 0 18px;
    transition: opacity .25s ease;
}

.interview-card:hover .interview-card-title {
    opacity: .72;
}

.interview-card-excerpt {
    font-size: 15px;
    line-height: 2;
    color: #444;
}

.interview-pagination {
    margin-top: 80px;
    text-align: center;
}

.interview-pagination .nav-links {
    display: inline-flex;
    gap: 18px;
    align-items: center;
}

.interview-pagination a,
.interview-pagination span {
    text-decoration: none;
    color: #111;
    font-size: 14px;
}

.interview-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

/* =================================
   About Page
================================= */

.about-page {
    background: #fff;
    color: #111;
}

.about-hero {
    padding: 150px 20px 110px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.about-eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
    color: #7a7a7a;
    margin-bottom: 24px;
}

.about-hero h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 56px;
    line-height: 1.42;
    font-weight: 600;
    margin: 0 0 34px;
    letter-spacing: .04em;
}

.about-intro {
    font-size: 18px;
    line-height: 2.2;
    color: #333;
}

.about-block {
    padding: 0 20px 110px;
}

.about-block-alt {
    background: #f7f7f5;
    padding-top: 95px;
    padding-bottom: 95px;
}

.about-block-inner {
    max-width: 760px;
    margin: 0 auto;
}

.about-block h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 34px;
    margin: 0 0 46px;
    letter-spacing: .05em;
}

.about-block p {
    font-size: 17px;
    line-height: 2.2;
    color: #222;
    margin: 0 0 28px;
}

.about-steps {
    display: grid;
    gap: 38px;
}

.about-step {
    border-top: 1px solid #ddd;
    padding-top: 28px;
}

.about-step-no {
    display: block;
    font-size: 12px;
    letter-spacing: .2em;
    color: #777;
    margin-bottom: 10px;
}

.about-step h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    margin: 0 0 16px;
}

.about-step p {
    margin-bottom: 0;
}

/* =================================
   Home top page adjust
================================= */

body.home {
    padding-top: 0;
}

/* =========================
   Responsive
========================= */

@media (min-width: 768px) {
    .alliance-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .interview-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }

    .header-inner {
        padding: 16px 18px;
    }

    .logo a {
        font-size: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .global-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        right: 18px;
        width: min(280px, calc(100vw - 36px));
        background: rgba(255,255,255,0.98);
        border: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 18px 40px rgba(0,0,0,0.08);
        padding: 18px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .global-nav.is-open {
        display: flex;
    }

    .global-nav a {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    #site-footer {
        padding: 90px 20px 50px;
    }

    .footer-project h2 {
        font-size: 24px;
    }

    .footer-project p {
        font-size: 13px;
    }

    .footer-nav {
        gap: 14px;
    }

    .interview-hero {
        padding: 120px 20px 60px;
    }

    .interview-hero h1 {
        font-size: 34px;
    }

    .interview-content {
        margin: 90px auto;
        padding: 0 20px;
        font-size: 16px;
    }

    .interview-content h2,
    .interview-data-block h2,
    .alliance-box h3,
    .about-step h3 {
        font-size: 24px;
    }

    .relay-name {
        font-size: 30px;
    }

    .interview-archive-hero h1,
    .about-hero h1 {
        font-size: 38px;
    }

    .about-intro,
    .about-block p,
    .interview-card-excerpt {
        font-size: 16px;
    }

    .about-block h2 {
        font-size: 28px;
    }

    .interview-card-title {
        font-size: 24px;
    }
}
/* =================================
   Network Page
================================= */

.network-page {
    background: #fff;
    color: #111;
}

.network-hero {
    padding: 150px 20px 110px;
    background: #f7f7f5;
    border-bottom: 1px solid #e8e8e3;
}

.network-hero-inner {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.network-eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
    color: #777;
    margin-bottom: 24px;
}

.network-hero h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 56px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 28px;
    letter-spacing: .04em;
}

.network-intro {
    font-size: 16px;
    line-height: 2;
    color: #444;
    max-width: 760px;
    margin: 0 auto 42px;
}

.network-count {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 24px 32px;
    border: 1px solid #ddd;
    background: #fff;
}

.network-count-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 10px;
}

.network-count-label {
    font-size: 11px;
    letter-spacing: .16em;
    color: #666;
    text-transform: uppercase;
}

.network-list-section {
    padding: 90px 20px 140px;
}

.network-list-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.network-list {
    display: grid;
    gap: 28px;
}

.network-item {
    display: grid;
    grid-template-columns: 1.2fr 60px 1fr;
    gap: 24px;
    align-items: start;
    padding: 34px 0;
    border-top: 1px solid #e5e5e5;
}

.network-item-date {
    font-size: 12px;
    letter-spacing: .14em;
    color: #777;
    margin-bottom: 12px;
}

.network-item-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    line-height: 1.7;
    margin: 0;
}

.network-item-title a {
    text-decoration: none;
}

.network-item-title a:hover {
    opacity: .65;
}

.network-arrow {
    font-size: 24px;
    color: #999;
    text-align: center;
    padding-top: 18px;
}

.network-next-label {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 12px;
}

.network-next-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.network-next-name a {
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.18);
}

.network-next-name a:hover {
    border-bottom-color: rgba(0,0,0,0.6);
}

.network-next-comment {
    font-size: 14px;
    line-height: 2;
    color: #444;
    margin: 0;
}

.network-next-empty {
    color: #aaa;
}

.network-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

@media (max-width: 900px) {
    .network-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .network-arrow {
        text-align: left;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .network-hero {
        padding: 120px 20px 80px;
    }

    .network-hero h1 {
        font-size: 38px;
    }

    .network-intro {
        font-size: 15px;
    }

    .network-count-number {
        font-size: 34px;
    }

    .network-item-title {
        font-size: 24px;
    }

    .network-next-name {
        font-size: 22px;
    }
}
/* =================================
   Relay Multi
================================= */

.relay-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 38px;
    line-height: 1.6;
    margin: 0 0 56px;
}

.relay-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    text-align: left;
}

.relay-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 28px;
}

.relay-card-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.relay-card-name a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.35);
}

.relay-card-name a:hover {
    border-bottom-color: #fff;
}

.relay-card-comment {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,0.76);
    margin: 0;
}

/* =================================
   Network Multi
================================= */

.network-next-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.network-next-card {
    border: 1px solid #e5e5e5;
    padding: 18px;
    background: #fafafa;
}

.network-next-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.network-next-name a {
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.18);
}

.network-next-name a:hover {
    border-bottom-color: rgba(0,0,0,0.6);
}

.network-next-comment {
    font-size: 13px;
    line-height: 1.9;
    color: #444;
    margin: 0;
}

@media (max-width: 900px) {
    .relay-grid {
        grid-template-columns: 1fr;
    }

    .network-next-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .relay-heading {
        font-size: 30px;
        margin-bottom: 36px;
    }

    .relay-card-name {
        font-size: 22px;
    }

    .network-next-name {
        font-size: 18px;
    }
}