/* examination.css */
.kakomi {
    font-weight: bold;
    padding: 6px 10px;
    display: inline-block;
    border-radius: 6px;
    margin-top: 1em;
  }
  
  .iro2 {
    background: #29A449;
    color: white;
  }
  
  .kakomi span {
    font-size: 1em;
  }

  .clinic-info h2 {
    margin-top: 110px;
  }
  
  /* .tate や .vtate がない場合、style.cssからコピーして追加 */
  .tate {
    writing-mode: vertical-rl;
    text-align: center;
    font-size: 12px;
  }
  
  .vtate {
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    line-height: 1.2;
  }

  .vtate span {
    display: inline-block;
  }
  
  /* 斜線のマス（cross-cell） */
/* 時間割テーブル共通 */
.tantoui {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  table-layout: fixed;

  /* Safari対応：文字が折り返されず横にずれる対策 */
  word-break: break-word;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tantoui td {
  text-align: center;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 11px;

  /* Safariで折り返しを強制 */
  word-break: break-word;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 幅の指定を列ごとに */
.tantoui td.time-col {
  width: 80px;
  background-color: #fff9db; /* 薄い黄色 */
  font-weight: bold;
}

/* その他の曜日列 */
.tantoui td:not(.time-col) {
  width: calc((100% - 120cqw) / 7);
}

/* 一番上の行の背景色を緑に・文字白に */
.tantoui tr:first-child td {
  background-color: #29A449;
  color: white;
  font-weight: bold;
}

/* 最初と最後の角丸を調整 */
.tantoui td[rowspan="2"]:first-child {
  border-bottom-left-radius: 0 !important;
}
.tantoui td[rowspan="2"]:last-child {
  border-bottom-right-radius: 0 !important;
}

  /* 斜線の × 用 */
.cross-cell {
  position: relative;
  background-color: #fff0;
  border: 1px solid #ccc;
}
.cross-cell::before,
.cross-cell::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #888;
}
.cross-cell::before {
  transform: rotate(45deg);
  transform-origin: center;
}
.cross-cell::after {
  transform: rotate(-45deg);
  transform-origin: center;
}
  
  .needed-items {
    padding-left: 1.5em;
    margin-bottom: 20px;
  }
  .needed-items li {
    margin-bottom: 0.5em;
    line-height: 1.5;
  }
  
  .yoyaku-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 0.95em;
  }
  
  .yoyaku-table th,
  .yoyaku-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
    vertical-align: top;
  }
  
  .yoyaku-table th {
    background: #f3f3f3;
    font-weight: bold;
  }
  
  .yoyaku-table td strong {
    color: #29A449;
  }
  
  .note {
    font-size: 0.9em;
    background: #fffae0;
    border-left: 5px solid #f5c063;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 50px;
  }
  

  /* チェックアイコン付きリスト用 */
.needed-items {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
  }
  .needed-items li {
    margin-bottom: 0.7em;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
  }
  .icon-check {
    color: #29A449; /* 緑のチェックマーク */
    margin-right: 0.5em;
    font-size: 1.2em;
    flex-shrink: 0;
  }
  
  .yoyaku-table2 thead th {
    background-color: #29A449;
    color: white;
    font-weight: bold;
  }

  /* yoyaku-table2 の文字サイズを大きくする */
.yoyaku-table2 {
    font-size: 1.1em; /* 必要に応じて1.2em, 1.3emに調整可 */
  }
  
  /* FontAwesome アイコンを緑色に統一 */
  .yoyaku-table2 i {
    color: #29A449;
  }
  
  /* 強調された時間帯セル背景 */
  .yoyaku-table2 td.highlight {
    background: #ecffe2;
  }
  
  @media screen and (max-width: 600px) {
    .yoyaku-table2 {
      font-size: 0.3em;
    }
  
    .note {
      font-size: 0.6em;
    }
  
    .yoyaku-table2 td,
    .yoyaku-table2 th {
      padding: 2px;
    }  
      
  }


/* PC表示（769px以上）の時だけ大きくする */
@media screen and (min-width: 769px) {
    .tantoui td {
      font-size: 15px;
    }
  }

  p.yoyakulink a {
    display: block;
    width: 13em;
    margin: 0 auto;
    padding: 0.5em 1em;
    background-color: #fc71bb;
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    border-radius: 2em;
    text-align: center;
    margin-bottom: 100px;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95em;
  }
  
  table th,
  table td {
    border: 1px solid #ccc;
    text-align: center;
    padding: 8px;
  }
  
  table th {
    background-color: #f3f3f3;
  }

  table.warihuri td {
    font-size: 0.7em;
  }

  .vtate {
    padding: 0;
  }
  
  .vtate-inner {
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-block;
  }

  @media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
      .vtate-inner {
        writing-mode: horizontal-tb !important;
        transform: rotate(90deg);
        transform-origin: left top;
        display: inline-block;
        height: 80px;
      }
    }
  }

.highlight-red {
    color: red;
    font-weight: bold;
  }
  
  .smalltext {
    font-size: 0.75em;
    font-weight: 300; /* 細めの文字 */
  }