@charset "utf-8";

* {
  box-sizing: border-box;
  padding: 0;
}
ul {
  list-style-type: none;
}
.tab-area {
  display: flex;
  border: 2px solid;
  cursor: pointer;/* カーソルポインターに */
}
.tab {
  width: calc(100%/2);
  padding: 5px;
  text-align: center;
  font-size: 18px;
}
.tab:nth-child(n+2) {
  border-left: 2px solid;
}
.tab.active {
  background-color: #000;
  color: #fff;
}
.panel {
  display: none;
  text-align: center;
}
.panel.active {
  display: block;
}

/* タブの中 */
.category_txt {
  margin-top: 30px;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  color: #222;
}
.category_txt-sab {
  margin-top: 30px;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  color: #222;
}
.p-top__kaitori__list li a span {
	border-bottom: solid 1px #222;
}
.inquiry {
	border-bottom: solid 1px #222;
}
.media-btn {
  display: flex;
  flex-wrap:wrap;
  justify-content:space-between;
}
.contaact__btn {
  width: calc(100%/5);
  height:auto;
  display:flex;
  flex-direction:column;
  margin: 10px 0;
}
#media_wrapper h2 {
  padding: 10px 10px;
}

.p-top__kaitori__list {
  margin-top: 4rem;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.p-top__kaitori__list li {
  width: 100%;
  height: auto;
  background-color: #fff;
  padding-bottom: 20px;
  border: 2px solid #B29544;
}

.p-top__kaitori__list li span{
	color: #222;
	font-size: 1.8rem;
    font-weight: 700;
}

/* .p-top__kaitori__list li a {
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  width: 100%;
} */

.p-top__kaitori__list li img {
  width: 80%;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin: 20px 0;
}

.p-top__kaitori__list li a span {
  font-size: 1.8rem;
  font-weight: 700;
}

/* モーダルウインドウ ↓*/
.notice {
	position: relative;
	height: 100px;
	width: 100%;
}
.open-modal {
	position: absolute; 
	top: 50%; 
	left: 50%; 
	width: 100%; 
	height: 40px; 
	font-size: 18px;
	font-weight: bold; 
	color: #000; 
	background: #fff; 
	border: #000; 
	border: solid 2px #333;
	border-radius: 14px; 
	cursor: pointer; 
	transform: translate(-50%, -50%); 
	flex-grow: 1;
  }
  
  .modal {
	display: none; 
	position: fixed; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	background-color: rgba(0, 0, 0, 0.4); 
	z-index: 999;
  }
  
  .modal-content {
	position: fixed; 
	top: 50%; 
	left: 50%; 
	transform: translate(-50%, -50%); 
	width: 70%; 
	height: 100%; 
	background-color: #fefefe; 
	border: 1px solid #888; 
	border-radius: 10px; 
	text-align: center;
  }

  .modal-content {
	position: relative;
	max-height: calc(100vh - 40px); 
	overflow-y: auto; 
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70%;
	background-color: #fefefe;
	border: 1px solid #888;
	border-radius: 10px;
  }
  
  #closeModal {
	position: absolute; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	top: 20px; 
	right: 20px; 
	font-size: 28px; 
	font-weight: bold; 
	cursor: pointer;
	color: #FFF; 
	width: 40px; 
	height: 40px; 
	background-color: #333; 
	border: #333; 
	border-radius: 50%; 
  }

  .modal-ttl {
	background: #F9F5E8;
	padding: 50px;
  }
  .modal-ttl h2{
	text-align: center;
	margin: 0 auto;
	font-weight: bold;
	color: #222;
	font-size: 20px;
  }
  .modal-wrp {
	width: 80%;
	text-align: center;
	margin: 0 auto;
	color: #222;
	font-size: 18px;
  }

  .modal-wrp p {
	color: #222;
	font-size: 18px;
  }

  .modal-wrp {
	width: 80%;
	margin: 0 auto;
	padding: 20px 0;
  }
  
  .modal-wrp h3 {
	font-weight: bold;
	border-bottom: solid 1px #B29544;
	color: #B29544;
	text-align: left;
  }
  .modal-one,
  .modal-second,
  .modal-third,
  .modal-fourth {
	margin-top: 50px;
  }
  .modal-one p,
  .modal-second p,
  .modal-third p,
  .modal-fourth p{
	text-align: left;
	margin-top: 20px;
	margin-bottom: 20px;
  }
  .modal-third h4 {
	text-align: left;
	font-weight: bold;
	color: #B29544;
  }

  .modal-fourth {
	padding: 20px;
	background: #F9F5E8;
  }

  .modal-second ul {
	margin-top: 20px;
	padding: 20px;
	background: #F9F5E8;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 10px;
    gap: 10px;
  }
  .modal-second ul li{
	width: calc(50% - 10px);
        font-weight: 600;
        font-size: 16px;
        line-height: 1.6;
        position: relative;
  }

  .modal-second__cont01__item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 1rem;
	font-size: 2rem;
  }
  
  .modal-second__cont01__item::before {
	display: block;
	content: "";
	width: 3rem;
	height: 3rem;
	background: url(../images/common/icon/icon-check.svg) center center no-repeat;
	background-size: contain;
  }
