/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
body {
  font-family:
    "Hiragino UD Gothic",         /* ヒラギノUD角ゴ（日本語フォント） */
    "Frutiger Neue",              /* Frutiger Neue（欧文フォント） */
    "Hiragino Kaku Gothic ProN",  /* ヒラギノ角ゴ（macOS標準） */
    "Meiryo",                     /* メイリオ（Windows標準日本語） */
    "Arial",                      /* 汎用欧文 */
    sans-serif;                   /* 最後の代替 */
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    scroll-behavior: smooth;
}
 
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
 
.section {
    padding: 80px 0;
}
 
.bg-light {
    background-color: #f8f9fa;
}
 
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}
 
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #007bff;
    margin: 15px auto 0;
    border-radius: 2px;
}
 
/* --- 1. Hero Header --- */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('../img/hero_img.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
 
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}
 
.hero-content p {
    font-size: 1.2rem;
    max-width: 1200px;
    margin: 0 auto 30px;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.5);
}
 
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: background 0.3s;
}
 
.cta-button:hover {
    background: #0056b3;
}
.worries-solution-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
    padding: 20px 0;
}
 
/* ZEBiTの部分だけ青色に */
.worries-solution-text span {
    color: #007bff;
    font-size: 3.8rem;
    margin: 0 5px;
}
 
/* 下矢印などのアイコンを添えるとより効果的 */
.worries-solution-text::after {
    content: '\f107'; /* FontAwesomeの矢印 */
    font-family: 'Font Awesome 6 Free';
    display: block;
    margin-top: 10px;
    font-size: 2rem;
    color: #007bff;
    animation: bounce 2s infinite; /* ぴょこぴょこ動かして注目させる */
}
 
/* 矢印を動かすアニメーション */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}
 
@media (max-width: 768px) {
    .worries-solution-text {
        font-size: 1.2rem;
    }
    .worries-solution-text span {
        font-size: 1.4rem;
    }
}
 
/* --- 2. Flexbox Grid (Solution & Video) --- */
.flex-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
 
.card {
    flex: 1;
    min-width: 260px;
    padding: 40px;
    background: var(--bg-light); 
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.left-align {
    text-align: left;
}
 
.card:hover {
    transform: translateY(-5px);
}
 
.icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}
/* --- 提供価値セクション専用のスタイル --- */
#strengths .flex-grid {
    align-items: stretch; /* カードの高さを揃える */
}
 
#strengths .card {
    border-top: 6px solid #007bff; /* カード上部にアクセントライン */
    background: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
 
/* ホバー時に少し浮き上がり、影を濃くする */
#strengths .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
}
 
/* 各アイコンの背景に薄い円形を追加して目立たせる */
#strengths .icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: #f0f7ff;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
 
#strengths .card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}
 
/* 各カードのタイトル */
#strengths .card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #0056b3;
    min-height: 3rem; /* タイトルの行数が違っても高さを揃える */
    display: flex;
    align-items: center;
    justify-content: center;
}
 
/* カードごとのアクセントカラー（お好みで） */
/* 1つめ：グリーン（省エネ） */
#strengths .card:nth-child(1) { border-top-color: #27ae60; }
#strengths .card:nth-child(1) .icon { color: #27ae60; background: #eafaf1; }
#strengths .card:nth-child(1) h3 { color: #1e7d43; }
 
/* 2つめ：ブルー（テクノロジー・法令） */
#strengths .card:nth-child(2) { border-top-color: #007bff; }
#strengths .card:nth-child(2) .icon { color: #007bff; background: #f0f7ff; }
 
/* 3つめ：ネイビー/ゴールド（信頼・トータル） */
#strengths .card:nth-child(3) { border-top-color: #34495e; }
#strengths .card:nth-child(3) .icon { color: #34495e; background: #ebedef; }
#strengths .card:nth-child(3) h3 { color: #2c3e50; }
 
/* テキストの調整 */
#strengths .card p {
    font-size: 0.95rem;
    text-align: left;
    color: #555;
    line-height: 1.7;
}
/* --- 3. PDF Viewers --- */
.pdf-group {
    margin-bottom: 50px;
}
 
