.container1 {
  padding: 0 70px !important;
}

ul.tabBtn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  justify-content: space-evenly;
  margin: 30px auto;
}

ul.tabBtn li {
  box-sizing: border-box;
  transition: 0.6s;
  cursor: pointer;
  padding: 10px 10px;
  max-width: 170px;
  max-height: 100px;
  border-radius: 5px;
  background-position: center;
  background-color: #31a6ff;
  overflow: hidden;
  position: relative;
  display: flex;
  box-shadow: 2px 2px 5px #999;
  margin-bottom: 15px;
}

ul.tabBtn li img {
  height: 50%;
  width: auto;
  align-self: center;
  z-index: 1;
}

ul.tabBtn li .label {
  margin-left: 3%;
  line-height: 1.1;
  align-self: center;
}

ul.tabBtn li p {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  /* line-height: 1.2em; */
  text-align: center;
  position: relative;
  /* margin: auto; */
  z-index: 1;
}

ul.tabBtn li span {
  color: white;
  font-size: 14px;
  font-weight: bold;
  /* line-height: 1.2em; */
  text-align: center;
  position: relative;
  /* margin: auto; */
  z-index: 1;
}

ul.tabBtn li:hover,
ul.tabBtn li:active,
ul.tabBtn li.active {
  box-shadow: 2px;
}

ul.tabBtn li:not(.active)::before {
  box-sizing: border-box;
  content: "";
  display: block;
  border-top: solid 0.5em #ffe200;
  border-right: solid 0.4em transparent;
  border-bottom: solid 0.5em transparent;
  border-left: solid 0.4em transparent;
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 10%;
  transform: translateY(-50%);
  z-index: 1;
}

