@charset "UTF-8";

/* CSS Document */
/* ========================================================================
  Reset
======================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
button {
  background-color: transparent;
  color: inherit;
  border-width: 0;
  padding: 0;
  cursor: pointer;
}
figure {
  margin: 0;
}
input::-moz-focus-inner {
  border: 0;
  padding: 0;
  margin: 0;
}
ul,
ol,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
p {
  margin: 0;
}
cite {
  font-style: normal;
}
fieldset {
  border-width: 0;
  padding: 0;
  margin: 0;
}
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  font-size: inherit;
  color: inherit;
  box-sizing: content-box;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
body {
  font-family:
    "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ",
    "MS P Gothic", "ＭＳ Ｐゴシック", sans-serif;
  background-color: #fff;
}
main,
footer {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .br-sp {
    display: inline;
  }
}

@media screen and (min-width: 769px) {
  .br-sp {
    display: none;
  }
}

/* cv */

@media screen and (max-width: 768px) {
  .cv {
    position: relative;
  }

  .cv-btn {
    position: absolute;
    bottom: 19%;
    left: 4.5%;
    width: 90%;
  }

  .cv-btn a:hover {
    opacity: 0.8;
  }

  .anim-box.poyopoyo {
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
  }
  @keyframes poyopoyo {
    0%,
    40%,
    60%,
    80% {
      transform: scale(1);
    }
    50%,
    70% {
      transform: scale(0.95);
    }
  }

  .cv-cancel {
    position: absolute;
    right: 6.5%;
    bottom: 1.7%;
    font-size: 0.7rem;
    color: #333;
  }

  .cv-cancel a {
    text-decoration: underline;
    padding-left: 16px;
    position: relative;
  }

  .cv-cancel a::before {
    content: "";
    background-image: url(../img/cv-arrow.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 50%;
    width: 11px;
    height: 11px;
    display: inline-block;
    position: absolute;
    top: 3px;
    left: 4px;
  }

  .cv-cancel a:hover {
    text-decoration: none;
  }
}

@media screen and (min-width: 769px) {
  .cv {
    position: relative;
  }

  .cv-btn {
    position: absolute;
    bottom: 19%;
    left: 4%;
  }

  .cv-btn a:hover {
    opacity: 0.8;
  }
  .anim-box.poyopoyo {
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
  }
  @keyframes poyopoyo {
    0%,
    40%,
    60%,
    80% {
      transform: scale(1);
    }
    50%,
    70% {
      transform: scale(0.95);
    }
  }

  .cv-cancel {
    position: absolute;
    right: 6.5%;
    bottom: 1.7%;
    font-size: 1.2rem;
    color: #333;
  }

  .cv-cancel a {
    text-decoration: underline;
    padding-left: 16px;
    position: relative;
  }

  .cv-cancel a::before {
    content: "";
    background-image: url(../img/cv-arrow.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100%;
    width: 11px;
    height: 20px;
    display: inline-block;
    position: absolute;
    top: 3px;
    left: 0px;
  }

  .cv-cancel a:hover {
    text-decoration: none;
  }
}

/* media */
.media {
  position: relative;
}

.media-cm {
  position: absolute;
  top: 18.2%;
  left: 5%;
  width: 90%;
}

.media-cm video {
  width: 100%;
}

/* faq */
@media screen and (max-width: 768px) {
  .accordion {
    padding: 0 20px 20px;
  }

  .accordion-content {
    display: none;
  }

  .accordion-header {
    background-color: #007d9a;
    padding: 20px 25px 20px 10px;
    margin: 2px 0 0;
    transition: background 0.3s ease;
    cursor: pointer;
    position: relative;
  }

  .accordion-header::before,
  .accordion-header::after {
    position: absolute;
    content: "";
    top: 1px;
    right: 10px;
    bottom: 0;
    width: 16px;
    height: 2px;
    margin: auto;
    background: #fff;
  }

  .accordion-header::after {
    transform: rotate(-90deg);
    transition: transform 0.3s;
  }

  .accordion-header.active::after {
    transform: rotate(0deg);
  }

  .accordion-content {
    background-color: #fff;
    padding: 12px 20px 24px;
  }

  .accordion-header span {
    color: #fff;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    padding-left: 30px;
    position: relative;
    display: inline-block;
  }

  .accordion-content span {
    line-height: 1.6;
    font-size: 0.8rem;
    color: #333;
    text-align: justify;
  }

  .accordion-header span::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-image: url(../img/faq-q.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100%;
    width: 20px;
    height: 20px;
    display: inline-block;
  }
}

@media screen and (min-width: 769px) {
  .accordion {
    padding: 0 40px 40px;
  }

  .accordion-content {
    display: none;
  }

  .accordion-header {
    background-color: #007d9a;
    padding: 20px 45px 20px 20px;
    margin: 2px 0 0;
    transition: background 0.3s ease;
    cursor: pointer;
    position: relative;
  }

  .accordion-header::before,
  .accordion-header::after {
    position: absolute;
    content: "";
    top: 1px;
    right: 20px;
    bottom: 0;
    width: 24px;
    height: 2px;
    margin: auto;
    background: #fff;
  }

  .accordion-header::after {
    transform: rotate(-90deg);
    transition: transform 0.3s;
  }

  .accordion-header.active::after {
    transform: rotate(0deg);
  }

  .accordion-content {
    background-color: #fff;
    padding: 12px 20px 24px;
  }

  .accordion-header span {
    color: #fff;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    padding-left: 48px;
    position: relative;
  }

  .accordion-content span {
    line-height: 1.6;
    font-size: 1.2rem;
    color: #333;
    text-align: justify;
  }

  .accordion-header span::before {
    position: absolute;
    content: "";
    top: 2px;
    left: 0;
    background-image: url(../img/faq-q.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100%;
    width: 36px;
    height: 36px;
    display: inline-block;
  }
}

/* fixedbtn */
.fixedbtn {
  display: none;
  position: fixed;
  bottom: 0;
}

/* amazon */
@media screen and (max-width: 768px) {
  .amazon {
    padding: 20px;
  }

  .amazon-box {
    border: 6px solid #e1e1e1;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
  }

  .amazon-box h2 {
    font-weight: bold;
    font-size: 1.2rem;
  }

  .amazon-box p {
    line-height: 1.5;
    font-size: 0.8rem;
  }

  .amazon-box-btn {
    border-color: #a88734 #9c7e31 #846a29;
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    grid-row: 1/2;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    padding: 12px 0;
    margin: 16px 0;
  }

  .amazon-box-btn picture img {
    width: 60%;
  }
}

@media screen and (min-width: 769px) {
  .amazon {
    padding: 40px;
  }

  .amazon-box {
    border: 10px solid #e1e1e1;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
  }

  .amazon-box h2 {
    font-weight: bold;
    font-size: 1.4rem;
  }

  .amazon-box p {
    line-height: 1.5;
  }

  .amazon-box-btn {
    border-color: #a88734 #9c7e31 #846a29;
    background: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    grid-row: 1/2;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    padding: 12px 0;
    margin: 24px 0;
  }

  .amazon-box-btn picture img {
    width: 40%;
  }
}

/* footer */

@media screen and (max-width: 768px) {
  footer {
    text-align: center;
  }

  footer ul {
    text-align: center;
  }

  footer ul li {
    display: inline;
    margin: 0;
    padding: 0 12px 0 6px;
    border-right: 1px solid #000;
    font-size: 11px;
  }

  footer ul li:last-child,
  footer ul li:nth-child(2) {
    border-right: none;
  }

  footer p {
    margin: 24px 0 32px;
  }
}

@media screen and (min-width: 769px) {
  footer {
    text-align: center;
  }

  footer ul {
    text-align: center;
  }

  footer ul li {
    display: inline;
    margin: 0;
    padding: 0 12px 0 6px;
    border-right: 1px solid #000;
    font-size: 11px;
  }

  footer ul li:last-child {
    border-right: none;
  }

  footer p {
    margin: 24px 0 32px;
  }
}