.pdf-group h3 {
    margin-bottom: 20px;
    color: #444;
}
 
.pdf-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
 
.pdf-item {
    flex: 1;
    min-width: 300px;
}
 
.pdf-item label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}
 
.pdf-item iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
/* --- PDFセクションのレイアウト --- */
.pdf-viewers {
    display: flex;
    flex-wrap: wrap;
    gap: 24px; /* ここで間隔を調整 */
    justify-content: center;
}
.pdf-block {
    flex: 1;
    min-width: 300px; /* PCでは横並び、これ以下になると縦並び */
    max-width: 100%;
}
.pdf-block h3 {
  font-size: 1.1em;
  margin-bottom: 12px;
  text-align: center;
}
.pdf-viewer {
    width: 100%;
    height: 500px; /* PCでの高さ */
    border: 1px solid #ddd;
    border-radius: 8px;
}
.download-section {
  margin-top: 32px;
  text-align: center;
}
.download-btn:hover {
    background: #0056b3;
}
/* --- スマホ用レスポンシブ (768px以下) --- */
@media (max-width: 768px) {
    .pdf-viewers {
        flex-direction: column; /* 縦並びを強制 */
        gap: 40px;
    }
 
    .pdf-block {
        width: 100%;
        margin-right: 0 !important; /* HTMLにstyleがあった場合の解除 */
    }
 
    .pdf-viewer {
        height: 350px; /* スマホでは少し高さを抑える */
    }
 
    /* 文中の不要な改行をスマホで無効化する場合 */
    .overview-description br {
        display: none;
    }
}
.download-section {
    margin-top: 40px;
    text-align: center;
}
 
/* --- 4. YouTube Archive --- */
.video-wrapper {
    flex: 1;
    min-width: 300px;
}
 
.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
 
.video-wrapper p {
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
}
 
/* --- 5. Price Plans --- */
.price-card {
    background: #fff;
    /* 青枠を削除 */
    border: none;
    /* 上部にだけ細いアクセントラインを入れる（任意） */
    border-top: 4px solid #007bff;
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* 柔らかい影に変更 */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
@media (max-width: 700px) {
    .price-card {
        max-width: 100%;
        padding: 20px 8px;
    }
}
 
.price-card.featured {
    border: 2px solid #007bff;
    position: relative;
    transform: scale(1.05);
    z-index: 1;
}
 
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
}
 
.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
}
 
.price span {
    font-size: 1rem;
    color: #777;
}
 
.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}
 
.price-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
 
.plan-btn {
    padding: 12px;
    border: 1px solid #007bff;
    color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}
 
.featured .plan-btn {
    background: #007bff;
    color: #fff;
}
 
.plan-btn:hover {
    background: #007bff;
    color: #fff;
}
/* --- 料金プランのスタイル修正 --- */
.price-card {
    background: #fff;
    /* 青枠を削除 */
    border: none;
    /* 上部にだけ細いアクセントラインを入れる（任意） */
    border-top: 4px solid #007bff;
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* 柔らかい影に変更 */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
 
.price-card:hover {
    transform: translateY(-5px); /* 少し浮き上がる演出 */
}
 
.price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}
 
/* 料金部分の強調 */
.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #007bff;
    margin: 15px 0;
}
 
.price span {
    font-size: 1rem;
    color: #777;
}
 
/* フッター（初期費用など）の整理 */
.price-footer {
    margin-top: auto; /* 下に固定 */
    padding-top: 20px;
    border-top: 1px solid #eee;
}
 
.initial-cost {
    font-weight: bold;
    color: #444;
}
 
.note {
    font-size: 0.8rem;
    color: #888;
}
 
/* --- シミュレーター側の微調整（一貫性用） --- */
.simulator-box {
    border: none; /* 念のため枠線を消す */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
/* --- 6. Price Simulator --- */
.simulator-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}
 
.input-group {
    margin-bottom: 20px;
}
 
.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
 
.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
 
.result {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #eee;
}
 
.result #total-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}
 
