@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=GFS+Didot&display=swap');

/* Common
-------------------- */
body{
  font-family: 'Noto Sans JP', 'arial', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

:root {
    --text: #202020; /* var(--text) */
    --textW: #fff; /* var(--textW) */
    --contents-textW: #e3e5e0; /* var(--contents-textW) */
    --contents-backB: #333; /* var(--contents-backB) */
}

.cp a,
.trade a,
.faq dl a{
  color: #053782;
  text-decoration: underline;
}

.contents {
  color: var(--text);
  font-size: 15px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 50px 9%;
  width: 100%;
}

.contents.-jump_content {
  padding-top: calc(50px + var(--header-height));
  margin-top: calc(-1*var(--header-height));
}


.contents_title {
    margin-bottom: 40px;
    text-align: center;
}

.contents_title p {
    margin-top: 20px;
    font-size: 40px;
}

.contents_title span {
    border-bottom: 1px solid var(--contents-backB);
    font-family: "GFS Didot", serif;
    display: block;
    font-size: 60px;
    margin: 0 auto;
    width: 100px;
}

.allow_txt {
    background: var(--contents-backB);
    color: var(--main-bg);
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    line-height: 80px;
    margin: 0 0 40px;
    position: relative;
    text-align: center;
    width: 100%;
}

.allow_txt::after {
    border: solid transparent;
    border-width: 8px 15px;
    border-left-color: var(--contents-backB);
    content: '';
    display: block;
    height: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 0;
    bottom: -20px;
}


@media screen and (max-width: 768px) {
    main {
        background: #F7F7F7;
    }

    .contents {
        font-size: calc(26 * 100vw / 768);
        padding: calc(70 * 100vw / 768) calc(60 * 100vw / 768);
        width: 100%;
    }

    .contents.-jump_content {
      padding-top: calc((70*100vw/768) + var(--header-height));
      margin-top: calc(-1*var(--header-height));
    }

    .contents_title {
        margin-bottom: calc(60 * 100vw / 768);
        text-align: center;
    }

    .contents_title p {
        margin-top: calc(20 * 100vw / 768);
        font-size: calc(50 * 100vw / 768);
    }

    .contents_title span {
        font-size: calc(80 * 100vw / 768);
        width: calc(220 * 100vw / 768);
    }


    .allow_txt {
        background: var(--contents-backB);
        color: var(--main-bg);
        display: inline-block;
        font-size: calc(36 * 100vw / 768);
        font-weight: 600;
        line-height: calc(100 * 100vw / 768);
        margin: 0 0 calc(40 * 100vw / 768);
        position: relative;
        text-align: center;
        width: 100%;
    }

    .allow_txt::after {
        border: solid transparent;
        border-width: calc(16 * 100vw / 768) calc(30 * 100vw / 768);
        border-left-color: var(--contents-backB);
        content: '';
        display: block;
        height: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
        width: 0;
        bottom: -20px;
    }

}


/* MV
-------------------- */
.mv {
  margin: 0 auto;
  width: 100%;
}

.mv img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .mv {
    max-width: 100vw;
  }
}


/* サービス概要
-------------------- */


section#c01 > div, section#c01 > ul,
section#c04 > div, section#c04 > ul
 {
    margin-right: auto;
    margin-left: auto;
    width: 1000px;
}

section#c01 > ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


section#c01,section#c04 {
    background: var(--contents-backB);
    width: 100vw;
    max-width: 100vw;
}

#c01 .contents_title{
    color: var(--textW);
}

#c01 .contents_title span {
    border-bottom: 1px solid #fff;
}

.contents_text {
    color: var(--textW);
    margin-block: 40px;
}

.contents_text p + p {
    margin-top: 1em;
}

.outer, .inner{
position:relative;
}
.outer::before,.outer::after,
.inner::before, .inner::after{
  position:absolute;
  content:"";
  background-color:var(--contents-backB);
  width:24px;
  height:24px;
  border-radius:50%;
  top:-12px;
  left:-12px;
  z-index:2; 
}

