@import url("global.css");
#contents {
  margin-bottom: 120px;
}

/* ---------- Index-Page ---------- */
.index .lead {
  text-align: center;
}
.index .lead .contactbtn {
  margin-top: 30px;
}
.index .lead .contactbtn a {
  display: inline-block;
  background-color: #FFF;
  padding: 0 20px;
  line-height: 40px;
  -webkit-border-radius: 66px;
  border-radius: 66px;
  font-size: .8em;
}
@media (any-hover: hover) {
  .index .lead .contactbtn a:hover {
    color: #FFF;
    background-color: #B09F94;
  }
}
.index #newposts {
  margin-top: 90px;
  display: flex;
}
.index #newposts .titlearea {
  flex-shrink: 0;
  margin-right: 5%;
}
.index #newposts .titlearea .sectitle {
  line-height: 1.3;
}
.index #newposts .titlearea .sectitle .en {
  font-size: 36px;
  display: block;
}
.index #newposts .list {
  flex-grow: 1;
}
.index #newposts .list ul {
  display: flex;
  gap: 35px;
}
.index #newposts .list ul li {
  flex: 1;
}
.index #newposts .list ul li a {
  display: block;
  border-radius: 3px;
  height: 100%;
  overflow: hidden;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.08);
  background-color: #fff;
}
@media (any-hover: hover) {
  .index #newposts .list ul li a:hover {
    transform: translateY(5px);
  }
  .index #newposts .list ul li a:hover .body .more {
    background-color: #362929;
    color: #fff;
  }
}
.index #newposts .list ul li a .headarea {
  background-color: #FEEFDF;
  padding: 20px;
}
.index #newposts .list ul li a .headarea .cat {
  width: fit-content;
  min-width: 50px;
  box-sizing: border-box;
  padding: 2px 8px;
  font-size: 12px;
  text-align: center;
  margin-bottom: 10px;
  background-color: #CFB29D;
}
.index #newposts .list ul li a .headarea .cat.cat-beginner {
  background-color: #DAC59B;
}
.index #newposts .list ul li a .headarea .cat.cat-performance {
  background-color: #ADB6A1;
}
.index #newposts .list ul li a .headarea .cat.cat-plan {
  background-color: #A8A4AC;
}
.index #newposts .list ul li a .headarea .cat.cat-other {
  background-color: #9BB7B3;
}
.index #newposts .list ul li a .headarea .posttitle {
  line-height: 1.6;
  font-size: 18px;
  font-weight: bold;
}
.index #newposts .list ul li a .body {
  padding: 20px;
}
.index #newposts .list ul li a .body .excerpt {
  font-size: 14px;
}
.index #newposts .list ul li a .body .more {
  width: fit-content;
  margin: 15px 0 0 auto;
  padding: 3px 15px;
  white-space: nowrap;
  border-radius: 99px;
  background-color: #E6D7CC;
  font-size: .75em;
  transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  -webkit-transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.index #allposts {
  margin-top: 120px;
}
.index #allposts > .sectitle {
  text-align: center;
  line-height: 1.1;
  margin-bottom: 50px;
}
.index #allposts > .sectitle .en {
  font-size: 54px;
  display: block;
}
.index #allposts > .sectitle .ja {
  font-size: 18px;
}
.index #allposts .cat_list {
  border-top: 1px dashed #B09F94;
  border-bottom: 1px dashed #B09F94;
  padding: 30px 10px;
  display: flex;
  align-items: flex-start;
}
.index #allposts .cat_list .h {
  flex-shrink: 0;
  margin: 0 30px 0 20px;
  white-space: nowrap;
  line-height: 1;
  margin-top: 15px;
}
.index #allposts .cat_list .h .en {
  font-size: 21px;
}
.index #allposts .cat_list .list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.index #allposts .cat_list .list li a {
  position: relative;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 2px;
  overflow: hidden;
  background-color: #fff;
  padding: 10px 15px 10px 20px;
  box-sizing: border-box;
  font-weight: bold;
}
.index #allposts .cat_list .list li a::before {
  content: "";
  width: 7px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #CFB29D;
}
.index #allposts .cat_list .list li a::after {
  content: "";
  display: block;
  background: url("../img/qa/arrow-down.svg") no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  margin-left: 10px;
}
@media (any-hover: hover) {
  .index #allposts .cat_list .list li a:hover {
    transform: translateY(5px);
  }
}
.index #allposts .cat_list .list li.cat-beginner a::before {
  background-color: #DAC59B;
}
.index #allposts .cat_list .list li.cat-performance a::before {
  background-color: #ADB6A1;
}
.index #allposts .cat_list .list li.cat-plan a::before {
  background-color: #A8A4AC;
}
.index #allposts .cat_list .list li.cat-other a::before {
  background-color: #9BB7B3;
}
.index #allposts .post_list {
  margin-top: 60px;
}
.index #allposts .post_list .sec_cat + .sec_cat {
  margin-top: 60px;
}
.index #allposts .post_list .sec_cat .sectitle {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}
.index #allposts .post_list .sec_cat .list li + li {
  margin-top: 15px;
}
.index #allposts .post_list .sec_cat .list li a {
  position: relative;
  background-color: #fff;
  display: flex;
  align-items: flex-start;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.08);
  padding: 20px 130px 20px 35px;
}
.index #allposts .post_list .sec_cat .list li a::before {
  content: "";
  width: 7px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #CFB29D;
}
@media (any-hover: hover) {
  .index #allposts .post_list .sec_cat .list li a:hover {
    transform: translateY(5px);
  }
  .index #allposts .post_list .sec_cat .list li a:hover .more {
    background-color: #362929;
    color: #fff;
  }
}
.index #allposts .post_list .sec_cat .list li a .feature {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  background-color: #C86F5F;
  color: #fff;
  font-size: 13px;
  padding: 7px;
  margin-right: 15px;
}
.index #allposts .post_list .sec_cat .list li a .feature::before {
  content: "";
  flex-shrink: 0;
  margin-right: 6px;
  background: url("../img/qa/exclamation.svg") no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
}
.index #allposts .post_list .sec_cat .list li a .posttitle {
  display: flex;
  align-items: flex-start;
  line-height: 1.6;
  font-size: 18px;
}
.index #allposts .post_list .sec_cat .list li a .more {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: fit-content;
  padding: 3px 15px;
  white-space: nowrap;
  border-radius: 99px;
  background-color: #E6D7CC;
  font-size: .75em;
  transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  -webkit-transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.index #allposts .post_list .sec_cat#cat-beginner li a::before {
  background-color: #DAC59B;
}
.index #allposts .post_list .sec_cat#cat-performance li a::before {
  background-color: #ADB6A1;
}
.index #allposts .post_list .sec_cat#cat-plan li a::before {
  background-color: #A8A4AC;
}
.index #allposts .post_list .sec_cat#cat-other li a::before {
  background-color: #9BB7B3;
}

