/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.0.0
*/
/* サイトデザイン */
.product-details-wrapper{
	margin: 1rem;
	display:flex;
	flex-direction:column;
	gap: 16px;
}

.product-details-wrapper_in-syousai{
	margin: 1rem 0;
	display:flex;
	flex-direction:column;
	gap: 16px;
}

.property-button a{
	display: block !important;
	width: 100%;
	text-align: center;
	margin: 0 auto;
	padding: 10px 16px;
	background-color: #e55514 !important;
}
.fee-info {
    display: flex;
    flex-wrap: wrap;
    background-color: #ddd;
    padding: 8px;
    border-radius: 4px;
    margin: 20px 0;
		justify-content: space-between;
}
.chiiki a{
		font-size: 14px;
		color: #e55514;
		background-color: #fff;
		padding: 8px 16px;
		border: solid 2px #e55514;
		border-radius: 4px;
}

.syougaitokusei a{
		font-size: 14px;
		color: #000;
		background-color: #EFECE5;
		padding: 8px 16px;
		border-radius: 4px;
}

.hiyou a{
		font-size: 14px;
		color: #fff;
		background-color: #e55514;
		padding: 8px 16px;
		border-radius: 4px;
}

.bukkennsyubetsu a{
		font-size: 14px;
		color: #000;
		background-color: #FFD200;
		padding: 8px 16px;
		border-radius: 4px;
}

.monthly_fee,.move_in {
		display: inline;
    width: 49%;
    padding: 16px 16px;
    background-color: #fff;
    border-radius: 4px;
}
.monthly_fee strong,.move_in strong{
	display: inline !important;
}

.address strong{
	display: inline !important;
}
.nyuukyojouken,.chiiki,.syougaitokusei,.hiyou,.bukkennsyubetsu{
	display: flex;	
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: solid 1px #ddd;
	padding-bottom: 16px
}
.nyuukyojouken a{
	font-size: 14px;
	color: #fff;
	background-color: #5d5e5e;
	padding: 8px 16px;
	border-radius: 4px;
	
}

.astra-shop-summary-wrap{
	padding: 0 1rem !important;
	font-size: 24px
}
.yith-ywraq-add-to-quote,.add-to-quote-2650{
	padding: 0 1rem;
}
.ast-grid-common-col{
	overflow: hidden;
	border: solid 4px #ddd !important;
	border-radius: 16px;
}

.yith-ywraq-add-to-quote,.add-to-quote-2650{
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
}
.yith-ywraq-add-to-quote a,.add-to-quote-2650 a{
	width: 100%;
}


/* Swiper */
.mySwiper {
  width: 100%;
  padding: 0 20px;
  margin: 80px auto;
  box-sizing: border-box;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.swiper-slide {
  width: clamp(240px, 25vw, 384px) !important;
  aspect-ratio: 16 / 9;
  max-height: 216px;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background-color: #eee;
  transition: opacity 0.3s ease;
}

/* ホバーでリンクがある画像だけうっすら暗くする */
.swiper-slide a:hover img {
  opacity: 0.8;
}

/* 矢印 */
.swiper-button-prev,
.swiper-button-next {
  display: block !important;
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 50%;
  color: #000;
  font-size: 20px;
  text-align: center;
  pointer-events: auto;
  box-shadow: none;
}

/* モバイル調整 */
@media (max-width: 767px) {
	.mySwiper {
  margin: 40px auto;
}
  .swiper-wrapper {
    justify-content: flex-start;
    gap: 8px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

