
/* 特大デバイス（ワイド・デスクトップ, 1200px 以上）
==============================================*/
@media screen and (min-width: 1200px) {
    
#footer #footer-contents > div{
    border-left: 1px solid #774831;
    border-right: 1px solid #774831;
    border-collapse: collapse;
}
#footer #footer-contents > div:last-child{
    border-right: 1px solid #774831;
}
#footer img {
width: 100%;
}  
	
} /* END */

/* 大デバイス（デスクトップ, 1200px 未満）
==============================================*/
@media screen and (max-width:1199.98px) {

/* トップページ：各セクション */
    
#sec2 .row {
    background-size: auto 550px;
}
  /* コラム一覧 */
  .column-item {
    margin-bottom: 20px;
  }
  
  /* サイドバー */
  .popular-post-img {
    width: 70px;
    height: 70px;
  }
} /* END */


/* 中デバイス（タブレット, 992px 未満）
==============================================*/
@media screen and (max-width:991.98px) {
    /* 図解の縦並び調整 */
    .article-image {
      margin-bottom: 1.5rem;
    }
    
    /* 比較表のフォントサイズ調整 */
    .comparison-box {
      font-size: 0.9rem;
    }
    
    /* タイムラインの余白調整 */
    .timeline {
      padding-left: 0.5rem;
    }
    
    /* 著者プロフィール調整 */
    .author-bio {
      flex-direction: column;
    }
    
    .author-bio img {
      margin-bottom: 1rem;
    }
    
    /* 目次の調整 */
    .content-toc {
      padding: 1rem;
    }
  #footer #footer-contents > div{
      border-bottom: 1px solid #774831;
      border-left: none;
      border-right: none;
      padding-bottom: 1rem;
  }
  #footer img {
      width: 100%;
      max-width: 748px;
      margin: 0 auto;
  }

  /* トップページ：各セクション */    
  #sec2 img {
      width: 100%;
      height: 100%;
  }    
    /* コラム一覧 */
    #column-grid {
      margin-bottom: 30px;
    }
    
    /* サイドバー */
    .card.mb-4:last-child {
      margin-bottom: 0 !important;
    }
    
    /* ニュースレター登録 */
    #newsletter-signup {
      padding: 40px 0;
    }
    
    /* 動画ライブラリ */
    .video-thumbnail {
      height: 180px;
    }
    
    /* 導入事例 */
    .case-logo {
      height: 150px;
  }    
} /* END */

