@charset "UTF-8";

/*
Theme Name: Omaneki Theme
*/

/* Base */
body {
  background-color: #f0f2f5;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.lp-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.lp-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Grid */
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .item-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Card */
.item-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  color: #333333;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Image - 縦横比を維持しつつサイズを制限 */
.item-img-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.item-img-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

/* Content */
.item-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.item-title {
  font-size: 17px;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.item-comment {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

/* Button Layout - 2つのボタンを並べる */
.item-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  text-align: center;
  padding: 12px 5px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.8;
}

/* Amazonボタン（オレンジ） */
.btn.amazon {
  background: linear-gradient(180deg, #ffb74d 0%, #ff9900 100%);
  color: #ffffff;
  border: 1px solid #e68a00;
}

/* 楽天ボタン（赤） */
.btn.rakuten {
  background: linear-gradient(180deg, #bf0000 0%, #bf0000 100%);
  color: #ffffff;
  border: 1px solid #a00000;
}

.no-items {
  grid-column: 1 / -1;
  text-align: center;
  color: #999;
}