ul.tabBtn li::after {
  box-sizing: border-box;
  content: "";
  display: block;
  padding: 70% 0 0.8em;
  width: calc(100% + 1px);
  /* height: 100%; */
  background: #31a6ff;
  background: linear-gradient(0deg, #00307e 0%, #31a6ff 65%);
  color: #ffe200;
  font-size: 0.9em;
  line-height: 1em;
  text-align: center;
  position: absolute;
  left: 0;
  /* bottom: -100%; */
  overflow: hidden;
}

ul.tabBtn li:not(.active):hover::after,
ul.tabBtn li:not(.active):active::after {
  content: "More Detail";
  /* text-shadow: 1px 1px 2px #cd000e, -1px 1px 2px #cd000e, 1px -1px 2px #cd000e, -1px -1px 2px #cd000e; */
  opacity: 1;
}

ul.tabBtn li::before,
ul.tabBtn li::after {
  transition: 0.6s;
  opacity: 0;
}

ul.tabBtn li:hover::before,
ul.tabBtn li:active::before {
  opacity: 1;
}

ul.tabBtn li:hover::after,
ul.tabBtn li:active::after,
ul.tabBtn li.active::after {
  bottom: 0;
  opacity: 1;
}

.tabArea {
  background: #e0f0ff;
  border: transparent;
  border-radius: 10px;
}

.tabArea .inner .closeBtn {
  display: block;
  margin: 0 auto 20px;
  padding: 1rem;
  font-size: 1.3em;
  width: 5em;
  border-radius: 1rem;
  background: #31a6ff;
  color: #fff;
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
  font-weight: bold;
}

.tabArea .inner .closeBtn:active,
.tabArea .inner .closeBtn:hover {
  background: #00307e;
}

.tabArea .inner {
  padding: 0 50px;
  display: none;
}

.tabArea .inner {
  display: inline-block;
}

.tabArea .inner h3 {
  color: #31a6ff;
  text-align: center;
  font-size: 4em;
  padding: 15px 0 0 0;
  font-weight: bold !important;
}

.tabArea .inner h3 span {
  font-size: 30px;
}

.tabArea .inner .content {
  padding: 1px 30px 15px;
  background: white;
  border: transparent;
  border-radius: 5px;
}

.tabArea .inner .text {
  line-height: 2;
  letter-spacing: 0.15em;
  margin: 15px 0 15px;
}

.body .fourc {
  font-size: 1.6rem;
}

@media screen and (max-width: 750px) {
  .tabArea .inner h3 {
    font-size: 2.5em;
  }
  .tabArea .inner .text {
    font-size: 1.2rem;
  }
  .body .fourc {
    font-size: 1.2rem;
  }
}

.inner .faq_box {
  margin: 15px;
}

.fag_gia {
  margin: 34px 0 55px;
}

.fag_gia h5 {
  text-align: center;
  font-size: 30px;
  font-weight: bold !important;
  color: #31a6ff;
  border-bottom: 2px solid #31a6ff;
  padding-bottom: 3px;
  margin-bottom: 13px;
}

.faq_box .question {
  display: flex;
  color: #31a6ff;
  margin-bottom: 5px;
}

.faq_box .answer {
  display: flex;
}

.faq_box .question .ico,
.faq_box .answer .ico {
  font-size: 1.6em;
  line-height: 1;
  font-weight: bold;
  min-width: 1.2em;
}

.faq_box .question .txt {
  font-size: 1.2em;
  font-weight: bold;
}

.faq_box .answer .txt {
  font-size: 1.1em;
}

.shop_gia p {
  margin-bottom: 21px;
}

section._4c .intro {
  width: 700px;
  margin: 0 auto 2em auto;
}

@media screen and (max-width: 750px) {
  section._4c .intro {
    width: auto;
  }
  ul.tabBtn li {
    min-width: none;
    width: 45%;
  }
  ul.tabBtn li p {
    font-size: 5vw;
  }
  .tabArea .inner {
    padding: 0 10px;
  }
}

.purchase-price-example ul li {
  width: 31%;
  margin: 1%;
  border: 1px solid #c4c4c4;
  border-radius: 10px;
  overflow: hidden;
  padding: 2%;
  box-sizing: border-box;
}

.purchase-price-example ul li .price {
  font-size: 2.4rem;
}

.purchase-price-example ul li .price span {
  display: block;
  color: #000;
  font-size: 1.4rem;
}

.purchase-price-example ul li .name {
  border-top: 1px solid #000;
  padding-top: 5px;
  margin-top: 7px;
  min-height: 42px;
}

@media screen and (max-width: 750px) {
  .purchase-price-example ul li .price {
    font-size: 1.3rem;
  }
  .purchase-price-example ul li .price span {
    font-size: 1rem;
  }
  .purchase-price-example ul li .name {
    font-size: 1rem;
    min-height: 45px;
  }
}

@media screen and (max-width: 320px) {
  .purchase-price-example ul li .price {
    font-size: 1.1rem;
  }
  .purchase-price-example ul li .name {
    min-height: 60px;
  }
}

/*ダイヤモンド買取価格シミュレーション*/

#diamond_form .entry-header {
  padding-top: 40px;
}

#diamond_form .entry-black {
  font-size: 25px;
  color: #000;
  font-weight: bold;
  line-height: 100%;
  text-align: center;
}

#diamond_form .entry-blue {
  font-size: 4rem;
  color: #0c97ff;
  font-weight: bold;
  line-height: 100%;
  text-align: center;
}

#diamond_form .entry-text {
  padding: 15px 40px;
  font-size: 13px;
  font-weight: bold;
}

#diamond_form .entry-content {
  background: #dfefff;
  padding: 30px 40px;
  border-radius: 5px;
}

#diamond_form .entry-center {
  text-align: center;
}

#diamond_form .entry-search li label {
  background: #30a6ff;
  font-weight: bold;
  border-radius: 5px 0 0 5px;
  display: inline-block;
  height: 37px;
  line-height: 37px;
  text-align: center;
  width: 130px;
  color: #fff;
}

#diamond_form .entry-search li select {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  padding: 0 5px;
  background: #fff;
  height: 35px;
  line-height: 35px;
  border: 0;
  -webkit-appearance: none;
  width: calc(100% - 132px);
  border-style: inset;
  outline-color: #30a6ff;
  padding-left: 10px;
  border-radius: 0 5px 5px 0;
}

