body {
  font-family: Verdana, sans-serif;
  font-size: 14px;
  letter-spacing: 1.2px;
  margin: 0;
  color: #fff;
  overflow-y: scroll;
}
p {
  text-align: justify;
}
.hidden {
  display: none;
}
.container {
  width: 90%;
  margin: 0 auto;
  padding: 10px 0;
}

/* header */
#headerMenuBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.9);
  z-index: 2;
}
#headerMenuBar .container {
  height: 62px;
  overflow: hidden;
  padding: 0;
}
#headerMenuBar .content {
  display: block;
  height: 42px;
  padding: 10px 0;
  background-image: url("../img/title-back.png");
  background-size: cover;
  float: left;
}
#headerMenuBar a {
  display: block;
  text-decoration: none;
  color: #fff;
}
#headerMenuBar .content h1,
#headerMenuBar .content h2 {
  font-size: 20px;
  font-weight: normal;
  margin: 0;
  text-align-last: justify;
}
#headerMenuBar .content h2 {
  font-size: 12px;
}

#menu-trigger-input {
  display: none;
}
#menu-trigger-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 3;
}
#menu-trigger {
  display: block;
  position: relative;
  width: 34px;
  height: 22px;
  box-sizing: border-box;
  background: none;
  padding: 0;
  margin: 20px 0;
  cursor: pointer;
  float: right;
  z-index: 5;
}
#menu-trigger span {
  display: block;
  background: red;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  transition: all .4s;
  box-sizing: border-box;
}
#menu-trigger-input ~ label span:nth-of-type(1) {
  top: 0;
}
#menu-trigger-input ~ label span:nth-of-type(2) {
  top: 10px;
}
#menu-trigger-input ~ label span:nth-of-type(3) {
  bottom: 0;
}
#menu-list {
  display: none;
  position: fixed;
  top: 0;
  height: 100%;
  right: 0;
  width: 85%;
  background: #fff;
  overflow: auto;
  transition: all .4s;
  transform: translate(105%);
  -webkit-transform: translate(105%);
  z-index: 4;
}
#menu-trigger-input:checked ~ #menu-trigger-mask {
  display: block;
  opacity: .6;
}
#menu-trigger-input:checked ~ label span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
  transform: translateY(4px) rotate(-45deg);
  background: #fff;
  /* transform: translateY(10px) rotate(-45deg); */
}
#menu-trigger-input:checked ~ label span:nth-of-type(2) {
  opacity: 0;
}
#menu-trigger-input:checked ~ label span:nth-of-type(3) {
  -webkit-transform: translateY(-10px) rotate(45deg);
  transform: translateY(-16px) rotate(45deg);
  background: #fff;
  /* transform: translateY(-10px) rotate(45deg); */
}
#menu-trigger-input:checked ~ #menu-list {
  transform: translate(0);
  -webkit-transform: translate(0);
}
#menu-list .title {
  background: #00a000;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}
#menu-list ul {
  padding: 0;
  margin: 0;
}
#menu-list li {
  padding: 0;
  margin: 0;
  border-bottom: solid 1px #dcdcdc;
}
#menu-list li a {
  height: 50px;
  line-height: 50px;
  padding: 0 0 0 20px;
  color: #3f3f3f;
}
#menu-list ul:nth-of-type(1) li:last-child {
  border-bottom: 0;
}
#menu-list ul:nth-of-type(2) li a {
  padding: 0 0 0 30px
}
#menu-list i,
#menu-list-pc i {
  padding-right: 20px
}
  /* PCメニュー*/
#headerMenuBar .header-access {
  display: none;
}
#menu-list-pc {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  width: 100%;
  transition: all .5s;
  transform: translateY(-130%);
  -webkit-transform: translateY(-130%);
  z-index: 2;
}
#menu-list-pc.open {
  transform: translateY(0);
  -webkit-transform: translateY(0);
}
/* headerここまで */

