@charset "UTF-8";

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img{
	max-width:100%;
	height: auto;/*高さ自動*/
}
a{
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.header{
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box{
	margin-left: auto;
	margin-top: 8px;
}
.contact-button{
	padding: 1rem;
	border: 2px solid var(--base-color);
}
nav ul{
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a{
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a{
    padding: 0.5rem;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close{
    display: none !important;
}

#navi{
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header{
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close{
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li{
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open{
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close{
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi{
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img{
	width: 98%;
	max-width: 900px;
}
@media (max-width: 674px) {
.mainimg img{
	width: 98%;
      }
}


/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}



画像のサイズの指定
-------------------------------------*/

.size65ver img{
	width: 65%;
	max-width: 950px;
}
@media (max-width: 674px) {
.size65ver img{
	width: 92%;
      }
}




.size70ver img{
	width: 70%;
	max-width: 850px;
}
@media (max-width: 674px) {
.size70ver img{
	width: 80%;
      }
}




.size50ver img{
	width: 50%;
	max-width: 850px;
}
@media (max-width: 674px) {
.size50ver img{
	width: 80%;
      }
}




どくんどくん動くボタン
-------------------------------------*/

.btn_box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  margin: 0;
}

.btn{
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 70px;
  letter-spacing: 1px;
  width: 58%;
  height: 66px;
  background: #4bb354;
  margin: auto;
  cursor: pointer;
  border-radius: 80px;
}

/*アニメーション*/
.animation{
  animation: dokundokun 1300ms ease infinite;
}

@keyframes dokundokun {
  0%  { transform: scale(1); }
  10% { transform: scale(1.1); }
  20% { transform: scale(1); }
  35% { transform: scale(1.1); }
  50% { transform: scale(1); }
}





ぷるんぷるんと動くボタン
-------------------------------------*/

.btn_box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

#btn_animation .btn{
  display: block;
  width: 92%;
  max-width: 440px;
  height: 78px;
  line-height: 78px;
  font-size: 24px;
  text-decoration: none;
  background-color: #2ad77d;
  color: #222831;
  text-align: center;
  cursor: pointer;
  border-radius: 11px;
  animation: btn_animation 1.5s infinite;
}

@keyframes btn_animation {
    0% {
        transform: scale(1, 0.9);
    }
    20% {
        transform: scale(0.9, 1.1);
    }
    95% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(1, 0.9);
    }
}














ぷるんぷるんと動く画像
-------------------------------------*/

.animation{
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.5s;
  width: 128px;
}

.keyframe6 {
  animation-name: poyopoyo;
}

@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.94);
  }
}









枠のサイズの指定
-------------------------------------*/


.box0001{
  max-width: 300px;
  max-height: 200px;
  background-color: #222222; /* 背景色を指定しています。 */
 }



.bx0001{
  max-width: 1200px;
  height : 367px;
  background-color: #222222;
}



.max-width {
  width: 96%;/*親要素小さめ*/
  background:white;
}
.max-width .nomin {/*最大幅なし*/
  background: white;
  width: 80%
}
.max-width .min {/*最大幅あり*/
  background:white;
  width: 99%;
  max-width: 900px
}


.max-width2 {
  width: 100%;/*親要素小さめ*/
  background:white;
}
.max-width2 .nomin {/*最大幅なし*/
  background: white;
  width: 100%
}
.max-width2 .min2 {/*最大幅あり*/
  background:white;
  width: 100%;
  max-width: 1160px
}



.max-width3 {
  width: 90%;/*親要素小さめ*/
  background:white;
}
.max-width3 .nomin {/*最大幅なし*/
  background: white;
  width: 80%
}
.max-width3 .min3 {/*最大幅あり*/
  background:white;
  width: 80%;
  max-width: 500px
}



.max-width4 {
  width: 90%;/*親要素小さめ*/
  background:white;
}
.max-width4 .nomin {/*最大幅なし*/
  background: white;
  width: 80%
}
.max-width4 .min4 {/*最大幅あり*/
  background:white;
  width: 90%;
  max-width: 520px
}





文字のサイズの指定
-------------------------------------*/

.mojisize0001{
  font-size: 15px;
  font-size: clamp(18px,8vw,25px);
  font-family: 'AR Pゴシック体S';
}
@media (max-width: 867px) {
.mojisize0001{
  font-size: 11px;
  font-size: clamp(11px,4vw,15px);
  font-family: 'AR Pゴシック体S';
      }
}




.mojisize0002{
  font-size: 15px;
  font-size: clamp(18px,8vw,25px);
  font-family: 'AR Pゴシック体S';
}
@media (max-width: 867px) {
.mojisize0002{
  font-size: 11px;
  font-size: clamp(11px,4vw,15px);
  font-family: 'AR Pゴシック体S';
      }
}


.mojisize0003{
  font-size: 14px;
  font-size: clamp(15px,7vw,20px);
  font-family: 'メイリオ';
}
@media (max-width: 867px) {
.mojisize0003{
  font-size: 11px;
  font-size: clamp(15px,5.2vw,21px);
  font-family: 'メイリオ';
      }
}



.mojisize0004{
  font-size: 16px;
  font-size: clamp(18px,8vw,25px);
  font-family: 'メイリオ';
}
@media (max-width: 867px) {
.mojisize0004{
  font-size: 12px;
  font-size: clamp(17px,5.8vw,24px);
  font-family: 'メイリオ';
      }
}



.mojisize0005{
  font-size: 18px;
  font-size: clamp(20px,8vw,28px);
  font-family: 'ＤＨＰ平成ゴシックW5';
}
@media (max-width: 867px) {
.mojisize0005{
  font-size: 13px;
  font-size: clamp(17px,5.8vw,24px);
  font-family: 'ＤＨＰ平成ゴシックW5';
      }
}




.mojisize0006{
  font-size: 18px;
  font-size: clamp(32px,12vw,41px);
  font-family: 'ＤＨＰ平成ゴシックW5';
}
@media (max-width: 867px) {
.mojisize0006{
  font-size: 17px;
  font-size: clamp(28px,9vw,34px);
  font-family: 'ＤＨＰ平成ゴシックW5';
      }
}



.mojisize0007{
  font-size: 12px;
  font-size: clamp(10px,4vw,13px);
  font-family: 'メイリオ';
}
@media (max-width: 867px) {
.mojisize0007{
  font-size: 9px;
  font-size: clamp(9px,4vw,12px);
  font-family: 'メイリオ';
      }
}



.mojisize0008{
  font-size: 18px;
  font-size: clamp(20px,11vw,32px);
  font-family: 'ＤＨＰ平成ゴシックW5';
}
@media (max-width: 867px) {
.mojisize0008{
  font-size: 14px;
  font-size: clamp(17px,6vw,27px);
  font-family: 'ＤＨＰ平成ゴシックW5';
      }
}




/*見出しの指定
-------------------------------------*/

h2a{
  padding: 1rem 2rem;
  background: #FFFFFF;
  max-width: 900px;
  margin: 30% 30%;
}


h2{
  padding: 1rem 2rem;
  border-top: 6px double #FFFFFF;
  border-bottom: 6px double #FFFFFF;
}



h3 {
  color: #010079;
  text-shadow: 0 0 5px white;
    padding: 0.8em;/*文字周りの余白*/
  border-left: solid 7px #010079;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  max-width: 1160px;
}



h4 {
  color: #010079;
  text-shadow: 0 0 5px white;
    padding: 1em;/*文字周りの余白*/
  border-left: solid 7px #010079;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  max-width: 1920px;
}



h5 {
  position: relative;
  border-top: solid 2px #80c8d1;
  border-bottom: solid 2px #80c8d1;
  background: #f4f4f4;
  line-height: 1.4;
  padding: 1em 1em;
  margin: 2em 0 0.5em;
  max-width: 1160px;
}

h5:after {
  /*タブ*/
  position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '買取ポイント';
  background: #80c8d1;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 5px 7px 3px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em;
}




/*表の指定
-------------------------------------*/

th,td{
    border: solid 1px;          /* 枠線指定 */
    padding: 2px;      /* 余白指定 */
}

table{
    border-collapse:  collapse; /* セルの線を重ねる */
    max-width: 980px;               /* 幅指定 */
}
@media (max-width: 680px) {
table{
    border-collapse:  collapse; /* セルの線を重ねる */
    max-width: 99%;               /* 幅指定 */
      }
}

th{
    width:  8%;              /* 幅指定 */
    color:  #222222;               /* 文字色指定 */
    text-align: center;           /* 文字の揃え位置指定 */
}

td{
    width:  350px;             /* 幅指定 */
    color:  #353535;               /* 文字色指定 */
    text-align:  center;        /* 文字の揃え位置指定 */
    font-family: 'ＭＳゴシック体';
}











/*メインコンテンツ
-------------------------------------*/
main{
    margin: 5rem 0 0 0;
}
section{
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
}

/*キャッチコピー
-------------------------------------*/
.catch{
    text-align: center;
}
.catch h2{
    padding-bottom: 1rem;
}
.under{
    padding: 1rem;
}
.center{
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row{
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer{
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}

/*お問い合わせ
-------------------------------------*/
.contact-box{
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table{
	margin: 4rem 0;
}
.table th{
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright{
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a{
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop{
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a{
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box{
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th{
	width: 100%;
	display: block;
}	
.table td{
	display: block;
}
}