/*-------------------------------------------
    Spec Common
--------------------------------------------*/
section:nth-of-type(odd){
  background: #ffffff;
}
section:not(.kv) {
  padding: 90px 0 100px;
}
section p{
  font-size: 1.6rem;
  line-height: 2em;
}
section.other-first {
  padding: 45px 0 0;
}

@media screen and (max-width: 767px) {
  section:not(.kv){
    padding: 50px 0;
  }
  section.other-first {
    padding: 50px 0 0 0;
  }
  section p{
    font-size: 1.4rem;
    line-height: 1.7em;
  }
  section div.inner h2{
    width: calc(100% - 10vw);
    font-size: 2.4rem;
    padding: 0.5em 0;
  }
  section div.inner h2 + p{
    font-size: 1.6rem;
    margin: 10px auto 30px;
  }
}

/*-------------------------------------------
    SPEC
--------------------------------------------*/

/*タブで項目を切り替える*/
.tab-box {
  display: none;
  
}
.box-show {
  display: block;
}

.tab-group {
  display: flex;
  justify-content: center;
  text-align: center;
  border-bottom: solid 1px #00bfbf;
  margin: auto;

}
.tab {
  width: 450px;
  font-size: 35px;
  font-weight: bold;
  padding: 25px 0;
  cursor: pointer;
  background-color: #00bfbf;
  position: relative;
  color: #fff
}
.tab-active {
  background-color: #ffffff;
  border: solid 1px #00bfbf;
  color: #000;
}
.tab-active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  bottom: -2px;
  left: 0;
}
.spec-features {
  display: flex;
  justify-content: center;
  max-width: 980px;
  width: 100%;
  margin: 65px auto 0;
}
.spec-features .image-spec-outer {
  display: flex;
}
.spec-features .image-spec{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-features .image-spec img{
  width: 90%;
}
.spec-features .device-image{
  width: auto;
  height: auto;
  margin: 60px 60px 0 0;
  display: block;
}
.spec-features .device-image img:not(.device-name) {
  width: 350px;
}
img.device-name {
  width: 270px;
  height: 78px;
  margin: 34px auto 0;
}
img.device-name.pc {
  display: block;
}
img.device-name.sp {
  display: none;
}

img.device-name.first-device {
  margin-top: 36px;
}
.spec-features > img{
  animation-name: fade-in;
  animation-duration: .5s;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (min-width: 768px) {
  .spec-features .image-spec img {
    margin: 0 auto 5%;
  }
}

@media screen and (max-width: 767px) {
  .tab {
    width: 45%;
    font-size: 16px;
    padding: 10px 0;
  }
  .spec-features {
    display: block;
    margin: 10px auto;
  }
  .spec-features .device-image img:not(.device-name) {
    width: 100%;
  }
  .spec-features img{
    width: 60%;
    margin: 0;
  }
  .spec-features .image-spec-outer {
    display: flex;
    flex-direction: column;
  }
  .spec-features .image-spec{
    flex-direction: row;
    justify-content: center;
    margin: 30px auto;
    padding: 35px 0;
  }
  .spec-features .device-image {
    width: 60%;
    margin: 0 auto;
  }
  .spec-features .image-spec img{
    width: calc((100% - 12vw) / 2);
    margin: 5px;
  }
  .spec-features .image-spec {
    margin: 0;
    padding: 0;
  }
  img.device-name {
    margin: 0 auto;
  }
  img.device-name.first-device {
    margin-top: 1px;
  }
  img.device-name.sp {
    display: block;
  }
  img.device-name.pc {
    display: none;
  }
}

/* KV */
.key-visual .space-bloc-create.pc {
  display: block;
}

/*-------------------------------------------
    DETAIL
--------------------------------------------*/
table.device-spec-table{
  border-collapse: collapse;
  width: 700px;
  margin: 0 auto;
}
table.device-spec-table th,
table.device-spec-table td{
  font-size: 1.6rem;
  padding: 10px;
  border: 1px solid #00bfbf;
  background-color: #fff;
  color: #4d4d4d;

}
table.device-spec-table th,
table.device-spec-table td.price-fee-th-col {
  width: 23%;
  background-color: #68d8d5;
  font-weight: normal;
  text-align: center;
  color: #000;
  border-color: #68d8d5;
}
table.device-spec-table tr:not(:last-of-type) th {
  border-bottom-color: #fff;
  border-top-color: #00bfbf;
}
table.device-spec-table td.price-fee-th-col {
  width: 26%;
  border-color: #00bfbf;
  background-color: #f2f5f5;
  color: #4d4d4d;
}
section.other-first-nesting {
  background: #f2f5f5;
}

@media screen and (max-width: 767px) {
  .key-visual .space-bloc-create.pc {
    display: none;
  }
  table.device-spec-table{
    width: 100%;
    margin: 0 0 45px;
  }
  table.device-spec-table th,
  table.device-spec-table td{
    font-size: 12px;
    padding: 7.5px 0.3rem;
    border: 1px solid #00bfbf;
  }
  table.device-spec-table td.price-fee-th-col,
  table.device-spec-table th {
    width: 29%;
    font-size: 12px;
  }
}
div.device-images-flex {
  display: flex;
  justify-content: space-around;
}
div.device-image-free {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
div.device-image-free p {
  text-align: center;
  font-size: 2.7rem;
  color: #00bfbf;
  font-weight: bold;
  line-height: 1.6em;
}
div.device-image-free img {
  width: 350px;
  height: auto;
}
p.same-spec-random {
  margin: 15px 70px 0;
  line-height: 2;
}
.button-margin-spec {
  margin: 60px auto 100px;
  display: flex;
  justify-content: center;
  max-width: 700px;
}
.button-margin-spec a{
  line-height: 1;
}
.button-margin-spec a span{
  top: 30%;
}
@media screen and (max-width: 767px) {
  .button-margin-spec{
    margin-top: 30px;
    margin-bottom: 30px;
    flex-direction: column;
  }
  .button-margin-spec a{
    margin-bottom: 30px;
  }
}
div.spec-background-grey {
  background: #f2f5f5;
  padding: 30px 0;
}
.section-heading-bm {
  margin-bottom: 20px;
}
.inner.spec-inner {
  margin-bottom: 100px;
}
.spec-h3 {
  margin: 0 auto 25px;
  width: fit-content;
  font-size: 2.4rem;
  color: #037e82;
}
@media screen and (max-width: 767px) {
  div.device-images-flex {
    flex-direction: column;
    margin-top: -10px;
  }
  div.device-image-free {
    justify-content: center;
    align-items: center;
  }
  div.device-image-free img {
    width: 300px;
    height: auto;
  }
  div.device-image-free:nth-child(1) {
    margin: 0 0 40px;
  }
  p.same-spec-random {
    margin: 15px 20px 0;
  }
  .inner.spec-inner {
    margin-bottom: 80px;
  }
  .spec-h3 {
    font-size: 2rem;
    text-align: center;
    margin: 0 auto 30px;
  }
}
/* div.swiper-slide img{
  width: 40%;
} */
.swiper-container.swiper-container-initialized.swiper-container-horizontal.swiper-container-autoheight{
  background: #f2f5f5;
  padding: 40px 0 60px 0;
}
span.slider-attention{
  font-size: 1.2rem;
  margin-top: 30px;
  text-align: center;
  display: block;
}
@media screen and (max-width: 767px) {
  /* div.swiper-slide img{
    width: 65%;
  } */
  .swiper-container.swiper-container-initialized.swiper-container-horizontal.swiper-container-autoheight{
    background: #f2f5f5;
    padding: 20px 0 60px 0;
  }
  div.swiper-button-prev{
    left: 0;
  }
  div.swiper-button-next{
    right: 0;
  }
  div.swiper-button-next, div.swiper-button-prev{
    width: 30px !important;
    height: 30px !important;
    top: 115px;
  }
}
/* スペック詳細切り替えボタン */
ul.device-spec-btn {
  display: flex;
  justify-content: center;
  margin: auto;
}
li.device-spec-h01, 
li.device-spec-mr1,
li.device-spec-u20p {
  background-color: #e8e8e8;
  color:#000;
  padding: 10px 20px;
  width: 50%;
  font-weight:600;
  font-size: 1.7rem;
  text-align: center;
  cursor: pointer;
}
li.device-spec-h01.selected, 
li.device-spec-mr1.selected,
li.device-spec-u20p.selected{
  background-color: #68d8d5;
  color:#000;
}
.device-spec-table.mr1,
.device-spec-table.u20p{
  display: none;
}
p.spec-list-p {
  margin: auto;
  text-align: end;
}
@media screen and (min-width: 768px) and (max-width: 1280px){
  #spec_wrap table.device-spec-table{
    width: 580px;
  }
  ul.device-spec-btn{
    width: 580px;
  }
  p.spec-list-p {
    font-size: 1.1rem;
    width: 580px;
  }
  span.slider-attention{
    left: 0;
    right: 0;
    text-align: center;
  }
}
@media screen and (min-width: 1281px){
  #spec_wrap table.device-spec-table{
    width: 656px;
  }
  ul.device-spec-btn{
    width: 656px;
  }
  p.spec-list-p {
    font-size: 1.2rem;
    width: 656px;
  }
}
@media screen and (max-width: 767px){
  #spec_wrap table.device-spec-table{
    max-width: 346px;
    margin: 0 auto;
  }
  ul.device-spec-btn{
    max-width: 346px;
  }
  p.spec-list-p {
    font-size: 1.1rem;
    width: 346px;
  }
  li.device-spec-h01, 
  li.device-spec-mr1,
  li.device-spec-u20p {
    font-size: 1.6rem;
  }
}

.device-spec-btn:has(.device-spec-h01.selected) ~ .device-spec-table.h01,
.device-spec-btn:has(.device-spec-mr1.selected) ~ .device-spec-table.mr1,
.device-spec-btn:has(.device-spec-u20p.selected) ~ .device-spec-table.u20p {
    display:block;
}
.device-spec-btn:has(.device-spec-h01.defo) ~ .device-spec-table.h01,
.device-spec-btn:has(.device-spec-mr1.defo) ~ .device-spec-table.mr1,
.device-spec-btn:has(.device-spec-u20p.defo) ~ .device-spec-table.u20p {
    display:none;
}