#currency-container {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0 auto;
  transition: all .5s;
  -webkit-transform: translateY(-105%);
  transform: translateY(-105%);
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  z-index: 5;
}
#currency-container.open {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
#currency-container > div {
  position: relative;
  background: #00a000;
  height: 50px;
}
#currency-container p {
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  margin: 0;
  padding: 0 0 0 25px;
  color: #fff;
}
#currency-container i {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
#currency-container ul {
  padding: 0;
  margin: 0;
  background: #fff;
}
#currency-container li {
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  font-weight: bold;
  padding: 0 0 0 25px;
  margin: 0;
  border-bottom: solid 1px #dcdcdc;
  color: #828282;
  cursor: pointer;
}

#datepicker-container {
  position: fixed;
  width: 100%;
  top: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 5;
}
#datepicker1,
#datepicker2 {
  position: relative;
}
.close-datepicker {
  position: absolute;
  bottom: -30px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}
.ui-datepicker {
  width: 90%;
  font-size: 20px;
  padding: 10px 10px 0;
  margin: 0px auto;
  display: none;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  width: 45%;
}
.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  padding: 5px;
  text-align: right;
  text-decoration: none;
}

#mask {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.9);
  z-index: 4;
}

.select-page {
  background: rgba(0,0,0,.9);
  text-align: center;
  font-weight: normal;
  padding: 62px 0 0;
  margin: 0;
}
.select-page div {
  height: 51px;
  line-height: 51px;
  background: rgba(0,0,0,.9);
  border-top: solid 1px red;
}

.section-container:nth-of-type(1) {
  background: #ebebeb;
}

section .container {
  padding: 20px 0;
}

.selectbox {
  text-align: center;
  box-sizing: border-box;
  border: solid 1px #323232;
  border-radius: 5px;
  overflow: hidden;
}
div.selectbox:nth-of-type(2),
div.selectbox:nth-of-type(3) {
  margin-top: 10px;
}
.selectbox-left,
.selectbox-right {
  width: 24%;
  height: 36px;
  line-height: 36px;
  background: #323232;
  margin: 0;
  padding: 0;
  border: 0;
  float: left;
}
.selectbox-right {
  width: 76%;
  font-weight: bold;
  background: #fff;
  cursor: pointer;
  color: #828282;
  float: right;
}
.hover li:active,
.hover-a:active {
  background: #e8e8e8;
}

.hiduke-box1,
.hiduke-box2 {
  width: 50%;
  height: 36px;
  line-height: 36px;
  font-size: 12px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
  float: left;
}
.hiduke-box2 {
  border-left: solid 1px #323232;
  float: right;
}

#btn {
  width: 50%;
  height: 36px;
  line-height: 36px;
  background: #00a000;
  text-align: center;
  margin: 20px auto 0;
  font-size: 20px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}
#btn:active {
  background: #007800;
}
#result-area {
  height: 250px;
  color: red;
}
#notice {
  line-height: 250px;
  text-align: center;
}
#result_currency {
  height: 36px;
  line-height: 36px;
  text-align: center;
  padding: 0;
  margin: 0 0 15px;
  border: solid 1px red;
  border-radius: 5px;
}
#result_date1,
#result_date2,
#result_period,
#result_youbi,
#result_day  {
  padding: 5px 0;
}
#result_price {
  text-align: center;
  font-size: 50px;
  margin: 10px 0;
}
#result_price::after {
  content: ' pips';
  font-size: 18px;
}
#userSelect {
  padding: 5px 0;
  border-bottom: solid 1px red;
}

#dayoff {
  padding: 5px 0;
  text-align: right;
}

section h2 {
  position: relative;
  background: #323232;
  font-size: 20px;
  text-align: center;
  margin: 0;
  padding: 10px;
}
h3 {
  font-weight: normal;
  font-size: 18px;
  padding: 10px 0;
  margin: 0 0 15px;
  color: #505050;
  border-bottom: solid 1px #505050;
}