.outer::after{
  left:auto;
  right:-12px;
}

.inner {
    background: var(--contents-textW);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.inner::after {
    top: unset;
    bottom: -12px;
    left: unset;
    right: -12px;
}

.inner::before, .inner::after {
    top: unset;
    bottom: -12px;
}

.satei_contents {
    padding: 30px;
    height: 200px;
}

.satei_contents .catch {
    color: #666666;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.satei_text{
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
}

ul.satei_flow li {
  position: relative;
    width: 300px;
}

ul.satei_flow li::before,
ul.satei_flow li::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -32px;
    top: calc(50% - 10px);
    width: 1px;
    height: 20px;
    border-radius: 9999px;
    background-color: #ffffff;
    transform-origin: 50% calc(100% - 0.5px);
}

ul.satei_flow li::before {
    transform: rotate(-45deg);
}

ul.satei_flow li::after {
    transform: rotate(220deg);
}

ul.satei_flow li:last-child::before,
ul.satei_flow li:last-child::after{
  content: none;
}


.satei_flow li a {
    color: rgb(5, 55, 130);
    text-decoration: underline;
    display: inline;
}



@media screen and (max-width: 768px) {

    section#c01 > div, section#c01 > ul,section#c04 > div, section#c04 > ul{
      width: auto;
    }

    section#c01 > ul{
        display: block;
        justify-content: space-between;
    }

    section#c01 > ul > li + li{
        margin-top: calc(100 * 100vw / 768);
    }


    .satei_contents {
        padding: calc(30 * 100vw / 768) calc(22 * 100vw / 768) calc(40 * 100vw / 768);
        height: auto;
    }

    .satei_contents .catch {
        font-size: calc(42 * 100vw / 768);
        margin-bottom: calc(20 * 100vw / 768);
    }

    .inner {
        height: auto;
    }

    .satei_text{
        text-align: left;
    }

    ul.satei_flow li::before,
    ul.satei_flow li::after {
      top: unset;
      bottom: calc(-70 * 100vw / 768);
      left: calc(50% - 0.5px);
      right: unset;
    }

    ul.satei_flow li::before {
      transform: rotate(45deg);
    }

    ul.satei_flow li::after {
      transform: rotate(-45deg);
    }


    ul.satei_flow li{
      width: auto;
    }
}


/* 下取り対象
-------------------- */

.shitadori_list {
    display: flex;
    justify-content: space-between;
}

.shitadori_list li {
    line-height: 3;
    width: 48%;
    text-align: center;
}

/* 下取アイテム例/参考価格
-------------------- */

/* Brand
-------------------- */
.brand-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.brand-detail > li {
  width: calc((100% - 40px) / 3);
}

.items-catch {
  color: #053782;
  font-size: 20px;
  font-weight: bold;
  line-height: 72px;
  margin: 0 auto 15px;
  position: relative;
  text-align: center;
}

.items-catch::before,
.items-catch::after {
  background: #053782;
  content: '';
  display: inline-block;
  height: 44px;
  position: absolute;
  top: 50%;
  width: 2px;
}
.items-catch::before {
  margin: auto -20px;
  transform: translateY(-50%) rotate(-20deg);
}
.items-catch::after {
  margin: auto 20px;
  transform: translateY(-50%) rotate(20deg);
}

.items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.items-list > li {
  border: 1px solid #E5E8ED;
  padding: 20px;
  width: calc((100% - 60px) /4);
}

.items-detail .-brand {
  font-size: 15px;
  font-weight: bold;
}

.items-detail .-brand span {
  font-size: 13px;
  font-weight: normal;
}

.items-detail .-text {
  display: block;
  font-size: 13px;
  margin: 3px 0;
  min-height: 60px;
}

.items-detail .-coupon {
  background: url('../img/pc/hergopoch_top/coupon.svg') center left / 21px auto no-repeat;
  font-weight: bold;
  padding: 0 0 0 26px;
}

.items-caution {
  font-size: 13px;
  margin: 15px 0 0;
}

.items-caution > li {
  padding-left: 1em;
  text-indent: -1em;
}

