/*
Theme Name: CIN Original Theme
Description: Custom WP theme for a supervising organization of technical intern trainees.
Version: 3.0 - Optimized & Clean
*/

/* ===== 基本設定・リセット ===== */
* { 
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
}

body { 
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, sans-serif; 
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 50%, #E8F5E8 100%);
    color: #2d5016; 
    line-height: 1.7;
    overflow-x: hidden;
    margin-top: 80px;
}

/* ===== 共通ユーティリティ ===== */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.highlight-green { 
    color: #2E7D32; 
    font-weight: bold; 
    font-size: 1.1em; 
}

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

.header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

/* ナビゲーション */
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
    align-items: center;
    transition: right 0.3s ease; 
}

.nav-links li a { 
    text-decoration: none; 
    color: #2d5016; 
    padding: 12px 20px; 
    border-radius: 25px; 
    transition: all 0.3s; 
    white-space: nowrap;
    font-weight: 500;
    display: block;
}

.nav-links li a:hover { 
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.contact-highlight {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.contact-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

/* ハンバーガーメニュー */
.hamburger-circle { 
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1001;
}

.hamburger-circle span { 
    width: 20px; 
    height: 2px; 
    background: #2d5016; 
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
}

.mobile-menu-overlay.active {
    display: block;
}

/* ===== ヒーローセクション ===== */
.hero { 
    position: relative; 
    overflow: hidden; 
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 50%, #E8F5E8 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(129, 199, 132, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(165, 214, 167, 0.10) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* 植物装飾 */
.plant-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.leaf {
    position: absolute;
    background: linear-gradient(45deg, #4CAF50, #81C784);
    border-radius: 0 100% 0 100%;
    animation: leafFloat 6s ease-in-out infinite;
}

.leaf-1 {
    width: 60px;
    height: 30px;
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.leaf-2 {
    width: 45px;
    height: 22px;
    top: 20%;
    right: 8%;
    transform: rotate(-30deg);
    animation-delay: 2s;
    background: linear-gradient(45deg, #66BB6A, #A5D6A7);
}

.leaf-3 {
    width: 55px;
    height: 28px;
    bottom: 15%;
    left: 10%;
    transform: rotate(120deg);
    animation-delay: 4s;
    background: linear-gradient(45deg, #81C784, #C8E6C9);
}

.leaf-4 {
    width: 40px;
    height: 20px;
    bottom: 25%;
    right: 15%;
    transform: rotate(-45deg);
    animation-delay: 1s;
    background: linear-gradient(45deg, #A5D6A7, #E8F5E8);
}

@keyframes leafFloat {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

/* 花の装飾 */
.flower {
    position: absolute;
    width: 40px;
    height: 40px;
    animation: flowerFloat 8s ease-in-out infinite;
}

.flower::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #FF6B6B;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 -20px 0 #FF8A65,
        20px 0 0 #FFB74D,
        0 20px 0 #AED581,
        -20px 0 0 #81C784,
        14px -14px 0 #FFAB91,
        14px 14px 0 #C8E6C9,
        -14px 14px 0 #DCEDC8,
        -14px -14px 0 #FFCDD2;
}

.flower-1 {
    top: 15%;
    left: 20%;
    animation-delay: 1s;
}

.flower-2 {
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes flowerFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* パーティクル */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(76, 175, 80, 0.6);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 1s; }
.particle:nth-child(7) { left: 70%; animation-delay: 3s; }
.particle:nth-child(8) { left: 80%; animation-delay: 5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 7s; }

.particle:nth-child(odd) {
    background: rgba(129, 199, 132, 0.6);
    animation-duration: 12s;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* ヒーローテキスト */
.hero-text {
    position: relative;
    text-align: center;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    max-width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-text .sub, .highlight-underline {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 4px solid #e68a00;
    display: inline-block;
    padding-bottom: 4px;
}

.hero-text h1 {
    font-size: 48px;
    color: #1B5E20;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

/* ===== ボタン共通スタイル ===== */
.btn, .c-btn {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:hover, .c-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(45deg, #388E3C, #4CAF50);
}

.btn.orange {
    background: rgba(255, 143, 0, 0.15);
    color: #E65100;
    border: 2px solid rgba(255, 143, 0, 0.3);
    box-shadow: 0 4px 20px rgba(255, 143, 0, 0.2);
}

.btn.green {
    background: rgba(76, 175, 80, 0.15);
    color: #2E7D32;
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.2);
}

.btn.orange:hover {
    background: rgba(255, 143, 0, 0.25);
    border-color: rgba(255, 143, 0, 0.5);
}

.btn.green:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.5);
}

.c-btn.circle {
    background: white;
    color: #2d5016;
    border: 2px solid #4CAF50;
    position: relative;
    z-index: 1;
}

.c-btn.circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #4CAF50;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.c-btn.circle:hover::before {
    width: 300%;
    height: 300%;
}

.c-btn.circle:hover {
    color: white;
    border-color: #4CAF50;
}

/* ===== セクション共通スタイル ===== */
.section-title {
    font-size: 32px; 
    text-align: center; 
    margin-bottom: 40px;
    color: #2E7D32;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    border-radius: 2px;
}

/* ===== ニュースセクション ===== */
.news { 
    padding: 80px 20px; 
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 40px 0;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.news-list { 
    display: grid; 
    gap: 24px; 
    max-width: 800px; 
    margin: 0 auto; 
}

.news-item { 
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.news-item a { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    text-decoration: none; 
    color: #2d5016; 
    transition: 0.3s; 
}

.news-item a:hover { 
    color: #4CAF50; 
}

.news-more {
    text-align: center;
    margin: 40px 0;
}

/* ニュース詳細 */
.news-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
    align-items: center;
    margin-bottom: 10px;
}

.news-cat {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

.news-title a {
    text-decoration: none;
    color: #2E7D32;
    transition: all 0.3s;
}

.news-title a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

/* カテゴリーラベル */
.new-label {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    font-size: 0.75em;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.category-label {
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 15px;
    display: inline-block;
}

.cat-ginou {
    color: #2E7D32;
    background: linear-gradient(45deg, #E8F5E8, #F1F8E9);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.cat-tokutei {
    color: #E65100;
    background: linear-gradient(45deg, #FFF8E1, #FFECB3);
    border: 1px solid rgba(230, 81, 0, 0.2);
}

.cat-news {
    color: #1565C0;
    background: linear-gradient(45deg, #E3F2FD, #BBDEFB);
    border: 1px solid rgba(21, 101, 192, 0.2);
}

/* ===== 特徴セクション ===== */
.features, .faq-section { 
    padding: 80px 20px; 
    background: rgba(240, 250, 240, 0.8);
    backdrop-filter: blur(10px);
    margin: 40px 0;
    border-radius: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box, .card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #4CAF50;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #4CAF50);
    background-size: 200% 100%;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.feature-box:hover, .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: rgba(248, 255, 248, 0.95);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(76, 175, 80, 0.3);
}

.faq-question {
    padding: 20px;
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: linear-gradient(45deg, #388E3C, #4CAF50);
}

.faq-answer {
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(76, 175, 80, 0.1);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== お問い合わせリンク ===== */
.contact-link {
    text-align: center;
    padding: 60px 20px;
}

.contact-link h2 {
    font-size: 28px;
    color: #2E7D32;
    margin-bottom: 30px;
}

/* ===== スクロールトップボタン ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    transition: all 0.3s;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.6);
}

/* ===== ページ固有スタイル ===== */
/* 企業情報ページ */
.company-page .container {
    padding: 40px 24px;
    max-width: 1040px;
    margin: auto;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin-top: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.company-page h2 {
    margin-top: 2.5em;
    font-size: 1.75em;
    border-bottom: 3px solid #4CAF50;
    padding-bottom: 0.3em;
    color: #2E7D32;
    position: relative;
}

.company-page h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
}

.overview-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5em;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.overview-table th, .overview-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.overview-table th {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    font-weight: 600;
    width: 30%;
    text-align: left;
}

.overview-table td {
    background: rgba(255, 255, 255, 0.9);
}

.overview-table tr:last-child td {
    border-bottom: none;
}

.card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 1.5em;
}

/* ニュース一覧ページ */
.page-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    padding: 120px 16px 40px;
    margin: 0 auto;
    color: #2E7D32;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    border-radius: 2px;
}

.container.with-sidebar {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 40px;
}

.news-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    height: fit-content;
}

.news-main {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.sidebar-block {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #2E7D32;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list a {
    text-decoration: none;
    color: #2E7D32;
    transition: all 0.3s;
    display: block;
    padding: 5px;
    border-radius: 8px;
}

.sidebar-list a:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transform: translateX(5px);
}

/* ===== フッター ===== */
.footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 60px;
}

.footer-left {
    background: linear-gradient(135deg, #E8F5E8, #F1F8E9);
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    color: #2E7D32;
}

.footer-right {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.footer-left::before, .footer-right::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"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(76,175,80,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.sns-heading {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sns-icons {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    justify-content: center;
}

.sns-icons li {
    text-align: center;
    font-size: 14px;
}

.sns-icons a {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.sns-icons i {
    font-size: 28px;
    margin-bottom: 5px;
    transition: transform 0.3s;
}

.sns-icons a:hover i {
    transform: scale(1.2) rotate(5deg);
}

.my_instagram1, .my_facebook1, .my_youtube1 {
    border-radius: 15px;
    padding: 15px 20px;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.my_instagram1:hover, .my_facebook1:hover, .my_youtube1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.my_instagram1 {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.my_facebook1 {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
}

.my_youtube1 {
    background: linear-gradient(45deg, #ff0000, #ff4444);
}

.my_instagram1 div, .my_facebook1 div, .my_youtube1 div {
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    margin-top: 5px;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 768px) {
    /* ヘッダー */
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        width: 70%;
        height: calc(100vh - 80px);
        padding: 40px 20px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 998;
        transition: right 0.3s ease;
        border-top-left-radius: 30px;
    }
    
    .nav-links.active { 
        right: 0; 
    }
    
    .hamburger-circle { 
        display: flex; 
    }
    
    /* ヒーロー */
    .hero-text {
        padding: 30px 20px;
        margin: 0 20px;
        max-width: calc(100% - 40px);
    }
    
    .hero-text h1 {
        font-size: 28px;
        margin: 20px 0 30px;
    }
    
    .hero-text .sub {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }
    
    .hero-buttons .btn {
        width: 220px;
        text-align: center;
        padding: 16px 32px;
    }
    
    /* 装飾要素をモバイルで簡略化 */
    .leaf, .flower {
        display: none;
    }
    
    .particle {
        width: 2px;
        height: 2px;
    }
    
    /* その他のセクション */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .news, .features, .faq-section {
        margin: 20px 10px;
        padding: 40px 15px;
        border-radius: 20px;
    }
    
    /* サイドバー */
    .container.with-sidebar {
        flex-direction: column;
        padding: 0 16px;
    }
    
    .news-sidebar {
        display: none;
    }
    
    .news-main {
        padding: 20px;
    }
    
    /* フッター */
    .footer {
        flex-direction: column;
    }
    
    .footer-left, .footer-right {
        width: 100%;
    }
}

/* タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-text h1 {
        font-size: 42px;
    }
}

/* ===== アクセシビリティ ===== */
:focus {
    outline: 3px solid #4CAF50;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 動きを抑制する設定 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ハイコントラストモード対応 */
@media (prefers-contrast: high) {
    .hero-text {
        background: rgba(255, 255, 255, 0.98);
        border: 2px solid #333;
    }
    
    .hero-buttons .btn {
        border-width: 3px;
    }
}

/* プリント用スタイル */
@media print {
    .site-header,
    .plant-decoration,
    .particles,
    .scroll-top,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        margin-top: 0 !important;
    }
    
    .hero-text,
    .news,
    .features,
    .faq-section {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}