/* --- 7. FAQ (Accordion) --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
 
details {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}
 
summary {
    padding: 20px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 50px;
}
 
summary::-webkit-details-marker { display: none; }
 
summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: #007bff;
}
 
details[open] summary::after {
    content: '-';
}
 
.faq-content {
    padding: 0 20px 20px;
    color: #666;
}
 
/* --- 8. Contact Section --- */
.contact-section {
    text-align: center;
    background: #333;
    color: #fff;
}
 
.contact-section .section-title {
    color: #fff;
}
 
.contact-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 20px 60px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    transition: 0.3s;
}
 
.contact-btn:hover {
    background: #007bff;
    color: #fff;
}
/* --- Header --- */
.site-header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
}
.site-logo img {
    height: 40px;
    width: auto;
}
.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}
.main-nav ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: 700;
    font-size: 1rem;
    transition: color .2s;
}
.main-nav ul li a:hover {
    color: #0056b3;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger {
    display: block;
    width: 32px;
    height: 3px;
    background: #007bff;
    position: relative;
    border-radius: 3px;
}
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: #007bff;
    position: absolute;
    border-radius: 3px;
    transition: 0.3s;
}
.hamburger::before {
    top: -10px;
}
.hamburger::after {
    top: 10px;
}
 
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: center;
    }
    .main-nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        display: none; /* 初期は非表示 */
        flex-direction: column;
    }
    .main-nav.active {
        display: flex; /* .active時のみ表示 */
    }
    .main-nav ul {
        flex-direction: column;
        gap: 18px;
        padding: 18px 12px;
    }
    .nav-toggle {
        display: block; /* スマホで表示 */
        margin-left: auto;
    }
}
 
/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    color: #999;
}
 
.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
 
.footer-logos {
    display: flex;
    gap: 20px;
}
.footer-logo {
    height: 40px;
    width: auto;
    background: #fff;
    border-radius: 8px;
 
}
 
.footer-links {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0;
}
 
.footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    transition: color .2s;
}
.footer-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}
 
.footer-copy {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: 16px;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    .footer-logos {
        justify-content: center;
    }
}
 
/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .price-card.featured { transform: scale(1); }
    .flex-grid { flex-direction: column; }
    .pdf-flex { flex-direction: column; }
    .section { padding: 50px 0; }
}
.card-img-icon {
    width: 64px;      /* お好みでサイズ調整 */
    height: 64px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
 

.worries-section .card {
    border: 2px solid #4eb1ff;
    background: #f0fafd;
    padding: 60px 30px;
}
.worries-section .icon {
    color: #2196f3;
}
.worries-section .card h3 {
    margin-bottom: 15px; /* ここを15pxから25pxに増やすことで隙間が広がります */
    /* もしタイトルが1行で、下の文章と離れすぎていると感じる場合は、
       ここにある min-height の数値も合わせて微調整してください */
    min-height: auto; /* 高さを固定せず文字に合わせる場合 */
}
 
.input-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px; /* チェックとラベルの間隔 */
    margin-bottom: 20px;
}
 
.input-group.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #007bff; /* お好みで色調整 */
}
 
.input-group.checkbox-group label {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}
 
/* --- price --- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 1em auto;   /* 自動左右マージンで中央寄せ */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    max-width: 600px;           /* リスト全体の幅を制御（中央配置のため） */
    justify-content: center;    /* グリッド全体を中央揃え */
}
 
.feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1em;
    text-align: left;
}
 
.feature-list i {
    color: #27ae60;
    font-size: 1.3em;
    margin-right: 8px;
    margin-top: 3px;
    flex-shrink: 0;
}
 
.feature-list .desc {
    color: #888;
    font-size: 0.93em;
}
 
@media (max-width: 700px) {
    .feature-list {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}
/* --- 統合セクションのレイアウト --- */
.combined-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    justify-content: center;
}
 
.price-side, .simulator-side {
    flex: 1;
    min-width: 320px;
}
 
