:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0d1b2a;
    --secondary-color: #d69e2e;
    --secondary-light: #ecc94b;
    --accent-color: #38b2ac;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-cream: #fffbf0;
    --bg-gradient: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    background-color: var(--bg-light);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}
code, pre {
    font-family: 'Roboto Mono', monospace;
}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--secondary-color);
}
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}
.loader-content {
    text-align: center;
    color: #fff;
}
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}
.loader-text {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.navbar {
    padding: 15px 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-icon {
    border-radius: 8px;
}
.brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.brand-accent {
    color: var(--secondary-color);
}
.nav-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}
.dropdown-menu {
    background: #fff;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 12px;
    margin-top: 10px;
}
.dropdown-item {
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-primary);
}
.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}
.burger-menu {
    border: none;
    background: transparent;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.burger-line {
    width: 25px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}
.burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
main {
    padding-top: 80px;
    min-height: calc(100vh - 400px);
}
.hero-section {
    background: var(--bg-gradient);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.hero-title span {
    color: var(--secondary-color);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}
.btn-hero-primary:hover {
    background: var(--secondary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(214, 158, 46, 0.3);
}
.btn-hero-secondary {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.hero-image {
    position: relative;
}
.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.hero-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--secondary-color);
    opacity: 0.1;
    top: -50px;
    right: -50px;
}
.section-padding {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}
.bg-light-custom {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}
.bg-pattern {
    background-color: var(--bg-light);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(26, 54, 93, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(214, 158, 46, 0.03) 0%, transparent 50%);
}
.article-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}
.article-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.article-card:hover .article-card-image img {
    transform: scale(1.05);
}
.article-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.article-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.article-card-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.article-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.article-card-date {
    color: var(--text-light);
    font-size: 0.85rem;
}
.article-card-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.article-card-link:hover {
    color: var(--secondary-color);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 991px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    font-size: 2rem;
}
.feature-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.contact-section {
    background: var(--bg-gradient);
    padding: 100px 0;
    position: relative;
}
.contact-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
.contact-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}
.contact-card:hover {
    transform: translateY(-5px);
}
.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 1.75rem;
}
.contact-card-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.contact-card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.contact-card-link {
    color: var(--primary-color);
    font-weight: 600;
    word-break: break-all;
}
.contact-card-link:hover {
    color: var(--secondary-color);
}
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.faq-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}
.faq-item {
    background: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.faq-question {
    padding: 24px 30px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover {
    background: var(--bg-cream);
}
.faq-question i {
    transition: var(--transition);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 0 30px 24px;
    max-height: 500px;
}
.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}
.site-footer {
    background: var(--primary-dark);
    position: relative;
}
.footer-wave {
    color: var(--bg-light);
    margin-bottom: -1px;
}
.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}
.footer-content {
    padding: 60px 0 30px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.footer-brand .accent {
    color: var(--secondary-color);
}
.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}
.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
}
.copyright, .update-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    padding: 24px;
    animation: slideUp 0.5s ease;
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
.cookie-text h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}
.cookie-text a {
    color: var(--primary-color);
    font-weight: 600;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.btn-cookie-accept {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}
.btn-cookie-accept:hover {
    background: var(--primary-light);
    color: #fff;
}
.btn-cookie-reject {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}
.btn-cookie-reject:hover {
    background: var(--bg-light);
}
.page-hero {
    background: var(--bg-gradient);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-light));
}
.page-hero-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
}
.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb-nav {
    padding: 16px 0;
    background: transparent;
}
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}
.article-content {
    padding: 60px 0 80px;
}
.article-main {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--card-shadow);
}
@media (max-width: 767px) {
    .article-main {
        padding: 30px 20px;
    }
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.article-date, .article-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}
.article-category {
    background: var(--bg-cream);
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 500;
}
.article-body h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid var(--secondary-color);
}
.article-body h3 {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin: 30px 0 16px;
}
.article-body p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.article-body ul, .article-body ol {
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding-left: 24px;
}
.article-body li {
    margin-bottom: 10px;
}
.article-body pre {
    background: var(--primary-dark);
    color: #e2e8f0;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
}
.article-body code {
    font-size: 0.9rem;
}
.article-body .inline-code {
    background: var(--bg-cream);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}
.article-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.article-image img {
    width: 100%;
    height: auto;
}
.article-image figcaption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 12px;
    background: var(--bg-light);
}
.info-box {
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f7ff 100%);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 24px 0;
}
.info-box-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-box p {
    margin: 0;
    font-size: 0.95rem;
}
.tip-box {
    background: linear-gradient(135deg, #fffbe6 0%, #fff8e6 100%);
    border-left: 4px solid var(--secondary-color);
}
.tip-box .info-box-title {
    color: #b7791f;
}
.article-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-widget {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: var(--card-shadow);
}
.sidebar-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-color);
}
.sidebar-links {
    list-style: none;
    padding: 0;
}
.sidebar-links li {
    margin-bottom: 12px;
}
.sidebar-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-links a:hover {
    color: var(--primary-color);
}
.related-articles {
    padding: 80px 0;
    background: var(--bg-pattern);
}
.about-intro {
    padding: 80px 0;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}
.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
}
.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}
.values-section {
    padding: 80px 0;
    background: var(--bg-cream);
}
.policy-content {
    padding: 60px 0 80px;
}
.policy-main {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--card-shadow);
}
.policy-main h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
}
.policy-main h2:first-child {
    margin-top: 0;
}
.policy-main p, .policy-main li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
}
.policy-main ul {
    padding-left: 24px;
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .page-hero-title {
        font-size: 1.75rem;
    }
    .contact-grid {
        gap: 20px;
    }
    .navbar-collapse {
        background: var(--primary-dark);
        margin-top: 15px;
        padding: 20px;
        border-radius: var(--border-radius);
    }
}
