/* ==========================================================================
   WordPress Original Theme Header Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
}
:root {
    --primary-color: #008964; /* ココストンネットのメイングリーン */
    --text-color: #333;
    --bg-white: #ffffff;
    --transition: all 0.3s ease-in-out;
}
img {
    width: 100%;
}
.sp-br {
    display: none;
}
/* --- ヘッダーの基本設定 --- */
.site-header {
    width: 100%;
    height: 80px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    position: absolute; /* 初期は最上部に配置 */
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* スクロール時に付与されるクラス（JSで制御） */
.site-header.is-fixed {
    position: fixed;
    height: 70px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-inner {
    width: calc(100% - 60px);
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- ロゴ --- */
.header-logo img {
    height: 50px; /* 画像の高さに合わせて調整 */
    width: auto;
    display: block;
}

/* --- ナビゲーション (PC) --- */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* --- ボタン共通 --- */
.mv-btn-group {
  margin-top: 20px;
}
.btn {
    margin: 5px;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-contact {
    background: var(--primary-color);
    color: #fff;
}

.btn-download {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: #fff;
    margin-left: 10px;
}

/* --- 表示切り替え用クラス --- */
.sp-only { display: none; }
.pc-only { display: flex; }

/* --- ハンバーガーボタン --- */
.menu-toggle {
    display: none; /* PCでは隠す */
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }

/* ×印への変形 */
.menu-toggle.is-active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.menu-toggle.is-active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* ==========================================================================
   Responsive (1024px以下)
   ========================================================================== */
@media (max-width: 1024px) {
  html {
      font-size: 14px;
  }

    .pc-only { display: none; }
    .sp-only { display: flex; }
    .menu-toggle { display: block; }

    /* スマホ用ドロワーメニュー */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 隠しておく */
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1500;
    }

    .header-nav.is-active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-list a {
        font-size: 20px;
    }

    .nav-buttons.sp-only {
        flex-direction: column;
        gap: 15px;
        margin: 40px auto 0;
        width: 80%;
    }

    .nav-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }    
    .sp-br {
        display: block;
    }
}
/* ==========================================================================
  メインビジュアル
   ========================================================================== */
   .main-visual {
    position: relative;
    width: 100%;
    height: 600px; /* デザインに合わせて調整 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 背景スライダー --- */
.mv-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mv-slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease; /* フェードの速度 */
}

.mv-slide-item.is-active {
    opacity: 1;
}
.slide01 {
    background-image: url('../images/slide01.jpg');
}
.slide02 {
    background-image: url('../images/slide02.jpg');
}
.slide03 {
    background-image: url('../images/slide03.jpg');
} 
/* --- 固定コンテンツのコンテナ --- */
.mv-fixed-container {
    position: relative;
    z-index: 10;
    width: 95%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 白枠のカード (透過90%) */
.mv-content-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 60px 40px 40px;
    border-radius: 40px;
    text-align: center;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mv-main-title {
    font-size: 64px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}
.mv-sub-title img {
    max-width: 500px;
    margin: 0 auto;
}
/* イラストの配置 */
.mv-illustration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px; 
    z-index: 11;
}

.mv-illustration img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .main-visual { height: auto; padding: 100px 0 50px; }
    .mv-main-title { font-size: 40px; }
    .mv-illustration {
        position: relative;
        width: 180px;
        margin: 20px auto 0;
        right: auto;
    }
    .mv-fixed-container { flex-direction: column; }
    .mv-content-card {
        padding: 40px 40px 20px;
    }    
}


/* ==========================================================================
   毎日の道に、変わらない安心を。
   ========================================================================== */  
   
#about {
    padding: 80px 0;
}
#about > .inner > h1 {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 50px;
}
.about-txt {
    font-size: 1rem;
    line-height: 2;  
}
/* ==========================================================================
  ニュース
   ========================================================================== */
   /* --- ニュースセクション --- */
.news-section {
    padding: 80px 0;
}

.section-head {
    font-size: 32px;
    font-weight: bold;
    color: #333; 
    margin-bottom: 40px;
    padding-bottom: 10px;
}

.news-list {
    border-top: 1px solid #ddd;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.news-item:hover {
    background-color: #f0f0f0;
}

/* 日付とサムネイルのエリア */
.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.news-date {
    font-size: 16px;
    color: #333;
    width: 100px;
}

