/* 料金ページ固有スタイル */
.price-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.price-section h2 {
    font-size: 32px;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 50px;
}

.price-section .price-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.price-section .price-item h3 {
    font-size: 28px;
    color: var(--main-color);
    margin-bottom: 20px;
}

.price-section .price-item .price-range {
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 20px;
}

.price-section .price-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.price-section .price-item ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.price-section table {
    max-width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    border: 1px solid #ddd;
}

.price-section th,
.price-section td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.price-section th {
    background-color: #f2f2f2;
    color: var(--main-color);
}

.price-section .note {
    font-size: 14px;
    color: #888;
    margin-top: 20px;
}

/* サービスページ固有スタイル */

.services-offered {
    padding: 80px 0;
    background-color: #fff;
}

.services-offered h3 {
    font-size: 32px;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 50px;
}

.services-offered .service-category {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.services-offered .service-category h4 {
    font-size: 28px;
    color: var(--main-color);
    margin: 15px 0px;
}

.services-offered .service-category h5 {
    font-size: 22px;
    color: var(--main-color);
    margin: 5px;
}

.services-offered .service-category ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
}

.services-offered .service-category ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.our-strengths {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.our-strengths h3 {
    font-size: 32px;
    color: var(--main-color);
    margin-bottom: 50px;
    text-align: center;
}

.our-strengths .strength-item {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.our-strengths .strength-item h4 {
    font-size: 28px;
    color: var(--main-color);
    margin:0px 15px;
}

.our-strengths .strength-item p {
    font-size: 16px;
    color: #555;
}

.target-audience {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

.target-audience h3 {
    font-size: 32px;
    color: #d9534f; /* 注意を促す色 */
    margin: 0px 20px;
}

.target-audience ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.target-audience ul li {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
}

/* 会社情報ページ固有スタイル */
.company-info {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.company-info h2 {
    font-size: 32px;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 5px;
}

.company-info table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px solid #ddd;
    background-color: #fff;
}

.company-info th,
.company-info td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    font-size: 18px;
}

.company-info th {
    background-color: #f2f2f2;
    color: var(--main-color);
    width: 30%;
}

/* 資料ダウンロードページ固有スタイル */
.documents-list {
    padding: 20px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.documents-list h2 {
    font-size: 32px;
    color: var(--main-color);
    margin-bottom: 20px;
}

.documents-list p {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
}

.documents-list .documents-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: space-between; /* 左右に配置 */
    gap: 20px; /* テキストと画像の間隔 */
}

.documents-list .documents-content {
    flex-grow: 1; /* 残りのスペースを占有 */
}

.documents-list .documents-image {
    flex-shrink: 0; /* 縮小しない */
    width: 150px; /* 画像の幅を調整 */
    height: auto;
}

.documents-list .documents-image img {
    max-width: 100%;
    height: auto;
    display: block; /* 余分な下マージンを削除 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .documents-list .documents-item {
        flex-direction: column; /* モバイルでは縦並び */
        text-align: center;
    }
    .documents-list .documents-content {
        text-align: center;
    }
    .documents-list .documents-image {
        margin-top: 20px; /* 画像とテキストの間隔 */
    }
}

.documents-list .document-item h3 {
    font-size: 28px;
    color: var(--main-color);
    margin: 10px 0px;
}

.documents-list .document-item p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.documents-list .cta-button {
    font-size: 1.0em;
    padding: 10px;
    border: none;
}


/* プライバシーポリシーページ固有スタイル */
.privacy-policy-content {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.privacy-policy-content h2 {
    font-size: 32px;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 50px;
}

.privacy-policy-content h3 {
    font-size: 28px;
    color: var(--main-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy-policy-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.privacy-policy-content ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
    margin-bottom: 20px;
}

.privacy-policy-content ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}

/* 初期コンサルティング費用と成功報酬を2列にするためのスタイル */
.price-section .price-cards-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* 継続顧問料セクションのスタイル */
.price-section .price-monthly-fee-section {
    margin-top: 50px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.price-section .price-monthly-fee-section h3 {
    font-size: 28px;
    color: var(--main-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.price-section .price-monthly-fee-section h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #f6d719;
}

.price-section .price-item h3 {
    font-size: 28px;
    color: var(--main-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.price-section .price-item h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #f6d719;
}

.price-section .price-details {
    margin-top: 20px;
}

.price-section .price-range {
    font-size: 36px;
    font-weight: bold;
    color: #fe9a41;
    margin-bottom: 20px;
}

.price-section .price-item ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.price-section .price-item ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

/* 料金ページ - テーブルのモダンなデザイン */
.price-section .price-table-container {
    margin-top: 40px;
    overflow-x: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.price-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.price-section table thead th {
    background-color: var(--main-color);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.price-section table tbody td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #333;
}

.price-section table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.price-section table tbody tr:hover {
    background-color: #eaf2f8;
}

.price-section .note {
    font-size: 14px;
    color: #888;
    margin-top: 20px;
    text-align: center;
}

/* サービスページ - モダンなデザイン */
.services-offered .container,
.our-strengths .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-category h4,
.strength-item h4 {
    font-size: 24px;
    color: var(--main-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.service-category h4::after,
.strength-item h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #f6d719;
}

.service-category h5 {
    font-size: 20px;
    color: #fe9a41;
    margin-top: 20px;
    margin-bottom: 10px;
}

.services-offered ul,
.our-strengths ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.services-offered ul li,
.our-strengths ul li {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

/* 対象読者セクション - モダンなデザイン */
.target-audience ul.styled-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
}

.target-audience ul.styled-list li {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 18px;
    color: #333;
    position: relative;
    padding-left: 40px;
}

/* 共通のカードスタイル */
.price-section .price-item.card,
.service-category.card,
.strength-item.card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-section .price-item.card:hover,
.service-category.card:hover,
.strength-item.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* アイコンリストのスタイル */
.icon-list {
    list-style: none;
    padding: 0;
}

.icon-list li {
    padding-left: 25px;
    position: relative;
    text-align: left;
}

.icon-list li i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .price-section .price-cards-two-columns,
    .services-offered .container,
    .our-strengths .container {
        grid-template-columns: 1fr;
        font-size: 16px;
    }

    .price-section h2 {
        font-size: 24px;
    }

    .price-section .price-monthly-fee-section {
        padding: 10px;
    }

    .services-offered,
    .our-strengths h3 {
        font-size: 24px;
        margin: 50px auto;
        width: 95%;
    }
}

/* ページバナーの共通スタイル */
.page-banner {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0; /* 適度な余白 */
    position: relative;
    overflow: hidden; /* 背景画像がはみ出さないように */
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* オーバーレイ */
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-banner p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .page-banner {
        padding: 80px 0;
    }

    .page-banner h2 {
        font-size: 24px;
    }

    .page-banner p {
        font-size: 16px;
    }

}

/* Thank you page styles */
.thank-you-message {
    padding: 80px 0;
    text-align: center;
}

.thank-you-message h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.thank-you-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #374151;
}

/* Download section styles */
.download-section {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-section h3 {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    text-align: center;
}

.download-section p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    text-align: center;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Responsive design for download buttons */
@media (max-width: 768px) {
    .download-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .download-section h3 {
        font-size: 1.5rem;
    }
    
    .download-btn {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .download-buttons {
        gap: 0.75rem;
    }
}

/* Document selection info message styles */
.document-info-message {
    display: flex;
    align-items: center;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.document-info-message .info-icon {
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.document-info-message .info-text {
    flex: 1;
}

.document-info-message .info-text strong {
    color: #155724;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.document-info-message .info-text p {
    color: #155724;
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive design for document info message */
@media (max-width: 768px) {
    .document-info-message {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .document-info-message .info-icon {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1rem;
        margin-right: 0.75rem;
    }
    
    .document-info-message .info-text strong {
        font-size: 1rem;
    }
    
    .document-info-message .info-text p {
        font-size: 0.8rem;
    }
}

/* サポートセクション固有スタイル */
.support-section {
    padding: 80px 0;
    background-color: #eef7ff; /* サービス・強みセクションと異なる背景色 */
    text-align: center;
}

.support-section .section-title {
    font-size: 38px;
    color: var(--main-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.support-section .section-intro {
    font-size: 18px;
    color: #555;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.support-section .support-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-section .support-item {
    background-color: #fff;
    border: 1px solid #cce7ff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.support-section .support-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.support-section .support-icon {
    font-size: 40px;
    color: var(--main-color);
    margin-bottom: 10px;
    background-color: #e0f2ff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* アイコンが縮まないように */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.support-section .support-content {
    flex-grow: 1; /* 残りのスペースを占める */
}

.support-section .support-content h4 {
    font-size: 24px;
    color: var(--main-color);
    margin-top: 0;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.support-section .support-content h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: #f6d719; /* 強調色 */
    border-radius: 2px;
}


.support-section .support-content h5 {
    font-size: 20px;
    margin: 5px 0;
}   

.support-section .support-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.7;
}

.support-section .support-content .highlight {
    font-weight: bold;
    color: #d9534f; /* 注意を促す色 */
    background-color: #fff0f0;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .support-section .section-title {
        font-size: 32px;
    }
    .support-section .section-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .support-section .support-item {
        padding: 25px;
    }
    .support-section .support-icon {
        font-size: 40px;
        width: 70px;
        height: 70px;
    }
    .support-section .support-content h4 {
        font-size: 22px;
    }
    .support-section .support-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .support-section {
        padding: 60px 0;
    }
    .support-section .section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .support-section .section-intro {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .support-section .support-items {
        grid-template-columns: 1fr; /* モバイルでは1列表示 */
        gap: 25px;
    }
    .support-section .support-item {
        padding: 20px;
        flex-direction: row; /* モバイルではアイコンとテキストを横並びに */
        align-items: center;
    }
    .support-section .support-icon {
        font-size: 36px;
        width: 60px;
        height: 60px;
        margin-right: 15px;
        margin-bottom: 0; /* 横並びになったので下マージンをリセット */
    }
    .support-section .support-content h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .support-section .support-content h4::after {
        width: 50px;
        height: 3px;
    }
    .support-section .support-content p {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .support-section .support-content .highlight {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .support-section .section-title {
        font-size: 24px;
    }
    .support-section .section-intro {
        font-size: 14px;
    }
    .support-section .support-item {
        flex-direction: column; /* さらに小さい画面では縦並びに戻す */
        text-align: center;
        align-items: center;
    }
    .support-section .support-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    .support-section .support-content {
        text-align: center;
    }
    .support-section .support-content h4 {
        text-align: center;
    }
    .support-section .support-content h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