/* 料金カードの調整 */
.price-card.featured {
    height: 100%;
    margin: 0;
    transform: none; /* 統合時は拡大を解除してバランスを取る */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
 
.feature-list-simple {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}
 
.feature-list-simple li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
 
.feature-list-simple i {
    color: #27ae60;
    margin-right: 10px;
}
 
/* シミュレーターの調整 */
.simulator-box {
    height: 100%;
    background: #fff;
    border: 1px solid #eee;
}
 
.simulator-box h3 {
    margin-bottom: 5px;
}
 
.sim-intro {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
}
 
.checkbox-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
 
/* 結果表示のデザイン */
.result-display {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}
 
.res-item p {
    font-size: 0.8rem;
    margin: 0;
    color: #555;
}
 
.res-item span {
    font-size: 1.4rem;
    font-weight: 700;
}
 
.res-arrow {
    margin: 5px 0;
    color: #007bff;
}
 
.res-item.highlight {
    color: #e67e22; /* 削減額をオレンジで強調 */
}
 
.res-item.highlight span {
    font-size: 2rem;
}
 
.disclaimer {
    font-size: 0.7rem;
    color: #888;
    margin-top: 15px;
    line-height: 1.4;
}
 
/* レスポンシブ */
@media (max-width: 900px) {
    .combined-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .price-side, .simulator-side {
        width: 100%;
        max-width: 500px;
    }
}
/* 文章形式シミュレーターのスタイル */
.sim-sentence {
    font-size: 1.2rem;
    line-height: 2.5; /* 文章の間隔を広げて読みやすく */
    text-align: left;
    color: #333;
}
 
/* 数値入力欄を文章に馴染ませる */
.inline-input {
    display: inline-block;
    width: 100px;
    padding: 5px 10px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-bottom: 2px solid #007bff;
    background: #f8f9fa;
    text-align: center;
    color: #007bff;
}
 
/* ボタン形式の切り替えスイッチ */
.toggle-group {
    display: inline-flex;
    gap: 10px;
    vertical-align: middle;
    margin: 0 5px;
}
 
.toggle-item input[type="checkbox"] {
    display: none; /* 本物のチェックボックスは隠す */
}
 
.toggle-button {
    display: inline-block;
    padding: 5px 15px;
    font-size: 0.9rem;
    background: #eee;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
    line-height: 1.5;
}
 
/* ボタンがON（チェック時）の状態 */
.toggle-item input[type="checkbox"]:checked + .toggle-button {
    background: #007bff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.4);
}
 
/* 強調テキスト */
.text-bold {
    font-weight: 700;
    border-bottom: 1px solid #333;
}
 
.text-accent {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e67e22;
    margin: 0 5px;
}
 

/* シミュレーター内の構造整理 */
.sim-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
 
.sim-sentence {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}
 
.sim-row {
    margin-bottom: 15px; /* 行ごとの余白 */
}
 
/* 結果表示をカード状に独立させて強調 */
.sim-result-box {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,123,255,0.1);
}
 
.result-row {
    font-size: 1rem;
    color: #555;
}
 
.main-result {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}
 
.text-accent {
    font-size: 2.2rem; /* 数字を大きく */
    color: #e67e22;
    margin: 0 5px;
    font-family: 'Arial', sans-serif;
}
 
/* 入力欄の微調整 */
.inline-input {
    width: 110px;
    margin: 0 5px;
    border-radius: 4px;
    background: #f0f7ff;
}
 
/* 料金カードの「おすすめ」削除に伴う高さ調整 */
.price-card.featured {
    padding-top: 40px; /* バッジがなくなった分、余白を調整 */
}
/* サステナビリティ・リード文のスタイル */
.sustainability-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px; /* 下に50pxの余白を空けてカードとの間隔を確保 */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-weight: 500;
}
 
/* PCのみ改行するための設定 */
.pc-only {
    display: block;
}
 
@media (max-width: 768px) {
    .sustainability-lead {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 30px;
    }
    .pc-only {
        display: none; /* スマホでは自動折り返しに任せる */
    }
}
/* my_styles.css の最後あたりに追記 */
 
/* ZEBiT概要セクションのスタイル */
#zebit-overview {
    padding: 80px 0;
    text-align: center; /* セクション内の要素を中央寄せにするため */
}
 