/* モーダルウインドウ ↑*/

/* 買取できないもの */
.categories_title {
	font-size: 2rem;
	margin-bottom: 20px;
	font-weight: bold;
	margin-top: 20px;
	text-align: center;           
	position: relative;           
	display: inline-block;        
	padding-left: 40px;           
	font-size: 24px;
	line-height: 1.5;
	color: #222;
}

.categories_title::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 24px;                  
	height: 24px;                 
	background-image: url('../images/kaitori/icon-attention.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-right: 8px;            /* アイコンと文字の間隔 */
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.note_wrp {
  background-color: #fff;
  /* margin: 10px; */
  padding: 10px;
}
.legally_wrp-inner {
	background-color: #eee;
	margin: 10px;
	padding: 10px;
	margin-bottom: 30px;
}
.legally_wrp-inner p{
	color: #222;
	font-size: 18px;
}
.note_inner-others {
	padding: 30px;
	text-align: left;
}
.note_inner__wrp {
  margin-top: 4rem;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

/* .item{
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	  gap: 8px;
} */

.note_inner {
  margin-top: 4rem;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.close-moda {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	position: relative;
	width: 120px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	color: #27acd9;
	background: #e1f3f9;
	transition: 0.3s ease-in-out;
}
.close-moda::before {
content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 2px solid #27acd9;
  transition: 0.2s;
}
.close-moda::hover {
	background: #27acd9;
	color: #fff;
}
.close-moda:hover::before {
	top: 0;
  left: 0;
}
.close-modal {
	padding: 10px 50px;
	margin-bottom: 50px;
	font-size :20px;
	margin-top: 50px;
}
.modal-txt {
	text-align: left;
	margin: 30px 0;
	color: #222;
	font-size: 18px;
}
.modal-comments {
	text-align: left;
	/* color: #B29544; */
}

/* パターン2 */
.tab-2 {
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	font-size: 25px;
}

.tab-2 > label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em;
    border: none;
    border-radius: 0;
    background-color: #f6f6f6; /* 非アクティブ時の色 */
    color: #888;
    font-size: .95em;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    opacity: 1;
    position: relative;
    z-index: 2;
	margin-bottom: -2px;
}

.tab-2 input {
    display: none;
}

.tab-2 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #f6f6f6; /* 非アクティブ時の色 */
    color: #222;
    border-top: 1px solid #e0e0e0;
    position: relative;
    z-index: 1;
    transition: background 0.2s;
}

.tab-2 label:has(:checked),
.tab-2 label:has(:checked) + div {
    background-color: #fff; /* アクティブ時の色 */
    color: #fff;
	border: 2px solid #B29544;
}

.tab-2 label:has(:checked) {
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(97,208,37,0.08);
	background-color: #B29544;
}

.tab-2 label:has(:checked) + div {
    display: block;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 2;
	border: 2px solid #B29544;

}
.tab-2 label i {
    margin-right: 0.4em;
    /* font-size: 1.1em; */
	font-size: 80px;
    vertical-align: middle;
}

#media_wrapper h2 {
	font-size: 16px;
}
.note_wrp-inner h3 {
	color: #222;
	font-size: 18px;
	text-align: center;
}
.modal-comments {
	color: #222;
	font-size: 18px;

}

