/* 追加のメインスタイル */

/* 和風カラーパレット - 親しみやすい色調 */
:root {
    --wa-primary: #8B4513;      /* 茶色 */
    --wa-secondary: #DC143C;    /* 深紅（メインカラー） */
    --wa-accent: #FF6B6B;       /* 朱色 */
    --wa-bg-light: #FFFAF5;     /* より柔らかい和紙色 */
    --wa-bg-cream: #FFF0E5;     /* 優しいクリーム色 */
    --wa-text-dark: #4A3C33;    /* 柔らかい茶色 */
    --wa-gold: #E6B87D;         /* 明るい金色 */
    --wa-green: #8FA68E;        /* 優しい抹茶色 */
    --wa-pink: #FFB3BA;         /* 優しいピンク */
}

/* 和風スタイル全体 */
.wa-style {
    background: var(--wa-bg-light);
    color: var(--wa-text-dark);
    font-family: "Klee One", "Zen Maru Gothic", "Kosugi Maru", "游明朝", "Yu Mincho", serif;
}

/* ヒーローセクション和風 */
.wa-style .hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--wa-bg-cream) 0%, var(--wa-bg-light) 100%);
    padding: 120px 0;
    overflow: hidden;
}

.wa-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(139, 69, 19, 0.03) 10px,
            rgba(139, 69, 19, 0.03) 20px
        );
    pointer-events: none;
}

.wa-style .hero-title {
    font-size: 4rem;
    color: var(--wa-primary);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 0.2em;
    font-family: "Klee One", cursive;
    transform: rotate(-1deg);
}

.wa-style .hero-subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: var(--wa-text-dark);
    letter-spacing: 0.1em;
}

/* セクション共通スタイル */
.wa-style .section {
    padding: 80px 0;
    background: var(--wa-bg-light);
    position: relative;
}

.wa-style .section:nth-child(even) {
    background: var(--wa-bg-cream);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.section-marker {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--wa-secondary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
}

.wa-style .section-title {
    font-size: 2.5rem;
    color: var(--wa-primary);
    margin: 0;
    letter-spacing: 0.1em;
    position: relative;
    font-family: "Klee One", cursive;
    font-weight: 600;
}

.wa-style .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--wa-gold);
}

/* 目的カード */
.purpose-cards {
    margin-top: 40px;
}

.purpose-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: rotate(-0.5deg);
}

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

.purpose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--wa-accent);
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--wa-gold);
}

.purpose-card.main-purpose {
    background: linear-gradient(135deg, var(--wa-secondary), var(--wa-accent));
    color: white;
    margin-bottom: 30px;
}

.purpose-card.main-purpose h3 {
    font-size: 1.8rem;
    text-align: center;
    margin: 0;
    letter-spacing: 0.1em;
}

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

.purpose-card p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 注記スタイル */
.purpose-notes {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.note-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.note-marker {
    color: var(--wa-secondary);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.note-item p {
    margin: 0;
    line-height: 1.8;
}

.emphasis {
    font-weight: bold;
    color: var(--wa-primary);
    padding: 10px 0;
    font-size: 1.15rem;
}

/* 挨拶セクション */
.greeting-content {
    max-width: 900px;
    margin: 0 auto;
}

.greeting-message {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid var(--wa-secondary);
    position: relative;
    transform: rotate(-0.3deg);
}

.greeting-message::before {
    content: '♥';
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 40px;
    color: var(--wa-accent);
    transform: rotate(15deg);
}

.greeting-intro {
    font-size: 1.3rem;
    color: var(--wa-primary);
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.greeting-message p {
    margin-bottom: 25px;
    line-height: 2;
    font-size: 1.05rem;
    text-align: justify;
}

.greeting-closing {
    font-size: 1.15rem;
    color: var(--wa-primary);
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--wa-gold);
}

/* 活動内容グリッド */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-item {
    background: white;
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 2px dashed var(--wa-gold);
    position: relative;
}

.activity-item::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, transparent 30%, var(--wa-accent) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    border-radius: 25px;
}

.activity-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--wa-secondary);
}

.activity-item:hover::before {
    opacity: 0.1;
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.activity-item h3 {
    color: var(--wa-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.activity-description {
    font-size: 0.95rem;
    color: var(--wa-text-dark);
    line-height: 1.6;
}

/* 会員カード */
.membership-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.membership-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--wa-bg-cream);
    position: relative;
}

.membership-card::after {
    content: '✨';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    opacity: 0.5;
}

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

.membership-header {
    padding: 30px;
    background: var(--wa-green);
    color: white;
    text-align: center;
}

.membership-card.premium .membership-header {
    background: linear-gradient(135deg, var(--wa-gold), var(--wa-secondary));
}

.membership-header h3 {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    letter-spacing: 0.1em;
}

.membership-price {
    font-size: 1.2rem;
    margin: 10px 0;
}

.membership-note {
    font-size: 0.95rem;
    opacity: 0.9;
}

.membership-body {
    padding: 30px;
}

.membership-body p {
    line-height: 1.8;
    color: var(--wa-text-dark);
}

.membership-notice {
    background: rgba(255, 245, 238, 0.8);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--wa-secondary);
    display: flex;
    gap: 15px;
}

