/* ========== 新しいホームページ用スタイル ========== */

/* お知らせセクション */
.news-section {
    margin: 40px 0;
}

.news-list {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8f9fa;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}

.news-label {
    padding: 3px 10px;
    background-color: #4a90a4;
    color: #fff;
    font-size: 0.8rem;
    border-radius: 3px;
    white-space: nowrap;
}

.news-label.new {
    background-color: #e74c3c;
}

.news-title {
    color: #2c5282;
    text-decoration: none;
    flex: 1;
}

.news-title:hover {
    text-decoration: underline;
}

/* ネットワーク統計 */
.network-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #4a90a4;
    line-height: 1;
}

.stat-label {
    margin-top: 10px;
    font-size: 1rem;
    color: #666;
}

/* クイックリンクカード */
.quick-links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.quick-link-card {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quick-link-card.patient {
    border-color: #4a90a4;
}

.quick-link-card.professional {
    border-color: #2c5282;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.quick-link-card h3 {
    color: #2c5282;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.quick-link-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.card-links {
    list-style: none;
    margin: 20px 0;
}

.card-links li {
    margin: 10px 0;
}

.card-links a {
    color: #4a90a4;
    text-decoration: none;
    display: inline-block;
    padding-left: 15px;
    position: relative;
}

.card-links a:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #4a90a4;
}

.card-links a:hover {
    text-decoration: underline;
}

/* 導入セクション */
.intro-section {
    margin: 40px 0;
}

.intro-content {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 5px;
}

/* 特徴グリッド */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
}

.feature-card h4 {
    color: #2c5282;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* 組織情報 */
.org-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    line-height: 2;
}

.facility-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.summary-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.summary-item strong {
    display: block;
    color: #2c5282;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.summary-item ul {
    list-style-position: inside;
    color: #666;
}

/* 活動リスト */
.activity-list {
    margin-top: 20px;
}

.activity-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
}

.activity-item h4 {
    color: #2c5282;
    margin-bottom: 10px;
}

.activity-item p {
    color: #666;
    line-height: 1.8;
}

/* フロー図 */
.flow-diagram {
    margin-top: 20px;
}

.flow-step {
    background-color: #fff;
    border: 2px solid #4a90a4;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 10px;
    position: relative;
}

.flow-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #4a90a4;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.flow-step h4 {
    color: #2c5282;
    margin-bottom: 10px;
    margin-top: 5px;
}

.flow-step p {
    color: #666;
    line-height: 1.8;
}

.flow-arrow {
    text-align: center;
    font-size: 2rem;
    color: #4a90a4;
    margin: 10px 0;
}

/* 情報カード */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
}

.info-card h4 {
    color: #2c5282;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.8;
}

.info-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a90a4;
    font-weight: bold;
}

/* FAQリスト */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
}

.faq-item h4 {
    color: #2c5282;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

/* コンテンツボックス（ハイライト） */
.content-box.highlight {
    background-color: #e8f4f8;
    border-radius: 12px;
    padding: 30px 40px;
}

/* 書類ダウンロードリスト */
.document-list {
    margin-top: 20px;
}

.document-item {
    display: flex;
    gap: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.document-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    color: #2c5282;
    margin-bottom: 10px;
}

.document-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* リンクリスト */
.link-list {
    list-style: none;
    margin-top: 20px;
}

.link-list li {
    margin: 10px 0;
}

.link-list a {
    color: #4a90a4;
    text-decoration: none;
    padding-left: 20px;
    position: relative;
    display: inline-block;
}

.link-list a:before {
    content: '🔗';
    position: absolute;
    left: 0;
}

.link-list a:hover {
    text-decoration: underline;
}

/* 連絡先情報ボックス */
.contact-info-box {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 25px;
}

.contact-info-box h3,
.contact-info-box h4 {
    color: #2c5282;
    margin-bottom: 15px;
}

.contact-info-box h3 {
    font-size: 1.3rem;
    border-bottom: 2px solid #4a90a4;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-block {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.contact-block h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-org {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a90a4;
    margin-bottom: 15px;
}

.contact-details {
    line-height: 2;
}

.contact-details strong {
    color: #2c5282;
}

/* レスポンシブ調整（新規スタイル用） */
@media (max-width: 768px) {
    .quick-links-section {
        grid-template-columns: 1fr;
    }
    
    .network-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .feature-grid,
    .info-cards,
    .facility-summary {
        grid-template-columns: 1fr;
    }
    
    .document-item {
        flex-direction: column;
    }
}