.desc {
  background: #fff;
  padding: 10px 0;
  color: #505050;
}
.desc p {
  margin: 10px;
}
.desc i {
  color: #00b400;
  margin-right: 15px;
}

section .desc:last-child {
  margin-bottom: 20px;
}

footer {
  background: #323232;
}
.footer-content {
  height: 300px;
  background: #2d2d2d;
  margin: 30px 0;
  border-top: solid 2px #ffff00;
}
.twitter-wrap {
  height: 255px;
  -webkit-overflow-scrolling: touch;
}

.footer-content h3 {
  background: #1e1e1e;
  text-align: center;
  margin: 0;
  padding: 10px 0;
  color: #fff;
  border: 0;
}
.footer-content ul {
  list-style: none;
  padding: 10px 20px;
  margin: 0;
  padding: 20px;
  border: 0;
  color: #fff;
}
.footer-content ul li {
  padding: 10px 0;
  border: 0;
}
.footer-content ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}
.copy {
  text-align: center;
  padding: 30px;
  margin: 0;
}

#back-to-top {
  position: fixed;
  background: rgba(0,0,0,.6);
  width: 50px;
  height: 50px;
  right: 30px;
  bottom: 30px;
  font-size: 20px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

.ad1,
.ad2 {
  text-align: center;
}
.ad2 {
  display: none;
}


@media (min-width: 375px) {

  body {
    font-size: 16px;
  }

  .ui-datepicker {
    font-size: 25px;
  }

  .hiduke-box1,
  .hiduke-box2 {
    font-size: 14px;
  }

}


@media (min-width: 414px) {

  .ui-datepicker {
    font-size: 30px;
  }

  header .container,
  section .container {
    width: 380px;
  }
  .footer-content {
    width: 380px;
    margin: 0 auto;
    margin: 40px auto 0;
  }

}


@media (min-width: 480px) {

  #datepicker-container {
    width: 430px;
    top: 50px;
  }

  .hiduke-box1,
  .hiduke-box2 {
    font-size: inherit;
  }

}


@media (min-width: 750px) {

  body {
    font-size: 16px;
  }

  #datepicker-container {
    width: 570px;
  }
  .close-datepicker {
    right: 15px;
  }

  #currency-container p {
    text-align: center;
  }

  #headerMenuBar .container {
    width: 680px;
  }
  footer .container {
    width: 660px;
  }
  #headerMenuBar .content {
    background-image: url("../img/title-back-pc.png");
    overflow: hidden;
  }
  #headerMenuBar .content h1,
  #headerMenuBar .content h2 {
    font-size: 30px;
    line-height: 42px;
    text-align-last: auto;
    float: left;
  }
  #headerMenuBar .content h2 {
    font-size: inherit;
    margin-left: 20px;
  }

  .select-page {
    clear: both;
  }

  #btn {
    width: 40%;
    font-weight: bold;
    margin-top: 40px;
  }

  #result_date1,
  #result_date2 {
    float: left;
  }
  .pc-result-date {
    overflow: hidden;
  }
  #result_date2 {
    margin-left: 30px;
  }
  #result_price {
    margin: 0;
    padding: 25px 0;
    clear: both;
  }
  .userSelect-wrrap {
    overflow: hidden;
  }
  #userSelect {
    border: 0;
    float: left;
  }
  #dayoff {
    float: left;
    margin-left: 10px;
  }

  section .container {
    width: 680px;
  }
  section .section-container:nth-of-type(1) .container {
    padding: 40px 0;
  }

  .footer-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .footer-content {
    width: 48%;
    margin: 0;
  }
  footer .container {
    padding-top: 40px;
  }
  .copy {
    padding: 40px 0;
  }

  #back-to-top {
    width: 60px;
    height: 60px;
    right: 50px;
    bottom: 50px;
    font-size: 25px;
    line-height: 60px;
  }

  #ads-container {
    overflow: hidden;
  }
  .ad1,
  .ad2 {
    width: 49%;
    float: left;
  }
  .ad2 {
    display: block;
    float: right;
  }

}


