/* ============================
    お知らせページ専用CSS (sub.css)
============================ */

/* --------------------
    パンくずリスト
-------------------- */
.breadcrumb-nav {
    margin: 20px 0 30px 0;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.4rem;
}

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

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: #6c757d;
    font-weight: bold;
}

.breadcrumb-link {
    color: #0068C0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #004d87;
    text-decoration: underline;
}

.breadcrumb-current {
    color: #6c757d;
    font-weight: 500;
}

/* 不用品回収の流れタイトルのフォントサイズ調整 */
.c-section-title--blue-band {
    font-size: 3.6rem !important;
    font-style: normal !important;
}

/* 不用品回収の流れセクションの上マージン調整 */
.p-flow.l-section {
    margin-top: 0 !important;
    padding-top: 40px !important;
}

/* 対応地域を2列2行のグリッドレイアウトに変更 */
.p-household-area__regions-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 30px !important;
}

/* CTAセクションを目立たせる */
.p-about-cta {
    background-color: #0068C0 !important;
    color: #fff !important;
    padding: 50px 0 !important;
    border: 4px solid #004d87 !important;
}

.p-about-cta__title {
    color: #fff !important;
    font-size: 2.8rem !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
}

.p-about-cta__text {
    color: #fff !important;
    font-size: 1.8rem !important;
    margin-bottom: 30px !important;
}

/* --------------------
    お知らせ一覧ページ
-------------------- */
.p-newslist {
    background-color: #f8f9fa;
    padding: 30px 0 80px 0;
    min-height: 70vh;
}

.p-newslist__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.p-newslist__title {
    font-size: 3.6rem;
    font-weight: bold;
    text-align: center;
    color: #333;
    position: relative;
    margin: 0;
}

.p-newslist__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0068C0;
}