.news-thumb {
    width: 80px;
    height: 60px;
    background-color: #ccc; /* 画像がない時のグレー */
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* タイトルとバッジのエリア */
.news-body {
    display: flex;
    align-items: center;
    margin-left: 20px;
    gap: 15px;
}

.news-title {
    font-size: 1rem;
    line-height: 1.5;
}

.news-badge {
    background-color: #e6544a; /* NEWの赤 */
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

/* ボタン（任意） */
.news-btn-area {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid #1a8264;
    color: #1a8264;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-more:hover {
    background: #1a8264;
    color: #fff;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column; /* スマホでは縦並び */
        align-items: flex-start;
        padding: 15px 0;
    }
    
    .news-meta {
        margin-bottom: 10px;
    }
    
    .news-body {
        margin-left: 0;
        flex-wrap: wrap; /* 長いタイトル対策 */
    }
    
    .news-date {
        font-size: 14px;
        width: auto;
    }
    
    .news-thumb {
        width: 60px;
        height: 45px;
    }

    .news-title {
        font-size: 15px;
    }
}
/* ==========================================================================
   こんなお悩みありませんか？
   ========================================================================== */  
.problem-section {
    padding: 80px 0;
}

.inner {
    width: calc(100% - 30px);  
    max-width: 1000px;
    margin: 0 auto;
}

/* --- タイトル部分 --- */
.section-title {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.title-line {
  position: relative;
  display: inline-block;
  padding: 10px 5px 30px;
  color: #333;
  text-align: center;
  background-color: transparent;
}

.title-line::before {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 48%;
  height: 3px;
  background-color:#333;
}

.title-line::after {
  content: "";
  position: absolute;
  bottom: 15px;
  right: 0;
  width: calc(48% - 3px);
  height: 3px;
  background-color: #333;
}

.title-line span {
  position: absolute;
  bottom: 8px;
  left: 49%;
  margin-left: 0px;
  width: 20px;
  height: 3px;
  background-color: #333;
  transform: rotate(-45deg);
}

/* --- コンテンツレイアウト --- */
.problem-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
}

/* チェックアイコン (緑の丸) */
.problem-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #008964; /* メインカラーの緑 */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* イラスト */
.problem-illustration {
    flex-shrink: 0;
    width: 120px;
}

.problem-illustration img {
    width: 100%;
    height: auto;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .problem-content {
        flex-direction: column;
    }
    
    .problem-illustration {
        width: 100px;
        order: 2; /* スマホではリストの下に */
    }

}   

/* ==========================================================================
   近年の落石事故件数
   ========================================================================== */  
.point-section {
    padding: 80px 0;  
}
.section-txt {
  margin-bottom: 50px;
  text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 2;  
}
/* --- ポイントカード --- */
.point-card {
    background-color: #e8f5e9; /* 薄い緑背景 */
    border-radius: 30px;
    padding: 50px 20px 40px;
    position: relative;
    max-width: 700px;
    margin: 0 auto 15px;
    text-align: center;
}

/* 上に飛び出たPOINTラベル */
.point-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #008964;
    color: #fff;
    padding: 5px 30px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.point-intro, .point-outro {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.point-main {
    font-size: 36px;
    color: #008964;
    margin: 15px 0;
    font-weight: 900;
}

/* --- 補足・説明テキスト --- */
.point-source {
  max-width: 700px;
    font-size: 0.7rem;
    color: #666;
    margin: 0 auto 30px;
    text-align: right;
}

.point-description {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

/* --- 強調バー --- */
.emphasis-bar {
    background-color: #008964;
    color: #fff;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 20px;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 左端の明るいアクセント線 */
.bar-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 15px;
    background-color: #81c784; /* 明るい緑 */
}

.next-text {
    font-size: 2rem;
    color: #888;
    font-style: italic;
    text-align: center;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .point-main { font-size: 24px; }
    .emphasis-bar { font-size: 18px; padding: 15px; }
    .point-description { font-size: 15px; }
    .point-card { padding: 40px 15px 30px; }
}

/* ==========================================================================
   従来の落石防護柵やフェンスでの対策では
   ========================================================================== */  
/* --- 比較カード --- */
.comparison-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.comp-card {
    flex: 1;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.comp-header {
    background: #888;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

.comp-img img { width: 100%; height: 200px; object-fit: cover; }

.comp-body { padding: 20px; }

.comp-lead { font-weight: bold; margin-bottom: 10px; }
.cross { color: #f00; font-size: 20px; margin-right: 5px; }

.comp-list { list-style: disc; padding-left: 20px; font-size: 14px; }
.comp-list li { margin-bottom: 8px; }



/* --- ちょうど良い製品がない（中央矢印） --- */
.no-solution-arrow {
    background: #888;
    color: #fff;
    padding: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    margin: 40px 0;
    text-align: center;
}

.no-solution-arrow::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-top: 20px solid #888;
}

/* --- 解決策バナー --- */
.solution-banner {
    background: #008964;
    color: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.solution-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.worker-img img { height: 120px; }

.sol-sub { font-size: 1.5rem; margin: 0; }
.sol-main { font-size: 3rem; font-weight: 900; margin: 5px 0; border-bottom: none; color: #fff; }
.sol-bottom { font-size: 1.5rem; margin: 0; }

.solution-desc { text-align: center; font-weight: bold; line-height: 1.8; margin-bottom: 50px; }

/* --- スペックエリア --- */
.spec-grid {
    display: flex;
    gap: 40px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.spec-visual { flex: 1; }
.spec-visual img { width: 100%; border: 1px solid #ddd; }
.caption { font-size: 11px; margin-top: 10px; text-align: left; }

.spec-info { flex: 1; text-align: left; }

.spec-header {
    background: #008964;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 共通のスペックテーブルスタイル */
.spec-table {
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px 10px 0;
    border-radius: 5px;
    margin-bottom: 10px;
}

.spec-table h5 {
    border-bottom: 2px solid #008964; /* メインカラーの線 */
    padding-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    text-align: left;
}

.spec-table dl {
    display: grid;
    grid-template-columns: 120px 1fr; /* 項目名の幅を少し広めに確保 */
    font-size: 0.8rem;
    margin: 0;
}

.spec-table dt {
    padding: 10px 0;    
    color: #555;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.spec-table dd {
    padding: 10px 0;    
    text-align: right; /* 数値などは右寄せで見やすく */
    border-bottom: 1px solid #eee;
    margin: 0;
    color: #333;
}

/* 最後の項目の下線は消す */
.spec-table dl dt:last-of-type,
.spec-table dl dd:last-of-type {
    border-bottom: none;
}

/* 右側カラム全体の調整 */
.experiment-data {
    flex: 0.8;
}

.data-header {
    background: #008964;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .comparison-grid, .spec-grid, .solution-inner { flex-direction: column; }
    .sol-main { font-size: 32px; }
}

/* ==========================================================================
   施工が容易
   ========================================================================== */  
.features-detail {
    padding: 80px 0;
    background-color: #fff;
}

/* --- サブタイトル（線の装飾） --- */
.sub-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
    margin-bottom: 40px;
}

.sub-section-title::before,
.sub-section-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background-color: #008964;
}

/* --- カードレイアウト --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.feature-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: left;
    background: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
}



.card-title {
    color: #008964;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title::before {
    content: "✔"; /* 画像のチェックアイコン風 */
}

.card-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.card-img img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin: 0 auto;
    text-align: center;
}

.placeholder-img {
    width: 100%;
    height: 150px;
    background: #f0f0f0;
    margin-top: auto;
}

/* --- 吹き出しバナー --- */
.point-banner-container {
    text-align: center;
    margin: 80px 0;
}

.balloon-text {
    display: inline-block;
    border: 2px solid #008964;
    color: #008964;
    padding: 5px 20px;
    border-radius: 30px;
    font-weight: bold;
    position: relative;
    margin-bottom: 15px;
    background: #fff;
}

/* 吹き出しの三角部分 */
.balloon-text::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #008964;
}

.point-banner {
    background: #008964;
    color: #fff;
    border-radius: 10px;
    padding: 20px 60px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    max-width: 900px;
    width: 100%;
}

.banner-worker {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 120px;
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: 1fr; /* スマホでは縦並び */
    }
    .point-banner {
        font-size: 1rem;
        line-height: 1.9;
        padding: 15px;
    }
    .banner-worker {
        display: none; /* スマホでは人物を隠すか調整 */
    }
}   

/* ==========================================================================
  より経済的に
   ========================================================================== */
   /* --- 経済的セクション全体の調整 --- */
.economy-section {
    padding: 60px 0 0;
}

.economy-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* カード同士の隙間 */
    max-width: 900px;
    margin: 0 auto;
}

/* --- 経済的カード --- */
.economy-card {
    border: 1px solid #ddd;
    border-radius: 15px; /* 画像のような大きな角丸 */
    padding: 30px 40px;
    background: #fff;
    transition: transform 0.2s ease;
}


/* カード内タイトル */
.economy-card-title {
    color: #008964; /* メインカラーの緑 */
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* チェックアイコン */
.check-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 2px solid #008964;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

/* チェックマーク（L字）を疑似要素で作る */
.check-icon::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 9px;
    width: 7px;
    height: 12px;
    border-right: 2px solid #008964;
    border-bottom: 2px solid #008964;
    transform: rotate(45deg);
}

/* 説明文 */
.economy-card-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-left: 40px; /* アイコンの分だけ左を空ける */
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .economy-card {
        padding: 25px 20px;
    }
    
    .economy-card-title {
        font-size: 18px;
    }
    
    .economy-card-text {
        font-size: 14px;
        margin-left: 0; /* スマホでは左余白を解除して読みやすく */
        margin-top: 10px;
    }
}
/* ==========================================================================
  実証実験に基づいた安全性
   ========================================================================== */

.safety-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --- 動画エリア --- */
.video-container {
    flex: 1.2; /* 動画側を少し広く */
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9の比率を維持 */
    background: #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: #333;
}

.video-caption {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

.caption-icon {
    width: 50px;
    height: auto;
    object-fit: contain;
}

/* --- 実験データ表 --- */
.experiment-data {
    flex: 0.8;
}

.data-header {
    background-color: #008964;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.data-table {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.data-group h4 {
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #008964;
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-align: left;
}

.data-group dl {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}

.data-group dt {
    font-weight: bold;
    color: #555;
    text-align: left;
}

.data-group dd {
    text-align: left;
    margin: 0;
    color: #333;
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
    .safety-content {
        flex-direction: column;
    }
    
    .video-container, .experiment-data {
        width: 100%;
    }
}

/* ==========================================================================
  標準構造図
   ========================================================================== */
.structure-section {
    padding: 80px 0;
}

.structure-content {
    display: flex;
    gap: 30px;
    align-items: center; /* 上下中央揃え */
}

.structure-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px; /* 各項目の間隔 */
}

.structure-item {
    text-align: left;
}

.item-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #008964;
    margin: 0 0 8px 0;
    padding-left: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #008964;
    border-left: 8px solid #008964;    
    display: block; 
}
.item-desc {
    font-size: 1rem;
    color: #333;
    margin: 0;
    padding-left: 5px;
}

/* --- 右側：画像エリア --- */
.structure-image {
    flex: 1.5; /* 画像の方を少し大きく */
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.structure-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .structure-content {
        display: block;
    }
}
/* ==========================================================================
  製品仕様
   ========================================================================== */
/* --- テーブルのリセットとレスポンシブ設定 --- */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* 横幅が足りない場合にスクロールさせる */
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
    margin-bottom: 20px;
}

