﻿@charset "UTF-8";



.btnyellow,
.btngray {
  line-height: 35px;
  margin: 5px 0;
}

.btnyellow:after,
.btngray:after {
  line-height: 35px;
}

.c-content-lessonplan--type_lessonplan .c-content-lessonplan__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: #f4f4f4; */
}

.c-content-lessonplan--type_lessonplan .c-content-lessonplan__bgW {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.c-content-lessonplan--type_lessonplan .c-content-lessonplan__inner {
  position: relative;
  z-index: 1
}

.c-content-lessonplan--type_lessonplan .c-content-lessonplan__inner {
  padding-top: 60px;
  padding-bottom: 60px
}

@media only screen and (max-width:47.9375em) {
  .c-content-lessonplan--type_lessonplan .c-content-lessonplan__inner {
    padding-top: 0px;
    padding-bottom: 0px
  }
}

@media print,
screen and (min-width:48em) {
  .c-content-lessonplan--type_lessonplan .c-content-lessonplan__inner {
    padding-top: 0px;
  }
}


.c-content-lessonplan {
  position: relative;
  padding-top: 80px;
}

@media only screen and (max-width:47.9375em) {
  .c-content-lessonplan {
    position: relative;
    padding-top: 0px;
  }
}

.c-content-lessonplan__inner {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

@media only screen and (max-width:47.9375em) {
  .c-content-lessonplan__inner {
    width: 100%;
    padding: 54px 4.68% 50px
  }
}

@media print,
screen and (min-width:48em) {
  .c-content-lessonplan__inner {
    position: relative;
    z-index: 1;
    width: 90.64%;
    padding-top: 54px;
    padding-bottom: 50px;
    margin-right: auto;
    margin-left: auto
  }
}

@media print,
screen and (min-width:61.25em) {
  .c-content-lessonplan__inner {
    max-width: 1400px;
    padding-top: 75px;
    padding-bottom: 80px
  }
}

@media print,
screen and (min-width:87.5em) {
  .c-content-lessonplan__inner {
    padding-right: 0;
    padding-left: 0
  }
}

.c-content-lessonplan__inner>:first-child {
  margin-top: 0
}





.item {
  border-radius: 5px;
  /* background: #edf; */
  padding: 10px;
  margin: 5px;
  text-align: center;
  /* border: 1px solid #eee; */
}

.item2 {
  border-radius: 5px;
  /* background: #edf; */
  padding: 15px 10px 10px;
  margin: 20px 5px;
  text-align: center;
  border: 1px solid #ddd;
  position: relative;
}

.item p,
.item2 p {
  /* text-align:left; */
  /* font-size:13px; */
  /* font-weight:600; */
  /* line-height: 1.7; */
  /* padding: 2%; */
}

.item2_pic {
  background: #000;
  color: #fff;
  padding: 3px;
  position: absolute;
  top: -15px;
}

.item2_picA {
  background: #ffb03f;
  color: #000;
  padding: 3px;
  position: absolute;
  top: -15px;
}

/*   .item2 p span{background:#000; color:#fff; padding:5px;} */


@media (min-width : 600px) {
  .flexbox {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /* max-width: 1200px; */
    justify-content: center;
    /* 子要素をflexboxにより中央に配置する */
    /* align-items: center; */
    /* 子要素をflexboxにより中央に配置する */
    /* margin-bottom: 100px; */
  }

  .flexbox.clm3 .cnt {
    padding: 1%;
    width: calc((100% - 4%) / 3);
  }

  .item_50 {
    width: 50%;
    padding: 2%;
  }

  .item_40 {
    width: 38%;
    padding: 2%;
  }

  .item_40 img {
    width: 100%;
    padding: 3%;
  }

  .item_60 {
    width: 60%;
    padding: 2%;
  }

  .item_60 img {
    width: 100%;
  }

  .item_60 .tTaisho {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
  }

  .item_60 .kyu {
    font-size: 16px;
    color: #000;
    font-weight: 500;
    border: 0px solid #ddd;
    padding: 1%;
    margin: 1%;
    background: #f0d174;
  }

  .item_100 {
    width: 100%;
    padding: 2%;
  }

  .item_100 img {
    width: 100%;
  }

  .item_100 .tTaisho {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
  }

  .item_100 .clswake {
    font-size: 16px;
    color: #000;
    font-weight: 500;
    border: 0px solid #ddd;
    padding: 1%;
    margin: 1%;
    background: #f0d174;
  }


  .item2 {
    width: 100%;
  }

  .item2 img {
    width: 50%;
  }

  .item p,
  .item2 p {
    /* text-align:left; */
    /* font-size: 17px; */
    /* font-weight:600; */
    /* line-height: 1.7; */
    /* padding: 2%; */
  }

  .item2_pic {
    background: #000;
    color: #fff;
    padding: 3px;
    position: absolute;
    top: -35px;
    padding: 1%;
    font-size: 18px;
    left: 40px;
  }

  .item2_picA {
    background: #ffb03f;
    color: #000;
    padding: 3px;
    position: absolute;
    top: -15px;
    padding: 2%;
    font-size: 18px;
  }

  .item2_txt {
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
    padding: 2%;
    padding-top: 3%;
  }

  /* 	.item2_title span color:#fff; padding:5px;} */

}

.line-solid {
  border-bottom: 1px solid #ddd;
}

.txtColor_red {
  color: #ffc107;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 1rem 0;
}


.Entry_sec {
  width: 100%;
  padding: 1%;
  max-width: 700px;
}

.Entry_sec p {
  font-size: 15px;
  text-align: right;
  padding: 5px 0;
}

.table_box {
  width: 100%;
  margin-bottom: 80px;
}

.title_course {
  margin-bottom: 30px;
  line-height: 2;
  font-size: 20px;
}

.title_course span {
  background: linear-gradient(transparent 70%, #f5d2d2 70%);


}




table.tbEntry {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  /* font-size: 18px; */
  /* max-width: 710px; */
}

table.tbEntry th,
table.tbEntry td {
  padding: 10px 3px;
  /* text-align: center; */
  border: 1px solid #9E9E9E;
  /* font-size: 14px; */
}

table.tbEntry tr:nth-child(odd) {
  background-color: #eee
}



table.tbEntry td label {
  display: block;
  position: relative;
  padding-left: 2em;
  line-height: 2em;
  font-size: 13px;
}

table.tbEntry td label input {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.txt_com {
  font-size: 16px;
  font-weight: 600;
}


/* ナンバー */
.w1 {
  width: 5%;
  text-align: center
}

.w2 {
  width: 15%;
  text-align: center
}

.w3 {
  width: 30%;
  text-align: center
}

.w4 {
  width: 8%;
  text-align: center
}

.w5 {
  width: 8%;
  text-align: center
}

.w6 {
  width: 8%;
  text-align: center
}

.w7 {
  width: 8%;
  text-align: center
}

.w8 {
  width: 6%;
  text-align: center
}

.w9 {
  width: 33.33333%;
  text-align: center
}



.Thanks_sec {
  width: 100%;
  padding: 1%;
  max-width: 700px;
}

.Thanks_sec p {
  font-size: 16px;
  text-align: cnter;
  padding: 5px 0;
  line-height: 2;
}


.tx_c {
  text-align: center
}

.tx_l {
  text-align: left
}


.pagetitle li {
  display: inline;
  padding: 0 5px;

}



.pagetitle {
  text-align: left;
  padding: 20px 5%;
  position: relative;
  z-index: 1;
  border: none;
  /* border-top: #ededed 1px solid; */
  /* border-bottom: #f5f5f5 1px solid; */
  /* margin-bottom: 30px; */
}

.pagetitle:before {
  position: absolute;
  top: -1px;
  left: 5%;
  right: 5%;
  height: 0;
  content: "";
  /* border-top:#ededed 1px solid; */
  z-index: 2;
}

.pagetitle ol {
  font-size: 0;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  line-height: 1;
}

.pagetitle li {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  list-style: none;
  font-size: 11px;
  font-weight: normal;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
  height: 20px;
  line-height: 20px;
}

/*#pagetitle li:after { font-size: 6px; font-family: 'themify'; content: "\e649"; font-weight: normal; margin: 0 10px; height:20px; line-height:20px; }*/
/* .pagetitle li:after {font-size: 10px;font-family: 'FontAwesome';content: "\f105";font-weight: normal;margin: 0 10px;height:20px;line-height:20px;} */
.pagetitle li:after {
  font-size: 10px;
  font-family: 'FontAwesome';
  content: "|";
  font-weight: normal;
  margin: 0 10px;
  height: 20px;
  line-height: 20px;
}


.pagetitle li:last-child:after {
  display: none;
}

.pagetitle li i {
  font-size: 16px;
  padding-right: 5px;
  font-weight: normal;
  line-height: 1.3;
}

.pagetitle li a {
  /*border-bottom: #999 1px solid;*/
  position: relative;
  z-index: 1;
  height: 20px;
  line-height: 20px;
}

/*.breadcrumb li:first-child a:before {padding-right:5px; font-size: 11px; font-family: 'themify'; content: "\e69b";}*/
/* .#pagetitle li:first-child a:before {padding-right:5px;font-size: 1.2rem;font-family: 'FontAwesome';content: "\f015";} */
.#pagetitle li:first-child a:before {
  padding-right: 5px;
  font-size: 1.2rem;
  ;
  content: ">";
}

.pagetitle li a:after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  content: "";
  background: transparent;
  z-index: -1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.pagetitle li a:hover:after {
  width: 100%;
  /*background:#d7e4ed; */
}

.pagetitle li a:hover {
  color: #aaa;
  /*border-bottom: #999 1px solid;*/
}

@media only screen and (max-width: 800px) {
  .pagetitle {
    padding: 20px 5%;
    border-top: none;
  }

  .breadcrumb:before {
    display: none;
  }

  .pagetitle li a {
    /*border-bottom: #aaa 1px solid;*/
    font-size: 16px;
  }

  .pagetitle li a:hover:after {
    display: none;
  }

  .pagetitle li a:hover {
    color: #000;
  }

  table.group.schedule td,
  table.group.schedule th {
    height: auto;
    width: 100%;
  }
}

@media only screen and (max-width: 414px) {
  .pagetitle ol {
    font-size: 0;
    margin: -10px auto 0;
    padding: 0;
    display: block;
    text-align: left;
  }

  .pagetitle li {
    font-size: 14px;
    margin: 10px 0 0;
    padding: 0;
    letter-spacing: 1px;
  }

  .pagetitle li:after {
    margin: 0 5px;
  }

  .pagetitle li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 10em;
  }

  .pagetitle li:first-child a {
    font-size: 0;
    width: auto;
    padding-bottom: 7px;
  }

  .pagetitle li:first-child a:before {
    padding-right: 0;
    font-size: 18px;
  }
}

@media only screen and (max-width: 320px) {
  .pagetitle li:last-child {
    width: 6em;
  }
}



.box_senior {
  position: relative;
  margin: 2em 0;
  padding: 25px 10px 7px;
  border: solid 2px #FFC107;
}

.box_senior .box-title {
  FONT-VARIANT: JIS83;
  position: absolute;
  display: inline-block;
  top: -2px;
  left: -2px;
  padding: 0 9px;
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  background: #FFC107;
  color: #ffffff;
  font-weight: bold;
}

.box_senior p {
  margin: 0;
  padding: 0;
}


.id_ptop {
  padding-top: 60px
}

.c-content-lessonplan__inner h2.ttl {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffc107;
}

.c-content-lessonplan__inner h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem 0;
  position: relative;
  padding-left: 1.2rem;
}

.c-content-lessonplan__inner h3:before {
  position: absolute;
  content: "● ";
  display: inline-block;
  color: #ffb107;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
  left: -0.2rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

table.company th {
  width: 30%;
  padding: 20px;
}

table.company td {
  padding: 20px;
}


table.group {
  border-collapse: collapse;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table.group tr {
  background-color: #fff;
  border: 1px solid #bbb;
  padding: .35em;
}

table.group th,
table.group td {
  padding: 1em 10px 1em 1em;
  border-right: 1px solid #bbb;
  text-align: center;
  vertical-align: middle;
}

table.group th {
  font-size: 16px;
}

table.group thead tr,
table.group th {
  background-color: #eee;
}

.txt {
  text-align: left;
  font-size: .85em;
}

.price {
  text-align: right;
}

@media screen and (max-width: 600px) {
  table.group {
    font-size: 13px;
  }

}

.about_yoyaku {
  /* padding: 10px; */
  /* margin-top: 50px; */
}

.about_yoyaku ol {
  counter-reset: number;
  list-style-type: none !important;
  padding: 0.3em 0.8em;
  border: solid 1px #aaa;
}

.about_yoyaku ol li {
  border-bottom: dashed 1px #000000;
  position: relative;
  padding: 0.5em 1em 0.5em 40px;
  line-height: 1.8em;
}

.about_yoyaku ol li:before {
  position: absolute;
  content: "●";
  display: inline-block;
  /*       background: #ffb107; */
  color: ffb107;
  font-weight: bold;
  font-size: 15px;
  border-radius: 50%;
  left: 8px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.about_yoyaku ol li:last-of-type {
  border-bottom: none;
}

@media screen and (max-width: 768px) {
  .about_yoyaku ol li {
    padding: 0.5em 1em 0.5em 20px;
    font-size: 0.9rem;
  }

  .about_yoyaku ol li:before {
    left: -10px;
  }
}


.about_yoyaku_r {
  /*      padding:10px; */
  margin-top: 50px;
}

.about_yoyaku_r ol {
  counter-reset: number;
  list-style-type: none !important;
  /*      padding: 0.3em 0.8em; */
  /*      border: solid 1px #aaa; */
}

.about_yoyaku_r ol li {
  border-bottom: dashed 1px #000000;
  position: relative;
  padding: 0.5em 1em 0.5em 40px;
  line-height: 1.8em;
}

.about_yoyaku_r ol li:before {
  position: absolute;
  content: "●";
  display: inline-block;
  /*       background: #ffb107; */
  color: ffb107;
  font-weight: bold;
  font-size: 15px;
  border-radius: 50%;
  left: 8px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.about_yoyaku_r ol li:last-of-type {
  border-bottom: none;
}

@media screen and (max-width: 768px) {
  .about_yoyaku_r ol li {
    padding: 0.5em 1em 0.5em 20px;
    font-size: 0.9rem;
  }

  .about_yoyaku_r ol li:before {
    left: -10px;
  }
}

.youtube {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.video {
  padding-top: 56.25%;
  position: relative;
  height: 0;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.b {
  font-weight: 600;
}

h2.h2_title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: middle;
  line-height: 1;
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  position: relative;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.8);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
  background: rgba(255, 255, 255, 1);
}

.modal-body {
  padding: 20px 70px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* モーダルタイトルコンテナ */
.modal-title-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
}

/* レベル別背景色をタイトルコンテナに適用 */
.modal-title-container.level-beginner {
  background-color: #ffff61;
}

.modal-title-container.level-level6,
.modal-title-container.level-level5 {
  background-color: #ff8abb;
}

.modal-title-container.level-level4,
.modal-title-container.level-level3 {
  background-color: #8cef93;
}

.modal-title-container.level-level2 {
  background-color: #65a8ff;
}

.modal-title-container.level-level1 {
  background-color: #fbc103;
}

.modal-body h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.modal-star {
  margin-left: 15px;
  display: flex;
  align-items: center;
}

.modal-star img {
  height: 24px;
  width: auto;
}

.modal-iframe-container {
  width: 100%;
  height: 70vh;
  min-height: 500px;
}

.modal-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 詳細リンクスタイル */
.detail-link {
  color: #007bff;
  text-decoration: underline;
  font-size: 0.9rem;
  margin-left: 5px;
}

.detail-link:hover {
  color: #0056b3;
  text-decoration: none;
}

/* レベル別背景色 */
.level-beginner {
  background-color: #ffff61 !important;
}

.level-level6,
.level-level5 {
  background-color: #ff8abb !important;
}

.level-level4,
.level-level3 {
  background-color: #8cef93 !important;
}

.level-level2 {
  background-color: #65a8ff !important;
}

.level-level1 {
  background-color: #fbc103 !important;
}

/* ミドル・シニア用レベル別背景色 */
.level-beginner-ms {
  background-color: #8cef93 !important;
}

.level-dclass {
  background-color: #8cef93 !important;
}

.level-cclass {
  background-color: #ffe17d !important;
}

.level-bclass {
  background-color: #fbc103 !important;
}

.level-aclass {
  background-color: #ff6076 !important;
}

.level-eclass {
  background-color: #ff6076 !important;
}

/*コブ用レベル別背景色 */
.level-cobu-b,
.level-cobu-a {
  background-color: #ff6076 !important;
}


/* ナビゲーションボタン（左右） */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background-color: #6c757d; */
  color: #6c757d;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover:not(:disabled) {
  /* background-color: #5a6268; */
  /* transform: translateY(-50%) scale(1.1); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn:disabled {
  background-color: #adb5bd;
  cursor: not-allowed;
  opacity: 0.5;
}

.nav-prev {
  left: 15px;
}

.nav-next {
  right: 15px;
}

/* モーダルフッターと閉じるボタン */
.modal-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #eee;
  background-color: #f8f9fa;
  flex-shrink: 0;
}

.btn-close-modal {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-close-modal:hover {
  background-color: #5a6268;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .modal-content {
    margin: 5% auto;
    width: 95%;
    max-height: 90vh;
  }

  .modal-body {
    padding: 15px 20px;
  }

  .modal-body h3 {
    font-size: 1.2rem;
  }

  .modal-footer {
    padding: 15px;
  }

  .nav-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .nav-prev {
    left: 5px;
  }

  .nav-next {
    right: 5px;
  }

  .btn-close-modal {
    padding: 8px 25px;
    font-size: 14px;
  }
}


.p-accordion2 {
  padding: 1.875rem 3.125rem 1.875rem 1.5625rem;
  background-color: #fff;
  -webkit-perspective: 31.25rem;
  perspective: 31.25rem;
  border-radius: 0.8rem;
  box-shadow: 0 0 8px #cacaca;
  margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
  .p-accordion2 {
    padding: 1.875rem 1rem 1.875rem 1rem;
  }
}

.h2_title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.4375rem;
  background: url(../images/icon_plus.svg) no-repeat center / contain;
  transition: 0.3s;
}

.h2_title.is-active::after {
  background: url(../images/icon_minus.svg) no-repeat center / contain;
  transform: translateY(-50%) rotate(360deg);
}

.h2_title {
  position: relative;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  margin-right: 2rem;
  line-height: 1.6;
}

.midashi_title {
  text-align: center;
  color: #545454;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 3rem 0 2rem;
}


.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }
}


.line_wrap {
  /* position: relative; */
  /* display: block; */
  text-align: center;
}

.line_wrap img {
  /* position: absolute; */
  max-width: 400px;
  margin: auto;
  /* left: 50%; */
  /* transform: translateX(-50%); */
}

.waku_box {
  /* display: inline-block; */
  padding: 2px 8px;
  margin: 0 5px;
  border: 1px solid #000;
  font-size: 0.6em;
  font-weight: 600;
  background: #fff;
  vertical-align: middle;
}


.scroll-container {
  /* テーブルを囲む要素の幅を制限し、横スクロールを有効にする */
  /* width: 300px; */
  /* 例として幅を300pxに設定 */
  overflow-x: auto;
  cursor: grab;
  /* ドラッグできることを示すカーソル */
  /* テキスト選択を防ぐ */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* tableがコンテナの幅を超えて横に広がるようにする設定 (必須ではないが、スクロールが必要な状況を作る) */
.scroll-container table {
  width: 1000px;
  /* 例としてコンテナの幅より広く設定 */
  border-collapse: collapse;
}

.scroll-container:active {
  cursor: grabbing;
  /* ドラッグ中のカーソル */
}

/* ドラッグスクロール対応：scrollable-table-wrapperとmyTableWrapperにも同じスタイルを適用 */
.scrollable-table-wrapper,
#myTableWrapper {
  overflow-x: auto;
  cursor: grab;
  /* テキスト選択を防ぐ */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.scrollable-table-wrapper:active,
#myTableWrapper:active,
.scrollable-table-wrapper.active-grab,
#myTableWrapper.active-grab,
.scroll-container.active-grab {
  cursor: grabbing;
  /* ドラッグ中のカーソル */
}

/* ドラッグ中はテキスト選択を確実に防止 */
.scrollable-table-wrapper.active-grab *,
#myTableWrapper.active-grab *,
.scroll-container.active-grab * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* ドラッグ中でもリンクやボタンはクリック可能に */
.scrollable-table-wrapper.active-grab a,
#myTableWrapper.active-grab a,
.scroll-container.active-grab a {
  pointer-events: auto;
}