@charset "utf-8";
/* 全体・フォント設定 */
#compare {
      max-width: 1000px;
      margin: 0 auto;
      font-family: YakuHanJP, 'Noto Sans JP', sans-serif;
      color: #333;
      background-color: #f8f9fa;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      border-radius: 8px;
    }

      .rw2 {
      display: flex;
      align-items: center;
      font-size: 1.4rem;
}
     
      
    /* ボタンエリアのスタイル */
    .btn-container {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      justify-content: flex-end;
      align-items: center;
    }

    .btn-label {
      font-weight: bold;
      font-size: 14px;
      color: #004896;
    }

    .switch-btn {
      padding: 8px 16px;
      font-size: 14px;
      font-weight: bold;
      color: #333;
      background-color: #f0f0f0;
      border: 1px solid #ccc;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .switch-btn:hover {
      background-color: #e0e0e0;
    }

    .switch-btn.active {
      background-color: #666666;
      color: #fff;
      border-color: #666666;
    }

    /* テーブル基本スタイル */
    .table_wrap {
      width: 100%;
      overflow-x: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
      font-size: 14px;
      line-height: 1.6;
    }

    th, td {
      border: 1px solid #dcdcdc;
      padding: 12px 15px;
      vertical-align: top;
      text-align: left;
    }

    /* 列幅の設定 */
    th.heading_l, th.vertical {
      width: 18%;
      background-color: #f4f5f7;
      color: #333;
      font-weight: bold;
      text-align: center;
      vertical-align: middle;
    }

    th.abitus, td.abitus {
      width: 41%;
      background-color: #f4f8fe; /* アビタス列のハイライト */
    }

    th.other, td.other-col {
      width: 41%;
      background-color: #ffffff;
    }

    /* ヘッダーのスタイル */
    th.abitus {
      background-color: #004896 !important;
      text-align: center;
      vertical-align: middle;
    }

    th.other {
      background-color: #666;
      color: #fff;
      font-size: 16px;
      text-align: center;
      vertical-align: middle;
    }

    /* コンテンツ要素の装飾 */
    .ico_m {
      display: inline-block;
      font-size: 1.8rem;
 /*     margin-right: 5px;*/
      text-align: center;
      vertical-align: top;
      width: 15%;
    }

    /* 記号の色分け */
    td.abitus .ico_m { color: #e60012; } /* アビタス側記号（赤） */
    td.other-col .ico_m { color: #666666; } /* 他校側記号（グレー） */

    .main {
      display: inline-block;
      /*width: calc(100% - 25px);*/
      width: 85%
    }
    

    .bullet-point, .bullet-point2, .detail_text {
      display: block;
      margin-bottom: 4px;
      position: relative;
    }

    .bullet-point::before {
      content: "・";
      color: #333333;
    }

    .bullet-point2::before {
      content: "・";
      color: #666;
    }

    .t-sm {
      /*font-size: 13px;*/
      color: #555;
      font-size: 1.4rem;
    }

    .u-pcbr {
      display: inline;
    }
    
@media screen and (max-width: 768px) {
    .conMoreArea{
        height:auto!important;
    }
    .conMoreArea:before{
        background:none!important;
    }
    .main{
        width:100%;
        font-size:1.2rem;
    }
      th.vertical {
    width: 18%;
    background-color: #f4f5f7;
    color: #333;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    writing-mode: vertical-rl;
}
    th.abitus {
    font-size: 1.6rem!important;
    }
    th.other {
    font-size: 0.8rem;
    }
    .rw2 {
    display: block;
    align-items: center;
    font-size: 1.0rem;
}
    .ico_m {
    font-size: 1.4rem!important;
    width: 100%;
    }
    .t-sm {
    font-size: 1.2rem;    
    }
    .i-tx {
    font-size: 1.2rem;
}
    .btn-container{
    display:block;
    }
    .switch-btn.active {
    background-color: #666666;
    color: #fff;
    border-color: #666666;
    }
    .switch-btn {
    margin: 0.6em 0;
    width: 100%;
    }
      }