.product-spec-table {
    width: 100%;
    min-width: 800px; /* スマホで文字が重ならないよう最低幅を確保 */
    border-collapse: collapse; /* 枠線を一本に統合 */
    border-spacing: 0;
    background: #fff;
    text-align: center;
    font-size: 15px;
    table-layout: fixed; /* 列幅を固定して安定させる */
}

/* --- ヘッダーとセルの共通設定 --- */
.product-spec-table th,
.product-spec-table td {
    padding: 15px 10px;
    border: 1px solid #ddd; /* 全ての上下左右に線を引く */
    vertical-align: middle;
    word-break: break-all; /* 長い英数字の改行を許可 */
}

/* ヘッダーの装飾 */
.product-spec-table th {
    background-color: #008964;
    color: #fff;
    font-weight: bold;
}

/* 型式カラム（左端）の背景 */
.product-spec-table .bg-gray {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* 注釈テキスト */
.note {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

/* --- スマホ閲覧時のヒント表示（任意） --- */
@media (max-width: 768px) {
    .table-responsive {
        position: relative;
    }
    /* 横スクロール可能であることを示す影を薄く入れる（お好みで） */
    .table-responsive::after {
        content: "← スライドで確認できます →";
        display: block;
        text-align: center;
        font-size: 11px;
        color: #999;
        padding: 5px 0;
        background: #f9f9f9;
    }
}

/* ==========================================================================
 導入事例
   ========================================================================== */
   .case-section {
    padding: 80px 0;
    background-color: #fff;
}

/* スライダー全体の余白 */
.splide {
    padding: 20px 0 40px;
}

.case-card {
    padding: 0 10px; /* スライド間の隙間 */
}

.case-img {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    line-height: 0;
}

.case-img img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* 画像のサイズを統一 */
}

/* ラベル（チェックマーク付き） */
.case-label {
    margin-top: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    font-size: 16px;
}

.case-label::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #008964;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23008964'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Splideの矢印カスタマイズ */
.splide__arrow {
    background: #008964;
    opacity: 1;
}

.splide__arrow svg {
    fill: #fff;
}

/* ==========================================================================
   施工フロー
   ========================================================================== */
.flow-section {
    padding: 80px 0;
    overflow: hidden; 
    width: 100%;
}

/* --- Splide全体の調整 --- */
#flow-slider {
    position: relative;
    /* 丸数字が上に飛び出すスペースを確保 */
    padding: 50px 0; 
    max-width: 1200px;
    margin: 0 auto;
}

