/* 記事詳細ページのスタイル */

/* 記事内CTAボタン */
.article-cta-container {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.article-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    width: 300px;
    text-align: center;
}

.article-cta-button:hover {
    background-color: #2d8b6d;
}
.article-detail-page {
    padding-top: 60px; /* ヘッダー分のスペース確保 */
}

.article-header-image {
    width: 100%;
    overflow: hidden;
}

.article-header-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.article-detail-content {
    background: white;
    margin: 0 auto;
    max-width: 800px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.article-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 10px;
}

.article-categories {
    display: flex;
    gap: 0.5rem;
}

.category-tag {
    background: #FF6B35;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
}

.article-views {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-excerpt {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #FF6B35;
    margin-bottom: 2rem;
}

.article-excerpt p {
    margin: 0;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.article-content {
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #333;
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.article-content h3 {
    font-size: 18px;
    margin: 1.5rem 0 1rem 0;
    color: #333;
}

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

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1rem 2rem;
}

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

.article-content table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e1e1e1;
    margin: 1.5rem 0;
    background-color: #fff;
}

.article-content th,
.article-content td {
    padding: 12px 16px;
    border: 1px solid #e1e1e1;
    text-align: left;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

.article-content th {
    font-weight: 600;
    background-color: #f8f8f8;
}

/* 記事ページ内のサウナカード */
.article-sauna-card-wrapper {
    display: flex;
    justify-content: center;
}

.article-sauna-card {
    background-color: white;
    /* box-shadow: var(--box-shadow); */
    transition: transform 0.2s ease;
    height: 274px;
    width: 300px;
    display: flex;
    text-decoration: none;
    flex-direction: column;
    border: 1px solid #BCBCBC;
}

.article-sauna-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.article-sauna-card:active {
    transform: scale(0.95);
}

.article-sauna-card .card-image {
    position: relative;
    height: 203px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-sauna-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-sauna-card:hover .card-image img {
    transform: scale(1.05);
}

.article-sauna-card .card-content {
    padding: 8px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-sauna-card .card-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.article-sauna-card .card-content-row p {
    margin: 0;
}

.article-sauna-card .card-content-row .price {
    color: #333333;
    font-weight: bold;
    font-size: 16px;
}

.article-sauna-card .card-content-row:last-child {
    margin-bottom: 0;
}

.article-sauna-card .card-content h3 {
    font-size: 16px;
    margin: 0;
    color: #333;
    font-weight: bold;
    line-height: 1.3;
}

.article-sauna-card .capacity {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
}

.article-sauna-card .carousel-temp-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.article-sauna-card .carousel-sauna-temp {
    color: #666;
}

.article-sauna-card .carousel-divider {
    color: #ccc;
}

.article-sauna-card .carousel-water-temp {
    color: #666;
}

.article-sauna-card .price {
    color: #333333;
    font-weight: bold;
    font-size: 16px;
}

/* エラー表示 */
.facility-error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #f44336;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.article-tags {
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.article-tags h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.article-actions {
    text-align: center;
}

.btn-back {
    background: #6c757d;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.btn-back:hover {
    background: #5a6268;
}

/* パンくずリスト */
.breadcrumb-bottom {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid #eee;
    position: relative;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    color: #999;
    margin-left: 0.5rem;
    font-weight: bold;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #2d8b6d;
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: #666;
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .article-header-image img {
        height: 200px;
    }
    
    .article-detail-content {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .breadcrumb-bottom {
        margin: 1.5rem auto 0;
        padding: 1rem 1.5rem 0;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item.current {
        max-width: 200px;
    }
} 
