.input {
    margin: 10px;
    width: 90%;
    text-align: center;
}
.output {
    margin: 10px;
    width: 30%;
    text-align: center;
}
.mondai {
    width: 90%;
    max-width: 800px;
}

details {
  border: 10px solid #ccc;
  border-radius: 5px;
}
details:not(:last-child) {
  margin-bottom: 25px;
}

/**
 * list-style: none; ←デフォルト三角削除（Chrome非対応）
 * cursor: pointer; ←カーソルをポインターに
**/
details summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  background: #e4e4e4;
  color: #242323;
  font-size: 2rem;
  font-weight: bold;
}
/**
 * Chrome用のデフォルト三角削除
**/
details summary::-webkit-details-marker {
  display: none;
}
/**
 * Font Awesomeのプラスアイコン使用
**/

details summary::before {
  font-family: "Font Awesome 5 Free";
  content: '\f067';
  margin-right: 20px;
}

/**
 * アコーディオンがオープン時はマイナスアイコンに変更
**/

details[open] summary::before {
  content: '\f068';
}

details p {
  margin: 0;
  padding: 20px;
  font-size: 40px;
}

/**
summary {
  cursor: pointer;
  transition: 0.2s; * 変化を滑らかに 
}
* ホバー時のスタイル
summary:hover {
  cursor: pointer; * カーソルを指マークに 
  background-color: #afeeee;
}
**/

.acd {
  width: 90%;
  max-width: 800px;
}

.answer {
  font-size: 50px;
  color: #000000;
}

.ans {
  font-size: 60px;
  color: #ffa500;
}

.sumbdice {
    list-style: none;
    display: flex;
}