/* リセットとベースの設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #fafafa;
    overflow-x: hidden;
}

/* 背景アニメーション - EC物流をイメージ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.logistics-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(160, 174, 192, 0.3), transparent);
    border-radius: 2px;
    animation: logistics-flow 8s linear infinite;
}

.logistics-line:nth-child(1) {
    top: 20%;
    left: -100px;
    width: 200px;
    height: 2px;
    animation-delay: 0s;
}

.logistics-line:nth-child(2) {
    top: 40%;
    left: -150px;
    width: 250px;
    height: 2px;
    animation-delay: 2s;
}

.logistics-line:nth-child(3) {
    top: 60%;
    left: -120px;
    width: 180px;
    height: 2px;
    animation-delay: 4s;
}

.logistics-line:nth-child(4) {
    top: 80%;
    left: -200px;
    width: 300px;
    height: 2px;
    animation-delay: 6s;
}

.logistics-line:nth-child(5) {
    top: 30%;
    right: -100px;
    width: 160px;
    height: 2px;
    animation: logistics-flow-reverse 10s linear infinite;
    animation-delay: 1s;
}

@keyframes logistics-flow {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
    }
}

@keyframes logistics-flow-reverse {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(-100vw - 100px));
        opacity: 0;
    }
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #4a5568;
}

.brand-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #3182ce;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3182ce, #63b3ed);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.contact-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    transition: all 0.3s ease;
}

/* メインコンテンツ */
.main {
    margin-top: 80px;
}

/* ヒーローセクション */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(247, 250, 252, 0.8) 0%, rgba(237, 242, 247, 0.8) 100%);
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    color: #234e52;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.title-line {
    display: block;
    animation: title-reveal 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes title-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 2rem;
    animation: subtitle-reveal 1s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes subtitle-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: cta-reveal 1s ease-out 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes cta-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-button.secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.data-visualization {
    position: relative;
    width: 100%;
    height: 100%;
}

.data-point {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: float-around 12s ease-in-out infinite;
}

.data-point:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.data-point:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.data-point:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.data-point:nth-child(4) {
    top: 40%;
    right: 35%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.data-point:nth-child(5) {
    top: 75%;
    right: 40%;
    animation-delay: 8s;
    animation-duration: 13s;
}

.data-point:nth-child(6) {
    top: 35%;
    left: 40%;
    animation-delay: 10s;
    animation-duration: 11s;
}

.data-point.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    animation: data-pulse 2s ease-in-out infinite;
}

@keyframes float-around {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -15px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, -25px) rotate(-3deg);
    }
    75% {
        transform: translate(-20px, 10px) rotate(7deg);
    }
}

@keyframes data-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
    }
}

/* セクション共通スタイル */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #718096;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ミッションセクション */
.mission {
    background: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.mission-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.mission-card p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.mission-note {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.mission-note p {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* 事業内容セクション */
.business {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.business-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.business-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.item-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.item-text {
    font-weight: 500;
    color: #2d3748;
}

/* 取扱商品セクション */
.products {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.product-category {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-category:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.category-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.category-name {
    font-weight: 500;
    font-size: 1rem;
}

/* 主要取引先セクション */
.partners {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.partner-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.partner-icon {
    font-size: 1.8rem;
}

.partner-name {
    font-weight: 500;
    color: #2d3748;
}

.partners-note {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #f56565;
}

.note-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.note-icon {
    font-size: 1.5rem;
}

.note-title {
    font-weight: 600;
    color: #2d3748;
}

.partners-note p {
    color: #4a5568;
    line-height: 1.6;
}

/* 主要販路セクション */
.channels {
    background: white;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.channel-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.channel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.channel-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.channel-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.channel-link:hover {
    color: #764ba2;
    transform: translateY(-2px);
}

.link-icon {
    transition: transform 0.3s ease;
}

.channel-link:hover .link-icon {
    transform: translate(2px, -2px);
}

/* 会社概要セクション */
.company {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.company-info {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.info-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #4a5568;
}

.info-value {
    color: #2d3748;
}

/* お問い合わせセクション */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact .section-title,
.contact .section-description {
    color: white;
}

.contact .section-title::after {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-icon {
    font-size: 2rem;
}

.contact-message p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-notes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.note-icon {
    font-size: 1.2rem;
}

.contact-action {
    text-align: center;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #667eea;
    padding: 1.5rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: #f7fafc;
}

.button-icon {
    font-size: 1.3rem;
}

.button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-button:hover .button-arrow {
    transform: translateX(5px);
}

/* フッター */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: #a0aec0;
    font-size: 0.95rem;
}

.footer-info p {
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* モバイルで背景アニメーションを非表示にして軽減 */
    .logistics-line {
        display: none;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .data-point {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* モバイルでデータポイントを減らす（一部を非表示） */
    .data-point:nth-child(3),
    .data-point:nth-child(5),
    .data-point:nth-child(6) {
        display: none;
    }
    
    /* 残したデータポイントのアニメーションを穏やかに */
    .data-point:nth-child(1),
    .data-point:nth-child(2),
    .data-point:nth-child(4) {
        animation-duration: 20s;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .info-label {
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .business-list {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
    }
}

/* スクロールアニメーション用のクラス */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* プライバシーポリシーモーダル */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.privacy-modal.active {
    display: flex;
    animation: modal-fade-in 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modal-slide-up 0.3s ease-out;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f7fafc;
    color: #2d3748;
    transform: scale(1.1);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 2rem 2rem;
}

.privacy-content {
    line-height: 1.7;
    color: #4a5568;
}

.privacy-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.privacy-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin: 1.5rem 0 0.75rem;
}

.privacy-content p {
    margin-bottom: 1rem;
}

.privacy-content ul,
.privacy-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.privacy-content ol li {
    margin-bottom: 0.75rem;
}

.policy-date {
    text-align: center;
    font-weight: 600;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #667eea !important;
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* モーダル用カスタムスクロールバー */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-modal {
        padding: 1rem 0.5rem;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 0 1.5rem 1.5rem;
    }
    
    .privacy-content h3 {
        font-size: 1.1rem;
    }
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
} 