.p-newslist__character {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

/* --------------------
    ニュース一覧表示（従来のdl形式）
-------------------- */
.news-list-container .news-list {
    background-color: #fff;
    border-radius: 12px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.news-list dt {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    margin: 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

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

.news-list dd {
    margin: 0;
    padding: 0;
}

.news-list dd a {
    display: block;
    padding: 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-list dd a:hover {
    color: #0068C0;
}

.news-date {
    flex-shrink: 0;
    font-size: 1.4rem;
    color: #333;
    min-width: 100px;
    font-weight: 500;
}

.news-category {
    flex-shrink: 0;
    font-size: 1.2rem;
    padding: 4px 12px;
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    min-width: fit-content;
}

.news-category.category-news {
    background-color: #28a745;
}

.news-category.category-blog {
    background-color: #fd7e14;
}

.news-category.category-important {
    background-color: #dc3545;
}

.news-category.category-general {
    background-color: #6c757d;
}

.news-category-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.news-category.parent-category {
    opacity: 0.8;
    font-size: 1.1rem;
}

.news-category.child-category {
    font-size: 1.2rem;
}

/* --------------------
    ニュース一覧表示（画像付きカードレイアウト）
-------------------- */
.news-list-container .news-item-card {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
}


.news-list-container .news-item-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-list-container .news-item-image {
    flex-shrink: 0;
    width: 200px;
    height: 180px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.news-list-container .news-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-container .news-item-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-list-container .news-item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-list-container .news-item-date {
    font-size: 1.4rem;
    color: #333;
    font-weight: 500;
}

.news-list-container .news-item-title {
    margin: 0 0 15px 0;
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
}

.news-list-container .news-item-card:hover .news-item-title {
    color: #0068C0;
}

.news-list-container .news-item-excerpt {
    flex: 1;
}

.news-list-container .news-item-excerpt p {
    color: #333;
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --------------------
    ニュース一覧表示（従来のarticle形式）
-------------------- */
.news-list-container .news-item {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 25px;
    padding: 30px;
}

.news-list-container .news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-list-container .news-title {
    margin: 0 0 15px 0;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.4;
}

.news-list-container .news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-list-container .news-title a:hover {
    color: #0068C0;
}

.news-list-container .news-excerpt {
    margin-bottom: 20px;
}

.news-list-container .news-excerpt p {
    color: #333;
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
}

.news-list-container .news-more {
    text-align: right;
}

.news-list-container .more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0068C0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-list-container .more-link:hover {
    color: #004d87;
}

.news-list-container .more-link::after {
    content: '→';
    font-weight: bold;
    transition: transform 0.3s ease;
}

.news-list-container .more-link:hover::after {
    transform: translateX(4px);
}

/* --------------------
    ページネーション
-------------------- */
.news-pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination-info {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.4rem;
}

.pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #0068C0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #0068C0;
    color: #fff;
    border-color: #0068C0;
}

.page-link.current {
    background-color: #0068C0;
    color: #fff;
    border-color: #0068C0;
    pointer-events: none;
}

.page-ellipsis {
    padding: 0 8px;
    color: #6c757d;
}

/* --------------------
    カテゴリメニュー
-------------------- */
.category-menu {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-item {
    margin: 0;
}

.category-item a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-item a:hover {
    background-color: #e9ecef;
    color: #0068C0;
}

.category-item.active a {
    background-color: #0068C0;
    color: #fff;
    border-color: #0068C0;
}

.subcategory-menu {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.subcategory-heading {
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.subcategory-item a {
    display: inline-block;
    padding: 6px 14px;
    background-color: #fff;
    color: #495057;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    font-size: 1.3rem;
}

.subcategory-item a:hover {
    background-color: #f8f9fa;
    color: #0068C0;
    border-color: #0068C0;
}

.subcategory-item.active a {
    background-color: #0068C0;
    color: #fff;
    border-color: #0068C0;
}

/* --------------------
    記事詳細ページ
-------------------- */
.p-newsdetail {
    background-color: #f8f9fa;
    padding: 30px 0 80px 0;
    min-height: 70vh;
}

.p-newsdetail__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.p-newsdetail__title {
    font-size: 3.0rem;
    font-weight: bold;
    text-align: center;
    color: #333;
    position: relative;
    margin: 0;
    line-height: 1.3;
    max-width: 800px;
}

.p-newsdetail__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0068C0;
}

.p-newsdetail__character {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.p-newsdetail__content {
    max-width: 100%;
    margin: 0 auto;
}

/* 記事詳細のスタイル */
.news-detail {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.news-header {
    padding: 40px 40px 30px 40px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.news-detail .news-title {
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
    margin: 0 0 20px 0;
}

.news-detail .news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.news-detail .news-date {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    background-color: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.news-content {
    padding: 40px;
    line-height: 1.8;
    font-size: 1.6rem;
    color: #333;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
    margin: 30px 0 20px 0;
    font-weight: bold;
    line-height: 1.4;
}

.news-content h1 { font-size: 2.4rem; color: #0068C0; }
.news-content h2 { font-size: 2.2rem; color: #0068C0; }
.news-content h3 { font-size: 2.0rem; color: #333; }
.news-content h4 { font-size: 1.8rem; color: #333; }

.news-content p {
    margin: 0 0 12px 0;
    line-height: 1.8;
}

.news-content p:empty,
.news-content p:has(br:only-child) {
    margin: 0 0 6px 0;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
    display: block;
}

.news-content ul,
.news-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.news-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-left: 4px solid #0068C0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.news-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.news-content th,
.news-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.news-content th {
    background-color: #0068C0;
    color: #fff;
    font-weight: bold;
}

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

.news-back {
    padding: 30px 40px 40px 40px;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.news-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #0068C0;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-back a:hover {
    background-color: #004d87;
}

.news-back a::before {
    content: '←';
    font-weight: bold;
    transition: transform 0.3s ease;
}

.news-back a:hover::before {
    transform: translateX(-4px);
}

/* エラーメッセージ */
.p-newsdetail__error {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.error-message {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.error-message h2 {
    font-size: 2.4rem;
    color: #dc3545;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.error-message p {
    font-size: 1.6rem;
    color: #333;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.error-link {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.error-link--primary {
    background-color: #0068C0;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 104, 192, 0.3);
}

.error-link--primary:hover {
    background-color: #004d87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 104, 192, 0.4);
}

.error-link--secondary {
    background-color: #6c757d;
    color: #fff;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.error-link--secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

/* --------------------
    サブページ
-------------------- */
.p-subpage {
    background-color: #f8f9fa;
    padding: 30px 0 80px 0;
    min-height: 70vh;
}

.p-subpage__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.p-subpage__title {
    font-size: 3.6rem;
    font-weight: bold;
    text-align: center;
    color: #333;
    position: relative;
    margin: 0;
}

.p-subpage__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0068C0;
}

.p-subpage__character {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}


/* --------------------
    お見積り
-------------------- */

.p-estimate-photo__description {
    font-size: 1.6rem;
    color: #333;
    line-height: 1.8;
    text-align:center;
    margin-bottom: 20px;
}

/* --------------------
    お問い合わせフォーム
-------------------- */

.p-contact-form__form {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

.p-contact-form__group {
    margin-bottom: 25px;
}

.p-contact-form__group.has-error .p-contact-form__input,
.p-contact-form__group.has-error .p-contact-form__select,
.p-contact-form__group.has-error .p-contact-form__textarea {
    border-color: #dc3545;
}

.p-contact-form__label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.5rem;
}

/* --------------------
    お問い合わせ確認画面
-------------------- */

.p-contact-confirm {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

.p-contact-confirm__group {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.p-contact-confirm__group:last-child {
    border-bottom: none;
}

.p-contact-confirm__label {
    width: 200px;
    flex-shrink: 0;
    font-weight: bold;
    color: #333;
    font-size: 1.5rem;
}

.p-contact-confirm__value {
    flex: 1;
    color: #555;
    font-size: 1.5rem;
    line-height: 1.6;
}

.p-contact-confirm__images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.p-contact-confirm__image {
    text-align: center;
}

.p-contact-confirm__image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.p-contact-confirm__image p {
    margin: 8px 0 0 0;
    font-size: 1.2rem;
    color: #333;
    word-break: break-all;
}

.p-contact-confirm__actions {
    text-align: center;
}

.p-contact-confirm__form {
    margin: 0;
}

.p-contact-form__back-button {
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.6rem;
    font-weight: bold;
}

/* --------------------
    お問い合わせ完了画面
-------------------- */

.p-contact-complete {
    background-color: #fff;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
}

.p-contact-complete__icon {
    margin-bottom: 20px;
}

.p-contact-complete__icon i {
    font-size: 6rem;
    color: #28a745;
}

.p-contact-complete__message h3 {
    font-size: 2.4rem;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.p-contact-complete__message p {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 30px 0;
}

.p-contact-complete__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.p-contact-complete__actions .c-button {
    padding: 15px 30px;
    font-size: 1.5rem;
    text-decoration: none;
    min-width: 200px;
}


/* --------------------
    レスポンシブ対応
-------------------- */
@media (max-width: 767px) {
    .breadcrumb-nav {
        margin: 15px 0 20px 0;
        padding: 10px 0;
    }
    
    .breadcrumb-list {
        font-size: 1.2rem;
        gap: 6px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 6px;
    }
    
    .p-newslist {
        padding: 20px 0 60px 0;
    }
    
    .p-newslist__header {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .p-newslist__title {
        font-size: 2.8rem;
    }
    
    .p-newslist__character {
        width: 60px;
        height: 60px;
    }
    
    /* 記事詳細ページのレスポンシブ */
    .p-newsdetail {
        padding: 20px 0 60px 0;
    }
    
    .p-newsdetail__header {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .p-newsdetail__title {
        font-size: 2.8rem;
    }
    
    .p-newsdetail__character {
        width: 60px;
        height: 60px;
    }
    
    .p-newsdetail__content {
        width: 100%;
        margin: 0 auto;
    }
    
    .news-header {
        padding: 25px 20px 20px 20px;
    }
    
    .news-detail .news-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .news-detail .news-meta {
        gap: 10px;
    }
    
    .news-detail .news-date {
        font-size: 1.3rem;
        padding: 6px 12px;
    }
    
    .news-content {
        padding: 25px 20px;
        font-size: 1.5rem;
    }
    
    .news-content h1 { font-size: 2.0rem; }
    .news-content h2 { font-size: 1.8rem; }
    .news-content h3 { font-size: 1.6rem; }
    .news-content h4 { font-size: 1.5rem; }
    
    .news-content ul,
    .news-content ol {
        padding-left: 25px;
    }
    
    .news-content blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }
    
    .news-content th,
    .news-content td {
        padding: 8px 10px;
        font-size: 1.4rem;
    }
    
    .news-content img {
        max-width: 100%;
        margin: 10px 0;
    }
    
    .news-back {
        padding: 25px 20px 30px 20px;
    }
    
    .news-back a {
        padding: 10px 20px;
        font-size: 1.4rem;
    }
    
    .error-message {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .error-message h2 {
        font-size: 2.0rem;
    }
    
    .error-message p {
        font-size: 1.4rem;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }
    
    .error-link {
        padding: 10px 20px;
        font-size: 1.4rem;
    }
    
    .news-list dt {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 20px;
    }
    
    .news-date {
        min-width: auto;
        font-size: 1.3rem;
    }
    
    .news-category {
        font-size: 1.1rem;
    }
    
    .news-list-container .news-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .news-list-container .news-item-card {
        margin-bottom: 20px;
    }
    
    .news-list-container .news-item-link {
        flex-direction: column;
    }
    
    .news-list-container .news-item-image {
        width: 100%;
        height: 200px;
    }
    
    .news-list-container .news-item-content {
        padding: 20px;
    }
    
    .news-list-container .news-item-meta {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .news-list-container .news-item-date {
        font-size: 1.3rem;
    }
    
    .news-list-container .news-item-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .news-list-container .news-title {
        font-size: 1.8rem;
    }
    
    .news-list-container .news-excerpt p,
    .news-list-container .news-item-excerpt p {
        font-size: 1.4rem;
    }
    
    .category-menu {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .category-list {
        gap: 8px;
    }
    
    .category-item a {
        padding: 6px 12px;
        font-size: 1.3rem;
    }
    
    .subcategory-item a {
        padding: 5px 10px;
        font-size: 1.2rem;
    }
    
    .pagination-links {
        gap: 4px;
    }
    
    .page-link {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 1.3rem;
    }
    
    /* お問い合わせフォームのレスポンシブ */
    .p-contact-form__form {
        padding: 25px 20px;
    }
    
    .p-contact-confirm {
        padding: 25px 20px;
    }
    
    .p-contact-confirm__group {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .p-contact-confirm__label {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .p-contact-confirm__actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .p-contact-confirm__actions .c-button {
        width: 100%;
    }
    
    .p-contact-complete {
        padding: 40px 20px;
    }
    
    .p-contact-complete__actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .p-contact-complete__actions .c-button {
        width: 100%;
        min-width: auto;
    }
    
    .p-contact-form__upload-area {
        padding: 30px 15px;
    }
    
    .upload-icon {
        font-size: 2.5rem;
    }
    
    .p-contact-form__upload-text {
        font-size: 1.3rem;
    }
    
    .preview-item {
        width: 100px;
        height: 100px;
    }
    
    .p-contact-confirm__image img {
        width: 100px;
        height: 100px;
    }
}

/* ============================
    会社概要・スタッフページ専用CSS
============================ */

/* --------------------
    会社概要ページ
-------------------- */
.p-company__greeting {
    margin-bottom: 4rem;
    text-align: center;
}

.p-company__greeting-text {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}

.p-company__content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 4rem;
}

.p-company__photo {
    flex: 0 0 40%;
}

.p-company__photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.p-company__info {
    flex: 1;
}

.p-company__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ccc;
}

.p-company__table th,
.p-company__table td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

.p-company__table th {
    vertical-align: top;
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    width: 25%;
    padding-top:15px;
}

.p-company__table td {
    color: #555;
}

.p-company__table tr:last-child th,
.p-company__table tr:last-child td {
    border-bottom: none;
}

.p-company__table tr:hover {
    background-color: transparent;
}

/* 法的ページ内のテーブル調整 */
.news-detail .p-company__table {
    border-radius: 0;
    overflow: visible;
    border: 1px solid #ccc;
    box-shadow: none;
}

/* --------------------
    スタッフページ
-------------------- */
.p-staff__group-photo {
    text-align: center;
    margin-bottom: 5rem;
}

.p-staff__group-photo img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
}

.p-staff__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
    margin-top: 4rem;
}

.p-staff__item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
}

.p-staff__photo {
    flex: 0 0 150px;
}

.p-staff__photo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    object-position: center 20%; 
    border: 3px solid #fff;
}

.p-staff__info {
    flex: 1;
}

.p-staff__name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.p-staff__message {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
}

/* --------------------
    レスポンシブ対応
-------------------- */
@media (max-width: 768px) {
    .p-company__content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .p-company__photo {
        flex: none;
        text-align: center;
    }
    
    .p-company__photo img {
        width: 90%;
    }
    
    .p-company__table th,
    .p-company__table td {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
    }
    
    .p-staff__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .p-staff__item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .p-staff__photo {
        flex: none;
        align-self: center;
    }
}