/* ===========================
   基本設定
   =========================== */
:root {
    /* カラーパレット - 青系 */
    --primary-color: #2C5282;
    --primary-light: #EBF8FF;
    --primary-dark: #1A365D;
    --secondary-color: #3182CE;
    --secondary-light: #BEE3F8;
    --accent-color: #4299E1;
    --text-primary: #1A202C;
    --text-secondary: #2D3748;
    --text-light: #4A5568;
    --bg-white: #FFFFFF;
    --bg-light: #F7FAFC;
    --bg-gray: #EDF5FF;
    --border-color: #BEE3F8;
    
    /* フォント */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-heading: 'Noto Serif JP', 'Zen Maru Gothic', serif;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 3rem;
    
    /* ブレイクポイント */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.8;
    background-color: var(--bg-white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   Header / Navigation
   =========================== */
.site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-image {
    height: 140px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    margin-top: -32px;
    margin-bottom: -38px;
}

.logo-image:hover {
    opacity: 0.8;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 300;
}

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

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 100px 2rem 2rem;
    gap: 0;
    list-style: none;
    transition: right 0.3s ease;
    z-index: 1000;
}

.nav-menu.active {
    right: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: block;
}

.nav-menu li:last-child a {
    border-bottom: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    padding-left: 10px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: 
        linear-gradient(rgba(10, 40, 80, 0.6), rgba(20, 60, 110, 0.6)),
        url('../images/hero-ripple.jpg') center center / cover no-repeat;
    padding: calc(var(--spacing-xl) * 1.69) 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 5rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-phrase {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--spacing-lg);
}

.phrase-main {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: rgba(40, 60, 100, 0.9);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-primary:hover {
    background-color: rgba(30, 45, 80, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(40, 60, 100, 0.5);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: #3DB8B0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* ===========================
   Sections
   =========================== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.subtitle-small {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    line-height: 0.5;
}

/* ===========================
   Concept Section
   =========================== */
.concept-section {
    background-color: var(--bg-light);
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.concept-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.concept-image {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--spacing-sm);
    overflow: hidden;
    border-radius: 12px;
}

.concept-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.concept-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.concept-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: left;
}

/* ===========================
   Half Step Section
   =========================== */
.half-step-section {
    background-color: var(--bg-white);
}

.half-step-visual {
    max-width: 800px;
    margin: 0 auto;
}

.step-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.step-item {
    text-align: center;
    flex: 1;
}

.step-item.highlight {
    background-color: var(--primary-light);
    padding: var(--spacing-md);
    border-radius: 20px;
}

.step-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.step-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.step-bar {
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 10px;
    margin: 0 auto;
}

.full-step {
    width: 100%;
}

.half-step {
    width: 50%;
}

.step-arrow {
    font-size: 2rem;
    color: var(--text-light);
}

.half-step-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2;
}

/* ===========================
   Reinterpretation Section
   =========================== */
.reinterpretation-section {
    background-color: var(--bg-light);
}

.reinterpretation-image {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.reinterpretation-image img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.reinterpretation-content {
    max-width: 700px;
    margin: 0 auto;
}

.saying-original,
.saying-new {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.saying-original h3,
.saying-new h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.saying-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--spacing-sm) 0;
}

.saying-highlight {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--spacing-sm) 0;
    line-height: 1.8;
}

.arrow-down {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin: var(--spacing-md) 0;
}

/* ===========================
   Member Phrase Section
   =========================== */
.member-phrase-section {
    background-color: var(--bg-white);
}

.phrase-box-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
}

.member-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.phrase-bubble {
    position: relative;
    flex: 1;
}

.phrase-bubble::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid var(--accent-color);
}

.phrase-box {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    color: var(--bg-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.phrase-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.phrase-large {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.phrase-explanation {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
}

.sticker-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.sticker-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.sticker-image-wrapper {
    text-align: center;
    margin: var(--spacing-md) 0;
}

.sticker-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sticker-caption {
    font-size: 12px !important;
    color: var(--text-light);
    margin-top: 0.1rem;
    text-align: center;
}

.sticker-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background-color: var(--secondary-light);
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 2;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background-color: var(--text-primary);
    color: var(--bg-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-subtext {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: var(--spacing-sm);
}

.footer-motto {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--accent-color);
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===========================
   About Page Specific
   =========================== */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.mvv-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.mvv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    text-align: center;
}

.mvv-card ul {
    list-style: none;
    color: var(--text-secondary);
}

.mvv-card li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
}

.mvv-card li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 900;
}

.problem-box {
    background-color: var(--primary-light);
    padding: var(--spacing-md);
    border-radius: 20px;
    margin-bottom: var(--spacing-lg);
}

.problem-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.problem-list {
    list-style: none;
    color: var(--text-secondary);
}

.problem-list li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
}

.problem-list li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

.action-style-box {
    background-color: var(--secondary-light);
    padding: var(--spacing-md);
    border-radius: 20px;
}

.action-style-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.action-style-box ul {
    list-style: none;
    color: var(--text-secondary);
}

.action-style-box li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
}

.action-style-box li:before {
    content: "✨";
    position: absolute;
    left: 0;
}

/* ===========================
   Quotes Page Specific
   =========================== */
.quote-card {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: var(--spacing-lg);
}

.quote-card.highlight {
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
}

.quote-image-wrapper {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.quote-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--bg-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.quote-author {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.quote-source {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--spacing-md) 0;
    line-height: 1.8;
    padding: var(--spacing-sm);
    border-left: 4px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0 10px 10px 0;
}

.quote-translation {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.quote-explanation {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9rem;
}

.quote-source-detail {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
}

.quote-source-detail p {
    margin: 0.25rem 0;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .logo-image {
        height: 112px;
        margin-top: -23px;
        margin-bottom: -30px;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .phrase-main {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: var(--spacing-sm);
    }
    
    .nav-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .step-comparison {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .phrase-large {
        font-size: 1.5rem;
    }
    
    .phrase-box-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .member-icon {
        width: 100px;
        height: 100px;
    }
    
    .phrase-bubble::before {
        display: none;
    }
    
    .quote-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 98px;
        margin-top: -21px;
        margin-bottom: -27px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-image {
        width: 120px;
        height: 120px;
    }
}
