/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', 'Klee One', cursive, sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    background-color: #fef9f3;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(173, 216, 230, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 218, 185, 0.1) 0%, transparent 50%);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 182, 193, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(173, 216, 230, 0.03) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(255, 218, 185, 0.02) 50%, transparent 51%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 3px solid #fff;
    border-image: linear-gradient(90deg, #ff9a9e, #fecfef, #ff9a9e) 1;
}

.header::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(90deg,
            #ff9a9e 0px,
            #ff9a9e 10px,
            #fecfef 10px,
            #fecfef 20px);
    border-radius: 2px;
}

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

.logo {
    position: relative;
    transform: rotate(-1deg);
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-right: 10px;
}

.logo::after {
    content: 'NekoNamae.top';
    font-family: 'Klee One', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 0;
    right: 0;
    font-size: 1.8rem;
    animation: none;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2) rotate(180deg);
    }
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ヒーローセクション */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q30,10 50,50 Q70,90 90,50" fill="none" stroke="white" stroke-width="2" opacity="0.2"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 80px;
    height: 80px;
    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="30" fill="none" stroke="white" stroke-width="2" opacity="0.2"/><circle cx="50" cy="50" r="15" fill="none" stroke="white" stroke-width="1" opacity="0.3"/></svg>');
    animation: float 4s ease-in-out infinite reverse;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:active::after {
    width: 300px;
    height: 300px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cat-illustration {
    position: relative;
    display: inline-block;
}

.cat-main-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.cat-hearts {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 2rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.cat-stars {
    position: absolute;
    bottom: -10px;
    left: -30px;
    font-size: 1.5rem;
    animation: twinkle 1.5s ease-in-out infinite;
}

.generator-cat-decoration {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    z-index: 10;
    opacity: 0.8;
}

.generator-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ff9a9e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: rotate(180deg);
    }
}

/* セクション共通スタイル */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    padding: 1rem 2rem;
    text-shadow:
        2px 2px 0px rgba(255, 255, 255, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #ff9a9e, #fecfef, #a8e6cf, #ff9a9e) 1;
    border-radius: 20px;
    opacity: 0.3;
}

/* 名前生成器セクション */
.generator-section {
    padding: 4rem 0;
    background: #fff;
}

.generator-card {
    background: #fff;
    border-radius: 25px;
    padding: 2rem;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    border: 3px solid transparent;
    background-image:
        linear-gradient(white, white),
        linear-gradient(135deg, #ff9a9e, #fecfef, #a8e6cf);
    background-origin: border-box;
    background-clip: content-box, border-box;
    position: relative;
    transform: rotate(-0.5deg);
}

.generator-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 154, 158, 0.1) 50%, transparent 70%);
    border-radius: 30px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

.generator-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 154, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 230, 207, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
}

@keyframes borderGlow {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.6;
    }
}

.question-container {
    text-align: center;
}

.question {
    margin-bottom: 2rem;
}

.question h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.option-button {
    background: #f8f9fa;
    border: 3px solid #e9ecef;
    padding: 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Klee One', cursive;
    position: relative;
    transform: rotate(0.5deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 1rem;
}

.option-button:nth-child(even) {
    transform: rotate(-0.5deg);
}

.option-button::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    pointer-events: none;
}

.option-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.option-button:active::after {
    width: 300px;
    height: 300px;
}

.option-button:hover {
    background: #e9ecef;
    transform: translateY(-3px) rotate(0deg) scale(1.05);
    box-shadow:
        0 8px 15px rgba(0, 0, 0, 0.15),
        0 2px 5px rgba(0, 0, 0, 0.1);
}

.option-button.selected {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: white;
    border-color: #ff9a9e;
}

.next-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.next-button:hover {
    transform: translateY(-2px);
}

.next-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.next-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.next-button:hover::before {
    left: 100%;
}

.next-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.next-button:active::after {
    width: 300px;
    height: 300px;
}

/* 結果表示 */
.result-container {
    text-align: center;
}