/* トラックのoverflowをvisibleにして数字を表示させる */
#flow-slider .splide__track {
    overflow: visible !important;
}

/* --- カードデザイン --- */
.flow-card {
    position: relative;
    height: 100%;
    margin: 0 10px;
}

/* 丸数字（ステップ番号） */
.flow-num {
    position: absolute;
    top: -30px; /* カードの上にはみ出させる */
    left: -15px;
    width: 60px;
    height: 60px;
    background: #008964;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 137, 100, 0.3);
}

.flow-content {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 45px 20px 25px; /* 上部に数字のための余白 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.flow-step-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.flow-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #555;
    flex-grow: 1;
}

.flow-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.flow-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    font-size: 10px;
    top: 2px;
}

.flow-img img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* --- 左右の矢印（導入事例と共通の緑デザイン） --- */
#flow-slider .splide__arrow {
    background: #008964 !important;
    width: 48px !important;
    height: 48px !important;
    opacity: 1 !important;
    border: none !important;
    z-index: 20;
}

#flow-slider .splide__arrow svg {
    fill: #fff !important;
    width: 20px;
    height: 20px;
}

/* 矢印の位置：overflow:hiddenの中でも見えるよう内側に配置 */
#flow-slider .splide__arrow--prev {
    left: 10px;
}
#flow-slider .splide__arrow--next {
    right: 10px;
}