.membership-notice p {
    line-height: 1.8;
    margin: 0;
}

/* 企業セクション */
.corporate-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px dotted var(--wa-gold);
    position: relative;
}

.corporate-content::before,
.corporate-content::after {
    content: '♾';
    position: absolute;
    font-size: 40px;
    color: var(--wa-gold);
    opacity: 0.3;
}

.corporate-content::before {
    top: 20px;
    left: 20px;
    transform: rotate(-15deg);
}

.corporate-content::after {
    bottom: 20px;
    right: 20px;
    transform: rotate(15deg);
}

.corporate-intro {
    font-size: 1.2rem;
    color: var(--wa-primary);
    margin-bottom: 20px;
    font-weight: bold;
}

.corporate-appeal {
    font-size: 1.3rem;
    color: var(--wa-secondary);
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: var(--wa-bg-cream);
    border-radius: 10px;
}

.corporate-content p {
    line-height: 2;
    margin-bottom: 20px;
}

.corporate-closing {
    font-size: 1.15rem;
    color: var(--wa-primary);
    margin-top: 30px;
    font-weight: bold;
    text-align: center;
}

.corporate-cta {
    text-align: center;
    margin-top: 40px;
}

/* ボタンスタイル和風 */
.wa-style .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.1em;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

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

.wa-style .btn:hover::after {
    width: 300px;
    height: 300px;
}

.wa-style .btn-primary {
    background: linear-gradient(135deg, var(--wa-secondary), var(--wa-accent));
    color: white;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.wa-style .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.wa-style .btn-secondary {
    background: white;
    color: var(--wa-primary);
    border: 2px solid var(--wa-primary);
}

.wa-style .btn-secondary:hover {
    background: var(--wa-primary);
    color: white;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .wa-style .hero-title {
        font-size: 2.5rem;
    }
    
    .wa-style .section-title {
        font-size: 1.8rem;
    }
    
    .purpose-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .membership-options {
        grid-template-columns: 1fr;
    }
    
    .greeting-message {
        padding: 30px 20px;
    }
    
    .corporate-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .wa-style .hero-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
    
    .wa-style .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 10px;
    }
}

/* 外部リンクアイコン */
.external-link-icon {
    margin-left: 5px;
    font-size: 0.9em;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wa-style .section > * {
    animation: fadeInUp 0.8s ease-out;
}

/* スクロールアニメーション用 */
.wa-style [data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.wa-style [data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ホームページ ブログセクション */
.home-blog-section {
    background: var(--wa-bg-light);
    padding: 80px 0;
}

.home-blog-section .section-subtitle {
    text-align: center;
    color: var(--wa-text-dark);
    margin-top: 10px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.home-blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

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

.home-blog-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.15);
}

.home-blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.home-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-blog-card:hover .home-blog-image img {
    transform: scale(1.1);
}

.blog-category-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--wa-secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.home-blog-content {
    padding: 25px;
}

.blog-meta {
    margin-bottom: 10px;
}

.blog-date {
    color: var(--wa-gold);
    font-size: 0.9rem;
}

.home-blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.home-blog-title a {
    color: var(--wa-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-blog-title a:hover {
    color: var(--wa-secondary);
}

.home-blog-excerpt {
    color: var(--wa-text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more-link {
    color: var(--wa-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    padding-left: 10px;
}

/* ホームページ イベントセクション */
.home-events-section {
    background: var(--wa-bg-cream);
    padding: 80px 0;
}

.home-events-section .section-subtitle {
    text-align: center;
    color: var(--wa-text-dark);
    margin-top: 10px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.home-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.home-event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(0.5deg);
}

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

.home-event-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
}

.home-event-image {
    height: 200px;
    overflow: hidden;
}

.home-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-event-card:hover .home-event-image img {
    transform: scale(1.1);
}

.home-event-content {
    padding: 25px;
    position: relative;
}

.event-date-badge {
    position: absolute;
    top: -30px;
    right: 20px;
    background: var(--wa-secondary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.event-month {
    font-size: 0.75rem;
}

.event-day {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.home-event-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 10px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.home-event-title a {
    color: var(--wa-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-event-title a:hover {
    color: var(--wa-secondary);
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--wa-text-dark);
    font-size: 0.9rem;
}

.event-detail-item i {
    color: var(--wa-gold);
    width: 20px;
}

.home-event-excerpt {
    color: var(--wa-text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.event-more-link {
    color: var(--wa-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.event-more-link:hover {
    padding-left: 10px;
}

/* もっと見るボタン */
.section-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-more {
    display: inline-block;
    background: linear-gradient(135deg, var(--wa-secondary) 0%, var(--wa-accent) 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.2);
    font-family: 'Zen Maru Gothic', sans-serif;
}

.btn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
}

/* メッセージ */
.no-posts-message,
.no-events-message {
    text-align: center;
    color: var(--wa-text-dark);
    font-size: 1.1rem;
    padding: 40px;
    background: white;
    border-radius: 15px;
    margin: 20px auto;
}

/* レスポンシブ追加 */
@media (max-width: 768px) {
    .home-blog-grid,
    .home-events-grid {
        grid-template-columns: 1fr;
    }
}