/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* common */
body {
  background-color: #000;
}
main {
  padding-top: 100px;
}
img {
  width: 100%;
}
#wrapper {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  background-color: #000;
}
section {
  background-color: #ffc800;
  padding-bottom: 20px;
}
.apply_btn {
  display: block;
  margin: 20px 20px 0 20px;
}
.apply_btn:hover {
  opacity: 0.9;
}
.detail_btn {
  display: block;
  width: 200px;
  max-width: 50%;
  margin: 0 auto 40px;
}
.detail_btn:hover {
  opacity: 0.9;
}
.bold {
  font-weight: bold;
}
.small {
  margin-top: 10px;
  line-height: 1.25;
  text-align: right;
}
/* header */
header {
  height: 100px;
  display: flex;
  align-items: center;
  background-color: #fff;
  position: fixed;
  max-width: 640px;
}
header > h1,
header > a {
  width: 50%;
}
header > a {
  width: 50%;
  text-align: end;
}
header > h1 > a > img {
  width: 250px;
  max-width: 70%;
}

/* worry */
.worry > div {
  padding: 20px;
}

/* achievement */
.achievement > ul {
  padding: 20px 20px 40px;
}
.achievement > ul > li:first-of-type {
  margin-bottom: 40px;
}
.achievement > ul > li > .small {
  text-align: left;
  margin-top: 10px;
}

/* about */
.about > div {
  padding: 20px;
}
.about > div > p {
  line-height: 1.5;
  margin: 10px 0 20px 0;
}

/* secret */
.secret > div {
  padding: 20px;
}

/* comparison */

/* reason */
.reason > ul {
  padding: 20px;
}
.reason > ul > li:not(:last-of-type) {
  margin-bottom: 40px;
}
.reason > ul > li > h3 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  line-height: 1.25;
  padding: 20px 0 10px 0;
}
.reason > ul > li > p {
  line-height: 1.5;
}
.plan > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
}
.plan > ul > li {
  width: 290px;
  max-width: calc((100% - 20px) / 2);
  margin-bottom: 20px;
}
.price_table {
  padding: 20px 20px 40px 20px;
}
footer {
  background-color: #fff;
  padding: 20px 0 120px;
}
footer > h2 {
  width: 250px;
  max-width: 35%;
  padding: 20px;
  margin: 0 auto;
}
footer > dl {
  padding: 20px;
}
footer > dl > dt {
  float: left;
  margin-bottom: 10px;
}
footer > dl > dd {
  padding-left: 80px;
  margin-bottom: 10px;
}

footer > div > iframe {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}
footer > p {
  font-size: 12px;
  text-align: center;
}
#to-top {
  position: fixed;
  display: none;
  overflow: hidden;
  width: 40px;
  height: 40px;
  right: 5%;
  bottom: 100px;
  background-color: #ff1616;
  z-index: 100;
  cursor: pointer;
  /* border: 1px solid #fff; */
  border-radius: 50%;
}
#to-top::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid;
  border-color: #ffffff transparent transparent #ffffff;
  position: absolute;
  top: 17px;
  left: 13px;
  transform: rotate(45deg);
}
#to-top:hover {
  background-color: rgba(255, 22, 22, 0.8);
}
.fixed_btn {
  position: fixed;
  bottom: 0;
  /* padding: 0 20px; */
}
.fixed_btn>img {
  width: 640px;
  max-width: 100%;
}
@media screen and (max-width: 559px) {
  /* common */
  .apply_btn {
    margin: 20px 5px 0 5px;
  }
  main {
    padding-top: 70px;
  }
  /* header */
  header {
    height: 70px;
  }

  /* worry */
  .worry > div {
    padding: 5px;
  }

  /* achievement */
  .achievement > ul {
    padding: 5px;
  }

  /* about */
  .about > div {
    padding: 5px;
  }

  /* secret */
  .secret > div {
    padding: 5px;
  }

  /* comparison */

  /* reason */
  .reason > ul {
    padding: 5px;
  }
  .reason > ul > li > h3 {
    padding: 10px 0;
  }
  .plan > ul {
    padding: 5px;
  }
  .plan > ul > li {
    margin-bottom: 10px;
  }
  .price_table {
    padding: 20px 5px 40px 5px;
  }
  footer {
    background-color: #fff;
    padding: 20px 0 80px;
  }
  footer > h2 {
    width: 250px;
    max-width: 35%;
    padding: 20px;
    margin: 0 auto;
  }
  footer > dl {
    padding: 20px;
  }
  footer > dl > dt {
    float: left;
    margin-bottom: 10px;
  }
  footer > dl > dd {
    padding-left: 80px;
    margin-bottom: 10px;
  }

  footer > div > iframe {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
  footer > p {
    font-size: 12px;
    text-align: center;
  }
}