/* --- ドット（ページネーション） --- */
.splide__pagination {
    bottom: -10px !important;
}

.splide__pagination__page.is-active {
    background: #008964 !important;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 768px) {
    #flow-slider {
        padding: 40px 0;
    }
    
    .flow-num {
        width: 50px;
        height: 50px;
        font-size: 22px;
        top: -25px;
        left: -5px;
    }

    /* スマホで矢印がカードに被りすぎる場合は少し外へ、または透過 */
    #flow-slider .splide__arrow {
        width: 40px !important;
        height: 40px !important;
    }
}
/* ==========================================================================
   よくある質問
   ========================================================================== */
/* 質問部分 */
.faq-question {
    position: relative;
    padding: 25px 50px 25px 0;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    border-top: 1px solid #333; /* 上の境界線 */
}

/* 矢印（画像と同じV字） */
.faq-question::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: translateY(-50%) rotate(135deg);
    transition: 0.3s;
}

/* アクティブ時の矢印 */
.faq-question.is-active::after {
    transform: translateY(-20%) rotate(-45deg);
}

/* 【重要】回答部分の初期状態（高さを0にする） */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* アニメーション速度 */
}

.answer-inner {
    padding: 20px;
    border: 1px solid #ddd;
    background: #fff;
    margin-bottom: 20px;
}
/* ==========================================================================
  開発秘話
   ========================================================================== */
.development-section {
    padding: 80px 0;
}

/* カードを包むコンテナ */
.development-container {
    max-width: 950px;
    margin: 0 auto;
}

/* 白い枠のカード */
.development-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 15px; /* 角丸 */
    padding: 40px;
    margin-bottom: 30px;
    display: flex; /* 横並び */
    align-items: flex-start;
    gap: 40px; /* アイコンとテキストの間隔 */
}