#diamond_form .entry-search li select::-ms-expand {
  display: none;
}

#diamond_form .entry-search li::before {
  border-bottom: 4.5px solid #30a6ff;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  content: "";
  position: absolute;
  right: 11px;
  top: 10px;
  width: 0;
}

#diamond_form .entry-search li::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4.5px solid #30a6ff;
  content: "";
  position: absolute;
  right: 11px;
  top: 24px;
  width: 0;
}

#diamond_form .entry-btn {
  background: #de1021;
  color: #fff;
  padding: 20px 50px;
  font-size: 20px;
  font-weight: bold;
  border: 0;
  border-radius: 5px;
  -webkit-appearance: none;
}

#diamond_form .entry-btn:hover {
  cursor: pointer;
  background: #bd0c1a;
}

#diamond_form .entry-btn:focus {
  outline: 0;
}

#diamond_form .entry-price {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  height: 230px;
  padding: 20px;
  border-radius: 5px;
  background: #fff;
  margin: 35px 0;
}

#diamond_form .entry-search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#diamond_form .entry-search li {
  -ms-flex-preferred-size: 49%;
  flex-basis: 49%;
  border-radius: 5px;
  margin-bottom: 15px;
  position: relative;
  letter-spacing: -0.4em;
}

#diamond_form .entry-search li label {
  letter-spacing: normal;
}

#diamond_form .entry-price h4 {
  color: #000;
  font-size: 14px;
}

#diamond_form .entry-price h4 span {
  color: #30a6ff;
  font-size: 14px;
}

#diamond_form .entry-price table {
  margin-bottom: 15px;
  border-collapse: separate;
  border-spacing: 5px;
}

#diamond_form .entry-price table td {
  background: #dfefff;
  padding: 5px 0;
  text-align: center;
}

#diamond_form .entry-price table tr:first-child td {
  background: #30a6ff;
  color: #fff;
}

#diamond_form .entry-price table tr td:first-child {
  background: #30a6ff;
  color: #fff;
  width: 70px;
}

#diamond_form .attentionbox p {
  font-size: 10px;
  line-height: 100%;
  margin-bottom: 5px;
}

/* 他社より高い買取価格 @トップ・ダイヤモンド買取・金買取 */

.compare-wrap {
  margin: 50px 0;
}

.top .compare-wrap {
  margin: 30px 0;
}

.compare-wrap img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.compare-wrap h2 {
  margin-bottom: 25px !important;
  font-size: 22px;
  text-align: left;
  border-radius: 5px;
  color: #fff;
  background: #de1122;
  padding: 15px 15px 10px;
  line-height: 100%;
  margin-top: 0px;
}

.compare-wrap .txt-box {
  position: relative;
  font-size: 21px;
  font-weight: bold;
  display: inline-block;
  padding-left: 25px;
  padding-right: 20px;
  margin-bottom: 20px;
}

.compare-wrap .txt-box:before {
  position: absolute;
  content: "";
  background: url(../img/diamond-kaitori/line_left.gif) no-repeat;
  width: 16px;
  height: 43px;
  left: 0;
  top: -9px;
}

.compare-wrap .txt-box:after {
  position: absolute;
  content: "";
  background: url(../img/diamond-kaitori/line_right.gif) no-repeat;
  width: 16px;
  height: 43px;
  right: 0;
  top: -9px;
}

.compare-wrap .txt-box2 {
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 20px;
}

.compare-wrap .txt-box2 span {
  color: #de1122;
  font-size: 27px;
  margin-right: 5px;
}

