body{
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 20px;
  letter-spacing: .05em;
  color: #333;
}

a{
    text-decoration: none;
    color: white;
}

img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-style: none;
}
/* ローディング画面背景 */
.loader-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: linear-gradient(-225deg, #2CD8D5 0%, #C5C1FF 56%, rgba(255,186,195,1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* ローディングアニメーション */
  .sk-cube-grid {
    width: 100px;
    height: 100px;
    margin: 100px auto;
  }
  
  .sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: #333;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
            animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
  }
  .sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; }
  .sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s; }
  .sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s; }
  .sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s; }
  .sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; }
  .sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s; }
  .sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
            animation-delay: 0s; }
  .sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s; }
  .sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s; }
  
  @-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
      -webkit-transform: scale3D(1, 1, 1);
              transform: scale3D(1, 1, 1);
    } 35% {
      -webkit-transform: scale3D(0, 0, 1);
              transform: scale3D(0, 0, 1); 
    }
  }
  
  @keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
      -webkit-transform: scale3D(1, 1, 1);
              transform: scale3D(1, 1, 1);
    } 35% {
      -webkit-transform: scale3D(0, 0, 1);
              transform: scale3D(0, 0, 1);
    } 
  }
  

.color1{
    background-color: #DDE9FF;
}
.color2{
    background-color:#FFFB93;
}
.color3{
    background-color: #FDF2F2;
}
.color-special{
  background:linear-gradient(45deg,#F8FBF8,#D6D6D6);
}
.color-special2{
  background:radial-gradient(#f6f6ed, #fffb93);
}

.container{
    border-right: 3px solid black;
    border-left: 3px solid black;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 50px;
}

#header{
  padding: 0;
}
#header > img{
  margin-bottom: 0;
}

h2{
  padding: 10px 0;
  margin-bottom: 20px;
  text-align: center;
}

.topic{
  border-top: 2.5px solid black;
  border-bottom: 2.5px solid black;
}

.topic2 {
  position: relative;
  padding: 0.25em 1em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
}
.topic2:before, .topic2:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: black;
}
.topic2:before {
  left: 7px;
}
.topic2:after {
  right: 7px;
}

.text-img{
  border: 4px solid black;
  margin: 0 10% 15px 10%;  
}
.text-img img{
  width: 100%;
}

.words{
  font-weight: 550;
  padding: 0 10%;
}
.red{
  font-weight: bold;
  color: red;
}

.worry{
  display: flex;
}

.worry:nth-of-type(odd){
  flex-direction: row-reverse;
}
.worry:not(:last-child){
  margin-bottom: 15px;
}

.worry-img{
  width: 30%;
  height: auto;
}

.worry-img img{
  border: 2px solid black;
  border-radius: 50%;
}

.worry-text{
  width: 70%;
  text-align: center;
}

h3[class*="worry-text1"]{
  position: relative;
  padding: 8px 15px;
  background: #fff;
  border-radius: 20px;
}
.worry-text1{
  margin-left: 40px;
}
.worry-text1-1{
  margin-right: 40px;
}

h3[class*="worry-text1"]:before {
  font-family: "FontAwesome", "Font Awesome 5 Free";
  content: "\f111";
  font-weight: 900;
  position: absolute;
  font-size: 10px;
  bottom: 0;
  color: #fff;
}
.worry-text1:before{
  left: -40px;
}
.worry-text1-1:before{
  right: -40px;
}

h3[class*="worry-text1"]:after {
  font-family: "FontAwesome", "Font Awesome 5 Free";
  content: "\f111";
  font-weight: 900;
  position: absolute;
  font-size: 18px;
  bottom: 0;
  color: #fff;
}
.worry-text1:after{
  left: -23px;
}
.worry-text1-1:after{
  right: -23px;
}

.tekisuto-img{
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
  border-right: 3px solid black;
  border-left: 3px solid black;
}

#explain{
  margin-top: 30px;
  padding: 0 25%;
}

#explain1{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail{
  border: 3px solid black; 
  border-radius: 50% 50% 0 0;
  width:30%;
  padding: 7px 5px;
  cursor: pointer;
  justify-content: center;
  text-align: center;
}
.detail:nth-of-type(1){
  background-color: yellow;
}

.detail > p{
  font-weight: bold;
  font-size: 15px;
}
#explain2{
  position: relative;
}
.ex-img{
  position: absolute;
  top: 0;
  left: 0;
}
#explain2 > img{
  outline: 5px solid black;
  outline-offset: -5px;
  display: block;
  width: 100%;
}
#explain2 > img:nth-of-type(4){
  position: relative;
}

.firstextt{
  padding: 0;
}
.firstext-0{
  padding:0 30%;
  justify-content: center;
  align-items: center;
}
.firstext{
  display: flex;
  padding: 0;
  justify-content: center;
  align-items: center;
}
.firstext > img{
  width: 25%;
}