.result-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.name-results {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.name-result {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 1rem;
}

.name-result h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.restart-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.restart-button:hover {
    background: #5a6268;
}

.restart-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.restart-button:hover::before {
    left: 100%;
}

/* 人気の名前セクション */
.popular-names {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
}

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

.name-card {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
    border: 2px solid #ffeaa7;
    position: relative;
    transform: rotate(1deg);
}

.name-card:nth-child(even) {
    transform: rotate(-1deg);
}

.name-card::before {
    content: '🐾';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.2rem;
    opacity: 0.6;
}

.name-card::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 15px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff9a9e 30%, transparent 30%);
    border-radius: 50%;
    opacity: 0.3;
}

.name-card:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.02);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.15),
        0 5px 10px rgba(0, 0, 0, 0.1);
}

.name-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.name-card p {
    color: #666;
    font-size: 0.9rem;
}

.name-emoji {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
    animation: bounce 2s ease-in-out infinite;
}

.name-rating {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ブログセクション */
.blog-section {
    padding: 4rem 0;
    background: #fff;
}

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

.blog-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 2px solid #e9ecef;
    position: relative;
    transform: rotate(0.5deg);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.blog-card:nth-child(even) {
    transform: rotate(-0.5deg);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    pointer-events: none;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 154, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 230, 207, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
}

.blog-card:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.02);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.15),
        0 5px 10px rgba(0, 0, 0, 0.1);
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-icon {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

/* フッター */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 浮动装饰元素样式 */
.floating-decoration {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

.decoration-1 {
    top: 15%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.decoration-2 {
    top: 60%;
    right: 15%;
    animation: float 6s ease-in-out infinite reverse;
}

.decoration-3 {
    bottom: 20%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

.decoration-4 {
    top: 10%;
    right: 10%;
    animation: float 5s ease-in-out infinite reverse;
}

/* 文章モーダルスタイル */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.article-modal-content {
    background: #fef9f3;
    border-radius: 25px;
    padding: 2rem;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 3px solid #ff9a9e;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    font-family: 'Klee One', cursive;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #ff9a9e;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #ff6b6b;
}

.article-content h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Klee One', cursive;
    position: relative;
}

.article-content h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    margin: 1rem auto;
    border-radius: 2px;
}

.tip-section,
.name-category,
.ranking-section,
.trend-section,
.tips-section {
    background: white;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 20px;
    border: 2px solid #ffeaa7;
    position: relative;
    transform: rotate(0.3deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tip-section:nth-child(even),
.name-category:nth-child(even) {
    transform: rotate(-0.3deg);
}

.tip-section h3,
.name-category h3,
.ranking-section h3,
.trend-section h3,
.tips-section h3 {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Klee One', cursive;
}

.example-box {
    background: #fff5f5;
    padding: 1rem;
    border-radius: 15px;
    border-left: 4px solid #ff9a9e;
    margin: 1rem 0;
    font-family: 'Klee One', cursive;
}

.season-names {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.season-group {
    background: #f0f8ff;
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid #87ceeb;
    text-align: center;
}

.season-group h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #4682b4;
}

.elegant-names,
.nature-names {
    background: #f5f5dc;
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid #daa520;
    margin: 1rem 0;
}

.ranking-list {
    counter-reset: ranking;
    list-style: none;
    padding: 0;
}

.ranking-list li {
    counter-increment: ranking;
    background: white;
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 15px;
    border-left: 4px solid #ff9a9e;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ranking-list li::before {
    content: counter(ranking);
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff9a9e;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.trend-item {
    background: #e6f3ff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 15px;
    border: 2px solid #87ceeb;
}

.trend-item h4 {
    color: #4682b4;
    margin-bottom: 0.5rem;
}

.meaning-section ul,
.tips-section ul {
    list-style: none;
    padding: 0;
}

.meaning-section li,
.tips-section li {
    background: #fff0f5;
    margin: 0.5rem 0;
    padding: 0.8rem;
    border-radius: 10px;
    border-left: 3px solid #ff69b4;
    position: relative;
}

.meaning-section li::before,
.tips-section li::before {
    content: '🌟';
    margin-right: 0.5rem;
}

.conclusion {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    margin: 2rem 0;
    font-size: 1.1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* 手绘风格的滚动条 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff9a9e);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cat-main-img {
        width: 200px;
        height: 200px;
    }

    .cat-hearts {
        font-size: 1.5rem;
        top: -15px;
        right: -15px;
    }
    
    .generator-cat-decoration {
        top: -40px;
        right: -40px;
        width: 80px;
        height: 80px;
    }

    .cat-stars {
        font-size: 1.2rem;
        bottom: -5px;
        left: -20px;
    }

    .nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }

    .generator-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .options {
        grid-template-columns: 1fr;
    }

    .name-emoji {
        font-size: 2rem;
    }

    .floating-decoration {
        display: none;
    }

    .decoration-1,
    .decoration-2 {
        display: block;
        opacity: 0.3;
    }

    .decoration-1 {
        top: 5%;
        left: 5%;
        transform: scale(0.7);
    }

    .decoration-2 {
        bottom: 5%;
        right: 5%;
        transform: scale(0.7);
    }

    .article-modal-content {
        margin: 10px;
        padding: 1.5rem;
        max-height: 95vh;
    }

    .season-names {
        grid-template-columns: 1fr;
    }

    .ranking-list li {
        padding-left: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}

/* 追加ページ用のスタイル */

/* ページタイトル */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    font-family: 'Klee One', cursive;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    margin: 1rem auto;
    border-radius: 2px;
}

/* ポリシーページ */
.policy-section {
    padding: 4rem 0;
    background: #fff;
}

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

.policy-item {
    background: #f8f9fa;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    position: relative;
    transform: rotate(0.3deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.policy-item:nth-child(even) {
    transform: rotate(-0.3deg);
}

.policy-item h2 {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: 'Klee One', cursive;
}

.policy-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-item li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.policy-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.policy-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.policy-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: white;
    border-radius: 20px;
    font-weight: 600;
}

/* Aboutページ */
.about-section {
    padding: 4rem 0;
    background: #fff;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-item {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 25px;
    border: 2px solid #ffeaa7;
    position: relative;
    transform: rotate(0.5deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.about-item:nth-child(even) {
    transform: rotate(-0.5deg);
}

.about-item h2 {
    color: #ff6b6b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Klee One', cursive;
}

.service-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-item {
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #87ceeb;
}

.service-item h3 {
    color: #4682b4;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Klee One', cursive;
}

.about-stats {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 25px;
    margin: 2rem 0;
    text-align: center;
}

.about-stats h2 {
    color: white;
    margin-bottom: 2rem;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Klee One', cursive;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* お問い合わせページ */
.contact-section {
    padding: 4rem 0;
    background: #fff;
}

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

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    border: 2px solid #e9ecef;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    border: 2px solid #ffeaa7;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    transform: rotate(-0.5deg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-family: 'Klee One', cursive;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff9a9e;
    box-shadow: 0 0 0 3px rgba(255, 154, 158, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Klee One', cursive;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.contact-info {
    background: #f0f8ff;
    padding: 2rem;
    border-radius: 25px;
    border: 2px solid #87ceeb;
    margin: 2rem 0;
    transform: rotate(0.5deg);
}

.contact-info h2 {
    color: #4682b4;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Klee One', cursive;
}

.info-item {
    margin: 1.5rem 0;
}

.info-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Klee One', cursive;
}

.info-item ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.info-item li {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    border-left: 4px solid #87ceeb;
}

/* フッターの改善 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 3rem 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.footer-links a:hover {
    color: #ff9a9e;
    background: rgba(255, 255, 255, 0.1);
}

/* もっと見るボタン */
.more-button {
    background: linear-gradient(135deg, #a8e6cf, #88d8a3);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Klee One', cursive;
}

.more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .policy-item,
    .about-item,
    .contact-form-container,
    .contact-info {
        transform: none;
        margin: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-list {
        gap: 1rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {

    .policy-item,
    .about-item,
    .contact-info {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .submit-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* 文章页面专用样式 */

/* パンくずリスト */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 文章ページ */
.article-page {
    padding: 2rem 0 4rem;
    background: #fff;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    position: relative;
    transform: rotate(-0.5deg);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Klee One', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.article-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.reading-time {
    position: relative;
}

.reading-time::before {
    content: '📖';
    margin-right: 0.5rem;
}

/* 文章コンテンツ */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-intro {
    background: #f0f8ff;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #87ceeb;
    margin: 2rem 0;
    font-size: 1.1rem;
    transform: rotate(0.3deg);
}

.article-content h2 {
    color: #ff6b6b;
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    font-family: 'Klee One', cursive;
    position: relative;
    padding-left: 1rem;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    border-radius: 2px;
}

.article-content h3 {
    color: #4682b4;
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    font-family: 'Klee One', cursive;
}

.article-content h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

/* ランキングリスト */
.ranking-list {
    counter-reset: ranking;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.ranking-item {
    display: flex;
    align-items: flex-start;
    background: white;
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 20px;
    border: 2px solid #ffeaa7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: rotate(0.2deg);
}

.ranking-item:nth-child(even) {
    transform: rotate(-0.2deg);
}

.rank-number {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rank-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
    font-family: 'Klee One', cursive;
}

.name-meaning {
    color: #667eea;
    font-weight: 600;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.name-description {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.popularity-reason {
    background: #fff5f5;
    padding: 0.8rem;
    border-radius: 10px;
    border-left: 3px solid #ff9a9e;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* 色別名前グループ */
.color-examples {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.color-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.color-group h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* 家族向けのヒント */
.family-tips {
    background: #e6f3ff;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #87ceeb;
    margin: 1.5rem 0;
}

.family-tips h3 {
    color: #4682b4;
    margin-bottom: 1rem;
}

.family-tips ul {
    margin: 0;
    padding-left: 1.5rem;
}

.family-tips li {
    margin: 0.5rem 0;
}

/* 将来への考慮 */
.future-considerations {
    background: #fff0f5;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #ff69b4;
    margin: 1.5rem 0;
}

.future-considerations h3 {
    color: #d63384;
    margin-bottom: 1rem;
}

/* 音の特徴 */
.sound-tips {
    background: #f0fff0;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #90ee90;
    margin: 1.5rem 0;
}

.sound-tips h3 {
    color: #228b22;
    margin-bottom: 1rem;
}

/* 季節別名前の詳細 */
.name-list-detailed {
    margin: 1rem 0;
}

.name-list-detailed h4 {
    color: #4682b4;
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.name-list-detailed p.meaning {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0.5rem 0 1rem;
}

/* 名前グリッド */
.name-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.name-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.name-item h4 {
    color: #333;
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.name-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* 自然カテゴリ */
.nature-group {
    margin: 1.5rem 0;
}

.nature-group h4 {
    color: #228b22;
    margin-bottom: 0.5rem;
}

.nature-group p.meaning {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0.5rem 0;
}

/* 植物カテゴリ */
.plant-categories {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.plant-categories h4 {
    color: #228b22;
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* 願いのカテゴリ */
.wish-categories {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.wish-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #ffeaa7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(0.3deg);
}

.wish-item:nth-child(even) {
    transform: rotate(-0.3deg);
}

.wish-item h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.wish-meaning {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0.5rem 0;
}

/* トレンドセクション */
.trend-examples {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.trend-examples p {
    margin: 0.5rem 0;
}

/* ヒントグリッド */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #87ceeb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(0.5deg);
}

.tip-item:nth-child(even) {
    transform: rotate(-0.5deg);
}

.tip-item h3 {
    color: #4682b4;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tip-examples {
    background: #f0f8ff;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.tip-examples p {
    margin: 0.5rem 0;
}

/* 関連記事 */
.related-articles {
    margin: 4rem 0 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    border: 2px solid #e9ecef;
}

.related-articles h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

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

.related-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    border: 2px solid #ffeaa7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(0.5deg);
}

.related-card:nth-child(even) {
    transform: rotate(-0.5deg);
}

.related-card:hover {
    transform: translateY(-5px) rotate(0deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-card h3 {
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ranking-item {
        flex-direction: column;
        text-align: center;
        transform: none;
    }

    .rank-number {
        margin: 0 0 1rem 0;
        align-self: center;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .name-grid {
        grid-template-columns: 1fr;
    }

    .article-header {
        transform: none;
        padding: 1.5rem;
    }

    .wish-item,
    .tip-item,
    .related-card {
        transform: none;
    }
}

@media (max-width: 480px) {
    .article-content {
        padding: 0 1rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .ranking-item {
        padding: 1rem;
    }

    .rank-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* 多头饲养文章专用样式 */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #a8e6cf;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: rotate(0.5deg);
}

.benefit-item:nth-child(even) {
    transform: rotate(-0.5deg);
}

.benefit-item h3 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.theme-examples {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.theme-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #ffeaa7;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(0.3deg);
}

.theme-item:nth-child(even) {
    transform: rotate(-0.3deg);
}

.theme-item h3 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.theme-content {
    display: grid;
    gap: 1rem;
}

.theme-content h4 {
    color: #4682b4;
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #87ceeb;
    padding-bottom: 0.3rem;
}

.theme-content p {
    margin: 0.3rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* トレンド分析専用スタイル */
.major-trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.trend-overview {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(0.5deg);
}

.trend-overview:nth-child(even) {
    transform: rotate(-0.5deg);
}

.trend-overview h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detailed-trends {
    margin: 3rem 0;
}

.trend-details {
    margin: 1.5rem 0;
}

.nature-categories,
.retro-categories,
.global-categories {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.nature-category,
.retro-category,
.global-category {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #a8e6cf;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nature-category h5,
.retro-category h5,
.global-category h5 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.trend-reason,
.popularity-factor {
    background: #e8f5e8;
    padding: 0.8rem;
    border-radius: 10px;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    border-left: 3px solid #28a745;
}

.trend-analysis,
.retro-analysis,
.global-analysis {
    background: #f0f8ff;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #87ceeb;
    margin: 1.5rem 0;
}

.trend-analysis h4,
.retro-analysis h4,
.global-analysis h4 {
    color: #4682b4;
    margin-bottom: 1rem;
}

.emerging-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.emerging-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #ffd700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(0.3deg);
}

.emerging-item:nth-child(even) {
    transform: rotate(-0.3deg);
}

.emerging-item h3 {
    color: #ff8c00;
    margin-bottom: 1rem;
}

.color-examples,
.music-examples,
.space-examples {
    background: #fff8dc;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.prediction-timeline {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.prediction-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid #ff6b6b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.prediction-item h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.prediction-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #ff6b6b;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #ff6b6b;
}

.advice-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.advice-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #20c997;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(0.2deg);
}

.advice-item:nth-child(even) {
    transform: rotate(-0.2deg);
}

.advice-item h3 {
    color: #20c997;
    margin-bottom: 1rem;
}

/* 実用的なヒント用スタイル */
.length-examples {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1rem 0;
}

.length-examples h4 {
    color: #495057;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

.personality-balance {
    background: #fff0f5;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #ff69b4;
    margin: 1rem 0;
}

.personality-balance h4 {
    color: #d63384;
    margin-bottom: 1rem;
}

/* 特別ケース用スタイル */
.special-cases {
    margin: 3rem 0;
}

.case-item {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    border: 2px solid #6f42c1;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(0.3deg);
}

.case-item:nth-child(even) {
    transform: rotate(-0.3deg);
}

.case-item h3 {
    color: #6f42c1;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.sibling-examples,
.timing-tips,
.large-family-tips {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1rem 0;
}

.sibling-examples h4,
.timing-tips h4,
.large-family-tips h4 {
    color: #495057;
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .benefits-list {
        grid-template-columns: 1fr;
    }

    .major-trends {
        grid-template-columns: 1fr;
    }

    .nature-categories,
    .retro-categories,
    .global-categories {
        grid-template-columns: 1fr;
    }

    .theme-item,
    .case-item,
    .emerging-item,
    .advice-item {
        transform: none;
    }
}