@media screen and (max-width: 1200px) {
	.tab-2 {
		font-size: 15px;
	}
    .p-top__kaitori__list {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .legally_wrp-inner p{
	text-align: left;
  }
  .tab-2 label i {
    font-size: 1.1em;
}

  .p-top__kaitori__list li a span {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 500;
  }

}

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

	.note_wrp-inner h3 {
		font-size: 14px;
	}
  .tab-2 > label {
	font-size: 16px;
  }
  .tab-2 label i {
	font-size: 50px;
  }
  .p-top__kaitori__list li span {
	font-size: 1.4rem;
	line-height: 1.2;
	font-weight: 500;
	margin: 30px 10px 0 0;
  }
  .media-btn {
	justify-content: space-around;
  }

	h3 {
		font-size: 13px;
	}
	.category_txt {
		font-size: 18px;
	}
	
	.category_txt-sab {
		font-size: 18px;
		text-align: left;
	}
	.categories_title::before {
		width: 45px;
		height: 45px;
	}
	.modal-ttl h2 {
		font-size: 18px;
	}
	.modal-ttl {
		padding: 25px 60px;
	}

  	.open-modal {
		width: 100%;
	}
	.cta-tel_txt_wrp {
		gap: 0;
		padding: 0;
	}
	.cta-tel_txt {
		font-weight: bold;
		font-size: 1.7rem;
	}
	.cta-tel_number  div{
		font-size: 2.5rem;
	}
	.cta-tel_wrp a{
		background: #eb6100;
		border-radius: 9999px;
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 0 auto;
		/* max-width: 250px; */
		max-width: 100%;
		padding: 20px 30px;
		line-height: 1.8;
		text-decoration: none;
		color: #fff;
		font-weight: 500;
		border-bottom: solid 5px #b65511;
		transition: 0.3s ease-in-out;
	}
	.cta-tel_wrp a:after {
	  content: "";
	  position: absolute;
	  top: 50%;
	  bottom: 0;
	  right: 2rem;
	  font-size: 90%;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  transition: right 0.3s;
	  width: 6px;
	  height: 6px;
	  border-top: solid 2px currentColor;
	  border-right: solid 2px currentColor;
	  transform: translateY(-50%) rotate(45deg);
	}
	.cta-tel_wrp a:hover:after {
	  right: 1.4rem;
	}
	.cta-tel_wrp a:hover {
	  background: #ee8134;
	  color: #FFF;
	  border-bottom: solid 2px #999;
	  transform: translateY(3px);
	}
	.cta-tel_wrp a:hover:before {
		color: #fff;
	}

	.cta-tel_number div {
		color: #fff;
	}

	.cta-tel_number div::before {
		content: "";
		display: block;
		width: 3.3rem;
		height: 4rem;
		background: url(https://www.e-kaitori.jp/shop/wp-content/themes/e-kaitori/assets/images/common/icon/icon_tel_a.svg) center center no-repeat;
		background-size: cover;
	  }

	  .cta-tel_time {
		/* background-color: rgb(238, 238, 238); */
		background-color: rgb(249, 243, 237);;
		/* color: #000; */
		color: #121820;
		margin-top: 0px;
		margin-bottom: 10px;
	  }

	  button {
		padding: 0.4em 0.2em 0.4em;
	  }

	  /* モーダルウインドウ ↓*/
	  .open-modal {
		font-size: 14px;
	  }
	  .modal-content {
		width: 90%;
		padding: 0;
	  }
	  .modal-wrp {
		width: 90%;
	  }
	  .modal-wrp h3 {
		font-size: 16px;
	  }
	  .modal-second ul {
		display: block;
	  }
	  .modal-second ul li {
		width: 100%;
		text-align-last: left;
		font-size: 14px;
	  }

	  .modal-second__cont01__item {
		font-size: 1.6rem;
	  }
	
	  /* モーダルウインドウ ↑*/
	  .note_inner {
		margin-top: 4rem;
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: (1fr)[2];
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}
	
	.media-btn {
		height:auto;
		display: grid;
		-ms-grid-columns: (1fr)[2];
		grid-template-columns: repeat(2, 1fr);
		flex-direction:column;
		margin: 0;
	}
	#media_wrapper {
		padding: 0;
	}
	#media_wrapper h2 {
		width: 90%;
		font-size: 14px;
	}

}

@media screen and (max-width: 520px) {
    .p-top__kaitori__list li a img {
    width: 130px;
  }

  .p-top__kaitori__list li a span {
    font-size: 1.4rem;
  }

}