@charset "UTF-8";


/*--- title setting -------------------------------------------------*/

div.title{
  background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
  border-radius: 100vw;
  font-size: inherit;
  margin-bottom: 0;
  height: 200px;
  position: relative;
  width: 200px;
  top: -3rem;
  left: -3rem;
}

@media screen and (max-width: 980px) {
  div.title{
    top: -4rem;
    left: -4rem;
  }
}

@media screen and (max-width: 768px) {
  div.title{
    height: 30vw;
    width: 30vw;
    top: -11vw;
    left: -10vw;
  }
}


div.title img{
  position: absolute;
  top: 45%;
  left: 45%;
  max-width: 70px;
}

@media screen and (max-width: 768px) {
  div.title img{
    top: 50%;
    left:45%;
    max-width: 11vw;
  }
}


/*--- box setting -------------------------------------------------*/


.flex-box{
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2rem auto;
}

.archive .inner .flex-box{
  margin-top: 0;
}

.flex-box .box_2{
  width: 48%;
}

@media screen and (max-width: 768px) {
  .flex-box .box_2{
    width: 100%;
  }
}



/*--- page navi setting -------------------------------------------------*/
.navigation.pagination{
  margin: 4rem auto 0;
}
.page-numbers {
  display: flex;
  justify-content: center;
}

.page-numbers li{
  margin: 0 .25rem .25rem;
}

.page-numbers li a,
.page-numbers li span{
  border-radius: 2rem;
  color: #fff;
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-size: .8rem;
  line-height: 35px;
  height: 35px;
  padding-left: .1rem;
  text-align: center;
  width: 35px;
}

a.page-numbers{
  background-color: #97d9e1;
  font-weight: 600;
}

a.page-numbers:hover{
  background-color:#d9afd9;
}

span.page-numbers.dots{
  color: #000;
  font-size: 1rem;
  line-height: 150%;
}

span.page-numbers.current{
  background: #ccc;
}

/*--- button setting -------------------------------------------------*/


.btn_more a{
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 3rem;
  color: #fff;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 auto;
  letter-spacing: 1px;
  padding: .45rem 0;
  position: relative;
  text-align: center;
  max-width: 300px;
  width: 90%;
}

.btn_more a span{
  display: inline-block;
  font-family: “Century Gothic”, sans-serif;
  position: relative;
  z-index: 2;
}

.btn_more a span img{
  max-width: 70px;
}

.btn_more a::before{
  background-image: url('../img/icon_arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: '';
  display: block;
  height: 20px;
  right: 5%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width:15px;
  z-index: 2;
}


.btn_more a::after{
  background-color: #32cd32 ;
  border-radius: 3rem;
  content: '';
  display: block;
  height: 100%;
  left: .25rem;
  position: absolute;
  mix-blend-mode: multiply;
  transition: .2s ease-in;
  top: .25rem;
  width: 100%;
  z-index: 0;
}
.btn_more a:hover::after{
  background-color:#00bfff;
}

.btn_back a,
#button-submit{
  background: #e075c2;
  background: linear-gradient(90deg, rgba(224, 117, 194, 1) 0%, rgba(252, 176, 69, 1) 100%);
  border-radius: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  padding: 1rem 1.5rem;
  text-decoration: none;
  text-align: center;
  width: 25%;
}

#button-submit.hide{
  background: linear-gradient(90deg,#4682b4 0%, #808080 100%);
  color: #dcdcdc;
}

@media screen and (max-width: 768px) {
  .btn_back a,
  #button-submit{
    display: block;
    margin: 1rem auto;
    width: 50%;
  }

}


.btn_back a{
  display: block;
  margin: 3rem auto 0;
  width: 150px;
}

.link_box {
  margin: 2rem auto 4rem;
}

.flex-box .link_box{
  width: 48%;
}

.link_box strong{
  background: transparent;
  display: block;
  margin-bottom: 1rem;
  text-align: center;
}

