@charset "utf-8";

/* 要素 */
/* リスト */
ul {
  list-style-type: none;
}

/* 表 */
table {
  border-collapse: collapse;
  margin-left: 10px;
}

th, td {
  border: 1px solid #000;
  padding: 6px;
  font-size: 14px;
}

td {
  text-align: left;
}

/* ボタン */
button {
  width: 200px;
  padding:0;
  margin:0;
  background:none;
  border:0;
  font-size:0;
  line-height:0;
  overflow:visible;
  cursor:pointer;
}

/* 閉じたり開いたりのボタンのカーソル */
strong {
  cursor: pointer;
}

/* キャプション */
figure {
  overflow:hidden;
  margin: 5px;
}

/* アイディ */
/* 上部のボタン */
#textToCopy {
  border: 2px solid black;
  background-color: white;
  display: inline-block;
  width: fit-content;
  padding: 5px 10px;
}

/* クラス */
/* 中央揃え */
.cntr {
  text-align: center;
}

/* コード記述 */
.code-wrapper {
  display: flex;
  font-family: monospace;
  border: 1px solid black;
  background-color: black;
  color: white;
  max-width: 800px;
  max-height: 200px;
  margin: 10px;
}
.line-numbers {
  background-color: black;
  color: #2463b6;
  padding: 10px 5px;
  text-align: right;
  user-select: none;
  overflow-y: scroll;
}
.code-content {
  padding: 10px;
  white-space: pre;
  flex: 1;
  overflow: auto;
}
/* 同期スクロール */
.code-content::-webkit-scrollbar {
  width: 8px;
}
.line-numbers::-webkit-scrollbar {
  width: 8px;
}

/* VBA コメント色（緑） */
.comment {
  color: #198f62;
  font-weight: bold;
}


.fsize {
  font-size: 18px;
}

.lft {
  text-align: left;
}

.button-margin {
  margin-top: 5px;
}

.large-select {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 20px;
}

/* リストの点 */
.disc {
  list-style-type:disc;
  margin-left: 30px;
  margin-right: 30px;
}

.botton1 {
  width: 100%;
}

.container {
  display: flex;
  width: 100%;
}

.container1 {
  display: flex;
}

.botton1_pc{
  width: 100%;
  display: block;
}

.botton1_mobile{
  display: none;
}

.lContainer {
  display: flex;
  flex-direction: column;
}

.frame {
  border: 2px solid black;
  display: inline-block;
  width: fit-content;
  padding: 5px 10px;
}

.white-frame {
  border: 2px solid black;
  display: inline-block;
  width: fit-content;
  padding: 5px 10px;
  background-color: white;
}

.white-frame-margin {
  border: 2px solid black;
  display: inline-block;
  width: fit-content;
  padding: 5px 10px;
  background-color: white;
  margin: 5px 10px;
  font-size: 90%;
}

.flex-border {
  border: 2px solid black;
  display: flex;
}

.white-frame-num {
  display: inline-block;
  width: fit-content;
  padding: 5px 10px;
  background-color: white;
  font-size: 90%;
}

.num {
  padding: 5px 10px;
  background-color: #d4d4d4;
  font-size: 90%;
}

.dotted-box {
  border: 2px dashed black;
  display: inline-block;
  width: fit-content;
  padding: 3px;
}


/* 2列目の右側に二重線を追加 */
.double-border-right {
  border-right: 3px double black; /* 太さ3pxの二重線 */
  padding: 3px;
}

.td-padding3 {
  padding: 3px;
}

.p-right {
  text-align: right;
}

.textToCopy {
  border: 2px solid black;
  background-color: white;
  display: inline-block;
  width: fit-content;
  padding: 5px 10px;
}

.submit {
  width: 100px;
  display: block;
  padding-left: 10px;
}

@media screen and (max-width: 840px) {

  .container {
    display: block;
    width: 90%;
  }

  .container1 {
    display: block;
  }
}

/* 以下スマホ（500pxより小さくなった場合） */
@media screen and (max-width: 500px) {

  th, td {
    border: 1px solid black; /* 基本の枠線 */
    padding: 8px;
  }

  .container {
    display: block;
    width: 100%;
  }
}