/* 全体的な設定 */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f2f2f2;
}

.bg-primary-dark {
    background-color: #0056b3;
    color: #fff;
}

.bg-primary-dark h2 {
    color: #fff;
}

/* ボタンのスタイル */
.btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('img/bg01.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* 特徴セクション */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
}

/* 私たちについてセクション */
.about-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* お客様の声セクション */
.testimonial-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-item cite {
    display: block;
    text-align: right;
    font-size: 0.9em;
    color: #555;
}

/* お問い合わせフォーム */
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 30px auto 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    cursor: pointer;
    border: none;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

footer a {
    color: #fff;
    margin: 0 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5em;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2em;
    }
}


/* 会社概要テーブル */
.company-info-table, .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden; /* 角丸のため */
}

.company-info-table th, .specs-table th,
.company-info-table td, .specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-info-table th, .specs-table th {
    background-color: #f8f8f8;
    width: 120px; /* 見出しの幅を固定 */
    font-weight: bold;
    color: #333;
}

.company-info-table tr:last-child td,
.specs-table tr:last-child td {
    border-bottom: none;
}


/* 製品スペック画像 */
.product-spec-image {
    display: block; /* 中央寄せのためにブロック要素に */
    margin: 30px auto 0; /* 上にスペース、左右中央寄せ */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* 価格プランのグリッド */
.pricing-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pricing-plan-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-plan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pricing-plan-item.featured {
    border: 3px solid #007bff; /* メインカラーを強調 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: scale(1.02); /* 少し大きく */
}

.pricing-plan-item h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 15px;
}

.pricing-plan-item .price {
    font-size: 2.8em;
    font-weight: bold;
    color: #007bff; /* メインカラー */
    margin-bottom: 20px;
    margin-top: 0px;
}

.pricing-plan-item .price .tax-info {
    font-size: 0.5em;
    font-weight: normal;
    vertical-align: super;
    color: #666;
}

.pricing-plan-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-plan-item ul li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px dashed #eee;
}

.pricing-plan-item ul li:last-child {
    border-bottom: none;
}

.pricing-plan-item .btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 1.1em;
    text-decoration: none;
}


/* 補助金リスト */
.subsidy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.subsidy-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subsidy-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.subsidy-item h3 {
    font-size: 1.5em;
    color: #007bff; /* メインカラー */
    margin-bottom: 10px;
}

.subsidy-item p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.subsidy-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.subsidy-item a:hover {
    text-decoration: underline;
}

/* 外部リンクアイコンのスタイル (Font Awesomeなどを使う場合は別途設定) */
.subsidy-item .external-link-icon::after {
    content: '\2197'; /* またはFont Awesomeのアイコンなど */
    margin-left: 5px;
    font-size: 0.9em;
}

/* レスポンシブ対応 (必要であれば追加) */
@media (max-width: 768px) {
    .pricing-plan-grid, .subsidy-list {
        grid-template-columns: 1fr; /* 1列にする */
    }
}

/* FAQアコーディオンのスタイル */
.faq-accordion .faq-item {
    margin-bottom: 20px; /* 各FAQ項目間の余白を20pxに設定 */
}

.faq-accordion .accordion-header {
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.4s ease;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
}

.faq-accordion .accordion-header:hover {
    background-color: #ddd;
}

.faq-accordion .accordion-header.active {
    background-color: #ccc;
}

.faq-accordion .accordion-content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fff;
    border-radius: 8px;
}

.faq-accordion .accordion-content p {
    padding: 10px 0;
}


/* ボタンの中央配置 */
.center-btn {
    text-align: center;
    margin-top: 30px;
}

/* プライマリーボタンの色をオレンジに変更 */
.btn-primary {
    display: inline-block;
    background-color: #ff7f50; /* オレンジ系の色 */
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background-color: #ff6347; /* ホバー時の少し濃いオレンジ */
}

/* 活用事例セクション */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PCでは2列に固定 */
    gap: 30px;
    margin-top: 30px;
}

/* 画面幅が768px以下の場合は1列にする（スマートフォン対応） */
@media (max-width: 768px) {
    .use-case-grid {
        grid-template-columns: 1fr;
    }
}

.use-case-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.use-case-item h3 {
    color: #007bff;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.use-case-item h4 {
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 5px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.use-case-item ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.use-case-item ul li {
    padding: 5px 0;
    font-size: 0.95em;
    line-height: 1.6;
}

/* 活用事例セクションのアイコン */
.use-case-item .case-icon {
    display: block;
    width: 120px; /* アイコンのサイズ */
    height: auto;
    margin: 0 auto 20px; /* 中央配置と下部の余白 */
}



/* アコーディオンヘッダーのアイコン */
.accordion-header {
    position: relative;
}

.accordion-header .icon-plus {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.accordion-header .icon-plus::before {
    content: '+';
    font-size: 1.5em;
    line-height: 1;
}

.accordion-header.active .icon-plus::before {
    content: '−';
}


/* ヘッダーのコンテンツ配置 */
.header-content {
    text-align: center;
    padding-top: 30px;
}

/* ロゴのスタイル */
.site-logo {
    display: block;
    max-width: 350px;
    margin: 0 auto 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .site-logo {
        max-width: 150px;
    }
}


/* フッター内のレイアウト */
.footer-content {
    text-align: center;
    padding: 30px 0;
}

.footer-content p {
    margin: 5px 0;
}

/* フッターのロゴ */
.footer-logo {
    max-width: 150px; /* PCでのロゴサイズ */
    height: auto;
    margin-bottom: 10px;
}

/* フッターのリンク */
.footer-links a {
    color: #fff;
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-logo {
        max-width: 100px; /* スマホでのロゴサイズ */
    }
}