@charset "utf-8";

/* 要素 */

/* リスト */
ul {
  list-style-type: none;
}

/* 表 */
table {
  border-collapse: collapse; /* 枠線を重ねて1本にする */
}

th, td {
  border: 1px solid black; /* 基本の枠線 */
  padding: 8px;
}

td {
  text-align: left;
  padding: 7px;
}

/* ボタン */
button {
  width: 200px;
  padding:0;
  margin:0;
  background:none;
  border:0;
  font-size:0;
  line-height:0;
  overflow:visible;
  cursor:pointer;
}

/* セレクトボックス全体の文字サイズ */
select {
  font-size: 18px;
}

/* オプション部分の文字サイズ */
select option {
  font-size: 16px;
}

/* 閉じたり開いたりのボタンのカーソル */
strong {
  cursor: pointer;
}

/* キャプション */
figure {
  overflow:hidden;
  margin: 5px;
}

/* アイディ */
#clock {
  background-color: rgb(237, 253, 239);
}

#clock1 {
  background-color: rgb(237, 253, 239);
}

#clock2 {
  background-color: rgb(229, 236, 247);
}

/* クラス */
/* 中央揃え */
.cntr {
  text-align: center;
}

/* 数学用 */
.fitaly {
  font-style: italic;
  font-size: 16px;
}

.italy {
  font-style: italic;
}

.fcurs {
  font-style: cursive;
  font-size: 16px;
}

.lcurs {
  font-style: cursive;
  font-size: 20px;
}

.curs {
  font-style: cursive;
}

.fsize {
  font-size: 18px;
}

.lft {
  text-align: left;
}

.button-margin {
  margin-top: 5px;
}

.math-icon {
  width: 20px;
  align-items: center;
}

.math-margin {
  margin-top: 4px;
  margin-bottom: 4px;
  height: 75px;
  width: 350px;
}

.math-margin1 {
  margin-left: 30px;
  color: #390ccd;
}

.math-large {
  font-size: 18px;
  margin-bottom: 10px;
}

.large1 {
  font-size: 21px;
}

.large2 {
  font-size: 18px;
}

.math-container {
  display: flex;
  gap: 10px;
}

.large-select {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 20px;
}

.math-img-aids {
  width: 75px;
  margin-left: 10px;
}

.math-white-frame {
  border: 2px solid black;
  display: inline-block;
  padding: 1px 3px;
  background-color: white;
}

.math-white-frame1 {
  border: 2px solid #390ccd;
  display: inline-block;
  padding: 1px 3px;
  background-color: white;
}

.submit {
  width: 100px;
  display: block;
}

.imgSmall {
  width: 25px;
}

.container {
  display: flex;
  flex-direction: row;
}

.iconScroll {
  height: 70px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.iconScroll ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.iconScroll li {
  list-style: none;
  flex-shrink: 0;
  width: auto !important;
}

.menuIcon {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.titleImage {
  display: block;
  margin-top: 10px;
}

@media screen and (max-width: 840px) {

  .iconScroll {
    height: 50px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 4px; /* ← スクロールバー対策 */
    box-sizing: border-box;
  }

  .iconScroll ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .iconScroll li {
    width: auto !important;
    list-style: none;
    flex-shrink: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
  }

  .menuIcon {
    height: 40px;
    width: auto;
    flex-shrink: 0;
    margin: 0;
  }

  .titleImage {
    margin-top: 20px;
  }
}