@charset "utf-8";
/* CSS Document */

	
.note{
    font-size: 1.4rem;
    margin-left: 1.4em;
    text-indent: -1.4em;
	}

	
/* テーブル全体のコンテナ */
.table-container {
    max-width: 600px;
    margin: 0 auto;
}

/* テーブルの基本スタイル */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 上の見出し（2列・ブルー） */
.custom-table thead th {
    background-color: #ebf3fc;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #e0e0e0;
	font-weight: bold;
}

/* 通常のセル枠線 */
.custom-table th, 
.custom-table td {
    border: 1px solid #e0e0e0;
    padding: 10px;
    font-size: 15px;
    line-height: 1.5;
}

/* 左側の列（ブルー） */
.custom-table tbody th {
    background-color: #ebf3fc;
    width: 30%;
    text-align: left;
}

/* 右側の列 */
.custom-table tbody td {
    color: #333333;
	text-align: center;
}
	

	.center{
		margin: 30px 0 0 0;
	}
/* レスポンシブ対応（スマホ表示） */
@media screen and (max-width: 834px) {
		.center{
		margin: 30px auto;
	}
	}

/* レスポンシブ対応（スマホ表示） */
@media screen and (max-width: 500px) {

    .custom-table tr {
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    
    /* 左側だった列（スマホでは上のブロック） */
    .custom-table tbody th {
        background-color:  #ebf3fc;
        color: #333333;
        border: none;
        padding: 10px 15px;
    }
    
    /* 右側だった列（スマホでは下のブロック） */
    .custom-table tbody td {
        border: none;
        padding: 15px;
    }
}	
	
/*モーダル */
/* --- 共通設定 --- */
.modal-checkbox {
  display: none;
}

/* --- 元画像のセンター配置と常に表示するボタン --- */
.center-box {
  display: flex;
  justify-content: center; /* 左右中央 */
  align-items: center;     /* 上下中央 */
  margin: 20px 0;
}

.image-container {
  display: inline-block;
}

/* ラベル内を縦並び・中央寄せにする */
.open-label {
  display: flex;
  flex-direction: column;  /* 縦に並べる */
  align-items: center;     /* 中央寄せ */
  cursor: pointer;
}

.thumb-img {
  display: block;
  max-width: 900px; /* 必要に応じてサイズ変更してください */
  height: auto;
  border-radius: 4px 4px 0 0; /* 上の角だけ丸く */
  transition: opacity 0.2s;
}

/* 画像の下に配置するボタンのスタイル */
.open-btn {
  display: block;
  width: 100%;             /* 画像の横幅に合わせる */
  box-sizing: border-box;  /* パディングを含めた幅計算 */
  background-color: #606060;  /* ボタンの背景色 */
  color: #fff;             /* 文字色 */
  padding: 10px 16px;
  font-size: 14px;
  text-align: center;
  border-radius: 0 0 4px 4px; /* 下の角だけ丸く */
  transition: background-color 0.2s;
}

/* ホバー時の演出（画像とボタン両方） */
.open-label:hover .thumb-img {
  opacity: 0.9;
}
.open-label:hover .open-btn {
  background-color: #555;  /* ホバー時に少し明るく */
}

/* --- モーダル表示の設定（変更なし） --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-close-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.modal-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: transform 0.2s;
}

.close-btn:hover {
  transform: scale(1.2);
}

.modal-checkbox:checked ~ .modal-overlay {
  display: flex;
}