.overview-image-wrapper {
    margin-bottom: 30px; /* 画像の下に余白 */
}
 
.zebit-overview-image {
    max-width: 100%; /* 親要素の幅に合わせて最大幅を設定 */
    height: auto; /* アスペクト比を維持 */
    border-radius: 8px; /* 角を少し丸める */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* 軽い影をつける */
    display: block; /* 中央寄せのためにブロック要素化 */
    margin: 0 auto; /* 中央寄せ */
}
 
/* --- 概要セクションの改行調整 --- */
.overview-description {
    max-width: 900px;
    min-height: 90px;
    margin: 0 auto;
    text-align: center;
    word-break: break-all;
    font-size: 1.1rem;
   
   
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    #zebit-overview {
        padding: 50px 0;
    }
    .overview-description {
        font-size: 1rem;
        padding: 0 15px; /* スマホでの左右の余白 */
    }
}
/* --- 3. 資料アーカイブ（カード型） --- */
.archive-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    color: #333;
    border: 1px solid #eee;
}
 
.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.15);
}
 
.thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3; /* 資料の比率に合わせて調整 */
    overflow: hidden;
    background: #f0f0f0;
}
 
.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
 
.archive-card:hover img {
    transform: scale(1.05);
}
 
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}
 
.archive-card:hover .hover-overlay {
    opacity: 1;
}
 
.archive-info {
    padding: 20px;
    text-align: center;
}
 
.archive-info label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    cursor: pointer;
}
 
.view-more {
    font-size: 0.9rem;
    color: #007bff;
    font-weight: 500;
}
#pdf-container {
  width: 90vw;
  max-width: 900px;
  height: 90vh;
  overflow-y: auto;
  border: 1px solid #888;
  margin: 20px auto;
  background: #fafaff;
  padding: 10px;
}
canvas {
  display: block;
  margin: 0 auto 16px auto;
  background: #fff;
  box-shadow: 0 2px 6px #bbb;
  border-radius: 4px;
}
/* --- コラムセクション --- */
.column-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.column-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.06);
  overflow: hidden;
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.column-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(0,123,255,0.15);
}
.column-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f0f0f0;
}
.column-body {
  padding: 20px 18px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.column-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-align: left;
  line-height: 1.5;
  font-weight: 700;
}
.column-card h3 a {
  color: #007bff;
  text-decoration: none;
  transition: color .2s;
}
.column-card h3 a:hover {
  color: #0056b3;
}
.column-card p {
  font-size: 0.97rem;
  color: #444;
  flex: 1;
  margin-bottom: 16px;
}
.column-readmore {
  margin-top: auto;
  color: #007bff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  align-self: flex-start;
  transition: color .2s;
}
.column-readmore:hover {
  color: #0056b3;
}
.column-footer {
  text-align: center;
  margin-top: 38px;
}
@media (max-width: 900px) {
  .column-list {
    gap: 18px;
  }
  .column-card {
    max-width: 100%;
  }
  .column-thumb {
    height: 140px;
  }
}
@media (max-width: 700px) {
  .column-list {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .column-card {
    max-width: 95vw;
  }
}
:root {
  --primary-color: #005bac;
  --accent-color: #28a745;
  --text-dark: #333;
  --bg-light: rgba(255,255,255,0.9);
  --bg-dark: #181a1b;
  --text-light: #e3e3e3;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}
 
.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
 
.hero-description {
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-light);
  text-align: left; /* 長文は左揃えが読みやすい */
  display: inline-block;
}
 
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 16px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
  margin-bottom: 3rem;
}
 
.cta-button:hover {
  opacity: 0.8;
}
 
/* お知らせ欄のデザイン改善 */
.update-info {
  display: flex;
  align-items: center;
  /* justify-content: space-between;  ←これを削除またはコメントアウト */
  justify-content: flex-start;     /* ★これを追加：左詰めに並べる */
  background: var(--bg-light);
  border-left: 4px solid var(--accent-color);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  max-width: 750px;
  margin: 0 auto;
  gap: 15px; /* ★バッジと文章の間の隙間をここで調整できます */
}
 
