/*s font awesome pickup */
@font-face {
  font-family: 'icomoon';
  src:  url('../icon-fonts/fonts/icomoon.eot?39xjav');
  src:  url('../icon-fonts/fonts/icomoon.eot?39xjav#iefix') format('embedded-opentype'),
    url('../icon-fonts/fonts/icomoon.ttf?39xjav') format('truetype'),
    url('../icon-fonts/fonts/icomoon.woff?39xjav') format('woff'),
    url('../icon-fonts/fonts/icomoon.svg?39xjav#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-arrow-down:before {
  content: "\e900";
}
.icon-arrow-up:before {
  content: "\e901";
}
.icon-check:before {
  content: "\e902";
}
/*e font awesome pickup */

/* ===== Select Box ===== */
.sel {
  font-size: 1rem;
  display: inline-block;
  margin: 3em 2em;
  width: 200px;    /* セレクトボックスの幅 */
  background-color: transparent;
  position: relative;
  cursor: pointer;
  border-bottom: 4px solid rgba(0, 0, 0, 0.3);    /* セレクトボックスの下線の色 */
}

.sel::before {
  position: absolute;
  content: '\e900';
  font-family: 'icomoon';
  font-size: 2em;
  color: #777; /* 矢印の色 */
  right: 20px;
  top: calc(50% - 0.5em);
  background-color:#FFF;    /* 矢印の周りの色 */
}

.sel.active::before {
  transform: rotateX(-180deg);
}

.sel__placeholder {
  display: block;
  font-family: 'Meiryo';
  font-size: 2.3em;
  color: #838e95;
  padding: 0.2em 0.5em;
  text-align: left;
  pointer-events: none;
  user-select: none;
  visibility: visible;
}

.sel.active .sel__placeholder {
  visibility: hidden;
}

.sel__placeholder::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.2em 0.5em;
  content: attr(data-placeholder);
  visibility: hidden;
}

.sel.active .sel__placeholder::before {
  visibility: visible;
}

.sel__box {
  position: absolute;
  top: calc(100% + 4px);
  left: -4px;
  display: none;
  list-style-type: none;
  text-align: left;
  font-size: 1em;
  background-color: #FFF;
  width: calc(100% + 8px);
  box-sizing: border-box;
}

/* セレクトボックスのスクロール化に必要 */
.sel__box {
  height:200px;
  background-color:white;    /* プルダウンメニューの色 */
  overflow:scroll;
  -ms-overflow-style: none;    /* IE, Edge 対応 */
  scrollbar-width: none;       /* Firefox 対応 */
} .sel__box::-webkit-scrollbar {  /* Chrome, Safari 対応 */
  display:none;
}

.sel.active .sel__box {
  display: block;
  animation: fadeInUp 500ms;
}

.sel__box__options {
  display: list-item;
  font-family:'Meiryo';
  font-size: 1.5em;
  color: #838e95;
  padding: 0.1rem;    /*プルダウンメニュー内のpadding */
  user-select: none;
}

.sel__box__options::after {
  content: '\e902';
  font-family: 'icomoon';
  color:#F9BC60;    /* プルダウンメニューの選択チェックの色 */
  font-size: 0.5em;
  margin-left: 5px;
  display: none;
}

.sel__box__options.selected::after {
  display: inline;
}

.sel__box__options:hover {
  background-color: #eeebe7;    /* プルダウンメニューホバー時の色 */
}

/* ===== Keyframes ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}