/* --- 商品紹介（Amazonメイン） --- */
/* 全体中央揃え + 横幅は576px */
.item-wrapper {
  max-width: 576px;
  margin: 0 auto;
  margin-bottom: 1.8em;
  padding: 10px;
}

/* カード全体 */
.item-box {
  display: flex;
  width: 100%;
  gap: 15px;
  padding: 15px;
  box-sizing: border-box;
  font-family: sans-serif;
  background: #fff;
  border: 3px solid #FFDBED;
}

/* 左 30% の画像エリア */
.item-image-area {
  width: 30%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 商品画像 */
.item-image-area img {
  width: 100%;
  height: 120%;
  object-fit: contain;
  border: 0px !important;
}

/* 右側のテキストエリア */
.item-info {
  width: 70%;
}

/* 商品名：3行で省略 */
.item-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  max-height: calc(1.4em * 3);
}

/* コメント */
.item-comment {
  font-size: 13px;
  margin-bottom: 10px;
  color: #444;
}

/* サイトリンク：縦並び */
.item-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 0; /* Amazonだけにしても余白なし */
}

/* ボタン */
.link-btn {
  padding: 5px 0;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  display: block;
}

/* ブランドカラー */
.amazon { background: #FF9900; }
.rakuten { background: #BF0000; }
.yahoo   { background: #FF0033; }

/* スマホ対応（500px以下） */
@media (max-width: 500px) {
  .item-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .item-image-area {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  /* スマホ時は画像を4:3で自動縮小（高さ抑制） */
  .item-image-area img {
    width: 80%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .item-info {
    width: 100%;
  }
}

/* --- ホテル紹介 --- */ 
.hotel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  padding: 16px;
  gap: 16px;
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fffafc;
}

.hotel-image {
  flex-shrink: 0;
}

.hotel-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 0px !important;
  border-radius: 4px;
}

.hotel-info {
  flex: 1;
}

.hotel-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.hotel-name {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 12px;
}

.hotel-links {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 16px;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border: none;
}

/* --- じゃらん --- */
.link-jalan {
  background-color: #ff7f32;
}
.link-jalan:hover {
  background-color: #e26f2d;
}

/* --- 楽天トラベル --- */
.link-rakuten {
  background-color: #00a04b;
}
.link-rakuten:hover {
  background-color: #008f43;
}

/* --- 公式サイト --- */
.link-official {
  background-color: #b38b00;
  color: #fff;
}
.link-official:hover {
  background-color: #8f7300;
}

/* --- スマホ対応 --- */
@media (max-width: 500px) {
  .hotel-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .hotel-image img {
    width: 100%;
    height: auto;
  }
  .hotel-links {
    flex-wrap: wrap;
  }
}

/* --- 列車情報 2 [202510] --- */
.train_joho2_style {
  list-style: none;
  padding: 1em;
  border: 2px solid #FFDBED;
  border-radius: 8px;
  box-shadow: 0 0 5px silver;
  max-width: 768px;
  font-family: sans-serif;
}

.train_joho2 {
  display: flex;
  margin-bottom: 0.5em;
  font-size: 1em;
}

.train_joho2_label {
  flex: 0 0 100px;
  font-weight: bold;
}

.train_joho2_value {
  flex: 1;
}

/* --- 列車情報 1 --- */
.train_joho_style {
  position: relative;
  list-style:none;
  border:  solid 2px #FFDBED;/*太さ 色*/
  padding: 0.5em 0.5em 0.5em 1em!important;
  box-shadow :0px 0px 5px silver;/*5px=影の広がり具合*/
}

.train_joho::before {
  content: attr(title);
  font-weight: bold;
  line-height: 1.5;
  padding-right: 0.5em;
  font-size: 1em;
}

.train_joho {
  font-size: 1em;
}

/*---製品のポイント（以前は列車情報にも使ってる）---*/
.goodbad_list_waku {
 padding-top:0.1em;
}

.goodbad_list {
  position: relative;
  list-style:none;
  border:  solid 2px #FFDBED;/*太さ 色*/
  padding: 0.5em 0.5em 0.5em 1em!important;
  box-shadow :0px 0px 5px silver;/*5px=影の広がり具合*/
}

.goodbad_list::after {
 position: absolute;
 content: attr(title);
 padding: 1px 7px;
 letter-spacing: 0.05em;
 font-weight: bold;
 font-size: 1em;
 background: #FFDBED;
 color: #000;
 bottom: 100%;
 left: -0px;
 border-radius: 4px 4px 0px 0px;
 border-bottom:  solid 2px #fdeeef;/*太さ 色*/
}

.goodpoint::before {
  content: '◎';
  font-weight: bold;
  color: green;
  line-height: 1.5;
  padding-right: 0.5em;
  font-size: 1.2em;
}

.goodpoint {
  font-size: 1em;
}

.badpoint::before {
  content: "▲";
  font-weight: bold;
  color: red;
  line-height: 1.5;
  padding-right:  0.5em;
  font-size: 1.2em;
}

.badpoint {
  font-size: 1em;
}