@media (min-width: 980px) {

  .pc,
  footer .container {
    width: 940px;
    margin: 10px auto;
    overflow: hidden;
  }

  #mask {
    background: rgba(0,0,0,.5);
  }
  #menu-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,.8);
    z-index: 2;
  }
  #headerMenuBar {
    z-index: 3;
  }
  #headerMenuBar .container {
    width: 940px;
    padding: 0;
    overflow: hidden;
  }
  #menu-trigger {
    display: none;
  }
  #headerMenuBar .header-access {
    display: block;
    box-sizing: border-box;
    color: #fff;
    overflow: hidden;
    float: right;
  }
  #headerMenuBar .header-access h3 {
    line-height: 42px;
    padding: 0 20px;
    margin: 10px 0;
    border: 0;
    border-left: 1px solid red;
    color: #fff;
  }
  #headerMenuBar .h-menu-link {
    line-height: 62px;
    cursor: pointer;
    float: left;
  }
  #headerMenuBar .h-menu-link i {
    margin-right: 20px;
  }

  .menu-pc-container {
    background: #fff;
    overflow: hidden;
  }
  #menu-list-pc .title-pc {
    width: 50%;
    box-sizing: border-box;
    float: right;
  }
  #menu-list-pc .title-pc:nth-of-type(1) {
    border-left: 1px solid #dcdcdc;
  }
  #menu-list-pc .title {
    background: #00a000;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #fff;
  }
  #menu-list-pc ul {
    padding: 0;
    margin: 0;
  }
  #menu-list-pc li {
    padding: 0;
    margin: 0;
    border-bottom: solid 1px #dcdcdc;
  }
  #menu-list-pc li a {
    display: block;
    text-decoration: none;
    height: 50px;
    line-height: 50px;
    padding: 0 0 0 80px;
    color: #3f3f3f;
    cursor: pointer;
  }
  #menu-list-pc ul:nth-of-type(1) li:last-child {
    border-bottom: 0;
  }
  #menu-list-pc ul:nth-of-type(2) li a {
    padding: 0 0 0 30px
  }

  .left-side {
    float: left;
    width: 600px;
  }

  section .container {
    width: 100%;
    margin: 0;
    overflow: hidden;
  }

  div.section-container:nth-of-type(1) .container,
  div.section-container:nth-of-type(2) .container {
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    box-sizing: border-box;
    overflow: hidden;
  }
  div.section-container:nth-of-type(2) .container {
    padding: 30px 15px 10px;
    margin: 0;
  }

  #btn {
    width: 25%;
    height: 36px;
    line-height: 36px;
    font-size: 22px;
    margin: 30px 0 0;
    float: right;
  }

  #result_price {
    font-size: 60px;
    padding: 20px 0;
  }

  section h2 {
    margin-top: 30px;
  }

  .right-side.hidden {
    display: block;
    float: right;
    width: 300px;
    box-sizing: border-box;
  }

  .hayami {
    width: 100%;
    background: #fff;
    margin: 30px 0;
    border: solid 1px #323232;
    box-sizing: border-box;
  }

  .hayami p {
    height: 47px;
    line-height: 47px;
    background: #323232;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #fff;
  }
  .hayami ul {
    line-height: 2;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #323232;
  }
  .hayami li {
    margin: 2px 15px;
    padding: 2px 15px;
    border-bottom: solid 1px #323232;
  }
  .hayami li:first-child {
    margin-top: 10px;
  }
  .hayami li:last-child {
    border: none;
    padding-bottom: 10px;
  }

  .twitter-wrap {
    width: 70%;
    margin: 0 auto;
  }

  .copy {
    padding-top: 80px;
  }

  #back-to-top {
    width: 70px;
    height: 70px;
    right: 70px;
    bottom: 70px;
    font-size: 30px;
    line-height: 70px;
  }

}