.my-btn {
  text-align: center;
}
.my-btn a {
  display: inline-block;
  width: 50%;
  margin: 20px auto;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  color: #fff!important;
  text-decoration: none;
  font-size: 15px;
  line-height: 27px;
  font-weight: bold;
  background: #17CA94;
  border-bottom: 4px solid #00bc7f;
  position: relative;
  overflow: hidden;
}
/* ボタンを凹ませる */
.my-btn a:active {
  transform: translateY(4px); /*下に動く*/
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2); /*影を小さく*/
  border-bottom: none;
}
/* ボタンをキラッとさせる */
.my-btn a:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 80%, rgba(255, 255, 255, 100) 81%, rgba(255, 255, 255, 0) 100%);
  animation: shine 3s infinite; /* inifiniteによりずっと続ける */
}
@keyframes shine {
  33% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
/* ボタンをドキドキさせる */
.dokidoki {
  animation: dokidoki 1.5s infinite;
}
@keyframes dokidoki {
  0% {
    transform: scale(1.05)
  }
  5% {
    transform: scale(1)
  }
  95% {
    transform: scale(1)
  }
  100% {
    -webkit-transform: scale(1.05)
  }
}
/* ボタンをプルプルさせる */
.purupuru {
  animation: yureru-s 2s infinite;
}
@keyframes yureru-s {
  0% {
    transform: translate(2px, 0px);
  }
  5% {
    transform: translate(-2px, 0px);
  }
  10% {
    transform: translate(2px, 0px);
  }
  15% {
    transform: translate(-2px, 0px);
  }
  20% {
    transform: translate(2px, 0px);
  }
  25% {
    transform: translate(-2px, 0px);
  }
  30% {
    transform: translate(0px, 0px);
  }
}
/* テキストの後ろに矢印 */
.my-btn a:after {
  content: '»';
  display: inline-block;
  color: #fff;
  padding-left: 10px;
  font-size: 20px;
}
/* 反転ボタンの矢印の色をテキストと同じに */
.purupuru a:after {
color: inherit;
}
/* 767px(iPad)以下でボタンの幅を90%に */
@media (max-width: 767px) {
  .my-btn a {
    width: 90%;
  }
}
/* 蛍光マーカー */
.color-marker {
  background: linear-gradient(transparent 50%, yellow 50%);
  font-weight: bold;
}

.qa .container{
  padding: 0;
  padding-bottom: 30px;
  align-items: center;
}

.qa .container img{
  border-top: 3px solid black;
  border-bottom: 3px solid black;
}

.qa .container{
  border-bottom: 5px solid black;
}

.accordion-001 {
  max-width: 500px;
  background-color: #dedede;
  margin: 30px auto;
}

.accordion-001:nth-of-type(1){
  margin-top: 20px;
}

.accordion-001:not([open]) {
  margin-bottom: 10px;
}

.accordion-001 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  border-radius: 5px;
  background-color: #000000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.accordion-001 summary::-webkit-details-marker {
  display: none;
}

.accordion-001 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  content: '';
  transition: transform .3s;
}

.accordion-001[open] summary::after {
  transform: rotate(225deg);
}

.accordion-001 p {
  transform: translateY(-10px);
  opacity: 0;
  margin-bottom: 10px;
  padding: 1em 2em 1em 2em;
  color: #333333;
  transition: transform .5s, opacity .5s;
}

.accordion-001[open] p {
  transform: none;
  opacity: 1;
}


#footer{
  background-color: black;
  display: flex;
  padding: 30px 15%;
  align-items: center;
  justify-content: space-around;
}
#footer p a{
  font-weight: bold;
  font-size: 15px;
  color: white;
  text-decoration: none;
}



@media screen and (max-width: 767px){
    body {
        font-size: 15px;
    }

    .words{
      padding: 0 1%;
    }

    .container{
      padding: 30px 30px;
  }

  h3{
    font-size: 13px;
  }

  .worry-img{
    width: 20%;
    height: auto;
  }
  .worry-text{
    width: 80%;
 }
    #explain{
      padding: 0 8%;
    }

    .detail > p{
      font-weight: bold;
      font-size: 9px;
    }
    .firstext-0{
      padding:0;
      justify-content: center;
      align-items: center;
    }
    .firstext{
      display: block;
      padding: 0;
      justify-content: center;
      align-items: center;
    }
    .firstext > img{
      width: 100%;
    }

    .accordion-001 {
      margin: 30px 5%;
    }

    #footer{
      text-align: center;
      padding: 15px 15%;
    }
    #footer p a{
      font-size: 10px;
    }
}

.privacy-policy {
  align-items: center;
  height: 80vh;
  margin-top: 10vh;
  padding: 2em;
  border: 2px solid #111;
  overflow-y: scroll;
}