/* 最後のカードの余白を消す */
.development-card:last-child {
    margin-bottom: 0;
}

/* 人物アイコンエリア */
.dev-person {
    width: 140px;
    flex-shrink: 0; /* 幅を固定 */
    text-align: center;
}

.dev-person img {
    width: 100px; /* イラストのサイズ */
    height: auto;
    margin-bottom: 10px;
}

.dev-role {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

/* テキストエリア */
.dev-text h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.dev-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* --- レスポンシブ（スマホ対応） --- */
@media (max-width: 768px) {
    .development-section {
        padding: 50px 0;
    }

    .development-card {
        flex-direction: column; /* 縦並びにする */
        padding: 30px 20px;
        align-items: center; /* 中央揃え */
        gap: 20px;
    }

    .dev-person {
        width: 100%;
    }

    .dev-text {
        text-align: left; /* テキストは左揃えのまま */
    }

    .dev-text h3 {
        font-size: 18px;
        text-align: center; /* スマホでは見出しも中央が見栄えが良い */
        margin-bottom: 15px;
    }
    
    .dev-text p {
        font-size: 14px;
    }
}
/* ==========================================================================
  落石対策製品ラインナップ
   ========================================================================== */
   .product-lineup-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden; /* 横揺れ防止 */
}

/* スライダー全体の調整 */
#product-slider {
    position: relative;
    padding: 20px 0 50px;
}

/* 製品カードのデザイン */
.product-card {
    display: block;
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    transition: transform 0.3s, opacity 0.3s;
}

.product-card:hover {
    transform: translateY(-5px); /* 少し浮き上がる */
    opacity: 0.8;
}

.product-img {
    width: 100%;
    margin-bottom: 15px;
    line-height: 0;
}

.product-img img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-name {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* --- 矢印・ドットのスタイル（施工フローと共通化） --- */
#product-slider .splide__arrow {
    background: #008964 !important;
    width: 48px !important;
    height: 48px !important;
    opacity: 1 !important;
    z-index: 20;
}

#product-slider .splide__arrow svg {
    fill: #fff !important;
}

#product-slider .splide__pagination__page.is-active {
    background: #008964 !important;
}

/* スマホ用調整 */
@media (max-width: 768px) {
    #product-slider {
        padding: 20px 15px 40px;
    }
    #product-slider .splide__arrow {
        width: 36px !important;
        height: 36px !important;
    }
}
/* ==========================================================================
  まずはお気軽にご相談ください
   ========================================================================== */
   .cta-section { padding: 80px 0; background: #f9f9f9; text-align: center; }

.cta-label {
    display: inline-block;
    border: 1px solid #008964;
    color: #008964;
    padding: 2px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.cta-title { font-size: 28px; margin-bottom: 20px; }
.cta-desc { line-height: 1.8; margin-bottom: 40px; }

.cta-flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* 電話ボックス */
.cta-tel-box {
    background: #ebebeb;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
}

.tel-number {
    font-size: 24px;
    font-weight: bold;
    color: #008964;
    text-decoration: none;
}

/* フォームボタン */
.cta-form-btn {
    background: #1a8264;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    transition: 0.3s;
}
.cta-form-btn:hover { background: #006b4d; }
.cta-form-btn span { font-size: 22px; font-weight: bold; }

/* カタログボタン */
.cta-download-btn {
    display: inline-flex;
    align-items: center;
    background: #1a8264;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .cta-flex { flex-direction: column; align-items: center; }
    .cta-title { font-size: 22px; }
}
/* ==========================================================================
   フッター
   ========================================================================== */
.main-footer {
    background-color: #666666; /* スクリーンショットに基づいたグレー */
    color: #ffffff;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    max-width: 120px; /* ロゴのサイズはお好みで調整 */
    height: auto;
}

.footer-company-name {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.footer-info {
    font-size: 15px;
    line-height: 1.8;
}

.footer-address {
    margin-bottom: 10px;
}

.footer-contact span {
    display: inline-block;
    margin: 0 10px;
}

/* コピーライト（必要に応じて） */
.footer-copy {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    opacity: 0.7;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px 20px;
    }

    .footer-company-name {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .footer-info {
        font-size: 14px;
    }

    .footer-contact span {
        display: block; /* スマホではTELとFAXを縦に並べる */
        margin: 5px 0;
    }
}