@font-face {
  font-family: "IBM";
  src: url("../font/font1.ttf") format("truetype");
}
.main{
  font-family: "IBM";
}
.center{
  display:flex;
  justify-content:center;
  background-color:white;
  padding:8px;
}

.hide{
  display: none;
}

.show{
  opacity: 1;
}
.dif{
  font-color: red;
}
.tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 4px;
  bottom: 125%; /* 上に表示 */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
/*↓ホームページから取ってきた*/
summary{
    font-size:30px;
    display:flex;
    justify-content:center;
    cursor: pointer;
    padding: 8px 12px;
    background-color: #f4f9ff;
    color: black;
    border-radius: 30px;
    user-select: none;
    transition: background 0.2s, transform 0.1s;
    list-style:none;
}

summary:hover {
    background: #eaf4ff;
}

summary:active {
    transform: scale(0.97);
}
summary:focus{
    outline: none;
}
summary:focus-visible{
    outline:none;
}
summary::before{
    content:"▷";
    display:inline-block;
    margin-right:10px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

details[open] summary::before{
    transform: rotate(90deg);
}



/**/
details {
    margin: 10px 0;
}
.dialog .dialog_body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.dialog[open] .dialog_body {
  max-height: 2500px;
  background-color: #f4f9ff;
}
.dialog_body{
    padding:0 20px;
}


.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

li {
  list-style-type: "▷";
}