.link_box a{
  background-image: linear-gradient(45deg, #0fd850 30%, #f9f047 100%);
  border-radius: .25rem;
  color: #fff;
  display: block;
  font-weight: 600;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  max-width: 250px;
  width: 100%;
}

/*--- ad setting -------------------------------------------------*/
article .ad_box,
article + .ad_box{
  margin: 2rem auto;
  background: #f5f5f5;
  padding: 1rem;
}

.ad_box strong{
  display: inline-block;
  margin-bottom: .5rem;
}


/*--- post setting -------------------------------------------------*/


.box {
  margin: 0 0 3rem;
  padding: 0;
  width: auto;
}

@media screen and (max-width: 980px) {
    .box {
      width: auto;
    }
}


.main_post{
  margin-bottom: 2rem;
  overflow:hidden;
  position: relative;
  height: 300px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .main_post{
    height: 220px;
  }
}


.main_post .description{
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 5;
  width: 80%;
}


.archive .inner .description h2{
  font-size: 1.15rem;
  margin: 0 auto 1rem;
}

@media screen and (max-width: 768px) {
  .archive .inner .description h2{
    font-size: 1rem;
    margin: 0 auto .75rem;
  }
}


.flex-box .post time,
.main_post .description time{
  display: block;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: .85rem;
  line-height: 1;
}

.main_post a{
  display: block;
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.flex-box .post .thum img,
.main_post img{
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
}


.flex-box .post{
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 1rem;
  width: 48%;
}

.flex-box .post a{
  height: 100%;
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
}

.flex-box .post .thum{
  position: relative;
  height: 180px;
  overflow: hidden;
  margin-bottom: .25rem;
}

@media screen and (max-width: 768px) {
  .flex-box .post .thum{
    height: 120px;
   }
}



.flex-box .post time{
  text-align: right;
}



/*--- form setting -------------------------------------------------*/

.form_box dl{
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 1rem;
}

@media screen and (max-width: 768px) {
  .form_box dl{
    display: block;
  }
}

.form_box dl dt{
  font-size: .95rem;
  font-weight: 600;
  position: relative;
  width: 200px;
}

@media screen and (max-width: 768px) {
  .form_box dl dt{
    margin-bottom: .5rem;
    width: 100%;
   }
}

.form_box dl dt span{
  background: #d43f8d;
  color: #fff;
  display: inline-block;
  font-size: .6rem;
  font-weight: 400;
  position: absolute;
  line-height: 1;
  right: 0;
  padding: .25rem .5rem;
}

.form_box dl dd{
  padding-left: 2.5%;
  width: calc( 100% - 200px);
}

@media screen and (max-width: 768px) {
  .form_box dl dd{
    padding-left: 0;
    width: 100%;
   }
}


.form_box span.wpcf7-not-valid-tip{
  display: block;
  color: #d43f8d;
  font-size: .8rem;
  margin-top: .5rem;
}

.form_box p{
  text-align: center;
}

.form_box p a{
  text-decoration: underline;
}

.wpcf7-response-output:not(:empty){
  background: #d43f8d;
  color: #fff;
  padding: 1rem;
  text-align: center;
  margin: 1rem;
}

input{
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  outline: none;
  padding: 0;
  width: auto;
}

input[type="text"],
input[type="email"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border-radius: 0;
  font-size: 1.4rem;
  outline: none;
  padding: 2.5%;
  width: 95%;
}
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 1.4rem;
  resize: none;
  outline: none;
  padding: 2.5%;
  width: 95%;
}

form input[type="submit"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px #3881a9;
  border-radius: .5rem;
  color: #3881a9;
  display: block;
  font-size: 1rem;
  margin: 2rem auto 0;
  padding: 1rem 1.5rem;
  text-align: center;
  max-width: 200px;
  width: 100%;
  line-height: 1;
  letter-spacing: 2px;
  transition: .15s ease-in;
}

form input[type="submit"]:hover{
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  box-shadow: inset 0 0 0 2px #13547a;
  color: #fff;
}

/*--- article setting -------------------------------------------------*/

article{
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
  article{
    padding: 2rem 0;
    margin-bottom: 2rem;
  }
}

article h1{
  margin-bottom: 1rem;
  padding: .5rem 1rem .5rem 1.5rem;
  position: relative;
}

article h1::before,
article h1::after{
  content: '';
  display: block;
  position: absolute;
}
article h1::before{
  background-image: linear-gradient(-50deg, #fed6e3 0% , #a8edea 100%);
  height: 100%;
  left: 0;
  top: 0;
  width: 8px;
  z-index: 1;
}

article h1::after{
  background: #fff;
  height: calc(tan(60deg) * 15px / 2);
  width: 5px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  top: 50%;
  transform: translateY(-50%);
  left: 3px;
  z-index: 2;
}

article h2{
  background-image: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%);
  border-radius: .25rem;
  padding: .5rem 1rem .5rem 1.5rem;
  position: relative;
}

article h2::before{
  content: '';
  display: block;
  background: #fff;
  height: calc(tan(60deg) * 15px / 2);
  width: 5px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

article h3{
  padding-left: 2rem;
  position: relative;
}
article h3::before{
  background: #ace0f9;
  border-radius: .05rem;
  content: '';
  display: block;
  height: 6px;
  position: absolute;
  top: .75rem;
  left: 0;
  width: 20px;
}

article h4{
  color: #5780b2;
}

article .meta{
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

article .meta time,
article .meta .cat{
  width: 50%;
}


article .meta time{
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
}

article .meta .cat{
  text-align: right;
}

article .meta .cat a{
  background: #82D1CD;
  border-radius: .15rem;
  color: #fff;
  display: inline-block;
  font-size: .75rem;
  padding: .25rem .5rem;
  letter-spacing: 1px;
  line-height: 1;
  text-align: center;
}

article .thum {
  border-radius: .5rem;
  position: relative;
  overflow: hidden;
  height: 300px;
}

@media screen and (max-width: 768px) {
  article .thum {
    border-radius: .25rem;
    height: 200px;
  }
}

article .thum img{
  max-height: 100%;
  height: 100%;
  object-fit: cover;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  max-width: 100%;
  width: 100%;
}

article .syntaxhighlighter {
  padding: .5rem !important;
}

article p{
  position: relative;
}

article p.price{
  padding-left: 3.25rem;
}

article p.price .tag_price{
  background: #94bf11;
  border-radius: .1rem;
  color: #fff;
  display: inline-block;
  font-size: 80%;
  line-height: 1;
  padding: .25rem .5rem;
  position: absolute;
  top: .25rem;
  left: 0;
}

article p a{
  color:#8dadf7;
  text-decoration: underline;
}

article span.small{
  font-size: 80%;
}

article ul,
article ol{
  background-image: linear-gradient(35deg, #f2f7fc 0%, white 100%);
  padding: 2rem 1.5rem;
}

@media screen and (max-width: 768px) {
  article ul,
  article ol{
    padding: 1rem 1rem;
  }
}

.sp_inner{
  overflow-x: scroll;
  width: 100%;
}

.sp_inner table{
  min-width: 550px;
}

/*--- single link setting -------------------------------------------------*/

.thum_link{
  border: 1px solid #eee;
}

.single_page_nav{
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  justify-content: space-between;
  margin-bottom: 5rem;
  padding: 5rem 0;
}

@media screen and (max-width: 768px) {
  .single_page_nav{
    margin-bottom: 3rem;
    padding: 3rem 0;
  }
}

.prev_post,
.next_post{
  width: 280px;
}

@media screen and (max-width: 1200px) {
  .prev_post,
  .next_post{
    width: 48%;
  }

}
@media screen and (max-width: 768px) {
  .prev_post{
    margin-bottom: 2rem;
  }
  .prev_post,
  .next_post{
    margin-right: auto;
    margin-left: auto;
    width: 80%;
  }

}


.prev_post a{
  padding-left: 3rem;
}

.next_post a{
  text-align: right;
  padding-right: 3rem;
}

@media screen and (max-width: 768px) {
  .prev_post a{
    padding-left: 0;
  }

  .next_post a{
    padding-right: 0;
  }

}

.single_page_nav a{
  display: block;
  position: relative;
}

.single_page_nav a:hover{
  background: transparent;
  color: #636363;
}

.single_page_nav a::before{
  background: url('../img/arrow_page.svg') no-repeat center / auto 100%;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  top: 0%;
  width: 40px;
}

@media screen and (max-width: 768px) {
  .single_page_nav a::before{
    height: 50px;
    width: 20px;
    top: 2.5px;
  }
}

.single_page_nav .prev_post a::before{
  left: 0;
}
@media screen and (max-width: 768px) {
  .single_page_nav .prev_post a::before{
    left: -35px;
  }
}

.single_page_nav .next_post a::before{
  transform: scale(-1,-1);
  right: 0;
}
@media screen and (max-width: 768px) {
  .single_page_nav .next_post a::before{
    right: -35px;
  }
}

.single_page_nav p{
  font-weight: 600;
  margin-bottom: .5rem;
}

.single_page_nav time{
  display: block;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-size: 90%;
  font-weight: 400;
}

/*--- relatied setting -------------------------------------------------*/

@media screen and (max-width: 768px) {
  #related_box{
    margin-bottom: 3rem;
  }
}
#related_box > h2{
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  text-align: center;
}

#related_box .post{
  width: 31%;
}

@media screen and (max-width: 768px) {
  #related_box .post{
    width: 100%
  }
  #related_box .post a{
    align-items: center;
    flex-direction: row-reverse;
  }

  #related_box .post .thum{ 
    height: 100px;
    width: 45%;
  }
  #related_box .post .description{
    padding-left: 5%;
    width: 55%;
  }
}

#related_box .post p{
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: .5rem;
}



/*--- mokuzi setting -------------------------------------------------*/
div#ez-toc-container {
  background: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: .15rem;
  margin: 2rem auto !important;
  width: 80%;
}

.ez-toc-title-container{
  position: relative;
}

div#ez-toc-container .ez-toc-title {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

div#ez-toc-container .ez-toc-title-toggle {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
}

div#ez-toc-container .ez-toc-pull-right {
  float: inherit !important;
  margin-left: 0;
}
#ez-toc-container .ez-toc-js-icon-con {
  float: inherit !important;
  left: 0;
}

#ez-toc-container nav ul {
  display: block;
}
#ez-toc-container nav ul.ez-toc-list a {
  padding: .25rem .5rem;
}