/* ==========================================================================
   $BASE-DATE-PICKER
   ========================================================================== */
/**
 * The picker box.
 */
.picker__box {
  padding: 0 1em;
}
/**
 * The header containing the month and year stuff.
 */
.picker__header {
  text-align: center;
  position: relative;
  margin-top: .75em;
}
/**
 * The month and year labels.
 */
.picker__month, .picker__year {
  display: inline-block;
  margin-left: .25em;
  margin-right: .25em;
  font-size: 16px;
  color: #fa4e97;
  font-weight: bold;
}
.picker__year {
  font-size: 12px;
  color: #fe7bb2;
}
/**
 * The month and year selectors.
 */
.picker__select--month, .picker__select--year {
  border: 1px solid #b7b7b7;
  height: 2em;
  padding: .5em;
  margin-left: .25em;
  margin-right: .25em;
}
@media (min-width: 24.5em) {
  .picker__select--month, .picker__select--year {
    margin-top: -0.5em;
  }
}
.picker__select--month {
  width: 35%;
}
.picker__select--year {
  width: 22.5%;
}
/**
 * The month navigation buttons.
 */
.picker__nav--prev, .picker__nav--next {
  position: absolute;
  padding: .5em 1.25em;
  width: 1em;
  /*height: 1em;*/
  box-sizing: content-box;
  top: -0.25em;
}
@media (min-width: 24.5em) {
  .picker__nav--prev, .picker__nav--next {
    top: -0.33em;
  }
}
.picker__nav--prev {
  left: -1em;
  padding-right: 1.25em;
}
@media (min-width: 24.5em) {
  .picker__nav--prev {
    padding-right: 1.5em;
  }
}
.picker__nav--next {
  right: -1em;
  padding-left: 1.25em;
}
@media (min-width: 24.5em) {
  .picker__nav--next {
    padding-left: 1.5em;
  }
}
.picker__nav--prev:before, .picker__nav--next:before {
  content: " ";
  border-top: .3em solid transparent;
  border-bottom: .3em solid transparent;
  border-right: 0.5em solid #000;
  width: 0;
  height: 0;
  display: block;
  margin: 0 auto;
}
.picker__nav--next:before {
  border-right: 0;
  border-left: 0.5em solid #000;
}
.picker__nav--prev:hover, .picker__nav--next:hover {
  cursor: pointer;
  color: #ccc;
  background: #ffe2ee;
}
.picker__nav--disabled, .picker__nav--disabled:hover, .picker__nav--disabled:before, .picker__nav--disabled:before:hover {
  cursor: default;
  background: none;
  border-right-color: #f5f5f5;
  border-left-color: #f5f5f5;
}
/**
 * The calendar table of dates
 */
.picker__table {
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: inherit;
  width: 100%;
  margin-top: .75em;
  margin-bottom: .5em;
}
@media (min-height: 33.875em) {
  .picker__table {
    margin-bottom: .75em;
  }
}
.picker__table td {
  margin: 0;
  padding: 0;
  border: none;
}
/**
 * The weekday labels
 */
.picker__weekday {
  width: 14.285714286%;
  font-size: 12px;
  padding-bottom: .25em;
  color: #999;
  font-weight: 500;
}
.picker__weekday:first-of-type {
  color: #ff1616;
}
.picker__weekday:last-of-type {
  color: #1649ff;
}
.picker__table tr td:first-of-type .picker__day.picker__day--infocus:not(.picker__day--disabled) {
  color: #ff1616;
}
.picker__table tr td:last-of-type .picker__day.picker__day--infocus:not(.picker__day--disabled) {
  color: #1649ff;
}
@media (min-height: 33.875em) {
  .picker__weekday {
    padding-bottom: .5em;
  }
}
/**
 * The days on the calendar
 */
.picker__day {
  padding: .3125em 0;
  border: 1px solid transparent;
  font-size: 14px;
  text-align: center;
}
.picker__day--today {
  position: relative;
}
.picker__day--disabled:before {
  border-top-color: #aaa;
}
.picker__day--outfocus {
  color: #ddd;
}
.picker__day--infocus:hover, .picker__day--outfocus:hover {
  cursor: pointer;
  color: #000;
  background: #ffb7d5;
}
.picker--focused {
  cursor: pointer;
  color: #000;
  background: #ffb7d5;
  border-radius: 4px;
}
.picker__day--selected, .picker__day--selected:hover {
  background: #ffe2ee;
}
.picker__day--disabled, .picker__day--disabled:hover, .picker--focused .picker__day--disabled {
  background: #f5f5f5;
  color: #ddd;
  cursor: default;
}
.picker__day--highlighted.picker__day--disabled, .picker__day--highlighted.picker__day--disabled:hover {
  background: #f5f5f5;
}
/**
 * The footer containing the "today", "clear", and "close" buttons.
 */
.picker__footer {
  text-align: center;
  padding-bottom: 20px;
}
.picker__footer:before{
  content: '希望日をタップしてください。';
  margin: 10px auto 15px;
  text-align: center;
  font-size: 12px;
  color: #939393;
  display: block;
}
.picker__button--today, .picker__button--close {
  display: none;
}
.picker__button--clear {
  border: 1px solid #fea0c7;
  background: #ffb7d5;
  font-size: 14px;
  line-height: 16px;
  padding: 5px 10px;
  display: inline-block;
  vertical-align: bottom;
  text-align: center;
  color: #474747;
  border-radius: 4px;
}
.picker__button--clear:focus {
  background: #ffdeee;
  outline: none;
}
.picker__button--clear:before {
  position: relative;
  display: inline-block;
  height: 0;
}
/*
.picker__button--today:before, .picker__button--clear:before {
  content: " ";
  margin-right: .45em;
}
*/