.update-badge {
  background: var(--accent-color);
  color: #2f00ff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 2px;
}
.update-list, .update-item, .update-text {
    text-align: left !important;
}
.update-text { color: var(--text-dark); }

/* 2行になった時も綺麗に揃えたい場合 */
.update-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.update-body {
  flex-grow: 1;
  text-align: left;
  font-size: 0.95rem;
}
 
.update-date {
  font-weight: bold;
  margin-right: 10px;
  color: #666;
}
 
.update-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}
 
.update-link:hover {
  text-decoration: underline;
}
 
/* モバイル対応 */
@media (max-width: 600px) {
  .update-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .update-link {
    align-self: flex-end;
  }
}
/* ======================
   モーダルウィンドウ専用CSS
   ====================== */
 
/* 背景エリア */
.modal-bg {
  display: none; /* JSで制御 */
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  overflow-y: auto; /* コンテンツが縦に長い場合にスクロール可能にする */
}
 
/* コンテンツエリア（白い箱） */
.modal-content {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 40px 30px;
  max-width: 800px;
  width: 90%;
  margin: 60px auto;
  border-radius: 8px;
  box-shadow: 0 0 20px #888;
  position: relative;
  text-align: left;
}


 
/* -----------------------
   タイトル (.modal-title)
   ----------------------- */
.modal-content .modal-title {
  font-size: 1.5rem;       /* 文字サイズ */
  font-weight: bold;       /* 太字 */
  line-height: 1.4;        /* 行間 */
  margin-bottom: 20px;     /* 下の余白 */
  border-bottom: 1px solid #ddd; /* デザインアクセント（下線） */
  padding-bottom: 10px;
  color: #000;
  display: block;
}
 
/* -----------------------
   本文テキスト (タイトル以外のpタグ)
   ----------------------- */
.modal-content p:not(.modal-title) {
  font-size: 1rem;         /* 本文の文字サイズ */
  line-height: 1.2;        /* 本文の行間 */
  margin-bottom: 15px;     /* 段落ごとの余白 */
  color: #333;
}
 
/* -----------------------
   ボタンエリアのコンテナ
   ----------------------- */
.modal-footer {
  text-align: center;      /* ボタンを中央寄せ */
  margin-top: 30px;        /* 本文との間隔 */
  padding-top: 20px;       /* 区切り線との間隔 */
  border-top: 1px solid #eee; /* 薄い区切り線（任意） */
}
 
/* -----------------------
   「閉じる」ボタンのスタイル
   ----------------------- */
.modal-close-btn {
  /* position: absolute; を削除して自然な配置にする */
  display: inline-block;
  background: #666;        /* 背景色（グレー） */
  color: #fff;             /* 文字色（白） */
  border: none;
  font-size: 1rem;         /* 文字サイズ */
  padding: 10px 40px;      /* ボタンの大きさ（上下 左右） */
  border-radius: 30px;     /* 丸みのあるボタンにする */
  cursor: pointer;
  transition: background 0.3s;
}
 
/* ホバー時の色変化 */
.modal-close-btn:hover {
  background: #333;        /* カーソルを乗せた時に濃くする */
}
/* --- 動画埋め込み用レスポンシブスタイル --- */
/* --- 動画2つ横並び用レスポンシブスタイル --- */
.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 動画どうしの間の余白 */
    justify-content: center;
    margin: 0 auto 40px auto;
    width: 100%;
    max-width: 1000px; /* 2つ並べるため、少し広めに設定 */
}