/* 小デバイス（横向きモバイル, 768px 未満）
==============================================*/
@media screen and (max-width:767.98px) {
    /* 特徴リストの調整 */
    .feature-item {
      flex-direction: column;
      text-align: center;
    }
    
    .feature-icon {
      margin-right: 0;
      margin-bottom: 1rem;
      margin: 0 auto 1rem;
    }
    
    /* 比較表のスクロール調整 */
    .comparison-box {
      overflow-x: auto;
    }
    
    /* 専門家の意見ボックス調整 */
    .expert-opinion:before {
      font-size: 1.5rem;
    }
    
    /* タイムライン調整 */
    .timeline-item {
      flex-direction: column;
    }
    
    .timeline-icon {
      margin-right: 0;
      margin-bottom: 0.5rem;
      margin: 0 auto 0.5rem;
    }
    
    .timeline-content {
      text-align: center;
    }
    
    /* コメントフォーム調整 */
    .comment-form {
      padding: 0;
    }
    
    /* 目次の調整 */
    .content-toc ul {
      padding-left: 0.5rem;
    }
    h1{
        font-size: 2rem;
    }    
    main .btn{
        font-size: 0.95rem;
    }
        #footer #footer-contents > div:first-child {
        border-right: none !important;
    }
    #footer .container{
        padding-top: 0px;
    }
    #footer .container .row{
        margin-bottom: 0;
    }

    #footer #copyright{
        font-size: 0.8rem;
    }
    #footer h2{
        margin: 2rem 0;
    }

    /* トップページ：各セクション */
        
    #page-top h1 + small {
        font-size: 1.5rem;
    }
    #page-top .jumbotron-fluid{
        min-height: 320px;
        height: auto;
    }
    #page-top section{
        padding-top: 50px;
    }
    #page-top section .container > h2{
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    #page-top section .container > h2 + p{
        margin-bottom: 40px;
    }
    #page-top section .container h3{
        font-size: 1.2rem;
    }
    #sec2 .row {
        background-size: auto 400px;
    }
    #sec4 .card-body .card-subtitle{
        font-size: 0.75rem;
    }

    /* 下層ページ */
        
    #page section {
        padding: 3rem 0 0;
    }

    /* コンテンツヘッダー */
    .content-header h1 {
      font-size: 1.8rem;
    }
    
    .content-header .subtitle {
      font-size: 1rem;
    }
    
    /* コラム一覧 */
    .column-thumbnail {
      height: 180px;
    }
    
    .column-item .card-title {
      font-size: 1.1rem;
    }
    
    /* フィルターボタン */
    .filter-btn {
      padding: 4px 10px;
      font-size: 0.8rem;
      margin-right: 5px;
      margin-bottom: 5px;
    }
    
    /* SNS共有ボタン */
    .social-share-buttons {
      flex-wrap: wrap;
    }
  
    .social-btn {
      margin-bottom: 5px;
      padding: 5px 10px;
      width: calc(50% - 5px);
      justify-content: center;
    }
    
    .social-btn:nth-child(even) {
      margin-right: 0;
    }
    
    /* ニュースレター登録 */
    #newsletter-signup h3 {
      font-size: 1.5rem;
    }
    
    .newsletter-form {
      flex-direction: column;
    }
    
    .newsletter-form .form-control {
      margin-bottom: 10px;
      border-radius: 4px;
    }
    
    .newsletter-form .btn {
      border-radius: 4px;
    }
    
    /* タグクラウド */
    .tag {
      font-size: 0.75rem;
      padding: 3px 8px;
    }
    
    /* 動画ライブラリ */
    .video-thumbnail {
      height: 160px;
    }
    
    .play-button {
      font-size: 3rem;
    }
    
    .video-card:hover .play-button {
      font-size: 3.2rem;
    }
    
    /* 導入事例 */
    .case-card {
      flex-direction: column;
    }
    
    .case-logo {
      width: 100%;
      height: 120px;
    }
    
    .result-number {
      font-size: 1.5rem;
    }

    body {
      padding-top: 66px; /* スマートフォン向けに調整 */
    }

    .jumbotron-fluid {
      padding: 2rem 0;
    }
    
    .jumbotron-fluid h1 {
      font-size: 1.75rem;
    }
    
    .jumbotron-fluid .text-orange {
      font-size: 1.5rem;
    }
    
    .text-h2 {
      font-size: 1rem;
    }
    
    .btn-sm {
      width: 100%;
      margin-bottom: 0.5rem;
      text-align: center;
    }
    
    .value-card {
      margin-bottom: 1.5rem;
    }

    #footer .col-sm-4 {
      margin-bottom: 1.5rem;
    }    
    .social-icons {
      margin-top: 0.5rem;
    }
    
    #footer h5 {
      margin-top: 1rem;
    }

    /* jumbotronの開始位置調整 */
    .jumbotron-fluid {
      margin-top: -10px; /* 必要に応じて調整 */
    }
  
} /* END */


/* 極小デバイス（縦向きモバイル, 576px 未満）
==============================================*/
@media screen and (max-width:575.98px) {
    .navbar-collapse .btn {
      margin: 10px auto;
    }
      
    /* トップページ：各セクション */
      
    #sec2 .row {
      background-size: auto 300px;
    }
  
    /* 下層ページ */
    #page section {
      padding: 2rem 0 0;
    }    
      /* コンテンツヘッダー */
  .jumbotron {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .jumbotron h1 {
    font-size: 1.5rem;
  }
  
  .jumbotron span {
    font-size: 1rem;
  }
  
  /* コラム一覧 */
  .column-item {
    width: 100%;
  }
  
  .column-thumbnail {
    height: 170px;
  }
  
  /* フィルター */
  #column-filter .container {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* サイドバー */
  .card-header h4 {
    font-size: 1.1rem;
  }
  
  .popular-post-img {
    width: 50px;
    height: 50px;
  }
  
  .popular-post-title {
    font-size: 0.85rem;
  }
  
  /* ページネーション */
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .page-item {
    margin-bottom: 5px;
  }
  
  /* 動画ライブラリ */
  .video-thumbnail {
    height: 140px;
  }
  
  /* ニュースレター登録 */
  #newsletter-signup {
    padding: 30px 0;
  }
  } /* END */
  