@media screen and (max-width: 768px) {
  .brand-detail {
    gap: calc(20*100vw/768);
  }

  .brand-detail > li {
    width: calc(325*100vw/768);
  }

  .items-catch {
    font-size: calc(30*100vw/768);
    line-height: calc(46*100vw/768);
    margin: 0 auto calc(20*100vw/768);
  }

  .items-catch::before,
  .items-catch::after {
    height: calc(46*100vw/768);
    width: calc(4*100vw/768);
  }
  .items-catch::before {
    margin: auto calc(-30*100vw/768);
  }
  .items-catch::after {
    margin: auto calc(30*100vw/768);
  }

  .items-acc {
    background: #fff;
    border: calc(1*100vw/768) solid #E5E8ED;
    margin: 0 auto calc(20*100vw/768);
  }

  .items-genre {
    align-items: center;
    display: flex;
    position: relative;
  }

  .items-genre::after {
    color: #868C95;
    content: '＋';
    display: block;
    font-size: calc(28*100vw/768);
    font-weight: bold;
    position: absolute;
    right: calc(64*100vw/768);
  }

  .items-genre.-open::after {
    content: 'ー';
  }

  .items-img {
    width: calc(303*100vw/768);
  }

  .items-detail {
    font-size: calc(30*100vw/768);
    margin: 0 calc(37*100vw/768) 0 0;
  }

  .items-list {
    display: none;
  }

  .items-list > li {
    align-items: center;
    border: none;
    display: flex;
    padding: 0;
    position: relative;
    width: 100%;
  }

  .items-list > li::before {
    border: calc(4*100vw/768) dashed #E5E8ED;
    content: '';
    display: block;
    height: calc(1*100vw/768);
    left: 50%;
    position: absolute;
    top:0;
    transform: translateX(-50%);
    width: calc(630*100vw/768)
  }

  .items-detail .-brand {
    font-size: calc(30*100vw/768);
  }

  .items-detail .-brand span {
    font-size: calc(23*100vw/768);
  }

  .items-detail .-text {
    font-size: calc(23*100vw/768);
    min-height: auto;
  }

  .items-detail .-coupon {
    background-size: calc(42*100vw/768) auto;
    padding: 0 0 0 calc(50*100vw/768);
  }

  .items-caution {
    font-size: calc(26*100vw/768);
    margin: calc(20*100vw/768) 0 0;
  }
}


/* 下取りの手順
-------------------- */

section#c04 {
    background: var(--contents-backB);
}

#c04 .contents_title{
    color: var(--textW);
}

#c04 .contents_title span {
    border-bottom: 1px solid #fff;
}


.trade {
  background: #E5E8ED;
  overflow-y: hidden;
}

.trade_flow {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
}

.trade_flow > li {
  align-items: center;
  background: var(--main-bg);
  border-radius: 0;
  display: flex;
  gap: 50px;
  padding: 30px 30px 0 40px;
  position: relative;
  width: 100%;
}

.trade_flow > li img {
  width: 200px;
}

.trade_flow-block {
  padding: 0 0 30px;
}

.trade_flow-step {
  background: var(--contents-backB);
  color: var(--main-bg);
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  margin: 0 15px 0 0; 
  position: relative;
  text-align: center;
  width: 87px;
}

.trade_flow-head {
  color: var(--text);
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.trade_flow-text {
  margin: 17px auto 25px;
}

.trade_flow-detail {
  border-top: 1px solid#868C95;
  font-size: 13px;
  padding: 20px 0 0;
}

.trade_flow > li::before,
.trade_flow > li::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: calc(50% - 0.5px);
  width: 1px;
  height: 20px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform-origin: 50% calc(100% - 0.5px);
}

.trade_flow > li::before {
  transform: rotate(45deg);
}

.trade_flow > li::after {
  transform: rotate(-45deg);
}

.trade_flow > li:last-child::before,
.trade_flow > li:last-child::after{
  content: none;
}

.trade_flow li a {
    color: rgb(5, 55, 130);
    text-decoration: underline;
}