.compare-wrap ul.item-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.compare-wrap ul.item-wrap li.item {
  width: 49%;
  background-image: linear-gradient(-135deg, #de1122 20px, transparent 0);
  background-color: #ededed;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.compare-wrap ul.item-wrap li.item h3 {
  background: none;
  color: #de1122;
  padding: 0;
  margin: 0;
  font-weight: bold;
  font-size: 18px;
  text-align: left;
  border-radius: 5px;
  line-height: 100%;
}

.compare-wrap ul.item-wrap li.item .gia {
  font-size: 11px;
}

.compare-wrap ul.item-wrap li.item .inner-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.compare-wrap ul.item-wrap li.item .inner-wrap .left {
  width: 37%;
  margin-right: 3%;
}

.compare-wrap ul.item-wrap li.item .inner-wrap .right {
  width: 60%;
}

.compare-wrap ul.item-wrap li.item .inner-wrap .right ul.other-company {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.compare-wrap
  ul.item-wrap
  li.item
  .inner-wrap
  .right
  ul.other-company
  li.other {
  width: 100%;
}

.compare-wrap
  ul.item-wrap
  li.item
  .inner-wrap
  .right
  ul.other-company
  li.other
  .name {
  background: #1e96aa;
  color: #fff;
  font-size: 11px;
  padding: 1px 3px 0px;
}

.compare-wrap
  ul.item-wrap
  li.item
  .inner-wrap
  .right
  ul.other-company
  li.other
  .name
  .big {
  font-size: 14px;
  margin-right: 2px;
}

.compare-wrap
  ul.item-wrap
  li.item
  .inner-wrap
  .right
  ul.other-company
  li.other
  .price {
  color: #707070;
  font-size: 11px;
}

.compare-wrap
  ul.item-wrap
  li.item
  .inner-wrap
  .right
  ul.other-company
  li.other
  .price
  .big {
  font-size: 17px;
  margin-right: 2px;
}

.compare-wrap ul.item-wrap li.item .inner-wrap .right .jc {
  background: #de1122;
  color: #fff;
  display: inline-block;
  line-height: 1;
  padding: 4px 6px 2px;
  margin-bottom: 7px;
}

.compare-wrap ul.item-wrap li.item .inner-wrap .right .jc-price {
  color: #de1122;
  font-weight: bold;
  line-height: 1;
  font-size: 18px;
  font-style: italic;
}

.compare-wrap ul.item-wrap li.item .inner-wrap .right .jc-price .big {
  font-size: 36px;
}

.compare-wrap .note {
  font-size: 11px;
  line-height: 1.5;
}

.mtitle {
  display: none;
  padding: 10px;
  position: relative;
  background: #e0f0ff;
  color: #31a6ff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
}

.mtitle:after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 40%;
  right: 20px;
  margin: auto;
  box-sizing: border-box;
  border: 5px solid transparent;
  border-top: 8px solid #31a6ff;
}

@media screen and (max-width: 750px) {
  .compare-wrap .txt-box {
    font-size: 18px;
  }
  #diamond_form .entry-search li label {
    width: 70px;
  }
  .mtitle {
    display: block;
  }
  #diamond_form {
    display: none;
  }
  #diamond_form {
    width: 90%;
    margin: 0 auto;
  }
  #diamond_form .entry-black {
    font-size: 23px;
  }
  #diamond_form .entry-text {
    padding: 15px 0;
  }
  #diamond_form .entry-content {
    padding: 15px;
  }
  #diamond_form .entry-blue {
    font-size: 20px;
  }
  #diamond_form .entry-search li {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
  }
  #diamond_form .entry-search li label {
    width: 30%;
    font-size: 12px;
  }
  #diamond_form .entry-search li select {
    font-size: 10px;
    width: 69%;
  }
  #diamond_form .entry-btn {
    background: #de1021;
    color: #fff;
    padding: 10px 50px;
    font-weight: bold;
    border: 0;
    border-radius: 5px;
    -webkit-appearance: none;
    font-size: 14px;
  }
  #diamond_form .entry-price {
    padding: 10px;
    font-size: 10px;
  }
  #diamond_form .entry-price h4 {
    color: #000;
    font-size: 12px;
  }
  #diamond_form .entry-price table tr td:first-child {
    width: 30px;
  }
}
