@charset "utf-8";


/* flexbox */

.items {
  display: -webkit-flex;
  display: flex;
  box-sizing: border-box;
}
.items img {
  padding: 0;
}
.item2 {
  width: 48%;margin-right:1%;
}
.item3 {
  width: 32%;
}
.item4 {
  width: 23%;
}
/*.item2 {
  width: 100%;
}
.item3 {
  width: 100%;
}*/

/*.item2:nth-child(odd) {
margin-right:2%;
}*/

/*いらないかも
.item3 {
  width: 100%;
}*/


/*折り返しあり*/
.item-wrap {
  flex-wrap: wrap;
}
.item-margin1 {
margin:1%;
}
.item-margin2 {
margin:2%;
}
/**/
.item-justify-content-fa {
  justify-content: flex-start;
}

.item-justify-content-sb {
  justify-content: space-between;
}
.item-align-c {
   align-items: center;
}
.item-align-s {
   align-items: flex-start;
}
.item-align-e {
   align-items: flex-end;
}

@media screen and (max-width: 767px) {
  .items {
    flex-direction: column;
  }
  .items .item2 {
    width: 100%;
  }
  .items .item3 {
    width: 100%;
  }
  .items .item4 {
    width: 100%;
  }
}






.price-area-top {
margin:10px 0;width: 96%;
}
.price-area {
border: solid 1px #cfcfcf;
padding:8px;border-right: none;
}
.price-area p {
background:#eee;
}

.price-area:last-child  {
border-right:solid 1px #cfcfcf;
}

@media screen and (max-width: 767px) {
.price-area:last-child {
border: solid 1px #cfcfcf;
border-bottom:none;
}
.price-area {
border: solid 1px #cfcfcf;
border-bottom:none;
}
.price-area:last-child {
border-bottom:solid 1px #cfcfcf;
}
}


/*.main {
    overflow: hidden;
    width: 640px;
    height: 480px ;
    position: relative;
	margin:0px auto 24px;
}

.main img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: auto;
  height: 100% ;
}*/
/*.main{
display:block;
width: 100%;  height: auto;
margin:10px 0 10px 0;
padding: 0;
_overflow:hidden;
height:480px;

}
.main img  {
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
	
}*/


/* =========================
   Swiper関連 ここから修正
   ========================= */

/* メイン画像エリア */
.main {
    overflow: hidden;
    width: 720px;
    height: 540px;
    position: relative;
    margin: 0px auto 24px;
}

/* 修正：セレクタを少し明確化 */
.main img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 100%;   /* 追加：はみ出し防止 */
  max-height: 100%;  /* 追加：はみ出し防止 */
}

/* 修正：thumbnail に幅と overflow を明示 */
.thumbnail {
    width: 720px;            /* 追加 */
    overflow: hidden;        /* 追加 */
    margin: 0px auto 24px;
}

/* 修正：サムネスライド共通 */
.swipe_getbike .thumbnail .swiper-slide {
  cursor: pointer;
  opacity: .7;
}

/* 修正：Swiper 12 の thumbs 用アクティブクラスに変更 */
.swipe_getbike .thumbnail .swiper-slide-thumb-active {
  opacity: 1;
}

/* 旧指定も残しておいてよいが、主表示は thumb-active に合わせる */
.swipe_getbike .thumbnail .swiper-slide-active {
  opacity: 1;
}

/* 修正：古い左ずらしは削除
.swipe_getbike .thumbnail .swiper-wrapper{
  margin-left: calc(-37.5% - 5px);
}
*/

/* 修正：trim の width を削除。高さだけ維持 */
.trim {
    overflow: hidden;
    height: 135px;
    position: relative;
}

/* サムネ画像 */
.trim img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

/* キャプション */
.swiper-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  text-align: left;
  height: auto;
}

/* ページネーション */
.swiper-pagination-bullets {
  width: initial !important;
}

.swiper-pagination {
  bottom: 20px;
  right: 30px;
  left: initial !important;
  top: initial !important;
}

/* レスポンシブ */
@media only screen and (max-width: 640px) {
  .main {
    width: 100%;
    height: 350px;
  }

  .thumbnail {
    width: 100%;   /* 追加 */
  }
}

@media only screen and (max-width: 480px) {
  .main {
    width: 100%;
    height: 320px;
  }

  .thumbnail {
    width: 100%;   /* 追加 */
  }

  /* 修正：width削除、高さのみ変更 */
  .trim {
    height: 75px;
  }
}

#msg {
  margin-bottom: 10px;
  min-height: 24px;
}

/* =========================
   Swiper関連 ここまで修正
   ========================= */