@charset 'utf-8';
/* CSS Document */
/* テキスト位置微調整 */
.introarea p {
  margin-left: 1%;
}
.loBox3 {
  margin-left: 1%;
}

/* 比較表 */

table {
  width: 100%;
  border-collapse: collapse; /* セルの境界線をくっつける */
  font-family: Arial, sans-serif;
  color: #333;
}


th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.table-img {
  max-width: 100px;
  height: auto;
}

.table-responsive {
  overflow-x: auto; /* 横スクロールを有効にする */
  -webkit-overflow-scrolling: touch; /* iOSでのスクロールをスムーズにする */
}



/* 商品枠 */

.product-row {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.product-image-container {
  flex: 0 0 120px;
  margin-right: 20px;
}

.row-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-details {
  padding-left: 15px; /* 画像との間隔を確保 */
  display: flex; /* flexboxを使う */
  flex-direction: column; /* 要素を縦に並べる */
  justify-content: center; /* 垂直方向の中央に揃える */
}

.product-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 5px;
}

.product-price {
  font-size: 1.5em; /* 価格を少し大きくする */
  font-weight: bold;
  margin: 0 0 10px;
}

.product-description {
  font-size: 0.9em;
  color: #666;
  margin: 10px 0;
}

.product-button {
  /* ボタンの背景色をオレンジに設定 */
  background-color: #ff8c00;
  /* 文字色を白に設定 */
  color: #fff !important;
  
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

.product-button:hover {
  /* ホバー時の色を少し濃いオレンジに */
  background-color: #e57300;
}



/* 商品3枠並び */

.product-list-container {
  display: flex; /* flexboxを有効にする */
  gap: 15px; /* 商品間の余白を15pxにする */
  max-width: 600px; /* 全体の最大幅を600pxに設定 */
  margin: 0 auto; /* ページの中央に配置する */
  justify-content: space-between; /* 左右の端に寄せて均等に配置 */
}

.product-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: calc(33.33% - 10px); /* 1/3の幅から余白分を引いて計算 */
  text-align: center;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
}

.product-info {
  padding: 10px;
  text-align: left;
}

.product-title {
  font-size: 1em;
  margin: 0 0 5px;
  white-space: nowrap; /* テキストを折り返さない */
  overflow: hidden; /* はみ出した部分を隠す */
  text-overflow: ellipsis; /* ...で省略表示 */
}

.product-description {
  font-size: 0.8em;
  color: #666;
  margin: 0 0 5px;
  line-height: 1.2;
}

.product-price {
  font-size: 1.1em;
  color: #c00;
  font-weight: bold;
  margin: 0;
}



/* 吹き出し */

.balloon {
  position: relative; /* 疑似要素の位置の基準にする */
  display: inline-block; /* コンテンツの幅に合わせる */
  padding: 10px;
  background-color: #f0f0f0; /* 背景色 */
  border: 1px solid #ccc; /* 枠線 */
  border-radius: 10px; /* 角を丸くする */
}

/* 吹き出しの「しっぽ」部分を作成 */
.balloon::after {
  content: ''; /* 疑似要素にはcontentが必要 */
  position: absolute; /* 親要素を基準に配置 */
  bottom: -10px; /* 親要素の底から10px下に */
  left: 50%; /* 親要素の横幅の真ん中 */
  transform: translateX(-50%); /* 中央寄せ */
  
  /* 三角形を作成 */
  border-top: 10px solid #f0f0f0; /* 背景色と同じ色の三角形 */
  border-right: 10px solid transparent; /* 透明 */
  border-left: 10px solid transparent; /* 透明 */
}

/* 枠線の「しっぽ」部分を作成（オプション） */
.balloon::before {
  content: '';
  position: absolute;
  bottom: -12px; /* backgroundのしっぽより少し下に */
  left: 50%;
  transform: translateX(-50%);
  
  /* 三角形を作成 */
  border-top: 12px solid #ccc; /* 枠線と同じ色の三角形 */
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
}



/* 記事導線 */

.article-list-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2つの列を同じ幅にする */
  gap: 20px; /* 記事間の余白 */
  max-width: 900px; /* 全体の最大幅を設定 */
  margin: 0 auto;
}

.article-item-link {
  text-decoration: none;
  color: inherit;
}

.article-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 20px;
}

.article-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin-right: 15px;
  overflow: hidden;
  border-radius: 5px;
}

.article-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  flex-grow: 1;
}

.article-title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 0 5px;
}

.article-description {
  font-size: 0.9em;
  color: #666;
  margin: 0;
  line-height: 1.4;
}


/* 右寄せ */

.link2 {
  /* 親要素が右寄せにならない場合、子要素の<a>を調整します */
  display: inline-block; /* インラインブロック要素にする */
  float: right; /* 右に寄せる */
}