@media screen and (max-width: 768px) {
  .trade {
    padding: 0 0 calc(30*100vw/768);
  }

  .trade_flow {
    gap: calc(90*100vw/768);
  }

  .trade_flow > li {
    border-radius: 0;
    flex-wrap: wrap;
    gap: calc(30*100vw/768);
    padding: calc(60*100vw/768) calc(46*100vw/768);
  }

  .trade_flow > li img {
    margin: 0 auto;
    width: calc(358*100vw/768);
  }

  .trade_flow-block {
    padding: 0;
  }

  .trade_flow-step {
    display: block;
    font-size: calc(26*100vw/768);
    line-height: calc(48*100vw/768);
    margin: 0 auto calc(20*100vw/768);
    width: calc(162*100vw/768);
  }

  .trade_flow-step::after {
    border-width: calc(17*100vw/768) calc(15*100vw/768);
    border-left-color: transparent;
    border-top-color: #053782;
    bottom: calc(-30*100vw/768);
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }

  .trade_flow-head {
    display: block;
    font-size: calc(35*100vw/768);
    line-height: inherit;
    text-align: center;
  }

  .trade_flow-text {
    font-size: calc(30*100vw/768);
    margin: calc(30*100vw/768) auto calc(50*100vw/768);
  }

  .trade_flow-detail {
    font-size: calc(26*100vw/768);
    padding: calc(50*100vw/768) 0 0;
  }

  .trade_flow > li::before,
  .trade_flow > li::after {
    bottom: calc(-60 * 100vw / 768);
  }

}


/* FAQ
-------------------- */
.faq-list {
  border-bottom: 2px solid #868C95;
  margin: 0 auto 25px;
}

.faq-list dt {
  border-top: 2px solid #868C95;
  cursor: pointer;
  font-weight: 600;
  padding: 20px 50px 20px 15px;
  position: relative;
}
.faq-list dt:first-child {
  border-top: none;
}

.faq-list dt.-open {
  padding-top: 30px;
}

.faq-list dt::after {
  content: '＋';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-list dt.-open::after {
  content: 'ー';
  margin-top: 10px;
}

.faq-list dd {
  display: none;
  font-size: 13px;
  padding: 0 50px 30px 15px;
}
.faq-list dd.-open {
  display: block;
}

.faq-note {
  margin: 12px 0 0;
  font-weight: 300;
}

.faq-btn {
  background: var(--contents-backB);
  color: var(--main-bg);
  display: block;
  font-weight: 600;
  height: 51px;
  line-height: 51px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  width: 165px;
}

.faq-btn::after {
  content: '→';
  font-weight: normal;
  position: absolute;
  right: 15px;
}

@media screen and (max-width: 768px) {
  .faq-list {
    border-width: calc(1*100vw/768);
    margin: 0 auto calc(50*100vw/768);
  }

  .faq-list dt {
    border-width: calc(1*100vw/768);
    padding: calc(45*100vw/768) calc(60*100vw/768) calc(45*100vw/768) calc(10*100vw/768);
  }

  .faq-list dt.-open {
    padding-top: calc(45*100vw/768);
  }

  .faq-list dt::after {
    right: calc(10*100vw/768);
  }

  .faq-list dt.-open::after {
    margin-top: 0;
  }

  .faq-list dd {
    font-size: calc(26*100vw/768);
    padding: calc(30*100vw/768) calc(10*100vw/768) calc(45*100vw/768);
  }

  .faq-btn {
    border-radius: calc(99*100vw/768);
    font-size: calc(28*100vw/768);
    height: calc(99*100vw/768);
    line-height: calc(99*100vw/768);
    width: calc(316*100vw/768);
  }

  .faq-btn::after {
    right: calc(33*100vw/768);
  }
}


/* Footer
-------------------- */
.footer {
  background: #3C3C3C;
  min-height: 100px;
}

@media screen and (max-width: 768px) {
  .footer {
    min-height: fit-content;
      padding-bottom:  calc(100*100vw/768);
  }
}
