@media screen and (min-width: 768px) { /* PC・タブレット */

 #event {
  position:relative;
  width:100%;
  min-width:1100px;
  min-height:calc(100vh - 120px);
  padding-bottom:30px;
  background:white;
 }
 #event .container {
  width:1060px;
  min-width:1060px;
  padding:0 20px;
  margin:0 auto;
  text-align:left;
  font-size:16px;
 }
 #event .header {
  padding:20px 0 10px 0;
  font-size:60px;
  font-weight:bold;
 }
 #event .text {
  margin:-10px 0 0 0;
  padding-left:20px;
  line-height:30px;
  font-size:14px;
  font-weight:bold;
 }
 #event .board_container {
  margin:20px 0;
  border-radius:20px;
  padding:10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
 }
 #event .board_title {
  font-size:20px;
  font-weight:bold;
 }
 #event .board_container a {
  text-decoration:underline;
  color:blue;
 }
 #event .poster {
  display:inline-block;
  vertical-align:top;
  width:480px;height:260px;
  border-radius:5px;
 }
 #event .board {
  position:relative;
  width:550px;min-height:260px;
  background-image:url("board.png");
  background-position: center center;
  background-position: top right;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display:inline-block;
  vertical-align:top;
 }
 #event .board.long {
  background-image:url("board_long.png");
  background-size:100% 100%;
 }
 #event .board.left {
  width:480px;
 }
 #event .board table {
  width:100%;
  padding:25px;
 }
 #event .board table td {
  padding:0 5px;
  font-size:18px;
  font-weight:bold;
  color:white;
  vertical-align:middle;
 }
 #event .number {
  display:inline-block;
  margin:0px -11px -5px 0px;
  height:30px;
  width:25px;
  transform:rotate(2deg);
 }
 #event .letter {
  display:inline-block;
  vertical-align:top;
  width:490px;
  margin:0 auto;
  padding:20px 30px;
  background-image:url("cloth.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 550px 100%;
  color:white;
  font-size:14px;
  line-height:18px;
  font-weight:bold;
 }
 #event .ika_letter {
  display:inline-block;
  vertical-align:top;
  width:480px;
  margin:0 auto;
  padding:20px 30px;
  background-image:url("ika_letter.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 550px 100%;
  color:#222;
  font-size:14px;
  line-height:18px;
  font-weight:bold;
 }
 #event .ika_letter .title {
  text-align:center;
  font-size:20px;
 }
 #event .black_letter {
  display:inline-block;
  vertical-align:top;
  width:480px;
  margin:0 auto;
  padding:20px 30px;
  background-image:url("black_letter.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 550px 100%;
  color:#ccc;
  font-size:14px;
  line-height:18px;
  font-weight:bold;
 }
 #event .stone {
  display:inline-block;
  vertical-align:top;
  width:480px;
  margin:0 auto;
  padding:20px 30px;
  background-image:url("stone.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 550px 100%;
  color:white;
  font-size:14px;
  line-height:18px;
  font-weight:bold;
   text-shadow:
    1px 1px 0 #555,
   -1px -1px 0 #555,
    1px -1px 0 #555,
   -1px 1px 0 #555,
    0px 1px 0 #555,
    0px -1px 0 #555,
    1px 0px 0 #555,
   -1px 0px 0 #555;
 }
 #event .book {
  display:inline-block;
  vertical-align:top;
  width:490px;
  margin:0 auto;
  padding:20px 30px;
  background-image:url("book.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 550px 100%;
  color:white;
  font-size:12px;
   text-shadow:
    1px 1px 0 #555,
   -1px -1px 0 #555,
    1px -1px 0 #555,
   -1px 1px 0 #555,
    0px 1px 0 #555,
    0px -1px 0 #555,
    1px 0px 0 #555,
   -1px 0px 0 #555;
 }
 #event .event_detail {
  display:inline-block;
  vertical-align:top;
  width:480px;
  border:solid 1px skyblue;
 }
 #event .event_detail td {
  vertical-align:top;
  padding:5px 10px;
 }
 #event .event_detail td.left {
  background:skyblue;
  text-align:center;
  width:80px;
 }
 #event .square {
  display:inline-block;
  width:530px;
  border:solid 1px;
  padding:10px;
 }
 #event .square ul,
 #event .square ol {
  margin:0;
 }
 #event .player {
  position:relative;
  display:inline-block;
  background:#000;
  border-radius:15px;
 }
 #event .rule {
  width:500px;aspect-ratio: 16 / 9;
 }
 #event .sheet {
  display:inline-block;
  vertical-align:top;
  width:514px;
  padding:15px;
  border:solid royalblue 3px;
  border-radius:10px;
 }
 #event .item {
  width:450px;
  padding:5px 10px;
  border-bottom:solid silver 1px;
 }
 #event .item .count { display:inline-block;width:20px; }
 #event .sheet input[type="radio"] { display: none; }
 #event .sheet input[type="radio"] + label {/* ラベルをボタン風にする */
  display: inline-block;
  width:30px;height:30px;
  border: 1px solid #888;
  border-radius: 50%;
  cursor: pointer;
  margin-left:10px;
  user-select: none; /* 文字選択防止 */
  line-height:30px;
  text-align:center;
  font-weight:bold;
}
 #event .sheet input[type="radio"]:checked + label {/* 選択時のスタイル */
  background-color: #4CAF50; /* 選択中の背景色 */
  color: white;
  border-color: #4CAF50;
}
 #event #e20251025 .board {
  height:450px;
 }
 #event #e20250927 .board {
  height:400px;
  top:-20px;
  margin-bottom:-20px;
 }
 #event #e20250817 .player {
  top:-50px;
  margin-bottom:-60px;
  width: 550px;
  height:310px;
 }
 #event #e20251214 .player {
  top:-200px;
  margin-bottom:-210px;
  width: 480px;
  height:270px;
 }

} @media screen and (max-width: 767px) {  /* スマホ */

 #event {
  position:relative;
  width:100%;
  padding-bottom:30px;
  background:white;
 }
 #event .container {
  width:calc(100% - 20px);
  padding:15px 10px;
  margin:0 auto;
  text-align:left;
  font-size:16px;
 }
 #event .header {
  padding:0 0 5px 0;
  font-size:30px;
  font-weight:bold;
 }
 #event .text {
  margin-bottom:20px;
  padding-left:10px;
  font-size:14px;
  font-weight:bold;
 }
 #event .board_container {
  margin:20px 0;
  border-radius:20px;
  padding:10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  font-size:14px;
 }
 #event .board_title {
  font-size:18px;
  font-weight:bold;
 }
 #event .board_container a {
  text-decoration:underline;
  color:blue;
 }
 #event .poster {
  width:100%;
  margin:5px 0;
  border-radius:5px;
 }
 #event .board {
  width:100%;
  margin:5px 0;
  background-image:url("board.png");
  background-position: center center;
  background-position: top right;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display:inline-block;
  vertical-align:top;
 }
 #event .board.long {
  background-image:url("board_long.png");
 }
 #event .board table {
  width:100%;
  padding:15px;
 }
 #event .board table td {
  padding:0 0 0 5px;
  font-size:12px;
  font-weight:bold;
  color:white;
  vertical-align:middle;
 }
 #event .number {
  display:inline-block;
  margin:0 -7px -2px 0px;
  height:20px;
  width:16px;
  transform:rotate(2deg);
 }
 #event .letter {
  display:inline-block;
  vertical-align:top;
  width:calc(100% - 60px);
  margin:5px 0;
  padding:30px;
  background-image:url("cloth.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size:100% 100%;
  color:white;
  font-size:12px;
  line-height:20px;
  font-weight:bold;
 }
 #event .ika_letter {
  display:inline-block;
  vertical-align:top;
  width:calc(100% - 60px);
  margin:5px 0;
  padding:30px;
  background-image:url("ika_letter.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size:100% 100%;
  color:#222;
  font-size:12px;
  line-height:20px;
  font-weight:bold;
 }
 #event .ika_letter .title {
  text-align:center;
  font-size:20px;
 }
 #event .black_letter {
  display:inline-block;
  vertical-align:top;
  width:calc(100% - 60px);
  margin:5px 0;
  padding:30px;
  background-image:url("black_letter.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size:100% 100%;
  color:#ccc;
  font-size:12px;
  line-height:20px;
  font-weight:bold;
 }
 #event .stone {
  display:inline-block;
  vertical-align:top;
  width:calc(100% - 60px);
  margin:5px 0;
  padding:30px;
  background-image:url("stone.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size:100% 100%;
  color:white;
  font-size:12px;
  line-height:20px;
  font-weight:bold;
   text-shadow:
    1px 1px 0 #555,
   -1px -1px 0 #555,
    1px -1px 0 #555,
   -1px 1px 0 #555,
    0px 1px 0 #555,
    0px -1px 0 #555,
    1px 0px 0 #555,
   -1px 0px 0 #555;
 }
 #event .book {
  display:inline-block;
  vertical-align:top;
  width:calc(100% - 60px);
  margin:5px 0;
  padding:20px 30px;
  background-image:url("book.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size:100% 100%;
  color:white;
  font-size:12px;
  line-height:14px;
  font-weight:bold;
   text-shadow:
    1px 1px 0 #555,
   -1px -1px 0 #555,
    1px -1px 0 #555,
   -1px 1px 0 #555,
    0px 1px 0 #555,
    0px -1px 0 #555,
    1px 0px 0 #555,
   -1px 0px 0 #555;
 }
 #event .event_detail {
  display:inline-block;
  vertical-align:top;
  width:100%;
  margin:5px 0;
  border:solid 1px skyblue;
 }
 #event .event_detail td {
  vertical-align:top;
  padding:5px 5px;
 }
 #event .event_detail td.left {
  background:skyblue;
  text-align:center;
 }
 #event .square {
  display:inline-block;
  width:calc(100% - 20px);
  border:solid 1px;
  padding:10px;
  margin:5px 0;
 }
 #event .square ul,
 #event .square ol {
  margin:0;
 }
 #event .player {
  width: 100%;
  margin:5px 0;
  border-radius:15px;
 }
 #event .rule {
  width:100%;aspect-ratio: 16 / 9;
 }
 #event .sheet {
  display:inline-block;
  vertical-align:top;
  width:calc(100% - 26px);
  padding:10px;
  border:solid royalblue 3px;
  border-radius:10px;
  font-size:12px;
 }
 #event .item {
  width:100%;
  padding:5px 0;
  border-bottom:solid silver 1px;
 }
 #event .item .count { display:inline-block;width:13px; }
 #event .sheet input[type="radio"] { display: none; }
 #event .sheet input[type="radio"] + label {/* ラベルをボタン風にする */
  display: inline-block;
  width:25px;height:25px;
  border: 1px solid #888;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 5px;
  user-select: none; /* 文字選択防止 */
  line-height:25px;
  text-align:center;
  font-weight:bold;
}
 #event .sheet input[type="radio"]:checked + label {/* 選択時のスタイル */
  background-color: #4CAF50; /* 選択中の背景色 */
  color: white;
  border-color: #4CAF50;
}

}