/**** PC版 ****/
@media only screen and (min-width:600px) {

  .article-body{
    line-height:initial !important;
  }

  .flex{
    display: flex;
  }

  .flex-item{
    font-size:120%;
  }

  .flex-item:nth-child(1){
    width: 25%;
    border:solid 1px #ddd;
    padding:10px;
  }

  .flex-item:nth-child(2){
    width: 65%;
    border:solid 1px #ddd;
    padding:10px;
  }

  .input-text {
    height: 25px;
    font-size: 16px;
    flex-grow: 0.5;
    min-width: 50px;
    max-width: 150px;
    padding:0 0 0 10px;
  }

  .error-message {
    color: red;
    font-size: 130%;
    min-height: 35px;
    margin:20px 0 0 0;
    padding:5px;
  }

  .answer-box-parent{
    margin:20px 0 0 0;
  }
      
  .answer-box-child{
    width: 76%;
    /*height: 158px;*/
    border:solid 1px #ccc;
    border-radius: 5px;
    background-color: #fdfdfd;
    font-size:20px;
    padding:10px 0 0 10px;
    line-height: 25px;
  }

  .graph-box{
    padding: 0 150px 0 0;
    margin-top:30px
  }

  .item-group{
    margin:5px;
  }

  .myPicker{
    height: 25px;
    font-size: 16px;
    width:25% !important;
  }
}

/**** スマホ版 ****/
@media screen and (max-width: 600px) {
          
  .flex{
    display: flex;
  }

  .flex-item{
    font-size:100%;
  }

  .flex-item:nth-child(1){
    width: 40%;
    border:solid 1px #ddd;
    padding:10px;
    font-size: 100%;
  }

  .flex-item:nth-child(2){
    width: 60%;
    border:solid 1px #ddd;
    padding:10px;
  }

  .input-text {
    height: 25px;
    font-size: 14px;
    flex-grow: 0.5;
    min-width: 30px;
    max-width: 80px;
    padding:0 0 0 5px;
  }

  .answer-box-parent{
    margin:20px 0 0 0;
  }
      
  .answer-box-child{
    width: 97%;
    border:solid 1px #ccc;
    border-radius: 5px;
    background-color: #fdfdfd;
    font-size:16px;
    padding:10px 0 10px 10px;
    line-height: 25px;
  }

  .graph-box{
    padding: 0 0 0 0;
    margin-top:30px
  }

  .myPicker{
    height: 25px;
    font-size: 16px;
    width:100% !important;
    margin:1px 0;
  }
}

.btn--orange,
a.btn--orange {
color: #fff;
background-color: #eb6100;
}

.btn--orange:hover,
a.btn--orange:hover {
color: #fff;
background: #f56500;
}

.cont{
padding:0 20px 0 10px;
}

.cont_title{
    margin:50px 0 0 0!important;
}

.unit{
  margin:0 0 0 5px;
}

.focused {
background-color: #e0f7fa !important;
}

.key:hover {
  background-color: #d4d4d4;
}

.result-box{
  margin:15px 0 0 0;
  display:block;
}

.article-header__inner {
  padding-bottom: 0px !important;
}

.article-body>*:not([class*="epb-spacer"]):not(:first-child) {
margin-top: 10px!important;
}

.article-body{
line-height:var(--ep-base-line-height-sp, 1.8) !important;
}

.meta-category {
display:none;
}

td, th{
word-break:initial !important;
}

h3{
margin-top:30px;
}

.length-result{
margin:20px 0 0 10px;
}

.Accordion {
width: 100%;
margin:5px 0 0 0;
}
.toggle {
display: none;
}
.option {
position: relative;
margin-bottom: 1em;
background: #f3f3f3;
}
.title,
.content {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: translateZ(0);
transition: all 0.3s;
}
.title {
/*border: solid 1px #ccc;*/
padding: 1em;
display: block;
color: #111;
font-weight: bold;
}
.title::after,
.title::before {
content: "";
position: absolute;
right: 1.25em;
top: 1.25em;
width: 2px;
height: 0.75em;
background-color: #111;
transition: all 0.3s;
}
.title::after {
transform: rotate(90deg);
}
.content {
max-height: 0;
overflow: hidden;
}
.toggle:checked + .title + .content {
max-height: 1500px;
transition: all 1.5s;
}
.toggle:checked + .title::before {
transform: rotate(90deg) !important;
}

.section-title{
  font-size:180%;
}

.unit-gap{
  margin-right:20px;
}

.repeat-label{
  font-size:60%;
  font-weight:normal;
}

.notice-section{
  margin:30px 0 5px 0;
}

.notice-title{
  font-size:120%;
  font-weight:bold;
  padding:0 0 0 30px;
}

.notice-text{
  padding:0 50px 5px 30px;
}

.notice-text:last-child{
  padding-bottom:0;
}

.calc-section{
  padding:0 0 0 30px;
}

.btn-wrapper{
  margin:5px 0 0 0;
}

.usage-guide{
  margin-top:50px;
  padding:10px 0 0 40px;
  border:1px solid #ccc;
  width:85%;
}

.guide-text{
  margin:10px 0;
}

.guide-text-sm{
  margin:7px 0;
}

.calc-button{
  padding:10px 50px 10px 60px;
  text-decoration: none;
  font-size:150%;
}

/* 日曜日：赤 */
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(7n + 1),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n + 1) {
  color: #f00;
}

/* 土曜日：青 */
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-weekdays .flatpickr-weekday:nth-child(7),
.flatpickr-calendar .flatpickr-innerContainer .flatpickr-days .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay):nth-child(7n) {
  color: #25bdcf;
}

/* 祝日 */
.flatpickr-day.is-holiday{
  background: lighten(#f00, 40%) !important;
}

/* 入力欄の文字列を選択させないようにしておく  */
.flatpickr-calendar .numInput{
  user-select: none;
}

input[type="radio"] {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #3197EE;
  border-radius: 50%;
  vertical-align: -2px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3197EE;
  content: '';
}

input[type="checkbox"] {
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="checkbox"] {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #000;
  vertical-align: -5px;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  content: '';
}