.video-wrapper {
    flex: 1 1 calc(50% - 10px); /* PC等では横幅の約半分（2列）にする */
    min-width: 300px; /* 画面が狭くなった時に崩れないための最小幅 */
    aspect-ratio: 16 / 9; /* 16:9の比率を維持 */
    background-color: #000;
    border-radius: 8px; /* 角丸 */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* スマホ表示（画面幅768px以下）のときは縦並び（1列）にする */
@media screen and (max-width: 768px) {
    .video-wrapper {
        flex: 1 1 100%;
    }
}
/* スクロールと一緒についてくるタイプの問合せボタン */
.fixed-contact-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;

  /* ボタンの見た目 */
  background: linear-gradient(135deg, #40c4ff 0%, #1976d2 100%);
  color: #fff;
  border: none;
  border-radius: 48px;
  padding: 18px 26px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 8px 32px rgba(25,118,210,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
  text-decoration: none;

  /* 動き */
  transition: box-shadow 0.3s, transform 0.2s, background 0.3s;
  cursor: pointer;
}

.fixed-contact-btn i {
  font-size: 22px;
  /* ちょっと目立たせる */
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.18));
  animation: shake-icon 2s infinite;
}

/* ホバー時の盛り上げ演出 */
.fixed-contact-btn:hover {
  background: linear-gradient(135deg, #1976d2 0%, #40c4ff 100%);
  box-shadow: 0 16px 40px rgba(25,118,210,0.38), 0 2px 12px rgba(0,0,0,0.18);
  transform: translateY(-2px) scale(1.06);
}

/* アイコンのちょっとした動き（ゆれる） */
@keyframes shake-icon {
  0%   { transform: rotate(0deg);}
  6%   { transform: rotate(-10deg);}
  12%  { transform: rotate(0deg);}
  18%  { transform: rotate(10deg);}
  24%  { transform: rotate(0deg);}
  100% { transform: rotate(0deg);}
}
/* ヒーロー内の動画コンテナ */
.hero-video-container {
    margin: 40px auto;
    max-width: 500px; /* 広がりすぎないように調整 */
    width: 100%;
}

/* 動画のグリッドレイアウト */
.video-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* スマホで縦に並ぶように */
}

.video-wrapper {
    flex: 1;
    min-width: 300px; /* スマホ時の最小幅 */
    aspect-ratio: 16 / 9; /* 動画の比率を維持 */
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px; /* 角を少し丸くすると今風になります */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* 少し浮かせて目立たせる */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hero-video-container {
        margin: 20px auto;
    }
    .video-grid {
        gap: 15px;
    }
}
/* ========================================
   動画セクション - 固定サイズ
   ======================================== */

.video-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.video-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