/* ---------- Entry-Page ---------- */
.entry #post .post-title {
  text-align: center;
  margin-bottom: 50px;
}
.entry #post .post-title .cat {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 5px;
  margin-bottom: 25px;
}
.entry #post .post-title .cat span {
  display: inline-block;
  padding: 5px 15px;
  line-height: 1.3;
  background-color: #362929;
  color: #FFF;
  box-sizing: border-box;
  min-width: 150px;
}
.entry #post .post-title .cat span.pickup {
  background-color: #C86F5F;
}
.entry #post .post-title .cat span.pickup::before {
  content: "";
  display: inline-block;
  margin-right: 6px;
  background: url("../img/qa/exclamation.svg") no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
}
.entry #post .post-title .title {
  font-size: clamp(19px, 2.4vw, 30px);
  line-height: 1.5;
  font-weight: bold;
}
.entry #post #postbody {
  padding: 50px 30px;
  border-top: #B09F94 solid 1px;
  border-bottom: #B09F94 solid 1px;
}
.entry #post #postbody .postbody {
  text-align: justify;
}
.entry #post #postbody .postbody a {
  text-decoration: underline;
  color: #CFB29D;
}

/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-1 ( 1300px )
 
------------------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 959px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  #contents {
    margin-bottom: 80px;
  }

  /* ---------- Index-Page ---------- */
  .index .lead .contactbtn {
    margin-top: 25px;
  }
  .index .lead .contactbtn a {
    font-size: .9em;
  }
  .index #newposts {
    display: block;
    margin-top: 60px;
  }
  .index #newposts .titlearea {
    text-align: center;
    margin: 0 0 30px;
  }
  .index #newposts .list ul {
    gap: 10px;
  }

  /* ---------- Entry-Page ---------- */
  .entry #post .post-title {
    margin-bottom: 35px;
  }
  .entry #post .post-title .cat span {
    padding: 5px 20px;
  }
  .entry #post #postbody {
    padding: 35px 20px;
  }
  .entry #post #postbody .postbody.pickup::before {
    top: -55px;
    width: 40px;
    height: 40px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  #contents {
    margin-bottom: 60px;
  }

  /* ---------- Index-Page ---------- */
  .index .lead {
    text-align: justify;
  }
  .index .lead .text br {
    display: none;
  }
  .index .lead .contactbtn {
    text-align: center;
    margin-top: 20px;
  }
  .index .lead .contactbtn a {
    line-height: 32px;
  }
  .index #newposts .titlearea .sectitle .en {
    font-size: 28px;
  }
  .index #newposts .list {
    max-width: 300px;
    margin: 0 auto;
  }
  .index #newposts .list ul {
    display: block;
  }
  .index #newposts .list ul li + li {
    margin-top: 30px;
  }
  .index #newposts .list ul li::before {
    width: 16px;
    height: 16px;
    margin: 5px 5px 0 0;
  }
  .index #newposts .list ul li a .headarea .posttitle {
    font-size: 16px;
  }
  .index #newposts .list ul li a .body .excerpt {
    font-size: 12px;
  }
  .index #allposts {
    margin-top: 70px;
  }
  .index #allposts > .sectitle {
    margin-bottom: 35px;
  }
  .index #allposts > .sectitle .en {
    font-size: 36px;
  }
  .index #allposts .cat_list {
    display: block;
    padding: 20px 0;
  }
  .index #allposts .cat_list .h {
    margin: 0 0 15px 5px;
  }
  .index #allposts .cat_list .list {
    gap: 10px;
  }
  .index #allposts .cat_list .list li a {
    padding: 8px 10px 8px 18px;
  }
  .index #allposts .cat_list .list li a::after {
    width: 13px;
    height: 13px;
    margin-left: 8px;
  }
  .index #allposts .post_list {
    margin-top: 35px;
  }
  .index #allposts .post_list .sec_cat + .sec_cat {
    margin-top: 40px;
  }
  .index #allposts .post_list .sec_cat .sectitle {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .index #allposts .post_list .sec_cat .list {
    line-height: 0;
  }
  .index #allposts .post_list .sec_cat .list li + li {
    margin-top: 12px;
  }
  .index #allposts .post_list .sec_cat .list li a {
    line-height: 1.8;
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    padding: 15px 90px 15px 25px;
  }
  .index #allposts .post_list .sec_cat .list li a .feature {
    display: inline-flex;
    padding: 5px;
    font-size: 11px;
    margin-right: 2px;
  }
  .index #allposts .post_list .sec_cat .list li a .feature::before {
    width: 11px;
    height: 11px;
    margin-right: 4px;
  }
  .index #allposts .post_list .sec_cat .list li a .posttitle {
    font-size: 14px;
    display: inline;
  }
  .index #allposts .post_list .sec_cat .list li a .more {
    padding: 3px 12px;
    right: 10px;
    bottom: 13px;
  }

  /* ---------- Entry-Page ---------- */
  .entry #post .post-title {
    margin-bottom: 25px;
  }
  .entry #post .post-title .cat {
    gap: 0 4px;
  }
  .entry #post .post-title .cat span {
    padding: 5px 15px;
  }
  .entry #post .post-title .title {
    font-size: 21px;
  }
  .entry #post #postbody {
    padding: 20px 10px;
  }
  .entry #post #postbody .postbody.pickup::before {
    top: -35px;
    width: 30px;
    height: 30px;
  }
}