/* 動画コンテナ：固定サイズ */
.video-wrapper {
    position: relative;
    width: 800px;
    height: 450px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 動画をコンテナいっぱいに */
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.video-title {
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    color: #333;
}

/* ダークモード対応はセレクタの外で書く */
@media (prefers-color-scheme: dark) {
  .video-title {
    color: #e3e3e3;  /* ダーク時の白系などに上書き */
  }
}

/* ========================================
   レスポンシブ対応
   ======================================== */

/* タブレット */
@media (max-width: 900px) {
    .video-wrapper {
        width: 640px;
        height: 360px;
    }
}

/* スマホ */
@media (max-width: 700px) {
    .video-wrapper {
        width: 100%;
        max-width: 560px;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
 
  /* PDFビューワ全体の背景とボーダー */
  .pdf-custom-viewer,
  #pdf-container {
    background: #222326;
    border-color: #444;
  }
  /* PDFを描画するcanvas自体も暗くする */
  canvas {
    background: #333 !important;
    box-shadow: 0 2px 6px #222;
  }

:root {
  --primary-color: #005bac;
  --accent-color: #28a745;
  --text-dark: #333;
  --bg-light: rgba(255,255,255,0.9);
  --bg-dark: #181a1b;
  --text-light: #e3e3e3;
}

/* ===== ダークモードのまとめ ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #4eb1ff;
    --accent-color: #4eb1ff;
    --text-dark: #e3e3e3;
    --bg-light: #24252a;
    --bg-dark: #181a1b;
    --text-light: #e3e3e3;
  }

  body {
    background-color: var(--bg-dark);
    color: var(--text-light);
  }

  .section,
  .card {
    background: #222226;
    color: var(--text-light);
  }

  .bg-light { background-color: #24252a; }

  .section-title,
  summary { color: var(--text-light); }

  .icon,
  .price-card.featured {
    color: #4eb1ff;
    border-color: #4eb1ff;
  }

  .cta-button,
  .contact-btn,
  .plan-btn {
    background: #4eb1ff;
    color: #181a1b;
    border-color: #4eb1ff;
  }
  .cta-button:hover,
  .contact-btn:hover,
  .plan-btn:hover {
    background: #2196f3;
    color: #fff;
  }

  footer {
    background: var(--bg-dark);
    color: #888;
  }
  .site-logo img {
    background: #fff;          /* 明るい色（例:白） */
    border-radius: 8px;        /* 角丸はお好みで */
    padding: 6px;              /* お好みで余白 */
    /* width, heightはimg本体の値を踏襲 or 指定可 */
    /* 特定のdisplay: block;付与も視認性UPに有効 */
  }
  .column-thumb,
  .column-card img {
    background: #fff;
    border-radius: 8px;
    padding: 6px;
  }

  /* --- ヘッダー --- */
    .site-header {
    background: #181a1b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.24);
    }
    .header-container {
    background: transparent; /* 必要なら明示 */
    }
    .main-nav {
    background: #181a1b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    }
    .main-nav ul li a {
    color: #4eb1ff;
    }
    .main-nav ul li a:hover {
    color: #fff;
    }
    .hamburger,
    .hamburger::before,
    .hamburger::after {
    background: #4eb1ff;
    }


    /* 動画 */
    .video-title {
    color: #e3e3e3;  /* ダーク時の白系などに上書き */
    }


    /* --- こんなお悩みありませんか --- */
    .worries-section .card {
        background: #222226;
        border-color: #4eb1ff;  /* 枠線がある場合そのまま青系でもOK */
        color: #e3e3e3;
    }
    .worries-section .card h3 {
        color: #4eb1ff;
    }
    .worries-section .card p {
        color: #e3e3e3;
    }
    .worries-solution-text {
        color: #e3e3e3;
    }
    .worries-solution-text span {
        color: #4eb1ff;
    }

    /* --- PDFビューワ --- */
    .pdf-custom-viewer,
    #pdf-container {
        background: #222326;
        border-color: #444;
    }
    canvas {
        background: #333 !important;
        box-shadow: 0 2px 6px #222;
    }

    /* --- 提供価値（strengths） --- */
    #strengths .card {
        background: #222226;
    }
    #strengths .card h3 {
        color: #4eb1ff;
    }
    #strengths .card p {
        color: #e3e3e3;
    }
    #strengths .card:nth-child(3) h3 {
        color: #fff !important;
    }

    /* --- コラムカード --- */
    .column-card {
        background: #222226;
        color: #e3e3e3;
        box-shadow: 0 8px 26px rgba(0,0,0,0.35);
    }
    .column-card h3,
    .column-card h3 a,
    .column-card p,
    .column-readmore {
        color: #e3e3e3;
    }
    .column-thumb {
        background: #141416;
    }

    /* --- よくあるご質問 --- */
    .faq-container details {
        background: #222326;
        color: #e3e3e3;
        box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    }
    .faq-content {
        color: #e3e3e3;
    }
    summary {
        color: #e3e3e3;
    }
    summary::after {
        color: #4eb1ff;
    }
    details[open] summary::after {
        color: #4eb1ff;
    }

    /* --- サステナビリティリード --- */
    .sustainability-lead {
        color: #e3e3e3;
    }

    /* --- モーダル --- */
    .modal-content {
        background: #222326;
        color: #e3e3e3;
        box-shadow: 0 0 24px #000;
    }
    .modal-content .modal-title {
        color: #e3e3e3;
        border-bottom: 1px solid #333;
    }
    .modal-content p:not(.modal-title) {
        color: #e3e3e3;
    }

    /* --- お知らせ欄テキスト --- */
    .update-text {
        color: var(--text-light);
    }

    /* --- シミュレーター --- */
    .simulator-box {
        background: #222326;
        border-color: #444;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        color: #e3e3e3;
    }
    .sim-sentence { color: #e3e3e3; }
    .inline-input { background: #333; color: #4eb1ff; }
    .toggle-button { background: #444; color: #bbb; }
}
